]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
304c8b37fa66c6664c6c3bd4f2e12575fca79833
[lyx.git] / src / ChangeLog
1 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * buffer.C: increment format to 229.
4
5 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
6
7         * LaTeXFeatures.C:
8         * lyx_sty.[Ch]: remove minipageindent_def
9
10         * LyXAction.C:
11         * factory.C:
12         * lfuns.h:
13         * lyxfunc.C:
14         * text3.C: remove LFUN_INSET_MINIPAGE
15
16 2003-12-28  Angus Leeming  <leeming@lyx.org>
17
18         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
19
20 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
21
22         * text2.C (setParagraph): fix off-by-one crash
23
24 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
25
26         * output_docbook.C: header stuff for AGU
27
28 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
29
30         * text2.C (redoCursor): remove
31         * text.C:
32         * text3.C:
33         * BufferView_pimpl.C: remove calls to redoCursor and
34         setCursor(cursor.par(), cursor.pos()) all around
35
36 2003-12-15  Angus Leeming  <leeming@lyx.org>
37
38         * buffer.C: up the format to 228.
39
40 2003-12-15  André Pönitz  <poenitz@gmx.net>
41
42         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
43         slices
44
45         * Makefile.am:
46
47         * BufferView_pimpl.C:
48         * cursor.[Ch]:
49         * lyxcursor.[Ch]:
50         * rowpainter.[Ch]:
51         * lyxtext.h:
52         * text.C:
53         * text2.C:
54         * text3.C: adjust
55
56 2003-12-15  Angus Leeming  <leeming@lyx.org>
57
58         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
59         than getFromGUIName to manipulate the color.
60
61 2003-12-14  Angus Leeming  <leeming@lyx.org>
62
63         * BranchList.[Ch]: minimize the API.
64         (Branch::getBranch, getColor): now return a 'const &'.
65         (Branch::setSelected) now returns a bool set to true if the
66         selection status changes.
67         (BranchList::clear, size, getColor, setColor, setSelected,
68         allBranches, allSelected, separator): removed.
69         (BranchList::find): new functions, returning the Branch with
70         the given name.
71         (BranchList::add, remove): return a bool indicating that
72         the operation was successful.
73
74         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
75         new InsetBranch::isBranchSlected member function.
76
77         * LColor.[Ch]: mimimize the API.
78         (fill): renamed as addColor and made private.
79         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
80         versions of these functions taking a string arg have been removed.
81
82         * bufferparams.C (readToken):
83         * lyxfunc.C (dispatch):
84         * lyxrc.C (read): changes due to the altered BranchList and
85         LColor APIs.
86
87         * factory.C (createInset, readInset): changes due to altered
88         InsetBranch c-tor.
89
90 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
91
92         * factory.C: 
93         * lyxfunc.C: remove insetminipage. "minipage-insert"
94         now produces a frameless minipage box inset.
95
96 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
97
98         * textcursor.[Ch] (selStart,selEnd): add new methods 
99         remove selection::start, end, use LyXCursor::operator<
100         * lyxcursor.[Ch] (operator<): add
101         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
102         * BufferView.[Ch] (unsetXSel): add
103         * text2.C (clearSelection): use unsetXSel,adjust
104         * text.C: adjust
105         * text3.C: adjust
106         * rowpainter.C: adjust
107         * bufferview_funcs.C (put_selection_at): adjust
108
109 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
110
111         * BufferView_pimpl.C: small coord. correction
112
113 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
114
115         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
116         dragging over the splash screen.
117
118 2003-12-11  Angus Leeming  <leeming@lyx.org>
119
120         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
121         as it is now handled in LyXText::dispatch.
122
123         * text3.C (doInsertInset): remove a level of nesting.
124
125 2003-12-11  Angus Leeming  <leeming@lyx.org>
126
127         * factory.C (createInset): changes due to the changed interface to
128         InsetCommandMailer::string2params.
129
130 2003-12-10  Angus Leeming  <leeming@lyx.org>
131
132         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
133         'dialog-show-new-inset <inset name>'
134
135 2003-12-10  Angus Leeming  <leeming@lyx.org>
136
137         * buffer.C: up the format to 227.
138
139         * factory.C: the box inset is now identified simply by 'Box'.
140
141 2003-12-10  Angus Leeming  <leeming@lyx.org>
142
143         * buffer.C: up the format to 226.
144
145         * factory.C: the note inset is now identified simply by 'Note'.
146
147 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
148
149         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
150         when a pit is enough. Standarize a couple of loops. 
151
152 2003-12-05  Angus Leeming  <leeming@lyx.org>
153
154         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
155         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
156         data to the re-worked "log" dialog.
157
158 2003-12-03  André Pönitz  <poenitz@gmx.net>
159
160         * PosIterator.C:
161         * iterators.C:
162         * lyxtext.h:
163         * output_latex.C:
164         * paragraph_funcs.C:
165         * text.C:
166         * text2.C: use Inset::getText instead of Inset::getParagraph
167
168 2003-12-03  André Pönitz  <poenitz@gmx.net>
169
170         * buffer.[Ch]:
171         * lyxtext.h:
172         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
173         InsetText::read() as LyXText::read()
174         
175 2003-12-02  Angus Leeming  <leeming@lyx.org>
176
177         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
178         type. Add a comment in the implementation that the function uses
179         the stream's bad() function rather than fail() as the std::streams
180         would do.
181
182 2003-12-02  André Pönitz  <poenitz@gmx.net>
183
184         * lyxlex.[Ch]: make interface more similar to std::stream
185
186         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
187
188 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
189
190         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
191
192 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
193
194         * vspace.[Ch]: remove VSpace::NONE
195
196 2003-12-01  André Pönitz  <poenitz@gmx.net>
197
198         * buffer.[Ch]:
199         * lyxtext.h: move ParagraphList member to LyXText
200         rename LyXText::ownerParagraphs to LyXText::paragraph
201
202         * CutAndPaste.C:
203         * bufferview_funcs.C:
204         * iterators.[Ch]:
205         * lyx_cb.C:
206         * paragraph.C:
207         * rowpainter.C:
208         * tabular.C:
209         * text.C:
210         * text2.C:
211         * text3.C: adjust
212
213         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
214
215         * undo.C: fix cursor positioning 
216
217 2003-12-01  John Levon  <levon@movementarian.org>
218
219         * BufferView_pimpl.C: fix a crash on exit with
220         a buffer open
221
222 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
223
224         * BranchList.C: fix setSelected() method.
225
226 2003-11-28  André Pönitz  <poenitz@gmx.net>
227
228         * ParagraphParameters.[Ch]:
229         * ParameterStruct.h: remove space above/below from Paragraph to
230          InsetVSpace
231
232         * BufferView_pimpl.C:
233         * factory.C:
234         * lyxfunc.C:
235         * lyxtext.h:
236         * output_latex.C:
237         * paragraph.C:
238         * paragraph_funcs.C:
239         * rowpainter.[Ch]:
240         * text.C:
241         * text2.C:
242         * text3.C: adjust
243
244 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
245
246         * factory.C: Syntax change for CharStyles
247
248 2003-11-28  André Pönitz  <poenitz@gmx.net>
249
250         * BufferView.[Ch]:
251         * BufferView.[Ch]:
252         * buffer.[Ch]:
253         * buffer.[Ch]: move LyXText member
254
255 2003-11-28  André Pönitz  <poenitz@gmx.net>
256
257         * BufferView.[Ch]: make LyXText * text a private member
258
259         * BufferView_pimpl.C:
260         * cursor.C:
261         * iterators.C:
262         * lyx_cb.C:
263         * lyxfind.C:
264         * lyxtext.h:
265         * rowpainter.[Ch]:
266         * text.C:
267         * text2.C:
268         * undo.C: adjust
269
270         * output_plaintext.C: cleanup
271
272 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
273
274         * buffer.C: 
275         * lyxtextclass.[Ch]: parametrize SGML document header
276
277 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
278
279         * converter.[Ch]:
280         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
281         getFlavor().
282
283 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
284
285         * text2.C (setFont): rework using PosIterator (no more recursive)
286         (setCharFont): no more needed 
287         (setLayout): no more selection cursors fiddling (done by redoCursor)
288         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
289         destroy remaining ones)
290
291 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
292
293         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
294         * lyxtext.h: ditto
295         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
296         selection cursors
297         * lyxfunc.C: adjust
298         * text3.C: adjust + re-allow multi par depth changes
299         * textcursor.C: simplify a bit
300
301 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
302
303         * src/buffer.C:
304         * src/lyxlayout.C:
305         * src/lyxlayout.h:
306         * src/lyxtext.h:
307         * src/output_docbook.C:
308         * src/output_latex.C:
309         * src/paragraph.C:
310         * src/paragraph.h:
311         * src/sgml.C:
312         * src/sgml.h:
313         * src/text2.C: Introducing a number of tags parametrizing various
314         XML formats that we may want to support
315
316 2003-11-25  André Pönitz  <poenitz@gmx.net>
317
318         * InsetList.[Ch] (begein, end): inline as suggested by profiler
319
320         * lyxtext.h (leftMargin/rightMargin): simplify interface
321
322         * rowpainter.C:
323         * text.C:
324         * text2.C:
325         * text3.C: adjust
326
327 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
328
329         * lyxfunc.C (dispatch): propogate the bibtex databases from the
330         master file to any child files. Fixes bug 546.
331
332 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
333
334         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
335
336 2003-11-24  André Pönitz  <poenitz@gmx.net>
337
338         * rowpainter.C: simplification
339
340         * text2.C (updateCounters): remove call to redoParagraph on 
341         changed labels as this is far too expensive.
342
343 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
344
345         * converter.C (convert): fix a crash: this function gets
346         called with buffer == 0 from importer code.
347
348 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
349
350         * text3.C (cursorPrevious): make sure that we do not compare
351         iterators form different containers.
352         (cursorNext): ditto
353
354         * rowpainter.C (paintSelection): make sure that we do not compare
355         iterators from different containers.
356
357         * text3.C (dispatch): [PRIOR] make sure that we do not compare
358         iterators from different ParagraphList containers.
359         [NEXT] ditto
360
361         * text2.C (LyXText): change order of initialization slightly
362         (operator=): new function. copy all variables except cache_par_
363         (moveUp): make sure that we do not compare iterators from
364         different ParagraphList constainers.
365         (moveDown): ditto
366
367         * text.C (firstPar): new function
368         (lastPar): new function
369         (endPar): new function
370
371         * lyxtext.h: move things around and group public functions, public
372         variables, private functions, private variables
373
374 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
375
376         * factory.C: change call to InsetERT constructor to avoid
377         additional invocation of method status
378         * text2.C (toggleInset): remove redundant update() call
379         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
380         instead of a Bufferview pointer
381
382 2003-11-21  André Pönitz  <poenitz@gmx.net>
383
384         * rowpainter.C: simplification
385
386 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
387
388         * text3.C (dispatch): make possible to extend a word/row selection
389         with the mouse
390
391 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
392
393         * lyxtext.h: x0_,y0_ -> xo_,yo_
394         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
395         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
396         * rowpainter.C (paintRows): paint full paragraphs
397
398 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
399
400         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
401         screen coordinates)
402
403 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
404
405         * lyxtext.h: add x0_, y0_
406         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
407         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
408
409 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
410
411         * text2.C (setCursorIntern): move the x_target update here *
412         * text3.C: change some bv() to true/false in calls to
413         cursorUp/Down/Right/Left
414         * cursor.C: use helper function.
415
416 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
417
418         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
419         * paragraph_funcs.[Ch]: correct comment
420         * rowpainter.C: do not paint selections away from bv->cursor()
421         Fix a long standing selection painting bug.
422         * text3.C: generalize mouse-selection code to LyXTexts other that
423         top one
424         * textcursor.C: do not use y coords if we can use par offsets
425
426 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
427
428         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
429         cursor position after e.g. inset insert)
430
431 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
432
433         * lyxfind.C (replace): adjust to locking removal + some
434         code simplification
435
436 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
437
438         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
439         of the path
440
441 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
442
443         * lyxlayout.[Ch]:
444         * output_docbook.C: XML sanitation: new layout
445         parameters InnerTag and CommandDepth
446
447 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
448
449         * BufferView_pimpl.C:
450         * factory.C:
451         * text3.C: Fix the insertion and modification of button-style
452         insets
453
454 2003-11-13  André Pönitz  <poenitz@gmx.net>
455
456         * InsetList.[Ch]: remove deleteLyXText
457
458         * paragraph.[Ch]: cache beginOfBody position
459
460         * Bidi.C:
461         * text.C:
462         * text2.C:
463         * text3.C: remove superfluous update() calls
464
465         * vspace.C: cleanup
466
467 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
468
469         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
470         * BufferView.C (fitLockedInsetCursor): remove
471         * cursor.[Ch] (getDim): add
472         * text.C (getRowNearY): add faster version
473         * text3.C: remove some update calls
474
475 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
476
477         * LaTeXFeatures.C:
478         * LyXAction.C:
479         * MenuBackend.C:
480         * MenuBackend.h:
481         * dispatchresult.h:
482         * factory.C:
483         * lfuns.h:
484         * lyxfunc.C:
485         * lyxtextclass.C:
486         * lyxtextclass.h:
487         * text3.C: The Character Style /XML short element patch.
488
489 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
490
491         * text3.C:
492         * factory.C: Small step to solving 'unable to insert some insets'
493         problem
494
495 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
496
497         * cursor.[Ch] (updatePos): new function for updating the y
498         position of the tip inset
499         * bufferview_funcs.C (put_selection_at):
500         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
501
502 2003-11-11  André Pönitz  <poenitz@gmx.net>
503
504         * text.C: remove big comment on invalid Paragraph pointers as it is
505         not valid anymore
506
507 2003-11-11  André Pönitz  <poenitz@gmx.net>
508
509         * text_funcs.[Ch]: merge with ...
510
511         * text.C: ... this
512
513         * lyxtext.h:
514         * text2.C:
515         * text3.C: adjust
516
517         * Makefile.am: remove text_funcs.[Ch]
518
519 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
520
521         * cursor.C (getPos): return absolute cached y coord
522
523         * BufferView_pimpl.C (fitCursor): new simplistic code
524         (workAreaDispatch): add a fitCursor call
525
526 2003-11-10  André Pönitz  <poenitz@gmx.net>
527
528         * BufferView.[Ch]:
529         * BufferView_pimpl.[Ch]: merge update() and updateInset()
530
531 2003-11-10  André Pönitz  <poenitz@gmx.net>
532
533         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
534         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
535         indicate that the cursor needs to leave an inset
536
537         * lyxtext.h: remove inset locking
538
539         * cursor.[Ch]: re-implement functionality provided by inset locking
540
541         * BufferView.[Ch]:
542         * BufferView_pimpl.[Ch]:
543         * LyXAction.C:
544         * bufferview_funcs.[Ch]:
545         * factory.C:
546         * funcrequest.[Ch]:
547         * iterators.C:
548         * lyx_cb.C:
549         * lyxfind.C:
550         * lyxfunc.C:
551         * text.C:
552         * text2.C:
553         * text3.C:
554         * undo.C: adjust
555
556 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
557
558         * PosIterator.[Ch]: replace the stack with a vector, add inset
559         accesor
560         * iterators.[C]: adjust
561
562 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
563
564         * lyxfind.C (replaceAll): mark the buffer dirty if something was
565         replaced
566         * paragraph_funcs.C (readParToken): put the correct id in the
567         error item, not the id of the top paragraph
568
569 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
570
571         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
572         * bufferview_funcs.C (put_selection_at): use the above
573
574 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
575
576         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
577
578 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
579
580         * output_linuxdoc.h:
581         * output_plaintext.h:
582         * output.h:
583         * output_docbook.h: add #include statements
584
585 2003-11-05  José Matos  <jamatos@lyx.org>
586
587         * output_docbook.[Ch]:
588         * output_latex.[Ch]:
589         * output_linuxdoc.[Ch]:
590         * output_plaintext.[Ch]: New files for output formats.
591         * output.[Ch]: New file for helper functions.
592
593         * buffer.[Ch]:
594         * paragraph_funcs.[Ch]: output functions moved to new files.
595
596         * outputparams.h: rename of latexrunparams.h
597
598         * LaTeX.[Ch]:
599         * buffer.[Ch]:
600         * bufferlist.[Ch]:
601         * converter.[Ch]:
602         * exporter.C:
603         * paragraph.[Ch]:
604         * paragraph_funcs.[Ch]:
605         * paragraph_pimpl.[Ch]:
606         * tabular.[Ch]: rename ascii to plaintext
607         and LatexRunParams to OutputParams.
608
609 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
610
611         * iterators.[Ch] (text): require bv argument
612         * undo.C (recordUndo):
613         * lyxfunc.C (dispatch):
614         * bufferview_funcs.C (put_selection_at): adjust
615
616 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
617
618         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
619
620 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
621
622         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
623         nestings
624
625 2003-11-04  André Pönitz  <poenitz@gmx.net>
626
627         * cursor.[Ch]: restructure
628
629         * BufferView.[Ch]:
630         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
631
632         * iterators.[Ch] (asCursor): remove
633
634         * lfuns.h: remove LFUN_INSET_EDIT
635
636         * lyxfunc.C:
637         * tabular.C:
638         * text.C:
639         * text2.C:
640         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
641
642 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
643
644         * lyxfind.[Ch]: complete overhaul
645         * BufferView_pimpl.C:
646         * lyxfunc.C: adjust
647         * paragraph.[Ch] (insert): add
648
649 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
650
651         * BufferView.[Ch]:
652         * lyxtext.h:
653         * text.C: remove dead spellcheck code
654
655 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
656
657         * dispatchresult.h: add a val setter
658
659         * cursor.C (dispatch): use a tempvar for data_[i]
660
661 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
662
663         * PosIterator.[Ch]: compile fix
664
665 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
666
667         * text.C (cursorPar): deactivate the cursor cache
668
669 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
670
671         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
672
673 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
674
675         * text3.C (dispatch): adjust for new DisptchResult semantics.
676
677         * lyxfunc.C (dispatch): handle update when return from
678         Cursor::dispatch, adjust for new DispatchResult semantics.
679
680         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
681         DispatchResult(true) mean to not update. Add class functions for
682         setting dispatched and update, as well as reading.
683
684         * cursor.C (dispatch): don't handle update here
685
686 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
687
688         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
689         * trans_mgr.C: adjust
690
691         * paragraph_funcs.C (readParToken): exception safety
692
693         * lyxvc.h: store the vcs pointer in a scoped_ptr
694         * lyxvc.C: adjust
695
696         * lyxsocket.C (serverCallback): exception safety
697
698         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
699
700         * ispell.C (clone): make it return a auto_ptr
701
702         * factory.C (createInset): exception safety
703         (readInset): exception safety
704
705         * bufferlist.C (newBuffer): exception safety
706
707         * Thesaurus.C (Thesaurus): use initialization for aik_
708
709         * MenuBackend.C (expandToc): exception safety.
710
711 2003-11-03  André Pönitz  <poenitz@gmx.net>
712
713         * buffer.C:
714         * buffer.h:
715         * bufferview_funcs.C: remove getInsetFromId()
716
717         * lyxcursor.[Ch]:
718         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
719
720         * lyxfunc.C:
721         * text2.C:
722         * text3.C: adjust
723
724 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
725
726         * PosIterator.C (distance, advance): new
727         * bufferview_funcs.[Ch] (put_selection_at): new
728         * iterators.[Ch] (lockPath): new
729
730 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
731
732         * iterators.[Ch] (asPosIterator): added
733         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
734         * PosIterator.[Ch]: added
735
736 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
737
738         * text3.C:
739         * lyxfunc.C:
740         * cursor.C (dispatch):
741         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
742
743         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
744         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
745         contructor, add a class function dispatched. Remove operator>=
746
747 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
748
749         * debug.C: only use the default constructor for debugstream
750         (lyxerr) here.
751
752         * main.C (main): include debug.h and setup the lyxerr streambuf
753         here.
754
755 2003-10-31  José Matos  <jamatos@lyx.org>
756
757         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
758
759         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
760         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
761         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
762         * paragraph_pimpl.C (simpleTeXSpecialC):
763         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
764         add LatexRunParams argument.
765
766         * exporter.C (Export): change call accordingly.
767
768         * latexrunparams.h: add new member to take care of the other backends.
769 2003-10-30  José Matos  <jamatos@lyx.org>
770
771         * buffer.C (makeLinuxDocFile, makeDocBookFile):
772         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
773         factorise code for paragraph output.
774         * buffer.[Ch]:
775         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
776         move functions.
777
778 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
779
780         * text3.C (dispatch):
781         * lyxfunc.C (dispatch):
782         * cursor.C (dispatch):
783         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
784
785         * dispatchresult.h: make the dispatch_result_t ctor explicit
786
787 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
788
789         * sgml.[Ch]:
790         * buffer.C: small refactoring of docbook stuff
791
792 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
793
794         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
795         meaning.
796
797 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
798
799         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
800         operator dispatch_result_t, and operators for == != and >=
801
802         * cursor.C (dispatch): adjust for operator dispatch_result_t
803         removal. comment out call to update
804
805         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
806
807 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
808
809         * text3.C:
810         * text2.C:
811         * text.C:
812         * lyxtext.h:
813         * lyxfunc.C:
814         * cursor.C:
815         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
816         (dispatch):
817
818         * dispatchresult.h: new file, DispatchResult broken out of
819         insets/insetbase.h
820
821         * Makefile.am (lyx_SOURCES): add dispatchresult.h
822
823 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
824
825         * text.C (rowBreakPoint): put a hack inside #if 0
826
827 2003-10-28  André Pönitz  <poenitz@gmx.net>
828
829         * lyxtext.h:
830         * metricsinfo.C:
831         * paragraph_funcs.C:
832         * rowpainter.C:
833         * text.C:
834         * text2.C: general cleanup (lots of small stuff)
835
836 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
837
838         * text2.C (cursorEnd): simple fix to the "end key goes to one
839         before the end on last row" bug
840
841 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
842
843         * text.C (backspace): fix the "zombie characters"
844
845 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
846
847         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
848
849 2003-10-27  André Pönitz  <poenitz@gmx.net>
850
851         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
852
853         * factory.C: handle new InsetPagebreak, InsetLine
854
855         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
856         and move handling into new InsetPagebreak, InsetLine
857
858         * BufferView_pimpl.C:
859         * LyXAction.C:
860         * ParagraphParameters.C:
861         * ParameterStruct.h:
862         * lyxfunc.C:
863         * lyxtext.h:
864         * paragraph.C:
865         * paragraph.h:
866         * paragraph_funcs.C:
867         * paragraph_pimpl.C:
868         * rowpainter.C:
869         * text.C:
870         * text2.C:
871         * text3.C: adjust
872
873 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
874
875         * text.C:
876         * lyxrow_funcs.[Ch]:
877         * Bidi.C:
878         * paragraph.C:
879         * lyxtext.h:
880         * rowpainter.C:
881         * text2.C:
882         * text3.C: remove lastPos uses in favour of Row::endpos
883
884 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
885
886         * undo.C (performUndoOrRedo): fix two crashes by setting a
887         cursor by hand and reordering some calls. Use bv->lockInset instead
888         of inset->edit because the latter loses cursor information
889
890 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
891
892         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
893         by Martin
894         (rowBreakPoint): fix width. change point to point + 1.
895         Add a missing check.
896
897 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
898
899         * MenuBackend.C:
900         * lyxfunc.C: fix (at least partly) the problems
901         with the Nav menu and headers inside branch insets
902         reported by Kayvan
903
904 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
905
906         * paragraph.C (getChar): add strong asserts
907
908         * lyxrow_funcs.C (lastPos): remove hideous hack
909
910         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
911         (fill): adjust to that (avoid an infinite loop)
912
913 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
914
915         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
916
917 2003-10-23  André Pönitz  <poenitz@gmx.net>
918
919         * RowList_fwd.h: change list<> to vector<> to gain speed
920         after suggestion from Alfredo
921
922 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
923
924         * lyxtext.h: move the bidi stuff from here...
925         * text.C: and here
926         * text2.C: and here
927         * Bidi.[Ch]: ... to here
928
929 2003-10-23  André Pönitz  <poenitz@gmx.net>
930
931         * lyxtext.h:
932         * text.C (isLastRow, isFirstRow): new functions
933
934         * paragraph.h: new width cache member
935
936         * rowpainter.C: replace RowList::iterator with Row & where possible
937
938         * lyxfunc.C: replace several view()->text with a single call
939
940         * toc.C: fix 'unused' warning
941
942 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
943
944         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
945         when woring with stream::pos_type
946         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
947
948 2003-10-22  André Pönitz  <poenitz@gmx.net>
949
950         * lyxtext.h:
951         * text.C: use Row & instead of RowList::iterator
952
953         * lyxrow.h: rename end() to endpos()
954
955         * rowpainter.C:
956         * text.C:
957         * text2.C: adjust
958
959 2003-10-22  Angus Leeming  <leeming@lyx.org>
960
961         * buffer.[Ch] (fully_loaded): new member function, returning true
962         only when the file has been loaded fully.
963         Used to prevent the premature generation of previews and by the
964         citation inset to prevent computation of the natbib-style label.
965
966         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
967         templates are all set up.
968
969         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
970
971 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
972
973         * text.C: fixed an "oops" in the "is a bit silly"
974         bug fix
975
976 2003-10-21  André Pönitz  <poenitz@gmx.net>
977
978         * FuncStatus.[Ch]: small stuff, whitespace
979
980         * lyxfont.[Ch]: operator<<() for debug reasons
981
982         * lyxfunc.C:
983         * lyxrow_funcs.C:
984         * lyxtext.h: whitespace, spelling
985
986         * paragraph.C: naming of variables
987
988         * text.C:
989         * text2.C: small stuff
990
991
992 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
993
994         * text.C: (1) finish off the inset display() work;
995         (2) fix the "is a bit silly" bug (accessing char
996         past end of par).
997
998 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
999
1000         * text.C: re-introduce display() for insets, fixing the
1001         various bugs (stretch of line above, math inset
1002         positioning, ...)
1003
1004 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1005
1006         * text.C (rightMargin): remove spurious semicolon
1007
1008         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1009         1415)
1010
1011 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1012
1013         * text3.C: fix one crash due to wrong cursor def
1014
1015 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1016
1017         * vc-backend.C (scanMaster): make the regex static
1018
1019         * LaTeX.C (scanAuxFile): make the regexs static
1020
1021         * text3.C (doInsertInset, dispatch, dispatch):
1022         * text2.C (cursorUp, cursorDown):
1023         * text.C (selectNextWordToSpellcheck):
1024         * BufferView_pimpl.C (dispatch):
1025         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1026
1027 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1028
1029         * lyxsocket.C: include <cerrno>
1030
1031 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1032
1033         * lyxfunc.C (dispatch): remove textcache stuff
1034
1035         * bufferlist.C (release): remove textcache stuff
1036         (closeAll): ditto
1037
1038         * TextCache.C: delete file
1039         * TextCache.h: delete file
1040
1041         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1042
1043         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1044         delete of the bv_->text.
1045         (resizeCurrentBuffer): remove texcache stuff
1046         (workAreaResize): ditto
1047
1048 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1049
1050         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1051         action.
1052
1053 2003-10-16  André Pönitz  <poenitz@gmx.net>
1054
1055         * lyxrow.[Ch]:
1056         * paragraph.h:
1057         * rowpainter.C:
1058         * text.C:
1059         * text2.C:
1060         * text3.C: speed up by storing y positions per paragraph plus per-row
1061         offset instead of having a 'full' y position in the row.
1062
1063 2003-10-15  André Pönitz  <poenitz@gmx.net>
1064
1065         * iterators.[Ch]:
1066         * iterators.[Ch]:
1067         * undo.[Ch]: make undo aware of inner insets
1068
1069 2003-10-14  Angus Leeming  <leeming@lyx.org>
1070
1071         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1072         static member functions LyX::ref() and LyX::cref.
1073         (lastfiles): new accessor functions for the new lastfiles_ member var.
1074         (addLyXView, views_): add a new LyXView to the list of views_.
1075         (updateInset): loop over all LyXViews to call their own updateInset
1076         member function, returning a pointer to the Buffer owning the inset.
1077
1078         * BufferView_pimpl.C (loadLyXFile):
1079         * MenuBackend.C (expandLastfiles):
1080         * bufferlist.C (MenuWrite, QuitLyX):
1081         lastfiles is no longer a global variable.
1082         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1083
1084         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1085         static function. Access through LyX::cref().emergencyCleanup().
1086
1087 2003-10-14  André Pönitz  <poenitz@gmx.net>
1088
1089         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1090
1091         * undo.[Ch]: restoring part of 'undo in insets'
1092
1093         * Makefile.am:
1094         * undo_funcs.[Ch]: merge with undo.[Ch]
1095
1096         * tabular.C: small cleansing stuff
1097
1098 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1099
1100         * paragraph_funcs.C (readParToken): report unknown insets as error
1101         boxes. Use the outer paragraph as location (also for unknown
1102         tokens).
1103
1104         * factory.C (readInset): do not abort on reading an unknown inset.
1105         Eat it and return 0.
1106
1107 2003-10-13  Angus Leeming  <leeming@lyx.org>
1108
1109         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1110
1111         * lyxrc.C: displayTranslator is now a function,
1112         declared in GraphicsTypes.h.
1113
1114 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1115
1116         * format.C: new placeholder $$a to pass the socket address.
1117
1118         * bufferlist.[Ch]: new function getBufferFromTmp.
1119
1120         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1121           files in the temporary dir.
1122
1123 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1124
1125         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1126
1127         * Makefile.am: add lyxsocket.[Ch].
1128
1129         * lyx_main.C (error_handler): handle SIGPIPE.
1130
1131 2003-10-13  André Pönitz  <poenitz@gmx.net>
1132
1133         * BufferView_pimpl.C:
1134         * lyxtext.h:
1135         * text.C:
1136         * text2.C:
1137         * text3.C:
1138         * undo_funcs.[Ch]: use paroffset_type instead of
1139           ParagraphList::iterators to prevent multiple conversion
1140           (and get a more robust interface)
1141
1142 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1143
1144         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1145         * lyxtext.h: ditto
1146         * text3.C (dispatch): ditto
1147
1148 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1149
1150         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1151         move the onlyfile, use onlyfile instead of foundfile in a couple
1152         of places.
1153
1154         * DepTable.C (update): flush the error stream a bit more
1155
1156 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1157
1158         * lyxserver.C (callback): adjust
1159
1160         * lyxfunc.C (getStatus): add a missing brace in commented code
1161         (ensureBufferClean): reindent
1162         (dispatch): delete version taking a string
1163
1164 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1165
1166         * LaTeX.C (deplog): move found file handlig from here...
1167         (handleFoundFile): .. to new function here.
1168         (deplog): make sure to discover several files mentioned on the
1169         same log line.
1170
1171 2003-10-10  André Pönitz  <poenitz@gmx.net>
1172
1173         * lyxfunc.C:
1174         * lyxtext.h:
1175         * tabular.C:
1176         * text.C:
1177         * text2.C:
1178         * text3.C: fix some of the tabular crashes
1179
1180 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1181
1182         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1183
1184         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1185
1186 2003-10-09  André Pönitz  <poenitz@gmx.net>
1187
1188         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1189
1190         * BufferView.C:
1191         * BufferView_pimpl.C:
1192         * bufferview_funcs.C:
1193         * lyx_cb.C:
1194         * lyxcursor.C:
1195         * lyxfind.C:
1196         * lyxfunc.C:
1197         * lyxtext.h:
1198         * text.C:
1199         * text2.C:
1200         * text3.C:
1201         * text_funcs.[Ch]:
1202         * textcursor.[Ch]:
1203         * undo_funcs.C: adjust
1204
1205 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1206
1207         * text2.C (incrementItemDepth): new function, use a backtracking
1208         algorithm to discover the correct item depth.
1209         (resetEnumCounterIfNeeded): new function, use a backtracking
1210         algorithm to discover if counter reset is needed.
1211         (setCounter): use them. Simplify a bit. Add different labels for
1212         different item depths for itemize.
1213
1214         * paragraph.C (Paragraph): remove initialization of enumdepth
1215         (operator=): ditto
1216
1217         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1218         enumerate and itemize. Change the type of itemdepth to signed char.
1219
1220 2003-10-08  André Pönitz  <poenitz@gmx.net>
1221
1222         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1223           thing assignable.
1224         * text.C:
1225         * text2.C: adjust
1226
1227         * tabular.[Ch]: fix crash after 'row-insert'
1228
1229 2003-10-08  Angus Leeming  <leeming@lyx.org>
1230
1231         Fix doxygen warnings.
1232
1233         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1234         Remove CutAndPaste:: prefix from header file declaration.
1235
1236         * LColor.h (fill): remove LColor:: prefix from declaration.
1237
1238         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1239         use lyx::depth_type rather than Paragraph::depth_type so that
1240         header file and .C file match.
1241
1242         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1243
1244         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1245         * aspell.C: \file aspell_local.C -> \file aspell.C
1246         * gettext.C: \file gettext.C -> \file src/gettext.C
1247         * gettext.h: \file gettext.h -> \file src/gettext.h
1248         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1249         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1250         * text.C: \file text.C -> \file src/text.C
1251
1252         * toc.C: move comment so that doxygen is not confused.
1253
1254 2003-10-07  Angus Leeming  <leeming@lyx.org>
1255
1256         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1257
1258 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1259
1260         * aspell.C:
1261         * aspell_local.h: add forgotten std::string's.
1262
1263 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1264
1265         * LaTeXFeatures.C:
1266         * LyXAction.C:
1267         * factory.C:
1268         * lfuns.h:
1269         * lyxfunc.C:
1270         * text3.C: The Box patch. Fancybox support, minipage, parbox
1271
1272 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1273
1274         * CutAndPaste.h:
1275         * DepTable.h:
1276         * FloatList.h:
1277         * LaTeXFeatures.h:
1278         * ParagraphParameters.h:
1279         * TextCache.h:
1280         * Thesaurus.h:
1281         * bufferlist.h:
1282         * exporter.h:
1283         * importer.h:
1284         * lastfiles.h:
1285         * lyxfind.h:
1286         * lyxfont.h:
1287         * lyxlex.h:
1288         * lyxtextclasslist.h:
1289         * messages.h:
1290         * paragraph.h:
1291         * paragraph_pimpl.C:
1292         * textcursor.h: add <string> and other small fixes to make Lars'
1293         std::string patch compile with STLport.
1294
1295 2003-10-06  Angus Leeming  <leeming@lyx.org>
1296
1297         * LColor.h: Add missing #include <string>.
1298
1299 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1300
1301         * All most all file in all subdirs: Make <string> be the prefered
1302         way of getting to std::string, add using declarations.
1303
1304 2003-10-06  André Pönitz  <poenitz@gmx.net>
1305
1306         * metricsinfo.C: initialize LyXFont before changing attribute.
1307         (fixes the 'math in \emph is upright' bug)
1308
1309 2003-10-06  André Pönitz  <poenitz@gmx.net>
1310
1311         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1312
1313 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1314
1315         * graph.C:
1316         * paragraph_pimpl.C: Small fixes to build using STLport
1317
1318 2003-10-02  André Pönitz  <poenitz@gmx.net>
1319
1320         * lyxfunc.C:
1321         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1322
1323 2003-10-01  André Pönitz  <poenitz@gmx.net>
1324
1325         * factory.C: assert early
1326
1327 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1328
1329         * lyx_main.C: remove the global debug object
1330
1331         * debug.h: adjust for new debugstream
1332
1333         * debug.C: adjust for new debugstream and keep the global debug
1334         object here.
1335
1336 2003-09-22  Angus Leeming  <leeming@lyx.org>
1337
1338         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1339         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1340         an incomplete class LyXFont.
1341
1342 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1343
1344         * factory.C: bug fix in branches
1345
1346 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1347
1348         * lyxfunc.C (processKeySym): adjust
1349         (dispatch): adjust
1350         (dispatch): change arg name from ev to func, adjust
1351         (sendDispatchMessage): ditto
1352
1353         * lyx_main.C (defaultKeyBindings): adjust keybindings
1354         (deadKeyBindings): ditto
1355
1356         * kbsequence.C (addkey): return a FuncRequest
1357
1358         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1359
1360         * kbmap.C (bind): take a FuncRequest as arg, adjust
1361         (read): adjust
1362         (lookup): adjust
1363         (defkey): change to take a FuncRequest as arg, adjust
1364         (findbinding): take a FuncRequest as arg, adjust.
1365
1366         * funcrequest.h (operator=): added
1367
1368         * funcrequest.C (FuncRequest): default kb_action changed from
1369         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1370
1371         * buffer.C (dispatch): simplify
1372         (dispatch): adjust to take a FuncRequest as arg, adjust
1373
1374         * boost.C (assertion_failed): change assertion message slightly
1375
1376         * ToolbarBackend.C (read): simplify
1377
1378         * MenuBackend.C (binding): adjust call to findbinding, add a
1379         message if no binding is found.
1380         (read): simplify
1381         (expandToc): correct by adding a empty FuncRequest
1382
1383         * LyXAction.C: include <boost/assert.hpp>
1384         (isPseudoAction): delete function
1385         (LookupFunc): change name to...
1386         (lookupFunc): this. change return type to FuncRequest.
1387         (getActionName): take kb_action as arg, simplify
1388         (funcHasFlag): add an assert, simplify.
1389
1390 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1391
1392         * toc.C (action): return a FuncRequest, simplify
1393
1394         * lyxfunc.C (processKeySym): adjust
1395         (getStatus): delete version that takes an int.
1396         (getStatus): adjust
1397         (dispatch): delete version that takes action as int
1398         (dispatch): adjust
1399         (sendDispatchMessage): simplify and adjust
1400
1401         * funcrequest.C (getArg): take unsigned int as arg
1402
1403         * ToolbarBackend.C (read): adjust
1404         (add): delete version that takes func as a string.
1405         (getIton): take a FuncRequest as arg
1406
1407         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1408         action.
1409
1410         * MenuBackend.C (MenuItem): add a new construct that only takes a
1411         Kind, simplify the constructor use for submenus.
1412         (add): adjust
1413         (expandLastfiles): adjust
1414         (expandDocuments): adjust
1415         (expandFormats): adjust
1416         (expandFloatListInsert): adjust
1417         (expandFloatInsert): adjust
1418         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1419
1420         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1421         Remove class variables lyx_pseudo_map and lyx_arg_map
1422
1423         * LyXAction.C (searchActionArg): delete function
1424         (getPseudoAction): delete function
1425         (retrieveActionArg): delete function
1426         (LookupFunc): make it return kb_action, simplify.
1427         (getActionName): simplify
1428
1429         * factory.C (createInset): fix new bug
1430
1431 2003-09-19  Angus Leeming  <leeming@lyx.org>
1432
1433         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1434         masterFilename_ parameter in the include inset.
1435
1436         * factory.C (createInset): changes due to the changes to InsetInclude.
1437
1438 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1439
1440         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1441
1442 2003-09-18  Angus Leeming  <leeming@lyx.org>
1443
1444         * buffer.C:
1445         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1446         Inset::fillWithBibKeys.
1447         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1448
1449 2003-09-18  Angus Leeming  <leeming@lyx.org>
1450
1451         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1452         variables.
1453         (ctor): pass and store a 'Buffer const &'
1454         (buffer): new member function.
1455
1456         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1457         '*this' to the LaTeXFeatures ctor.
1458
1459 2003-09-18  Angus Leeming  <leeming@lyx.org>
1460
1461         * LColor.h:
1462         * lyxfont.C:
1463         * lyxfont.h:
1464         * lyxtext.h:
1465         * text.C: rename EnumLColor as LColor_color.
1466
1467 2003-09-18  Angus Leeming  <leeming@lyx.org>
1468
1469         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1470         remove #include "insets/insetbase.h" from cursor.h.
1471
1472 2003-09-18  Angus Leeming  <leeming@lyx.org>
1473
1474         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1475         InsetOld_code to remove #include "inset.h".
1476
1477         * iterators.C: add #include "insets/inset.h"
1478
1479 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1480
1481         * BufferView.C: remove more locking stuff that apparently doesn't
1482         do anything sensible.
1483
1484 2003-09-16  André Pönitz  <poenitz@gmx.net>
1485
1486         * paragraph.[Ch]:
1487         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1488           performance boost.
1489
1490 2003-09-16  Angus Leeming  <leeming@lyx.org>
1491
1492         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1493
1494         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1495         arg/return type.
1496
1497         * paragraph.h: remove #include "lyxfont.h". Forward declare
1498         LyXFont_size.
1499
1500 2003-09-16  Angus Leeming  <leeming@lyx.org>
1501
1502         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1503         of support/textutils.h.
1504         (isWord): move the contents of support/textutils.h's IsWordChar here.
1505
1506         * buffer.C:
1507         * lyxfind.C:
1508         * rowpainter.C:
1509         * text.C:
1510         * text2.C: add #include "paragraph.h".
1511
1512         * rowpainter.C:
1513         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1514
1515 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1516
1517         * main.C:
1518         * lyx_main.C:
1519         * lyx_cb.C:
1520         * buffer.C:
1521         * LaTeX.C: use namespace alias for lyx::support::os
1522
1523 2003-09-16  Angus Leeming  <leeming@lyx.org>
1524
1525         * bufferparams.C:
1526         * bufferview_funcs.C:
1527         * factory.C:
1528         * lyxfunc.C:
1529         * paragraph_pimpl.C:
1530         * rowpainter.C:
1531         * text.C: add #include "LColor.h".
1532
1533 2003-09-16  Angus Leeming  <leeming@lyx.org>
1534
1535         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1536         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1537         return LyXFont &.
1538         Store the FontBits::color variable as an int rather than as an
1539         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1540         file.
1541
1542         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1543         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1544         string calls together.
1545
1546         * lyxrc.C: add #include "LColor.h".
1547
1548 2003-09-15  Angus Leeming  <leeming@lyx.org>
1549
1550         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1551         a cow_ptr.
1552
1553 2003-09-15  Angus Leeming  <leeming@lyx.org>
1554
1555         * LColor.h: add an EnumLColor wrapper for LColor::color.
1556
1557         * lyxfont.[Ch] (color, setColor, realColor):
1558         * lyxtext.h, text.C (backgroundColor):
1559         pass EnumLColor args to/from the functions, rather than LColor::color
1560         ones.
1561
1562         * lyxfont.h:
1563         * lyxtext.h: forward declare EnumLColor.
1564
1565         * lyx_main.C: add #include "LColor.h".
1566
1567 2003-09-15  Angus Leeming  <leeming@lyx.org>
1568
1569         * .cvsignore: add lyx-gtk.
1570
1571 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1572
1573         * Chktex.C
1574         * LaTeX.C
1575         * LaTeXFeatures.C
1576         * ParagraphParameters.C
1577         * Spacing.C
1578         * buffer.C
1579         * bufferparams.C
1580         * bufferview_funcs.C
1581         * chset.C
1582         * counters.C
1583         * funcrequest.C
1584         * lyxfont.C
1585         * lyxgluelength.C
1586         * lyxlength.C
1587         * paragraph.C
1588         * paragraph_funcs.C
1589         * text3.C
1590         * vc-backend.C: remove usage of STRCONV
1591
1592 2003-09-15  Angus Leeming  <leeming@lyx.org>
1593
1594         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1595         explicitly define the color passed to the painter.
1596
1597 2003-09-15  Angus Leeming  <leeming@lyx.org>
1598
1599         * bufferparams.C (BufferParams): reorder member initializers to avoid
1600         compiler warning.
1601
1602 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1603
1604         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1605         * text.C (updateRowPositions): remove an unusual nop
1606
1607 2003-09-12  André Pönitz  <poenitz@gmx.net>
1608
1609         * BufferView_pimpl.C:
1610         * Bullet.C:
1611         * layout.h:
1612         * lyxfunc.C:
1613         * lyxlayout.[Ch]:
1614         * lyxtextclass.C:
1615         * rowpainter.C:
1616         * text.C:
1617         * text2.C:
1618         * Counters.[Ch]: finish the 'automatic counters' job
1619
1620 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1621
1622         * aspell.C: include <boost/assert.cpp> (compile fix)
1623
1624 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1625
1626         * boost.C (assertion_failed): use lyx::support::abort instead of
1627         assert.
1628
1629 2003-09-10  Angus Leeming  <leeming@lyx.org>
1630
1631         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1632         with their _fwd progeny.
1633
1634 2003-09-09  Angus Leeming  <leeming@lyx.org>
1635
1636         134 files throughtout the source tree: replace 'using namespace abc;'
1637         directives with the appropriate 'using abc::xyz;' declarations.
1638
1639 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1640
1641         * boost.C (emergencyCleanup): moved here from LAssert.c
1642         (assertion_failed): new function, called by BOOST_ASSERT
1643
1644         * several files: change Assert to BOOST_ASSERT
1645
1646 2003-09-09  Angus Leeming  <leeming@lyx.org>
1647
1648         * buffer.[Ch]: Add an Impl class and move Buffer's member
1649         variables into it. As a result move several header files out of
1650         buffer.h.
1651
1652         Add header files to lots of .C files all over the tree as a result.
1653
1654 2003-09-09  Angus Leeming  <leeming@lyx.org>
1655
1656         * buffer.[Ch]: make Buffer's member variables private. Add
1657         accessor functions.
1658
1659         Lots of changes all over the tree as a result.
1660
1661 2003-09-08  Angus Leeming  <leeming@lyx.org>
1662
1663         * graph.C: #include <config.h>.
1664
1665 2003-09-08  Angus Leeming  <leeming@lyx.org>
1666
1667         * BranchList.C:
1668         * BufferView.C:
1669         * BufferView_pimpl.C:
1670         * CutAndPaste.C:
1671         * DepTable.C:
1672         * LaTeX.C:
1673         * LaTeXFeatures.C:
1674         * LyXAction.C:
1675         * MenuBackend.C:
1676         * TextCache.C:
1677         * aspell.C:
1678         * buffer.C:
1679         * bufferlist.C:
1680         * changes.C:
1681         * chset.C:
1682         * converter.C:
1683         * counters.C:
1684         * debug.C:
1685         * graph.C:
1686         * ispell.C:
1687         * lyx_cb.C:
1688         * lyxfind.C:
1689         * lyxfunc.C:
1690         * lyxlex_pimpl.C:
1691         * lyxrc.C:
1692         * lyxrow.C:
1693         * paragraph.C:
1694         * rowpainter.C:
1695         * texrow.C:
1696         * text.C:
1697         * text2.C:
1698         * toc.C: remove redundant using directives.
1699
1700 2003-09-07  Angus Leeming  <leeming@lyx.org>
1701
1702         * LaTeXFeatures.h: remove #include "support/types.h".
1703         * ToolbarBackend.h: remove #include <algorithm>.
1704         * changes.h: remove #include <ctime>.
1705         * debug.h: remove #include <iosfwd>.
1706         * graph.h: remove #include "support/std_string.h".
1707         * lyx_main.h: remove #include <csignal>.
1708         * lyxlex_pimpl.h: remove #include <fstream>.
1709         * sgml.h: remove #include <algorithm>, <utility>.
1710         * toc.h: remove #include "support/std_ostream.h".
1711         Add #include <iosfwd>.
1712
1713 2003-09-07  Angus Leeming  <leeming@lyx.org>
1714
1715         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1716
1717         * converter.h: forward declare LatexRunParams.
1718         * encoding.h: remove #include "lyxrc.h".
1719         * lyxtext.h: remove #include "LColor.h".
1720         * lyxtextclass.h: remove #include "support/types.h".
1721         * trans.h: remove #include "tex-accent.h".
1722         * trans_mgr.h: remove #include "tex-accent.h".
1723         * insets/inset.h: remove #include "support/types.h", <vector>.
1724         * insets/insetcollapsable.h: remove #include "LColor.h".
1725         * insets/insetinclude.h: remove #include "dimension.h".
1726         * insets/insetlatexaccent.h: remove #include "dimension.h".
1727         * insets/insetoptarg.h:: remove #include "insettext.h".
1728         * insets/insettext.h: remove #include "dimension.h",
1729         <boost/shared_ptr.hpp>
1730
1731         * insets/renderers.h: add #include "dimension.h".
1732         * insets/updatableinset.h: add #include "support/types.h".
1733
1734         * many .C files: Associated changes.
1735
1736 2003-09-06  Angus Leeming  <leeming@lyx.org>
1737
1738         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1739         one, inside testInvariant.
1740
1741         * PrinterParams.C: new file.
1742         * PrinterParams.[Ch]: move the function bodies out of line.
1743
1744 2003-09-06  Angus Leeming  <leeming@lyx.org>
1745
1746         * ParagraphParameters.h: forward declare ParameterStruct rather than
1747         including its header file.
1748         (depth): moved out-of-line.
1749
1750 2003-09-06  Angus Leeming  <leeming@lyx.org>
1751
1752         * BufferView_pimpl.h:
1753         * kbmap.h:
1754         * kbsequence.h:
1755         * lyxfunc.h: forward declare LyXKeySym rather than
1756         #include "frontends/LyXKeySym.h".
1757
1758         * BufferView_pimpl.C:
1759         * kbmap.C:
1760         * kbsequence.C:
1761         * lyxfunc.C: associated changes.
1762
1763 2003-09-06  Angus Leeming  <leeming@lyx.org>
1764
1765         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1766         As a result, can remove the #include "insets/inset.h" from BufferView.h
1767
1768 2003-09-06  Angus Leeming  <leeming@lyx.org>
1769
1770         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1771         As a result, can remove the #include "insets/inset.h" from BufferView.h
1772
1773 2003-09-06  Angus Leeming  <leeming@lyx.org>
1774
1775         * buffer_funcs.C:
1776         * buffer.h:
1777         * bufferlist.C:
1778         * BufferView.C:
1779         * bufferview_funcs.C:
1780         * BufferView_pimpl.C:
1781         * CutAndPaste.C:
1782         * lyx_cb.C:
1783         * lyxfunc.C:
1784         * paragraph.h:
1785         * ParagraphParameters.C:
1786         * tabular.C:
1787         * text3.C:
1788         * toc.C:
1789         * undo_funcs.C:
1790         * frontends/controllers/ControlDocument.C:
1791         * insets/insetcaption.C: rearrange the #includes into some sort of
1792         coherent order.
1793
1794         * buffer.h: remove #includes ErrorList.h, undo.h
1795
1796 2003-09-06  Angus Leeming  <leeming@lyx.org>
1797
1798         * support/types.h: add a 'depth_type' typedef, used to store the
1799         nesting depth of a paragraph.
1800
1801         * paragraph.h:
1802         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1803         defining explicitly.
1804
1805         * buffer.h:
1806         * paragraph_funcs.h:
1807         * ParagraphParameters.h:
1808         * sgml.h: use lyx::depth_type rather than Paragraph or
1809         ParameterStruct's depth_type.
1810
1811         * buffer.h
1812         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1813
1814         * BufferView.C:
1815         * BufferView_pimpl.C:
1816         * CutAndPaste.C:
1817         * ParagraphParameters.C:
1818         * buffer_funcs.C:
1819         * bufferlist.C:
1820         * bufferview_funcs.C:
1821         * lyx_cb.C:
1822         * lyxfunc.C:
1823         * tabular.C:
1824         * text3.C:
1825         * toc.C:
1826         * undo_funcs.C:
1827         * frontends/LyXView.C:
1828         * frontends/controllers/ControlDocument.C:
1829         * frontends/controllers/ControlErrorList.C:
1830         * insets/insetbibitem.C:
1831         * insets/insetbranch.C:
1832         * insets/insetcaption.C:
1833         * insets/insetcollapsable.C:
1834         * insets/insetenv.C:
1835         * insets/insetert.C:
1836         * insets/insetfloat.C:
1837         * insets/insetfoot.C:
1838         * insets/insetfootlike.C:
1839         * insets/insetnewline.C:
1840         * insets/insetquotes.C:
1841         * insets/insettabular.C:
1842         * insets/insettext.C:
1843         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1844
1845         * frontends/controllers/ControlChanges.C: #include "changes.h".
1846
1847 2003-09-06  Angus Leeming  <leeming@lyx.org>
1848
1849         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1850         than #including paragraph.h.
1851
1852         * ParagraphList.h:
1853         * RowList.h: deleted. Superfluous.
1854
1855         * CutAndPaste.h:
1856         * iterators.h:
1857         * lyxcursor.h:
1858         * lyxtext.h:
1859         * text_funcs.h:
1860         * undo.h:
1861         * undo_funcs.h:
1862         * insets/inset.h:
1863         * insets/insettext.h: use ParagraphList_fwd.h rather than
1864         ParagraphList.h.
1865
1866         * paragraph.h: don't forward declare ParagraphList.
1867
1868         * buffer.h:
1869         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1870         rather than ParagraphList.h. paragraph.h is still needed for the
1871         Paragraph::depth_type parameters.
1872
1873         * textcursor.h: enable it to compile stand-alone in light of the
1874         above changes.
1875
1876         * bufferview_funcs.C:
1877         * iterators.C:
1878         * lyxfunc.C:
1879         * lyxrow_funcs.C:
1880         * paragraph.C:
1881         * rowpainter.C:
1882         * text.C:
1883         * text2.C:
1884         * text3.C:
1885         * text_funcs.C:
1886         * textcursor.C:
1887         * undo.C:
1888         * frontends/controllers/ControlParagraph.C:
1889         * frontends/controllers/ControlTabular.C:
1890         * insets/insetmarginal.C:
1891         * insets/insetminipage.C:
1892         * insets/insetnote.C:
1893         * insets/insetoptarg.C: add header files needed to compile again.
1894
1895 2003-09-06  Angus Leeming  <leeming@lyx.org>
1896
1897         * RowList_fwd.h: new file, forward-declaring Row rather than
1898         #including lyxrow.h.
1899
1900         * lyxrow_funcs.h:
1901         * lyxtext.h:
1902         * paragraph.h:
1903         * insets/insettext.h: use it instead of RowList.h
1904
1905         * bufferview_funcs.C:
1906         * lyxfunc.C:
1907         * lyxrow_funcs.C:
1908         * paragraph.C:
1909         * rowpainter.C:
1910         * text.C:
1911         * text2.C:
1912         * text3.C: #include "RowList.h".
1913
1914 2003-09-05  Angus Leeming  <leeming@lyx.org>
1915
1916         * factory.C (createInset):
1917         * vspace.C (c-tor): replace sscanf call with an istringstream.
1918         * ispell.C: re-add missing HP/UX headers.
1919         * lyxserver.C: re-add missing  os2 headers.
1920
1921 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1922
1923         * BranchList.C:
1924         * graph.C:
1925         * ispell.C:
1926         * lastfiles.C:
1927         * lyx_cb.C:
1928         * lyxserver.C:
1929         * texrow.C:
1930         * text3.C: re-add missing system headers, needed for 2.95.2.
1931
1932 2003-09-05  Angus Leeming  <leeming@lyx.org>
1933
1934         Changes most place everywhere due to the removal of using directives
1935         from support/std_sstream.h.
1936
1937 2003-09-05  Angus Leeming  <leeming@lyx.org>
1938
1939         Replace LString.h with support/std_string.h,
1940         Lsstream.h with support/std_sstream.h,
1941         support/LIstream.h with support/std_istream.h,
1942         support/LOstream.h with support/std_ostream.h.
1943
1944         Changes resulting throughout the tree.
1945
1946 2003-09-05  Angus Leeming  <leeming@lyx.org>
1947
1948         * sgml.h: ensure that the header file can be compiled stand-alone.
1949         * *.C: strip out redundant #includes. (320 in total.)
1950
1951 2003-09-04  Angus Leeming  <leeming@lyx.org>
1952
1953         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1954         here (from getPackages).
1955
1956         * debug.[Ch]: add a new EXTERNAL tag.
1957
1958 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1959
1960         * text2.C (cursorEnd): simplify
1961         (setCursor): adjust
1962         (getColumnNearX): adjust
1963
1964         * text.C (computeBidiTables): adjust
1965         (fill): adjust
1966
1967         * rowpainter.C (paintChars): adjust
1968         (paintSelection): adjust
1969         (paintChangeBar): adjust
1970         (paintText): adjust
1971
1972         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1973         lastPos instead.
1974         (numberOfSeparators): adjust
1975
1976 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1977
1978         * LyXAction.C:
1979         * box.[Ch]:
1980         * lfuns.h:
1981         * lyxfunc.C:
1982         * text3.C: Restricts the mouse click functionality
1983         of insets like bibtex, include, toc and floatlist to the visible
1984         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1985         up the dialogs. Cursor has to be in front of the inset (i.e.
1986         start of row) for this to function.
1987
1988 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1989
1990         * bufferview_funcs.C (currentState): output row information
1991
1992 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1993
1994         * bufferview_funcs.C (currentState): output paragraph position
1995
1996 2003-09-04  Angus Leeming  <leeming@lyx.org>
1997
1998         * FloatList.h: move out #include "Floating.h".
1999         * LaTeX.h: move out #include "DepTable.h".
2000         * LyXAction.h: move out #include "funcrequest.h".
2001         * buffer.h: move out #include "author.h", "iterators.h".
2002         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2003         * lyx_main.h: move out #include "errorlist.h".
2004         * lyxfunc.h: move out #include "FuncStatus.h".
2005         * lyxtext: move out #include "lyxcursor.h".
2006         * paragraph_pimpl.h: move out #include "counters.h".
2007
2008 2003-09-03  Angus Leeming  <leeming@lyx.org>
2009
2010         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2011         preamble_snippets list, enabling us to add snippets to the preamble
2012         only if the snippet was not there already.
2013
2014 2003-09-04  Angus Leeming  <leeming@lyx.org>
2015
2016         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2017
2018 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2019
2020         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2021         update
2022
2023 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2024
2025         * BranchList.C: point fix, earlier forgotten
2026
2027 2003-09-02  Angus Leeming  <leeming@lyx.org>
2028
2029         * box.C (contains): renamed from 'contained' after a fantastic
2030         amount of hot air.
2031
2032 2003-09-02  John Levon  <levon@movementarian.org>
2033
2034         * BufferView.C:
2035         * lyxcursor.h:
2036         * lyxcursor.C:
2037         * lyxfunc.C:
2038         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2039
2040 2003-09-02  John Levon  <levon@movementarian.org>
2041
2042         * text2.C: simplification of cursorEnd(), including partial
2043         fix for bug 1376
2044
2045 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2046
2047         * buffer.C (readFile): add a space
2048
2049 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2050
2051         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2052
2053 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2054
2055         * buffer.C (readFile): new function, take a filename and a
2056         ParagraphList::iterator
2057         (readFile): adjust
2058         (readFile): adjust, make it private. don't use setStream, make
2059         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2060         always contain the filename.
2061
2062         * BufferView.C (insertLyXFile): simplify and make it work for
2063         gzipped files.
2064
2065 2003-08-30  John Levon  <levon@movementarian.org>
2066
2067         * Makefile.am: fix dist (from Kayvan)
2068
2069 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2070
2071         * most files: change to use const Buffer refs
2072
2073 2003-08-27  André Pönitz  <poenitz@gmx.net>
2074
2075         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2076         on top of ownerPar().
2077
2078 2003-08-27  John Levon  <levon@movementarian.org>
2079
2080         * funcrequest.C: properly initialise POD members
2081
2082 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2083
2084         * lyxtext.h (top_y): move top_y from here
2085         * text.C:
2086         * text2.C:
2087         * text3.C:
2088         * BufferView.[Ch]:
2089         * BufferView_pimpl.[Ch]: to here
2090         * frontends/screen.C:
2091         * insets/insettabular.C:
2092         * insets/insettext.C: adjust
2093         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2094
2095 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2096
2097         * BufferView.[Ch]:
2098         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2099
2100 2003-08-26  André Pönitz  <poenitz@gmx.net>
2101
2102         * paragraph_func.[Ch] (outerPar): new function
2103
2104         * paragraph.C:
2105         * paragraph_funcs.C:
2106         * paragraph_funcs.h:
2107         * paragraph_pimpl.C:
2108         * text2.C: remove Inset::par_owner
2109
2110 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2111
2112         * lyxrow_funcs.C:
2113         * lyxtext.h:
2114         * text.C:
2115         * text2.C: eliminates the needFullRow/display() stuff
2116         altogether, putting the logic in metrics/draw in the insets.
2117
2118 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2119
2120         * text2.C (redoParagraphInternal, redoParagraphs):
2121         * text.C (redoParagraph): add a call to updateRowPositions at the
2122         end of each 'metrics-like' call. Remove all others.
2123         (getRow): remove the 'y-computing' version.
2124         (getRowNearY): do not compute nor return the real y. Solve the
2125         'y < 0' problem and simplify.
2126
2127 2003-08-22  Angus Leeming  <leeming@lyx.org>
2128
2129         * *.[Ch]: clean-up of licence and author blurbs.
2130         Also move config.h out of a few .h files and into a few .C files.
2131
2132 2003-08-22  André Pönitz  <poenitz@gmx.net>
2133
2134         * lyxrow.[Ch]: add x_ and *fill_ members
2135
2136         * lyxtext.h:
2137         * text.C:
2138         * rowpainter.C:
2139         * text2.C: adjust/remove prepareToPrint() calls
2140
2141 2003-08-22  André Pönitz  <poenitz@gmx.net>
2142
2143         * lyxrow.[Ch]: add  end_ member
2144
2145         * lyxrow_funcs.C: use LyXRow::end_
2146
2147         * lyxtext.h (singleWidth): add LyXFont parameter
2148
2149         * rowpainter.C:
2150         * text2.C: adjust LyXText::singleWidth() calls
2151
2152         * text.C (redoParagraph): simplify row breaking logic
2153
2154
2155 2003-08-19  André Pönitz  <poenitz@gmx.net>
2156
2157         * funcrequest.C: initialize button_ member
2158
2159         * text3.C:
2160         * rowpainter.[Ch]: interface consolidation
2161
2162 2003-08-18  André Pönitz  <poenitz@gmx.net>
2163
2164         * BufferView.C:
2165         * BufferView_pimpl.C:
2166         * lyxfind.C:
2167         * paragraph_funcs.C:
2168         * rowpainter.C:
2169         * text3.C: remove LyXScreen::draw() and fitCursor calls
2170
2171         * BranchList.h: remove spurious semicolons
2172
2173         * MenuBackend.C: fix branchlist related crash
2174
2175 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2176
2177         * BranchList.[Ch]:
2178         * InsetList.[Ch]:
2179         * LColor.[Ch]:
2180         * LyXAction.C:
2181         * Makefile.am:
2182         * MenuBackend.[Ch]:
2183         * bufferparams.[Ch]:
2184         * factory.C:
2185         * lfuns.h:
2186         * lyxfunc.C:
2187         * text3.C: implements the 'branch inset'
2188         idea. This allows the output of various versions of a document
2189         from a single source version, selectively outputing or suppressing
2190         output of parts of the text.
2191         This implementation contains a 'branch list editor' in a separate
2192         tab of the document settings dialog. Branches are user definable
2193         and have a "display colour" to distinguish them on-screen.
2194
2195         ColorHandler was somewhat cleaned up.
2196         (1) make possible a dynamically growing LColor list by allowing
2197         the graphic context cache to grow along (vector);
2198         (2) eliminate an IMHO unnecessary step in colour allocation.
2199
2200 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2201
2202         * BufferView_pimpl.C: compile fix
2203
2204 2003-08-15  André Pönitz  <poenitz@gmx.net>
2205
2206         * rowpainter.C: remove extra metrics calls
2207
2208         * lyxtext.h: merge the two constructors into a single one,
2209           pass reference to owner's par list
2210
2211         * BufferView_pimpl.C:
2212         * text.C:
2213         * text2.C: adjust
2214
2215 2003-08-15  André Pönitz  <poenitz@gmx.net>
2216
2217         * lyxrow_funcs.[Ch]:
2218         * lyxtext.h:
2219         * paragraph.h:
2220         * paragraph_funcs.C:
2221         * rowpainter.C:
2222         * text.C:
2223         * text2.C:
2224         * text3.C:
2225         * text_funcs.C: split LyXText::rowlist_ into individual
2226         Paragraph::rows_ chunks
2227
2228         * BufferView.[Ch]:
2229         * BufferView_pimpl.[Ch]:
2230         * lyxfind.C:
2231         * lyxtext.h:
2232         * text3.C: remove toggleSelection()
2233
2234 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2235
2236         * bufferlist.C: beautify two alerts (shorter text of buttons)
2237         * buffer.C: Remove redundant ' ' from message
2238         * tabular.h:
2239         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2240         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2241         rename VALIGN_CENTER to VALIGN_MIDDLE
2242
2243 2003-08-11  André Pönitz  <poenitz@gmx.net>
2244
2245         * lyxtext.h (getPar):
2246         * text.C: new function
2247
2248 2003-08-11  André Pönitz  <poenitz@gmx.net>
2249
2250         * Makefile.am:
2251         * tracer.[Ch]: remove unneeded files
2252
2253         * InsetList.[Ch]: remove resizeInsetsLyXText()
2254
2255         * lyxtext.h:
2256         * text.C:
2257         * text2.C:
2258         * text3.C: merge insertParagraphs() and appendParagraph()
2259         remove breakAgain(), update()
2260
2261         * BufferView_pimpl.[Ch]:
2262         * bufferview_funcs.[Ch]:
2263         * lyxfunc.C:
2264         * paragraph.[Ch]:
2265         * rowpainter.C:
2266         * tabular.C: adjust after text & InsetList changes.
2267
2268 2003-08-08  André Pönitz  <poenitz@gmx.net>
2269
2270         * text.C (insertChar, backspace): replace rowlist fiddling
2271         with rebreak of full par
2272
2273         * lyxtext.h:
2274         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2275         checkParagraph, updateInset): removed
2276
2277 2003-08-07  André Pönitz  <poenitz@gmx.net>
2278
2279         * paragraph.C:
2280         * text3.C: merge some LFUN handlers, remove dead code
2281
2282 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2283
2284         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2285
2286 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2287
2288         * text2.C (DEPM): fix part of bug 1255 and 1256
2289
2290 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2291
2292         * BufferView_pimpl.C (workAreaDispatch): change to use
2293         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2294         that are no mouse related.
2295
2296 2003-08-05  André Pönitz  <poenitz@gmx.net>
2297
2298         * BufferView.[Ch]:
2299         * BufferView_pimpl.[Ch]:
2300         * bufferview_funcs.C:
2301         * text2.C:
2302         * text3.C: rip out "deep update"
2303
2304         * textcursor.[Ch] (last_sel_cursor): remove unused member
2305
2306 2003-08-04  André Pönitz  <poenitz@gmx.net>
2307
2308         * BufferView.[Ch]:
2309         * BufferView_pimpl.[Ch]:
2310         * ParagraphParameters.C:
2311         * bufferview_funcs.C:
2312         * lyx_cb.C:
2313         * lyxfind.C:
2314         * lyxfunc.C:
2315         * text.C:
2316         * text2.C:
2317         * text3.C: replace "complicated" BufferView::update(...) calls with
2318         simpler ones.
2319
2320         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2321
2322 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2323
2324         * Makefile.am (lyx_SOURCES): add paper.h
2325
2326 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2327
2328         * Makefile.am: move things around so that both lyx-qt and
2329         lyx-xforms can be built (according to --with-frontend). Then lyx
2330         is a symbolic link to lyx-[firstfrontend]
2331
2332 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2333
2334         * Always use std::endl with lyxerr
2335
2336 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2337
2338         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2339
2340 2003-08-01  André Pönitz  <poenitz@gmx.net>
2341
2342         * BufferView.[Ch]:
2343         * BufferView_pimpl.[Ch]:
2344         * lyxfunc.C:
2345         * text3.C: merge BufferView::repaint() and BufferView::update()
2346
2347 2003-08-01  José Matos  <jamatos@lyx.org>
2348
2349         * buffer.[Ch]: file_format is no longer a buffer data element.
2350
2351 2003-08-01  André Pönitz  <poenitz@gmx.net>
2352
2353         * BufferView.C:
2354         * lyxtext.h:
2355         * text.C:
2356         * text2.C: make redoParagraph more independent of current cursor
2357
2358         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2359         * text.C:
2360         * text2.C: remove unneeded members
2361
2362 2003-07-30  André Pönitz  <poenitz@gmx.net>
2363
2364         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2365
2366         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2367           create a single function...
2368
2369         * paragraph_funcs.C (moveItem): ... here.
2370
2371         * text.C:
2372           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2373
2374 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2375
2376         * LColor.[Ch]: Add comment and greyedout logical colors.
2377
2378 2003-07-30  André Pönitz  <poenitz@gmx.net>
2379
2380         * tabular.C: don't use Assert too heavily. This crashes where it
2381           shouldn't
2382
2383 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2384
2385         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2386         is disabled (bug 1232)
2387
2388 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2389
2390         * factory.C: limited 'arg' scope
2391
2392 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2393
2394         * factory.C: fixed Note submenu issues
2395
2396 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2397
2398         * factory.C: submenu for Note/Comment/Greyedout
2399
2400 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2401
2402         * lyx_main.C (LyX):
2403         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2404
2405 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2406
2407         * LaTeXFeatures.C:
2408         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2409         greyedout. Patch provided by Jürgen Spitzmüller.
2410
2411 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2412
2413         * kbmap.C (read): fix error message when reading bind files
2414
2415 2003-07-29  Angus Leeming  <leeming@lyx.org>
2416
2417         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2418         certainly does not do what it purports to do. I am doing it, and
2419         us, a favour by killing it.
2420
2421 2003-07-28  José Matos  <jamatos@lyx.org>
2422
2423         * buffer.C (readBody, do_writeFile):
2424         * paragraph.C(readParagraph): \end_document replaces \the_end.
2425
2426 2003-07-29  André Pönitz  <poenitz@gmx.net>
2427
2428         * BufferView.[Ch]:
2429         * BufferView_pimpl.[Ch]:
2430         * lyxfunc.C:
2431         * text2.C:
2432         * text3.C:
2433         * textcursor.[Ch]: remove toggleToggle & Co
2434
2435 2003-07-28  José Matos  <jamatos@fep.up.pt>
2436
2437         * buffer.C (readParagraph):
2438         * params_func (readParToken, readParagraph):
2439         * paragraph.C (write): \layout -> \begin_layout.
2440
2441 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2442
2443         * lyxlex_pimpl.C (setFile): clean up slightly.
2444
2445         * bufferparams.h: add compressed var
2446
2447         * buffer_funcs.C (readFile): adjust for LyXLex change
2448         (newFile): ditto + simplify
2449
2450         * buffer.C (writeFile): handle writing of compressed files
2451
2452         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2453         Check if the file is compressed and set a bufferparm if so.
2454
2455         * Makefile.am (lyx_LDADD): remove explicit -lz
2456
2457 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2458
2459         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2460         makeDocBookFile): put the real LyX version in the first line of
2461         the file
2462
2463         * version.h:
2464         * version.C.in: remove lyx_docversion
2465
2466         * tabular.C (write_attribute): add a template-based version to
2467         write enums properly
2468
2469 2003-07-28  André Pönitz  <poenitz@gmx.net>
2470
2471         * lyxtext.h:
2472         * text.C:
2473         * text2.C:
2474         * text3.C: use doubles again for x-coordinates. They are needed.
2475
2476 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2477
2478         * messages.C (getLocaleDir): use lyx_localedir()
2479
2480         * lyxlex_pimpl.C (setFile): compress stuff
2481
2482         * buffer.C (writeFile): add some compression stuff
2483         (do_writeFile): new func, dont call expliti close... will this
2484         breake anything?
2485
2486         * Makefile.am (lyx_LDADD): add -lz
2487
2488 2003-07-28  José Matos  <jamatos@fep.up.pt>
2489
2490         * buffer.C: increment file format.
2491         * paragraph_funcs (readParagraph, readParToken):
2492         * paragraph.C (readParagraph): add \end_layout.
2493
2494 2003-07-27  Angus Leeming  <leeming@lyx.org>
2495
2496         * Makefile.am: remove special casing for configure-time setting of
2497         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2498
2499         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2500         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2501
2502 2003-07-26  André Pönitz  <poenitz@gmx.net>
2503
2504         * paragraph_func.[Ch]:
2505         * paragraph.C (realizeFont): inline it whereever it is used
2506
2507         * rowpainter.C:
2508         * text.C:
2509         * text2.C:
2510         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2511
2512
2513 2003-07-26  André Pönitz  <poenitz@gmx.net>
2514
2515         *       lyxtext.h:
2516         * text.C:
2517         * text2.C: get rid of LyXText::need_break_row
2518
2519 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2520
2521         * toc.[Ch]: put namespace toc inside namespace lyx
2522
2523         * MenuBackend.C (expandToc2): adjust for lyx::toc
2524         (expandToc): ditto
2525
2526         * lyxfunc.C (dispatch): adjust for lyx::find
2527
2528         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2529         lyx::find instead. Reorganize a bit.
2530         (LyXReplace): rename to replace
2531         (LyXFind): rename to find
2532
2533         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2534         (dispatch): ditto
2535
2536 2003-07-26  André Pönitz  <poenitz@gmx.net>
2537
2538         * text.C (setHeightOfRow): restrict scope of temporary variable
2539
2540         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2541           code (never has been used?)
2542
2543 2003-07-27  Asger Alstrup  <alstrup@local>
2544
2545         * text.C (fill): Optimise algorithm to exploit that we can reuse
2546         the LyXFont for many characters.
2547         (setHeightOfRow): Same thing.
2548         (rowBreakPoint): Same thing.
2549
2550 2003-07-26  Asger Alstrup  <alstrup@local>
2551
2552         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2553
2554         * text.C (singleWidth): Spurious font copying in hot-spot
2555         singleWidth avoided. Reorder tests for arabic for efficiency.
2556
2557         * text.C (fill): handle empty paragraphs better.
2558
2559 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2560
2561         * ispell.C:
2562         * encoding.h: add includes
2563
2564         * lyxrc.C: remove reading of bind files
2565
2566         * lyx_main.C (init): setup bindings and menus only if we have a
2567         gui.
2568
2569         * kbmap.C (read): new method. Do the actual reading of bind
2570         files.
2571
2572         * converter.C (dvipdfm_options):
2573         * bufferparams.C:
2574         * lyxrc.C (read):
2575         (output): adapt PAPER_* enums.
2576
2577         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2578
2579         * bufferparams.h: remove paper-related enums from there
2580
2581         * paper.h: New file. A trivial header file to hold paper-related
2582         enums. It should later expand to contain many paper-related
2583         horrors access.
2584
2585         * lyxrc.C: declare extern displayTranslator
2586
2587 2003-07-27  José Matos  <jamatos@fep.up.pt>
2588
2589         * tabular.[Ch] (linuxdoc): add support for tables and figures
2590         (linuxdoc).
2591
2592 2003-07-27  José Matos  <jamatos@fep.up.pt>
2593
2594         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2595         consistency in both functions.
2596         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2597
2598 2003-07-26  Asger Alstrup  <alstrup@local>
2599
2600         * rowpainter.C (paintRows): Change algorithm to work directly on
2601         the insets rather than asking every character in the document
2602         whether its an inset.
2603
2604 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2605
2606         * buffer.C (openFileWrite): factorize some code
2607
2608 2003-07-26  Angus Leeming  <leeming@lyx.org>
2609
2610         * lyx_cb.C:
2611         * lyx_main.[Ch]: replace occurances of system_tempdir with
2612         os::getTmpDir().
2613
2614 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2615
2616         * rename Inset to InsetOld
2617
2618 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2619
2620         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2621         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2622         which I think is a bit clearer. EDIT is gone, since it was
2623         premature optimisation, and broken for mathed anyway.
2624         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2625         with cursor positioning in insets as well (math insets still do not
2626         work, but that's a different story anyway.) It mysteriously
2627         crashes sometimes with undo in the first paragraph, but I'm fairly
2628         confident that this is a compiler bug.
2629
2630 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2631
2632         * paragraph.C (Paragraph): adjust for new clone return type
2633         (operator==): ditto
2634         (copyIntoMinibuffer): ditto
2635
2636 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2637
2638         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2639         by not having a special case, and always doing a full rebreak of
2640         the document after undo.
2641
2642 2003-07-23  Angus Leeming  <leeming@lyx.org>
2643
2644         * factory.C (createInset): InsetExternal::setParams now takes a
2645         Buffer const * arg.
2646
2647 2003-07-23  Angus Leeming  <leeming@lyx.org>
2648
2649         * factory.C (createInset): changed interface to the external and
2650         graphics mailers' string2params functions.
2651
2652 2003-07-23  Angus Leeming  <leeming@lyx.org>
2653
2654         * factory.C (createInset): pass a
2655         Buffer const * parameter to InsetExternalMailer's string2params.
2656
2657 2003-07-22  John Levon  <levon@movementarian.org>
2658
2659         * Thesaurus.h: include the right aiksaurus header
2660
2661 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2662
2663         * MenuBackend.C (expand): check menu shortcuts unconditionally
2664
2665 2003-07-21  Angus Leeming  <leeming@lyx.org>
2666
2667         * factory.C (createInset): pass a
2668         buffer_path parameter to InsetGraphicsMailer's string2params.
2669
2670 2003-07-21  Angus Leeming  <leeming@lyx.org>
2671
2672         * BufferView_pimpl.C (buffer):
2673         * buffer.C (d-tor):
2674         * lyx_main.C (LyX):
2675         * lyxfunc.C (dispatch):
2676         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2677         rather than the grfx shortcut.
2678
2679 2003-07-21  André Pönitz  <poenitz@gmx.net>
2680
2681         * rowpainter.C: remove unused variables
2682
2683         * tabular_funcs.C:
2684         * tabular_funcs.h: move to tabular.C
2685         * Makefile.am: adjust
2686
2687         * tabular.[Ch]: basic optical cleaning
2688
2689         * author.h: pass references, not values
2690
2691 2003-07-18  André Pönitz  <poenitz@gmx.net>
2692
2693         * lyxtext.h:
2694         * metricsinfo.C:
2695         * metricsinfo.h:
2696         * rowpainter.C:
2697         * text.C:
2698         * text2.C:
2699         * text3.C: two-phase drawing for InsetText and InsetTabular
2700         some float -> int changes.
2701
2702 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2703
2704         * lyx_main.C: fix the fix
2705
2706 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2707
2708         * lyx_main.C: fix a crash in batch mode if no files specified
2709         * converter.C: ws
2710
2711 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2712
2713         * format.[Ch] (papersize): moved to BufferParams
2714         * converter.[Ch] (dvips_options): moved to BufferParams
2715         (dvipdfm_options): moved to anon namespace
2716         * bufferparams.[Ch]: added above functions.
2717
2718 2003-07-17  André Pönitz  <poenitz@gmx.net>
2719
2720         * lyxtext.h:
2721         * rowpainter.C:
2722         * text2.C: don't call inset->update() anymore
2723
2724         * metricsinfo.[Ch]: add convenience constructor
2725
2726 2003-07-16  André Pönitz  <poenitz@gmx.net>
2727
2728         * lyxcursor.[Ch]:
2729         * lyxfunc.[Ch]:
2730         * text.C:
2731         * text2.C: replace the LyXCursor::irow_ member with
2732          on-demand computation of the value
2733
2734 2003-07-16  John Levon  <levon@movementarian.org>
2735
2736         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2737
2738 2003-07-15  André Pönitz  <poenitz@gmx.net>
2739
2740         * text.C:
2741         * text2.C: remove no more needed refresh_row
2742
2743 2003-07-15  André Pönitz  <poenitz@gmx.net>
2744
2745         * lyxtext.h:
2746         * rowpainter.C:
2747         * text2.C:
2748         * text3.C: refresh_status tristate -> need_update bool
2749
2750 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2751
2752         * lyxtext.h (init): remove reinit argument (act as if always true)
2753         * text2.C: adjust to that
2754
2755 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2756
2757         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2758         * text3.C: use it to delete selections in some cases
2759         (bugs 441, 673, 702, 954).
2760
2761 2003-07-14  André Pönitz  <poenitz@gmx.net>
2762
2763         * rowpainter.[Ch]: reduce interface
2764
2765 2003-07-14  André Pönitz  <poenitz@gmx.net>
2766
2767         * BufferView_pimpl.C:
2768         * text2.C: adjust after removing unused BufferView * argument
2769
2770 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2771
2772         * text2.C (init): fix a crash fired on resize
2773
2774 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2775
2776         * buffer.[Ch]: added new closing signal
2777         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2778         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2779         BufferView::Pimpl via the closing the signal
2780
2781 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2782
2783         * buffer.[Ch]: take out all bv-related from buffer
2784         * BufferView.C:
2785         * BufferView_pimpl.[Ch]: connect to new signals
2786         * CutAndPaste.C: removed useless asserts
2787         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2788         * lyxvc.[Ch]:
2789         * vc-backend.[Ch]:
2790         * lyxfunc.C: moved view-related funciontality from vc here
2791         * paragraph.C: removed outdated comments
2792         * text.C: ws
2793
2794 2003-07-10  André Pönitz  <poenitz@gmx.net>
2795
2796         * BufferView_pimpl.C:
2797         * tabular.h:
2798         * tabular_funcs.C:
2799         * text.C:
2800         * text2.C: remove InsetText::InnerCache, clean up consequences
2801
2802 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2803
2804         * ispell.C: fix two typos in error messages
2805
2806 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2807
2808         * Extend Note inset to other forms of annotation like Comment
2809         and Greyedout. Right button click gives dialog.
2810
2811         Files modified or added (+):
2812
2813         * insetnote.[Ch]
2814         * FormNote.[Ch]      +
2815         * ControlNote.[Ch]   +
2816         * form_note.fd       +
2817         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2818         frontends/controllers
2819         * xforms/Dialogs.C
2820         * factory.C
2821
2822 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2823
2824         * aspell.C: add missing namespace lyx::support
2825
2826 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2827
2828         * BufferView.[Ch] (newFile): Add
2829         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2830         * LaTeX.[Ch] (message): added this signal and use it
2831         * buffer.[Ch] (busy, message): added these signals and use them
2832         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2833         * converter.C:
2834         * exporter.C:
2835         * format.C:
2836         * importer.C: use buffer signals instead of direct bv calling
2837         * lyx_cb.[Ch] (ShowMessage): removed
2838         * lyx_main.C:
2839         * lyxfunc.C:
2840         * paragraph_funcs.C:
2841         * text2.C: use buffer signals
2842
2843 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2844
2845         * introduce namespace lyx::graphics
2846
2847 2003-07-02  André Pönitz  <poenitz@gmx.net>
2848
2849         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2850
2851 2003-07-01  André Pönitz  <poenitz@gmx.net>
2852
2853         * text.C:
2854         * text2.C:
2855         * text3.C:
2856         * text_funcs.[Ch]:
2857         * textcursor.h:
2858         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2859           text*.C to text_func.C
2860
2861 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2862
2863         * introduce namespace lyx::support
2864
2865 2003-06-30  André Pönitz  <poenitz@gmx.net>
2866
2867         * Chktex.C:
2868         * funcrequest.C:
2869         * lyxtext.h:
2870         * text.C: re-enable --with-included-string
2871
2872 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2873
2874         * textcursor.C: add <config.h>
2875
2876         * text.C (getWord): remove const from word_location arg
2877
2878         * lyxvc.C (getLogFile): fix const type order
2879
2880         * lyxtext.h: remove const from word_location arg, add arg name
2881
2882         * lyxlayout.h: currect type on labeltype.
2883
2884         * importer.C: correct \file
2885
2886         * converter.C (intToFormat): use std:: on ret val, ws changes
2887
2888         * bufferlist.h: correct \file
2889
2890         * buffer.C (makeLinuxDocFile): fix const type order
2891         (makeDocBookFile): ditto
2892         (fillWithBibKeys): use std:: on stdlib args.
2893
2894         * CutAndPaste.C: fix authors.
2895         (availableSelections): use std:: on return vector
2896
2897 2003-06-27  André Pönitz  <poenitz@gmx.net>
2898
2899         * BufferView_pimpl.C:
2900         * bufferview_funcs.C:
2901         * lyxcursor.C:
2902         * lyxcursor.h:
2903         * lyxfunc.C:
2904         * lyxtext.h:
2905         * rowpainter.C:
2906         * text.C:
2907         * text2.C:
2908         * text3.C: remove LyXCursor::row_ member
2909
2910         * lyxtext.h:
2911         * text.C: rename fullRebreak() to partialRebreak() and implement
2912           a fullRebreak() that really bereks fully
2913
2914         * textcursor.h: new struct for cursor-related data
2915
2916 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2917
2918         * lyx_main.C (LyX): get full path of document loaded on the
2919         command line
2920
2921 2003-06-26  André Pönitz  <poenitz@gmx.net>
2922
2923         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2924           remove unused/broken operator>,<,>=.
2925
2926         *       text.C: remove only use of broken operator<= in an Assert().
2927
2928 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2929
2930         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2931         moved errorlist_.clear to showErrorList
2932
2933 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2934
2935         * converter.C (scanLog, runLaTeX):
2936         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2937         move the bv->showErrorList call to the callers
2938         * lyxfunc.C: i.e. here...
2939         * text2.C: and here
2940         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2941         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2942         namespace, the second to...
2943         * buffer_funcs (BufferFormat, parseErrors): added
2944         * errorlist.C (ErrorList(TeXErrors const &)): removed
2945
2946 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2947
2948         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2949
2950 2003-06-24  "Garst R. Reese" <reese@isn.net>
2951
2952         * debug.C: fix typo
2953
2954 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2955
2956         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2957
2958         * version.C.in: change docversion to 1.4
2959
2960 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2961
2962         * buffer.C: fix a bug just introduced
2963
2964 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2965
2966         * buffer.[Ch]: added the parseError signal and use it, removed
2967         sgmlError
2968         * BufferView.[Ch] (addError): moved to ...
2969         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2970         to the Buffer::parseError signal to catch (guess what) parse errors
2971         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2972
2973 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2974
2975         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2976         ability to create a buffer and to return an existing one from
2977         the list. Moved these functions to...
2978         * buffer_funcs.[Ch]: added
2979         * BufferView.[Ch] (loadLyXFile): added
2980         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2981         job removed from bufferlist::loadLyXFile.
2982         * buffer.C (setReadOnly): make it work without view
2983         (i.e added an if (users))
2984
2985 2003-06-19  Angus Leeming  <leeming@lyx.org>
2986
2987         * lfuns.h:
2988         * LyXAction.C (init):
2989         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2990         with LFUN_DIALOG_SHOW <name> <data>.
2991
2992 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2993
2994         * CutAndPaste.C (availableSelections): small compilation fix for
2995         ancient (gcc 2.9x) compilers
2996
2997 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2998
2999         * text3.C (cursorNext): add tmp var
3000
3001         * text2.C (updateCounters): for function calling out of for clause
3002         (replaceSelectionWithString): ditto
3003         (insertStringAsParagraphs): ditto
3004         (getColumnNearX): add tmp var
3005         (setCursorFromCoordinates): add tmp var
3006         (cursorDownParagraph): add tmp var
3007         (deleteEmptyParagraphMechanism): add tmp var
3008
3009         * text.C (insertChar): add tmp var
3010
3011         * rowpainter.C (paintDepthBar): add tmp var
3012
3013         * CutAndPaste.C (availableSelections): potentially check all
3014         paragraphs in a cut to fill the shown strings.
3015
3016 2003-06-18  André Pönitz  <poenitz@gmx.net>
3017
3018         * kbmap.[Ch]: use vector<> instead of list<>
3019
3020 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3021
3022         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3023         pasteSelection with index
3024
3025         * text2.C (pasteSelection): modify, call pasteSelection with index
3026
3027         * paragraph.C (asString): reimplement version with no interval to
3028         call the one with interval.
3029
3030         * lyxtext.h: add index arg to pasteSelection
3031
3032         * MenuBackend.C (MenuItem): handle PasteRecent
3033         (Menu::read::Menutags): add md_pasterecent
3034         (read): handle it
3035         (expandPasteRecent): new function
3036         (expand): use it
3037
3038         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3039
3040         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3041         the limited stack
3042         (availableSelections): new function
3043
3044 2003-06-17  Angus Leeming  <leeming@lyx.org>
3045
3046         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3047
3048 2003-06-17  Angus Leeming  <leeming@lyx.org>
3049
3050         * lfuns.h:
3051         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3052
3053         * lyxfunc.C (dispatch): invoke it.
3054
3055 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3056
3057         * iterators.C (operator++, ParPosition): reintroduce some
3058         const_cast for the benefit of older compilers.
3059
3060 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3061
3062         * text3.C (dispatch): do not modify clipboard when doing
3063         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3064         LFUN_DELETE_SKIP on a selection selection
3065
3066 2003-06-16  André Pönitz  <poenitz@gmx.net>
3067
3068         * BufferView.C:
3069         * buffer.C:
3070         * buffer.h:
3071         * paragraph.C:
3072         * tabular.[Ch]: IU of clone() and getLabelList();
3073
3074 2003-06-13  André Pönitz  <poenitz@gmx.net>
3075
3076         * tabular.h: compactification
3077
3078 2003-06-12  André Pönitz  <poenitz@gmx.net>
3079
3080         * tabular.C:
3081         * tabular.h:
3082         * tabular_funcs.h: some renaming plus whitespace
3083
3084 2003-06-12  André Pönitz  <poenitz@gmx.net>
3085
3086         * BufferView.C:
3087         * BufferView_pimpl.C:
3088         * CutAndPaste.C:
3089         * buffer.C:
3090         * iterators.[Ch]:
3091         * lyxfunc.C:
3092         * text.C:
3093         * toc.C: Return a Paragraph & for ParIterator::operator*()
3094
3095 2003-06-11  John Levon  <levon@movementarian.org>
3096
3097         * lyx_main.C:
3098         * ToolbarBackend.h:
3099         * ToolbarBackend.C: add "Toolbars" section and
3100         put the flags there
3101
3102 2003-06-10  Angus Leeming  <leeming@lyx.org>
3103
3104         * lfuns.h:
3105         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3106
3107         * lyxfunc.C (dispatch): invoke it.
3108
3109 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3110
3111         * main.C: protect <ios> with HAVE_IOS
3112         (main): protect sync_with_stdio with HAVE_IOS
3113
3114 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3115
3116         * text2.C (cutSelection): adjust
3117         (pasteSelection): adjust
3118
3119         * messages.C: handle get of empty string
3120
3121         * main.C (main): use sync_with_stdio(false)
3122
3123         * lyxfunc.C (dispatch): adjust
3124
3125         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3126         (WriteAs): remove unneeded BufferView arg.
3127
3128         * bufferparams.h: use correct types on papersize, papersize2 and
3129         paperpackage.
3130
3131         * bufferparams.C (readToken): adjust for type
3132         (writeLaTeX): add missing cases to switch.
3133
3134         * bufferlist.C (quitWriteBuffer): adjust
3135         (close): adjust
3136
3137         * buffer.C (asciiParagraph): remove some commented code.
3138
3139         * CutAndPaste.C: remove current_view extern variable.
3140         (cutSelection): add BufferParams arg.
3141         (eraseSelection): add BufferParams arg.
3142         (pasteSelection): add Buffer const & arg
3143
3144 2003-06-07  John Levon  <levon@movementarian.org>
3145
3146         * buffer.C:
3147         * paragraph_funcs.C:
3148         * paragraph_pimpl.C:
3149         * text.C:
3150         * text2.C:
3151         * paragraph.h:
3152         * paragraph.C: allow InsetERT to freely space lines,
3153         and some consolidation of code
3154
3155 2003-06-06  José Matos  <jamatos@fep.up.pt>
3156
3157         * buffer.C (makeDocBookFile): fix bug #821
3158
3159 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3160
3161         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3162
3163 2003-06-04  Angus Leeming  <leeming@lyx.org>
3164
3165         * buffer.C: bump format to 224.
3166
3167 2003-06-05  André Pönitz  <poenitz@gmx.net>
3168
3169         * text2.C (redoParagraphs): remove two const_cast<>
3170
3171 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3172
3173         * ParagraphList.h: remove last remnants of NO_STD_LIST
3174
3175 2003-06-03  Angus Leeming  <leeming@lyx.org>
3176
3177         * factory.C (createInset): small change to the way InsetExternal's params
3178         are set.
3179
3180 2003-06-04  André Pönitz  <poenitz@gmx.net>
3181
3182         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3183
3184         * paragraph_pimpl.h:
3185         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3186
3187         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3188
3189         * undo_funcs.C: make some simple cases of undo work again
3190
3191 2003-06-03  John Levon  <levon@movementarian.org>
3192
3193         * ispell.C: HPUX doesn't have sys/select.h
3194         (from Albert Chin)
3195
3196 2003-06-03  John Levon  <levon@movementarian.org>
3197
3198         * CutAndPaste.C: update tabular and include inset
3199         buffer references
3200
3201         * buffer.h:
3202         * paragraph.h:
3203         * paragraph.C: remove owningBuffer(), don't pass Buffer
3204         to clone()
3205
3206         * factory.C: insetGraphicsParams changed
3207
3208 2003-06-02  John Levon  <levon@movementarian.org>
3209
3210         * LyXAction.C:
3211         * factory.C:
3212         * lfuns.h:
3213         * lyxfunc.C:
3214         * text3.C: remove insetparent
3215
3216 2003-06-02  John Levon  <levon@movementarian.org>
3217
3218         * buffer.h:
3219         * buffer.C: fix inset_iterator.end(), move out of line
3220         (bug 1149)
3221
3222 2003-06-01  John Levon  <levon@movementarian.org>
3223
3224         * text3.C: use a proper cut/paste when doing inset
3225         insert (from Jürgen Spitzmüller)
3226
3227 2003-06-01  John Levon  <levon@movementarian.org>
3228
3229         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3230
3231 2003-05-30  André Pönitz  <poenitz@gmx.net>
3232
3233         * rowpainter.C: unify second drawing phase
3234
3235 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3236
3237         * trans_mgr.C: remove one case of current_view
3238
3239         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3240
3241         * paragraph_funcs.h: remove paragraph.h include
3242
3243         * paragraph.h: delete NO_STD_LIST stuff
3244
3245         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3246
3247         * buffer.h: remove paragraph.h include
3248
3249         * ParagraphList.C: delete file
3250
3251         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3252
3253         * toc.C (getTocList): adjust
3254
3255         * paragraph_pimpl.C (validate): adjust
3256
3257         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3258
3259         * paragraph.C (Paragraph): adjust
3260         (getPositionOfInset): use const_iterator, adjust
3261         (bibitem): use const_iterator, adjust
3262         (setInsetOwner): adjust
3263
3264         * iterators.C (operator++): adjust
3265
3266         * InsetList.[Ch]: Replace selfmade iterator with standard
3267         vector::iterator also introduce const_iterator. Remove getPos,
3268         getInset and setInset from InsetTable. Adjust accordingly.
3269
3270         * BufferView.C (lockInset): adjust
3271         (ChangeInsets): adjust
3272
3273         * tabular.[Ch]: delete commented same_id functions
3274
3275 2003-05-28  John Levon  <levon@movementarian.org>
3276
3277         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3278
3279 2003-05-28  André Pönitz  <poenitz@gmx.net>
3280
3281         * metricsinfo.[Ch]: remove 'fullredraw' member
3282
3283 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3284
3285         * lyxtextclass.C (operator): remove caching.
3286
3287 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3288
3289         * text3.C: adjust
3290
3291         * text2.C (cursorBottom): adjust
3292         (setCounter): use ParagraphList::find, adjust
3293
3294         * text.C (workWidth): use ParagraphList::find, adjust
3295
3296         * lyxcursor.C (LyXCursor): adjust
3297
3298         * buffer.C (inset_iterator): adjust
3299
3300         * ParagraphList.h: make iterator(value_type) private, make
3301         ParagraphList a friend of iterator.
3302
3303         * ParagraphList.C (find): new function
3304
3305         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3306
3307 2003-05-27  André Pönitz  <poenitz@gmx.net>
3308
3309         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3310
3311 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3312
3313         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3314
3315 2003-05-26  John Levon  <levon@movementarian.org>
3316
3317         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3318
3319 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3320
3321         * remove same_id from function signatures, adjust.
3322
3323 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3324
3325         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3326
3327         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3328
3329         * paragraph.C (Paragraph): get rid of same_ids parameter
3330
3331         * ParagraphList.C (insert): adjust
3332         (push_back): adjust
3333
3334 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3335
3336         * paragraph_funcs.C (breakParagraph): adjust
3337         (breakParagraphConservative): adjust
3338
3339         * buffer.C (readParagraph): adjust
3340
3341         * ParagraphList.C (insert): take a reference instead of a pointer
3342         (insert): adjust
3343
3344         * paragraph.[Ch] (id): new function
3345
3346         * bufferlist.C (newFile): adjust
3347
3348         * ParagraphList.C (ParagraphList): adjust
3349         (assign): adjust
3350         (push_back): take a reference instead of a pointer.
3351
3352         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3353
3354         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3355         instead.
3356
3357         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3358         set else use old code.
3359
3360         * ParagraphList.C: remove all NO_NEXT code and only compile this
3361         code of NO_STD_LIST is set.
3362
3363 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3364
3365         * BufferView_pimpl.C:
3366         * TextCache.C:
3367         * TextCache.h:
3368         * bufferlist.C:
3369         * errorlist.h:
3370         * format.C:
3371         * format.h:
3372         * graph.C:
3373         * lyxfunc.C:
3374         * lyxrc.C:
3375         * graphics/GraphicsConverter.C:
3376         * graphics/PreviewLoader.C: header adjustment
3377
3378 2003-05-23  Angus Leeming  <leeming@lyx.org>
3379
3380         * LaTeXFeatures.[Ch] (useBabel): new method.
3381         * bufferparams.C (writeLaTeX): use it.
3382
3383 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3384
3385         * ParagraphList.h (set): remove unused function.
3386
3387 2003-05-23  André Pönitz  <poenitz@gmx.net>
3388
3389         * BufferView.C:
3390         * BufferView_pimpl.C:
3391         * buffer.C:
3392         * buffer.h:
3393         * lyxfunc.C:
3394         * undo_funcs.C: setUndo reworked
3395
3396         * iterators.[Ch]: add access to topmost ParagraphList
3397
3398         * lyxtext.[Ch] (workWidth): add a const
3399
3400 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3401
3402         * texrow.[Ch] (increasePos): remove function
3403         * exporter.C (export): removed unused var and outdated comment
3404
3405 2003-05-23  Angus Leeming  <leeming@lyx.org>
3406
3407         * latexrunparams.h: rename fragile as moving_arg.
3408         * paragraph.C (simpleTeXOnePar): ditto.
3409         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3410
3411 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3412
3413         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3414         (createUndo): ditto
3415         (textUndoOrRedo): comment out a currently unused var.
3416
3417         * paragraph.h (NO_NEXT): enable NO_NEXT
3418
3419         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3420
3421         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3422
3423         * exporter.C (Export): adjust for removeAutoInsets removal.
3424
3425         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3426
3427         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3428
3429         * BufferView.[Ch] (removeAutoInsets): delete function
3430
3431 2003-05-22  Angus Leeming  <leeming@lyx.org>
3432
3433         * latexrunparams.h: add a free_spacing variable.
3434
3435         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3436         to pass moving_arg, as the data is stored in runparams.fragile.
3437
3438         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3439         to Inset::latexOptional or to simpleTeXOnePar.
3440
3441         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3442         free_spacing arg to Inset::latexOptional.
3443
3444         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3445         free_spacing arg.
3446
3447 2003-05-22  Angus Leeming  <leeming@lyx.org>
3448
3449         * latexrunparams.h: add fragile and use_babel variables.
3450
3451         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3452         * buffer.C (makeLaTeXFile): store this returned value in
3453         runparams.use_babel, thus passing it to the inset::latex methods.
3454
3455         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3456         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3457
3458         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3459         longer has a fragile arg, as it is stored in runparams.fragile.
3460
3461         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3462         moving_arg parameter as the data is stored in runparams.fragile.
3463
3464         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3465         a fragile parameter as the data is stored in runparams.fragile.
3466
3467 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3468
3469         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3470
3471 2003-05-22  Angus Leeming  <leeming@lyx.org>
3472
3473         * latexrunparams.h: add a 'bool nice' which defaults to false.
3474
3475         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3476         now encapsulated within runparams.
3477
3478         * bufferlist.C (updateIncludedTeXfiles):
3479         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3480
3481 2003-05-22  Angus Leeming  <leeming@lyx.org>
3482
3483         * latexrunparams.h: new file containing struct LatexRunParams.
3484         * Makefile.am: add new file.
3485
3486         * LaTeX.[Ch] (c-tor, run):
3487         * buffer.[Ch] (makeLaTeXFile):
3488         * bufferlist.[Ch] (updateIncludedTeXfiles):
3489         * converter.C (convert, scanLog):
3490         * converter.[Ch] (runLaTeX):
3491         * exporter.C (Export):
3492         * paragraph.[Ch] (simpleTeXOnePar):
3493         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3494         * paragraph_funcs.[Ch] (latexParagraphs):
3495         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3496         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3497         pass around a LatexRunParams parameter.
3498
3499 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3500
3501         * paragraph.[Ch]: remove unused constructor
3502
3503         * ParagraphList.C (erase): new function, taking two iterators
3504
3505 2003-05-22  André Pönitz  <poenitz@gmx.net>
3506
3507         * undo_funcs.C: remove duplicated code
3508
3509         * iterator.[Ch]: operator=
3510
3511 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3512
3513         * tabular.C (SetMultiColumn): ws changes
3514
3515         * rowpainter.C (paintFirst): get rid of a ->previous
3516
3517         * lyx_cb.C (getPossibleLabel): parlist simplification
3518
3519         * BufferView.C (ChangeInsets): simplify slightly.
3520
3521 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3522
3523         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3524         * lfuns.h: new LFUN_SPACE
3525         * lyxfunc.C: protected space has a new lfun
3526         * paragraph_funcs.C: read new space insets
3527         * text3.C:
3528         * factory.C: handle new space insets
3529
3530 2003-05-22  André Pönitz  <poenitz@gmx.net>
3531
3532         * BufferView.C:
3533         * BufferView_pimpl.C:
3534         * buffer.[Ch]:
3535         * lyxfunc.C:
3536         * undo_funcs.C: return a ParIterator from getParFromID.
3537
3538         * iterators.[Ch]: add two const's
3539
3540 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3541
3542         * toc.C (getTocList): adjust
3543
3544         * iterators.[Ch]: rework for parlist
3545
3546         * buffer.C (par_iterator_begin): adjust
3547         (par_iterator_end): adjust
3548
3549         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3550
3551         * BufferView.C (removeAutoInsets): adjust
3552         (ChangeInsets): adjust
3553
3554 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3555
3556         * text.C (top_y): fix bug 1110
3557
3558 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3559
3560         * errorlist.[Ch]: added
3561         * buffer.C:
3562         * BufferView.[Ch]:
3563         * BufferView_pimpl.C:
3564         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3565         instead
3566
3567 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3568
3569         * Makefile.am: ensure that lyx is relinked upon changes to the
3570         various "convenience" libs.
3571
3572 2003-05-20  Angus Leeming  <leeming@lyx.org>
3573
3574         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3575         files are compiled in alphabetical order again.
3576
3577         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3578
3579 2003-05-19  Angus Leeming  <leeming@lyx.org>
3580
3581         * gettext.[Ch]: remove "char const * _(char const *)".
3582
3583 2003-05-19  André Pönitz  <poenitz@gmx.net>
3584
3585         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3586
3587         * Makefile.am:
3588         * BufferView.C:
3589         * DepTable.h:
3590         * LaTeXFeatures.C:
3591         * buffer.C:
3592         * lyxfont.C:
3593         * lyxlex.h:
3594         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3595
3596 2003-05-19  André Pönitz  <poenitz@gmx.net>
3597
3598         * buffer.C:
3599         * lyxlayout.[Ch]:
3600         * lyxtextclass.[Ch]:
3601         * paragraph.C:
3602         * paragraph_funcs.[Ch]:
3603         * text2.C:
3604         * text3.C: more insetenv work
3605
3606 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3607
3608         * ParagraphParameters.C (params2string): small bug fixed
3609
3610 2003-05-16  André Pönitz  <poenitz@gmx.net>
3611
3612         * debug.C:
3613         * bufferview_funcs.C: patch from Kornel Benko to prevent
3614           crash when _(...) is called twice in a statement
3615
3616 2003-05-16  André Pönitz  <poenitz@gmx.net>
3617
3618         * BufferView.C:
3619         * lyxfunc.C:
3620         * text.C:
3621         * text2.C:
3622         * text3.C:
3623         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3624
3625 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3626
3627         * lyx_main.C (init): remove spurious static_cast
3628
3629 2003-05-14  André Pönitz  <poenitz@gmx.net>
3630
3631         * BufferView.C: fix format string
3632
3633 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3634
3635         * BufferView.[Ch] (insertErrors): removed
3636         * BufferView.[Ch] (showErrorList): added
3637         * buffer.C (runChkTeX):
3638         * converter.C (scanLog): call showErrorList instead of inserterrors
3639
3640 2003-05-13  André Pönitz  <poenitz@gmx.net>
3641
3642         * BufferView_pimpl.C:
3643         * buffer.C:
3644         * bufferview_func.C:
3645         * MenuBackend.C:
3646         * lyxfunc.C:
3647         * lyxrc.C:
3648         * tex-accent.C:
3649         * text3.C:
3650         * toc.C:
3651         * tabular_funcs.h: tostr() from its own header
3652
3653         * ParagraphParameters.C:
3654         * ToolbarBackend.C:
3655         * bufferparams.C:
3656         * format.C:
3657         * lyxlex_pimpl.C:
3658         * text3.C: STRCONV()
3659
3660 2003-05-12  André Pönitz  <poenitz@gmx.net>
3661
3662         * BufferView.C:
3663         * BufferView_pimpl.C:
3664         * CutAndPaste.C:
3665         * LaTeX.C:
3666         * LaTeXFeatures.C:
3667         * ParagraphParameters.C:
3668         * buffer.C:
3669         * bufferlist.C:
3670         * bufferparams.C:
3671         * bufferview_funcs.C:
3672         * converter.C:
3673         * counters.C:
3674         * debug.C:
3675         * exporter.C:
3676         * format.C:
3677         * importer.C:
3678         * lyx_cb.C:
3679         * lyx_main.C:
3680         * lyxfont.C:
3681         * lyxfunc.C:
3682         * lyxvc.C:
3683         * paragraph.C:
3684         * paragraph_funcs.C:
3685         * tabular.C:
3686         * tabular_funcs.C:
3687         * text2.C:
3688         * text3.C:  boost::format -> bformat  all over the place
3689
3690
3691 2003-05-09  André Pönitz  <poenitz@gmx.net>
3692
3693         * LColor.[Ch]: Pimpl the #include <map> away
3694
3695 2003-05-09  John Levon  <levon@movementarian.org>
3696
3697         * bufferlist.C: never remove emergency saves
3698
3699 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3700
3701         * Makefile.am: better lib building
3702
3703 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3704
3705         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3706         instead.
3707         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3708         (simpleTeXSpecialChars): adjust
3709         (simpleTeXSpecialChars): adjust
3710         * paragraph.C (simpleTeXOnePar): adjust
3711         * buffer.C (makeLaTeXFile): adjust
3712
3713         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3714
3715         * text2.C (changeDepth): parlist cleanup
3716         (getColumnNearX): ditto
3717
3718         * rowpainter.C (getLabelFont): parlist cleanup
3719
3720         * bufferlist.C (newFile): parlist cleanup
3721
3722         * CutAndPaste.C (eraseSelection): parlist cleanup
3723
3724         * BufferView_pimpl.C (trackChanges): parlist cleanup
3725         (dispatch): ditto
3726
3727         * BufferView.C (lockInset): parlist cleanup.
3728         (ChangeInsets): ditto
3729
3730 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3731
3732         * CutAndPaste.h: Update file header.
3733
3734         * CutAndPaste.C: Update file header.
3735         Store the parts cut out of the Document in a limited_stack.
3736         (copySelection): adjust
3737         (pasteSelection): new function, takes the index in the limited stack.
3738         (nrOfParagraphs): adjust
3739         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3740         simplify error inset insertion.
3741         (checkPastePossible): adjust
3742
3743 2003-05-06  John Levon  <levon@movementarian.org>
3744
3745         * text2.C: don't cast wrap inset to float
3746
3747 2003-05-05  André Pönitz  <poenitz@gmx.net>
3748
3749         * iterator.C:
3750         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3751
3752         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3753           few naked Paragraph *.
3754
3755 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3756
3757         * bufferparams.C: Output warning if a document with missing
3758         TeX document class is loaded
3759         * exporter.C: Disable TeX exports if the document class is missing
3760         * lyxtextclass.C:
3761         * lyxtextclass.h:
3762         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3763         isTeXClassAvailable()
3764
3765 2003-05-03  John Levon  <levon@movementarian.org>
3766
3767         * BufferView.h:
3768         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3769         explicit cursor show/hide
3770
3771         * BufferView_pimpl.h:
3772         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3773         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3774
3775         * lyxfunc.C: hide cursor before dispatching.
3776
3777         * lyx_cb.C:
3778         * lyxfind.C:
3779         * text.C:
3780         * text3.C: remove explicit cursor hides
3781
3782 2003-05-02  André Pönitz  <poenitz@gmx.net>
3783
3784         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3785
3786         * undo_funcs.C:
3787         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3788           linked lists
3789
3790         * text2.C: tiny whitespace
3791
3792 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3793
3794         * undo_funcs.C: almost only ws changes.
3795
3796         * ParagraphList.C (splice): just return if pl is empty.
3797
3798 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3799
3800         * ParagraphList.C (splice): new function.
3801
3802         * CutAndPaste.C (pasteSelection): use it
3803
3804 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * CutAndPaste.C (pasteSelection): remove the last next and
3807         previous from this file.
3808
3809 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3810
3811         * CutAndPaste.C (pasteSelection): more clean up, user proper
3812         ParagraphList functions for pasteing.
3813
3814         * ParagraphList.C (insert): new function, three arg insert
3815
3816 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3817
3818         * ParagraphList.C (insert): new function, three arg insert
3819
3820         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3821         not on paragraphs.
3822
3823 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3824
3825         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3826
3827 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3828
3829         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3830
3831 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3832
3833         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3834         (copySelection): clean up a bit.
3835         (pasteSelection): use make_pair
3836
3837         * ParagraphList.C (ParagraphList): implement copy constructor
3838         (operator=): implement, base on copy constructor.
3839         (assign): new func
3840
3841         * paragraph.C (erase): return a bool
3842
3843         * paragraph_pimpl.C (erasePos): remove function, move contents...
3844         (erase): ... here. Return a bool.
3845         (erase): call erase instead of erasePos.
3846
3847 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3848
3849         * ParagraphList.h: define PitPosPair
3850         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3851         ParagraphList, fix a bug on pasting multiple pars
3852         * text2.C: change interface to C&P
3853
3854 2003-04-30  André Pönitz  <poenitz@gmx.net>
3855
3856         * undo_func.C: revert part of yesterday's patch 2
3857
3858 2003-04-30  John Levon  <levon@movementarian.org>
3859
3860         * LColor.C: s/tabular/table/
3861
3862 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3863
3864         * text3.C (dispatch): do not convert iterator -> pointer
3865         * undo_funcs.C (setCursorParUndo): ditto
3866         * text_funcs.C (transposeChars): ditto
3867
3868         * text2.C (setLayout): ws changes only
3869
3870         * text.C (breakParagraph): do not convert iterator -> pointer
3871         (insertChar): ditto
3872         (acceptChange): ditto
3873         (rejectChange): ditto
3874         (changeCase): ditto
3875         (Delete): ditto
3876         (backspace): ditto
3877
3878         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3879         pointer
3880
3881 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3882
3883         * text3.C (gotoInset): YABG (yet another bad getChar)
3884
3885 2003-04-29  André Pönitz  <poenitz@gmx.net>
3886
3887         * paragraph.h: make operator= private unimplemented as long as
3888           it is unusable
3889
3890         * ParagraphList.C: whitespace
3891
3892         * paragraph.[Ch]:
3893         * paragraph_pimpl.[Ch]:
3894         * paragraph_funcs.C:
3895         * CutAndPaste.C:
3896         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3897
3898         * text2.C:
3899           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3900
3901 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3902
3903         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3904         * paragraph.[Ch] (erase):
3905         * paragraph_pimpl.[Ch] (erase): change return type and value
3906         * text2.C (cutSelection): some rework
3907
3908 2003-04-28  John Levon  <levon@movementarian.org>
3909
3910         * bufferlist.C: changes for unsaved changes dialog
3911
3912 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3913
3914         * bufferlist.C (newFile): set language (messages_) for new
3915         documents also.
3916
3917         * buffer.C (readFile): ws changes only.
3918
3919 2003-04-28  André Pönitz  <poenitz@gmx.net>
3920
3921         * undo_funcs.C:
3922         * lyxfunc.C:
3923         * buffer.[Ch]:
3924         * BufferView_pimpl.C:
3925         * BufferView.C: getParFromID related ParagraphList::iterator changes
3926
3927 2003-04-28  André Pönitz  <poenitz@gmx.net>
3928
3929         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3930           Changes
3931
3932 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3933
3934         * messages.C: remove one more localedir class variable.
3935
3936 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3937
3938         * messages.C (getLocaleDir): singleton generation function
3939         (Pimpl): use it.
3940         (Messages): add a default constructor.
3941
3942         * main.C (main): do not setup localedir here, do not call
3943         gettext_init.
3944
3945         * gettext.C (_): use it.
3946         (gettext_init): delete funciton
3947
3948 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3949
3950         * gettext.C (getLyXMessages): new singleton generating function.
3951
3952         * buffer.C (updateDocLang): adjust
3953
3954         * Makefile.am (messages.o): add target
3955         (main.o): remove target
3956
3957 2003-04-27  John Levon  <levon@movementarian.org>
3958
3959         * bufferlist.C:
3960         * lyx_cb.C:
3961         * lyxfunc.C:
3962         * lyxvc.C: specify cancel button in Alert::prompt
3963
3964 2003-04-26  John Levon  <levon@movementarian.org>
3965
3966         * text3.C:
3967         * lyxfunc.C:
3968         * lfuns.h:
3969         * LyXAction.C: add LFUN_INSET_SETTINGS
3970
3971         * lyxfunc.C: don't enable tabular-feature when there's
3972         just any locking inset
3973
3974 2003-04-26  John Levon  <levon@movementarian.org>
3975
3976         * bufferlist.C: re-add Cancel to buffer close question
3977
3978         * lyxfunc.C: fix import UI a bit
3979
3980 2003-04-25  John Levon  <levon@movementarian.org>
3981
3982         * gettext.C: remove the broken asserts for now
3983
3984 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3985
3986         * messages.C: make case where setlocale cannot comply work better.
3987
3988         * buffer.C (updateDocLang): new function
3989         (changeLanguage): use it
3990         (readFile): use it
3991
3992         * text2.C (setCounter): use B_ a bit.
3993
3994         * lyxlayout.C (Read): be sure to trim the label strings.
3995
3996         * messages.C (Messages): fix typo in comment
3997
3998         * buffer.C (readFile): set message_ after file is loaded.
3999         (makeDocBookFile): remove double return
4000         (changeLanguage): reset message_ upon language change.
4001         (B_): new func, use this to get translated buffer strings.
4002
4003         * main.C: add myself and Jean Marc as authors.
4004
4005 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4006
4007         * messages.[hC]: pimplify Messages, and three different pimpls to be
4008         used in different circumstances.
4009
4010         * gettext.[Ch]: change for use with new message code.
4011
4012 2003-04-24 André Pönitz <poenitz@gmx.net>
4013
4014         * factory.C: support for eqref
4015
4016 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4017
4018         * messages.[Ch]: add missing char
4019
4020         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4021
4022         * messages.[Ch]: New files
4023
4024 2003-04-18  John Levon  <levon@movementarian.org>
4025
4026         * BufferView.h:
4027         * BufferView.C:
4028         * BufferView_pimpl.C:
4029         * lfuns.h:
4030         * LyXAction.C:
4031         * lyxtext.h:
4032         * text2.C: remove layout-copy/paste (bug 778)
4033
4034 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4035
4036         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4037
4038 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4039
4040         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4041         if they succeed. Act accordingly.
4042
4043 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4044
4045         * text2.C (setCharFont): adjust
4046         (setCounter): adjust
4047         (insertStringAsLines): adjust
4048
4049         * text.C (leftMargin): adjust
4050         (setHeightOfRow): adjust
4051
4052         * rowpainter.C (paintFirst): adjust
4053         (paintLast): adjust
4054
4055         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4056         (outerHook): ditto
4057         (isFirstInSequence): ditto
4058         (getEndLabel): ditto
4059         (outerFont): adjust
4060
4061         * paragraph.C (getParLanguage): comment out some hard stuff.
4062
4063         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4064         (sgmlError): ditto
4065         (simpleDocBookOnePar): ditto
4066         (makeDocBookFile): use ParagraphList::iterator
4067
4068         * CutAndPaste.C (pasteSelection): adjust
4069
4070 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4071
4072         * text2.C (getFont): adjust
4073         (getLayoutFont): adjust
4074         (getLabelFont): adjust
4075
4076         * paragraph_funcs.C (TeXOnePar): adjust
4077
4078         * buffer.C (simpleLinuxDocOnePar): adjust
4079         (simpleDocBookOnePar): adjust
4080
4081         * CutAndPaste.C (pasteSelection): adjust
4082
4083         * BufferView.C (getEncoding): adjust
4084
4085         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4086
4087 2003-04-16  John Levon  <levon@movementarian.org>
4088
4089         * lyxfind.C: use parlist stuff for search/changes
4090
4091 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4092
4093         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4094
4095         * text2.C (deleteEmptyParagraphMechanism): adjust
4096
4097         * text2.[Ch] (ownerParagraph): delete func (both of them
4098
4099 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4100
4101         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4102
4103 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4104
4105         * ParagraphList.C: prepare for NO_NEXT
4106
4107 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4108
4109         * text2.C (getFont): adjust
4110         (getLayoutFont): adjust
4111         (getLabelFont): adjust
4112
4113         * paragraph.C (getFont): adjust
4114         (getLabelFont): adjust
4115         (getLayoutFont): adjust
4116
4117         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4118
4119 2003-04-15  John Levon  <levon@movementarian.org>
4120
4121         From Angus Leeming
4122
4123         * lyx_main.C: handle Include in .ui files
4124
4125 2003-04-15  John Levon  <levon@movementarian.org>
4126
4127         * MenuBackend.C: make the doc files length shorter
4128
4129         * ToolbarBackend.h:
4130         * ToolbarBackend.C: handle toolbar placement flags,
4131         Minibuffer
4132
4133 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4134
4135         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4136         adjust
4137
4138         * paragraph_funcs.C (TeXOnePar): adjust
4139
4140         * paragraph.C (getLabelFont): add outerfont arg, adjust
4141         (getLayoutFont): ditto
4142         (simpleTeXOnePar): adjust
4143
4144         * paragraph_pimpl.C (realizeFont): delete func
4145
4146 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4147
4148         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4149         row argument, constify cur argument.
4150
4151 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4152
4153         * text2.C (getFont): adjust
4154         (getLayoutFont): adjust
4155         (getLabelFont): adjust
4156
4157         * paragraph_funcs.C (TeXOnePar): adjust
4158         (outerFont): new func...
4159         (realizeFont): ...moved out from here, changed this to facilitate
4160         transition
4161
4162         * paragraph.C (getFont): take outerfont as arg, adjust
4163         (simpleTeXOnePar): add outerfont arg, adjust
4164
4165         * buffer.C (simpleLinuxDocOnePar): adjust
4166         (simpleDocBookOnePar): adjust
4167
4168         * CutAndPaste.C (pasteSelection): adjust
4169
4170         * BufferView.C (getEncoding): adjust
4171
4172 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4173
4174         * text2.C (setCharFont): adjust
4175         (setCounter): adjust
4176
4177         * text.C (leftMargin): adjust
4178         (setHeightOfRow): adjust
4179
4180         * rowpainter.C (paintFirst): adjust
4181         (paintLast): adjust
4182
4183         * paragraph_pimpl.C (realizeFont): adjust
4184
4185         * paragraph.C (isFirstInSequence): move from here...
4186         * paragraph_funcs.C (isFirstInSequence): ...to here
4187
4188         * paragraph.C (outerHook): move from here...
4189         * paragraph_funcs.C (outerHook): ...to here
4190
4191         * paragraph.C (depthHook): move from here...
4192         * paragraph_funcs.C (depthHook): ...to here
4193
4194         * paragraph.C (getEndLabel): move from here...
4195         * paragraph_funcs.C (getEndLabel): ...to here
4196
4197         * text2.C (realizeFont): move from here...
4198         * paragraph_funcs.C (realizeFont): ...to here
4199
4200 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4201
4202         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4203
4204 2003-04-14  Angus Leeming  <leeming@lyx.org>
4205
4206         * LColor.[Ch]: scrap LColor mathcursor.
4207
4208 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4209
4210         * lyxlex.[Ch] (text): delete function
4211         * trans.C (Load): adjust
4212         * paragraph_funcs.C (readParToken): adjust
4213
4214 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4215
4216         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4217         vector<char> instead of a char[].
4218
4219         * lyxlex_pimpl.C (getString): adjust
4220         (next): adjust
4221         (lex): use getString
4222         (eatLine): adjust
4223         (nextToken): adjust
4224
4225         * lyxlex.C (text): use pimpl_->getString()
4226         (getBool): ditto
4227         (findToken): ditto
4228
4229 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4230
4231         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4232         (makeFontEntriesLayoutSpecific): temp var for par.size()
4233         (setLayout): temp var for ownerParagraphs().end()
4234         (fullRebreak): temp var for rows().end()
4235         (selectionAsString): temp var for boost::next(startpit), realize
4236         that the while really is a regular for loop.
4237         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4238         setCursor in one place.
4239         (setParagraph): temp vr for ownerParagraphs().end()
4240         (updateCounters): make the while loop a for loop
4241         (cutSelection): temp var for ownerParagraphs().end()
4242         (updateInset): make the do {} while() a regular for loop
4243         (getCursorX): use temp vars
4244         (setCurrentFont): use temp vars
4245         (getColumnNearX): use temp vars
4246
4247 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4248
4249         * text.C (transformChar): use temp var for getChar
4250         (computeBidiTables): use temp var for row->par()
4251         (fill): move temp vars for row->par() and pit->layout() earlier in
4252         the function.
4253         (labelFill): use temp var for row->par()
4254         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4255         asc and desc, realize that pit never changes and that firstpit is
4256         just a duplicate and not needed. Exchange rit->par() with pit in a
4257         lot of places.
4258         (breakAgain): use a temp var for boost::next(rit)
4259         (breakAgainOneRow): ditto
4260         (breakParagraph): use a temp var for rows().begin()
4261         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4262         (cursorRightOneWord): use temp var for cursor.par() and
4263         cursor.pos(), remove usage of tmpcursor.
4264         (cursorLeftOneWord): use temp var for cursor.par() and
4265         cursor.pos() only set cur at end of function.
4266
4267 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4268
4269         * text.C, text2.C: exchange all usage of Paragraph::next with
4270         boost::next(ParagraphList::iterator)
4271
4272         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4273
4274         * text2.C (cursorTop): simplify implementation
4275         (cursorBottom): ditto
4276         (setParagraph): use ParagraphList::iterator
4277         (setCurrentFont): adjust
4278         (getColumnNearX): adjust
4279         (cursorRight): adjust
4280         (cursorLeft): remove usage of Paragraph::previous
4281         (cursorUpParagraph): ditto
4282         (deleteEmptyParagraphMechanism): slight cleanup
4283
4284         * text.C (isBoundary): take a Paragraph const & instead of a
4285         pointer as arg.
4286         (addressBreakPoint): ditto
4287         (leftMargin): remove usage of Paragraph::previous.
4288         (setHeightOfRow): ditto
4289         (cursorLeftOneWord): ditto
4290         (selectNextWordToSpellcheck): ditto
4291         (Delete): ditto
4292         (backspace): ditto
4293         (breakParagraph): remove one usage of Paragraph::next
4294         (redoParagraph): ditto
4295         (acceptChange): ditto
4296         (insertChar): adjust
4297         (rowBreakPoint): adjust
4298
4299         * bufferview_funcs.C (toggleAndShow): adjust
4300
4301 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4302
4303         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4304         methods to access it.
4305         * lyxtext.h:
4306         * text.C: Added updateRowPositions to compute all row positions.
4307         Make top_y and getRowNearY() to use the cached y position
4308
4309 2003-04-11  John Levon  <levon@movementarian.org>
4310
4311         * text.C (rowBreakPoint): reintroduce the labelEnd
4312         checks, code copied from the row fill stuff. Deep voodoo.
4313
4314         * text.C (fill): add a comment and debugging for the
4315         next poor soul.
4316
4317 2003-04-11  John Levon  <levon@movementarian.org>
4318
4319         * text.C: make sure fullrow insets get wrapped to the next line,
4320         even when they're in a manual label
4321
4322 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4323
4324         * text2.C (insertParagraph): make it take ParagraphList::iterator
4325         as arg.
4326         (setLayout): make it return ParagraphList::iterator
4327         (redoParagraphs): ditto
4328         (setCounter): ditto
4329         (checkParagraph): ditto
4330
4331         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4332
4333         * text2.C: adjust several funcs.
4334         (realizeFont): take a ParagraphList::iterator as arg.
4335         (getLayoutFont): ditto
4336         (getLabelFont): ditto
4337         (setCharFont): ditto
4338
4339         * text.C: adjust several funcs.
4340
4341 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4342
4343         * text.C (selectNextWordToSpellcheck): don't accidentally
4344         skip insets
4345
4346 2003-04-10  John Levon  <levon@movementarian.org>
4347
4348         * ToolbarBackend.C (getIcon): special handling for
4349         LFUN_MATH_DELIM
4350
4351 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4352
4353         * text2.C (cursorRight): a getChar assert fixed
4354
4355 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4356
4357         * text2.C (getFont): change to take a ParagraphList::iterator
4358         instead of Paragraph*
4359         Adjust several functions.
4360
4361         * text.C (transformChar): change to take a ParagraphList::iterator
4362         instead of Paragraph*
4363         (singleWidth): ditto
4364         Adjust several functions.
4365
4366         * rowpainter.C: adjust several functions
4367         * rowpainter.h:store a ParagraphList::iterator and not a
4368         Paragraph&.
4369
4370
4371 2003-04-09  John Levon  <levon@movementarian.org>
4372
4373         * lyxfunc.C:
4374         * lfuns.h:
4375         * LyXAction.h:
4376         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4377         and the "help" bits as well
4378
4379 2003-04-09  John Levon  <levon@movementarian.org>
4380
4381         * ToolbarBackend.h:
4382         * ToolbarBackend.C: allow multiple toolbars
4383
4384 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4385
4386         * undo_funcs.C (setCursorParUndo): adjust
4387
4388         * text_funcs.C (transposeChars): adjust
4389
4390         * text3.C (gotoNextInset): adjust
4391         (dispatch): adjust
4392
4393         * text2.C (setLayout): adjust
4394         (changeDepth): adjust
4395         (setFont): adjust
4396         (redoParagraphs): adjust
4397         (selectionAsString): adjust
4398         (setParagraph): adjust
4399         (insertInset): adjust
4400         (cutSelection): adjust
4401         (copySelection): adjust
4402         (pasteSelection): adjust
4403         (insertStringAsLines): adjust
4404         (updateInset): adjust
4405         (setCursor): change to take a ParagraphList::iterator parameter
4406         (setCursorIntern): change to take a ParagraphList::iterator parameter
4407         (setCurrentFont): adjust
4408         (cursorLeft): adjust
4409         (cursorRight): adjust
4410         (deleteEmptyParagraphMechanism): adjust
4411
4412         * text.C (breakParagraph): adjust
4413         (insertChar): adjust
4414         (acceptChange): adjust
4415         (rejectChange): adjust
4416         (selectNextWordToSpellcheck): adjust
4417         (changeCase): adjust
4418         (Delete): adjust
4419         (backspace): adjust
4420
4421         * lyxfind.C (SearchForward): adjust
4422         (SearchBackward): adjust
4423         (nextChange): adjust
4424
4425         * lyxcursor.C (par): adjust
4426
4427         * lyxcursor.h: store a ParagraphList::iterator instead of a
4428         Paragraph*
4429
4430         * lyx_cb.C (getPossibleLabel): adjust
4431
4432         * bufferview_funcs.C (toggleAndShow): adjust
4433
4434         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4435         (dispatch): adjust
4436
4437         * BufferView.C (removeAutoInsets): adjust
4438         (lockedInsetStoreUndo): adjust
4439
4440 2003-04-09  John Levon  <levon@movementarian.org>
4441
4442         * ToolbarBackend.C: try icon without argument
4443         if with argument fails
4444
4445 2003-04-08  John Levon  <levon@movementarian.org>
4446
4447         * ToolbarBackend.h:
4448         * ToolbarBackend.C: add getIcon(), handle tooltip,
4449         and change from "Icon" to "Item".
4450
4451 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4452
4453         * BufferView.C (lockInset): another bad getchar crunched
4454
4455 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4456
4457         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4458         again)
4459
4460 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4461
4462         * lyxfind.C (searchForward, searchBackwards): bug 782
4463
4464 2003-04-07  John Levon  <levon@movementarian.org>
4465
4466         * paragraph.C: remove dead comment
4467
4468         * text.C: remove troublesome depth-fiddling code
4469         in leftMargin() and rightMargin() (bug 1017)
4470
4471         * text.C: fix breaking of rows in nested lists
4472         (bug 1004)
4473
4474         * text2.C (updateCounters): fix up depth values
4475         (bug 1013)
4476
4477 2003-04-07  John Levon  <levon@movementarian.org>
4478
4479         * BufferView_pimpl.C: clear message when doc finishes resizing,
4480         and after a mouse event
4481
4482         * lyxfunc.C: clear message after exiting inset
4483
4484 2003-04-07  John Levon  <levon@movementarian.org>
4485
4486         * bufferview_funcs.C: show math status not outside
4487         status in the statusbar
4488
4489 2003-04-07  John Levon  <levon@movementarian.org>
4490
4491         * lyxfunc.C: note status changed after a depth change
4492
4493 2003-04-04  Angus Leeming  <leeming@lyx.org>
4494
4495         * LaTeX.h: move AuxInfo operator==, != out of line.
4496         Remove LaTeX virtual destructor; nothing derives from it.
4497         Move operator()() out of public area and rename it startscript().
4498         Change protected for private.
4499
4500 2003-04-04  Angus Leeming  <leeming@lyx.org>
4501
4502         * lyxfunc.C:
4503         * text2.C: remove unneeded #includes.
4504
4505 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4506
4507         * text2.C (dEPM): fix the heigth of the next row
4508
4509 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4510
4511         * text.C: squashed an invalid getChar requester + some ws changes
4512
4513 2003-04-03  John Levon  <levon@movementarian.org>
4514
4515         * bufferview_funcs.h:
4516         * bufferview_funcs.C:
4517         * lyxfunc.C:
4518         * lyxtext.h:
4519         * text2.C: make getStatus work for the env depth lfuns
4520
4521 2003-04-03  John Levon  <levon@movementarian.org>
4522
4523         * bufferview_funcs.h:
4524         * bufferview_funcs.C:
4525         * lyxfunc.C:
4526         * lyxtext.h:
4527         * text2.C: parlistize decDepth(), by merging it with incDepth()
4528
4529 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4530
4531         * lyxrow.h: store a ParagraphList::iterator instead of a
4532         Paragraph* and adjust other class functions to suit.
4533
4534         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4535         above.
4536
4537 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4538
4539         * text2.C (setCursor): do not anchor to cursor row for the time being
4540
4541 2003-04-02  John Levon  <levon@movementarian.org>
4542
4543         * LyXAction.C:
4544         * lfuns.h:
4545         * lyx_main.C:
4546         * lyxtext.h:
4547         * text.C:
4548         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4549
4550 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4551
4552         * paragraph.h: make ParagraphList and ParagraphList::iterator
4553         friends of Paragraph.
4554
4555         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4556
4557         * ParagraphList.C: Use the private next_ and previous_ from
4558         Paragraph.
4559
4560 2003-04-01  John Levon  <levon@movementarian.org>
4561
4562         * ToolbarBackend.h:
4563         * ToolbarBackend.C:
4564         * Makefile.am: rename, remove defaults gunk
4565
4566         * MenuBackend.h:
4567         * MenuBackend.C: remove defaults gunk
4568
4569         * Languages.h:
4570         * Languages.C: remove defaults gunk
4571
4572         * lyx_main.h:
4573         * lyx_main.C: error out if files couldn't be found.
4574
4575 2003-04-02  John Levon  <levon@movementarian.org>
4576
4577         * text2.C: make incDepth() use parlist
4578
4579 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4580
4581         * undo_funcs.C (firstUndoParagraph): adjust
4582
4583         * text3.C (gotoInset): adjust
4584         (dispatch): adjust, and rewrite loop.
4585
4586         * text2.C (init): adjust, and rewrite loop.
4587         (redoParagraphs): adjust
4588         (updateInset): adjust, and rewrite loop.
4589         (deleteEmptyParagraphMechanism): adjust
4590
4591         * tabular.C (LyXTabular): adjust
4592         (SetMultiColumn): adjust
4593         (TeXRow): adjust
4594
4595         * lyxtext.[Ch] (ownerParagraph): delete function
4596         (ownerParagraphs): new function returns a ParagraphList.
4597
4598         * BufferView.C (removeAutoInsets): adjust
4599         (insertErrors): adjust
4600         (setCursorFromRow): adjust
4601
4602 2003-04-01  Angus Leeming  <leeming@lyx.org>
4603
4604         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4605         in the frontends.
4606
4607 2003-04-02  John Levon  <levon@movementarian.org>
4608
4609         * lyxtext.h:
4610         * text.C:
4611         * Makefile.am:
4612         * text_funcs.h:
4613         * text_funcs.C: make transposeChars a free function
4614
4615         * lyxrow_funcs.C: remove wrong comment
4616
4617 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4618
4619         * lyxtext.h: adjust
4620         * rowpainter.C: adjust
4621         * text.C: adjust
4622         * text2.C: adjust
4623         * text3.C: adjust
4624
4625         * lyxrow_funcs. [Ch]: new files
4626
4627         * lyxrow.[Ch]: remove next and previous pointers
4628         (next,previous): remove accessor functions
4629         (isParEnd): move to lyxrow_funcs
4630         (lastPos): move to lyxrow_funcs
4631         (nextRowIsAllInset): move to lyxrow_funcs
4632         (lastPrintablePos): move to lyxrow_funcs
4633         (numberOfSeparators): move to lyxrow_funcs
4634         (numberOfHfills): move to lyxrow_funcs
4635         (numberOfLabelHfills): move to lyxrow_funcs
4636         (hfillExpansion): move to lyxrow_funcs
4637
4638         * lyxfunc.C: adjust
4639
4640         * bufferview_funcs.C (toggleAndShow): adjust
4641
4642         * RowList.h: Remove class RowList from file leave just a
4643         std::list<Row>.
4644
4645         * RowList.C: delete file
4646
4647         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4648         and lyxrow_funcs.h
4649
4650 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4651
4652         * text3.C (cursorPrevious): adjust
4653         (cursorNext): adjust
4654         (dispatch): adjust
4655
4656         * text2.C (redoHeightOfParagraph): adjust
4657         (redoDrawingOfParagraph): adjust
4658         (setCursor): adjust
4659
4660         * text.C (breakParagraph): adjust
4661         (insertChar): adjust
4662         (backspace): adjust
4663
4664         * rowpainter.C (RowPainter): adjust
4665         (leftMargin): simplify and adjust
4666         (most rowpainter functions): adjust.
4667
4668         * rowpainter.h: store the row as RowList::iterator not as Row*
4669
4670         * lyxcursor.C (row): taka RowList::iterator as arg
4671         (irow): ditto
4672
4673         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4674         of Row*.
4675
4676 2003-04-01  Angus Leeming  <leeming@lyx.org>
4677
4678         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4679         stuff like bool Bool.
4680
4681 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4682
4683         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4684         rewrite a loop
4685
4686 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4687
4688         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4689         RowList::iterator.
4690
4691         * lyxtext.h (rows): drop one version and leve a const variant that
4692         returns a RowList::iterator.
4693
4694 2003-03-31  Angus Leeming  <leeming@lyx.org>
4695
4696         * text.C (fill): ensure that the signature is the same as that in the
4697         header file.
4698
4699 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4700
4701         * text2.C (redoParagraphs): adjust
4702         (updateCounters): adjust
4703         (checkParagraph): adjust
4704         (getColumnNearX): adjust and reformat a bit.
4705
4706         * text.C (top_y): adjust
4707         (workWidth): adjust
4708         (leftMargin): adjust
4709         (prepareToPrint): adjust
4710         (getRow): adjust
4711         (getRowNearY): adjust
4712
4713         * lyxtext.h: make rowlist_ mutable.
4714
4715         * RowList.h: add const_iterator
4716         * RowList.C: adjust for RowList::const_iterator.
4717
4718         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4719         adjust.
4720
4721 2003-03-31  John Levon  <levon@movementarian.org>
4722
4723         * lyxrc.h:
4724         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4725
4726         * lyx_main.C: set default fonts from using lyx_gui funcs
4727
4728         * exporter.C: pdf_mode moved from lyxrc
4729
4730         * lyx_cb.C:
4731         * lyxfunc.C: changes from above
4732
4733 2003-03-31  John Levon  <levon@movementarian.org>
4734
4735         * lyx_main.C: fix to the last fix
4736
4737 2003-03-31  John Levon  <levon@movementarian.org>
4738
4739         * bufferlist.C: "Load original" -> "Load Original"
4740
4741         * converter.C:
4742         * exporter.C:
4743         * importer.C:
4744         * lyx_main.C:
4745         * format.C: more Alert cleanups
4746
4747 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4748
4749         * text2.C (removeParagraph): make it take a RowList::iterator as
4750         arg, adjust.
4751         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4752         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4753
4754         * text.C (anchor_row): make it take a RowList::iterator as arg,
4755         adjust.
4756         (computeBidiTables): make it take a const reference to Row instead
4757         of Row pointer, adjust.
4758         (leftMargin): make it take a RowList::iterator as arg, adjust.
4759         (rowBreakPoint): adjust
4760         (breakAgainOneRow): make it take a RowList::iterator as arg,
4761         adjust.
4762         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4763
4764         * bufferview_funcs.C (toggleAndShow): adjust
4765
4766 2003-03-30  John Levon  <levon@movementarian.org>
4767
4768         * Makefile.am:
4769         * BoostFormat.h:
4770         * boost-inst.C: moved to support
4771
4772         * several files: changes as a result
4773
4774 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4775
4776         * text2.C (LyXText): adjust.
4777         (init): adjust
4778         (removeRow): make it take a RowList::iterator as arg, adjust.
4779         (fullRebreak): adjust
4780         (deleteEmptyParagraphMechanism): adjust
4781         (clearPaint): adjust
4782         (postPaint): adjust
4783
4784         * text.C (top_y): adjust
4785         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4786         (breakAgain): make it take a RowList::iterator as arg, adjust.
4787         (breakParagraph): adjust
4788         (insertChar): adjust
4789         (backspace): adjust
4790
4791         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4792         need_break_row, and refresh_row.
4793
4794         * text3.C (dispatch): adjust
4795
4796         * text2.C (checkParagraph): adjust
4797         (setCursor): adjust
4798         (setCursorFromCoordinates): adjust
4799
4800         * text.C (top_y): adjust
4801         (workWidth): adjust
4802         (getRow): make it return a RowList::iterator, adjust
4803         (getRowNearY): make it return a RowList::iterator, adjust
4804
4805         * text2.C (init): adjust
4806         (insertRow): remove function
4807         (insertParagraph): adjust
4808         (redoParagraphs): adjust
4809         (fullRebreak): adjust
4810         (updateCounters): adjust
4811
4812         * text.C (top_y): rewrite to use RowList iterators.
4813         (top_y): adjust
4814         (setHeightOfRow): rewrite to sue RowList iterators.
4815         (appendParagraph): adjust
4816         (breakAgain): adjust
4817         (breakAgainOneRow): adjust
4818         (breakParagraph): adjust
4819         (getRow): adjust
4820         (getRowNearY): adjust, and remove commented code.
4821
4822         * lyxtext.h (firstRow): delete function
4823         (lastRow): delete function
4824         (rows): new function (const and non-const versions.)
4825         (insertRow): delete function
4826
4827         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4828
4829 2003-03-29  John Levon  <levon@movementarian.org>
4830
4831         * BufferView_pimpl.C: always update scrollbar top
4832         because pasting text when we're anchored could mean we
4833         miss an update altogether
4834
4835 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4836
4837         * text2.C (init): use rowlist_.end() and not 0.
4838         (insertRow): change to take a RowList::iterator as arg, adjust
4839         for this.
4840         (insertParagraph): change to take a RowList::iterator as arg,
4841         adjust for this.
4842         (redoParagraphs): remove some debug msgs.
4843
4844         * text.C (appendParagraph): change to take a RowList::iterator
4845         arg, adjust for this.
4846         (breakAgain): add an assert
4847         (breakAgainOneRow): ditto
4848
4849 2003-03-29  John Levon  <levon@movementarian.org>
4850
4851         * text2.C: do not clear selection after inc/decDepth
4852         (bug 550)
4853
4854 2003-03-29  John Levon  <levon@movementarian.org>
4855
4856         * BufferView.C:
4857         * buffer.C: fix broken strerrors according to Lars
4858
4859 2003-03-29  John Levon  <levon@movementarian.org>
4860
4861         * converters.C: more Alert cleanups
4862
4863 2003-03-29  John Levon  <levon@movementarian.org>
4864
4865         * bufferview_funcs.C: remove pointless Alert
4866
4867         * buffer.C: fix confusing error message when
4868         a template is chmoded 000
4869
4870 2003-03-29  John Levon  <levon@movementarian.org>
4871
4872         * BufferView.C:
4873         * BufferView.h:
4874         * BufferView_pimpl.C: Alert fixes
4875
4876         * Makefile.am:
4877         * tabular.C:
4878         * tabular-old.C: remove unused table compat reading
4879
4880 2003-03-29  John Levon  <levon@movementarian.org>
4881
4882         * BufferView.C:
4883         * buffer.C:
4884         * lyx_cb.h:
4885         * lyx_cb.C: more Alert cleanups
4886
4887         * lyxfunc.C: don't allow chktex if not latex document
4888
4889 2003-03-29  John Levon  <levon@movementarian.org>
4890
4891         * lyx_cb.C:
4892         * BufferView.C:
4893         * buffer.C: warnings pushed down from support/,
4894         kill err_alert
4895
4896 2003-03-29  John Levon  <levon@movementarian.org>
4897
4898         * lyxfunc.C: safety check for C-r (revert)
4899
4900 2003-03-29  John Levon  <levon@movementarian.org>
4901
4902         * bufferlist.h:
4903         * bufferlist.C: several UI fixes using Alert::prompt.
4904         Fix the pointless looping quit code. Fix stupid revert
4905         behaviour (bug 938)
4906
4907         * lyxvc.h:
4908         * lyxvc.C:
4909         * lyx_cb.C: use Alert::prompt
4910
4911         * lyx_main.C: remove a silly question
4912
4913         * lyxfunc.C: remove a couple of silly questions,
4914         use Alert::prompt
4915
4916 2003-03-28  John Levon  <levon@movementarian.org>
4917
4918         * text2.C: fix bug 974 (End on empty par)
4919
4920 2003-03-28  John Levon  <levon@movementarian.org>
4921
4922         * BufferView_pimpl.C:
4923         * LyXAction.C:
4924         * lfuns.h: remove do-nothing math greek lfuns
4925
4926 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4927
4928         * lyxgluelength.h (isValidGlueLength): add default arg on
4929         parameter 2. Remove default arg from friend in class.
4930
4931         * lyxlength.h (isValidLength): add default arg on parameter 2.
4932         Remove default arg from friend in class.
4933
4934         * text2.C (LyXText): adjust, initialize refresh_row.
4935         (init): adjust
4936         (removeRow): adjust
4937         (insertRow): adjust
4938         (insertParagraph): adjst
4939         (redoParagraphs): adjust
4940         (fullRebreak): adjust
4941         (updateCounters): adjust
4942         (deleteEmptyParagraphMechanism): first attempt at fixing a
4943         crashing bug.
4944
4945         * text.C (top_y): adjust
4946         (setHeightOfRow): adjust
4947         (getRow): adjust
4948         (getRowNearY): adjust
4949
4950         * lyxtext.h: include RowList.h
4951         (~LyXText): not needed anymore, deleted.
4952         (firstRow): modify for RowList
4953         (lastRow): new function
4954         Delete firstrow and lastrow class variables, add a Rowlist
4955         rowlist_ class variable.
4956
4957         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4958         paragraph is empty.
4959
4960         * RowList.C (insert): fix case where it == begin().
4961
4962 2003-03-26  Angus Leeming  <leeming@lyx.org>
4963
4964         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4965         the thesaurus dialog.
4966
4967 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4968
4969         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4970
4971         * RowList.[Ch]: new files
4972
4973         * ParagraphList.C (erase): handle the case where it == begin
4974         correctly.
4975
4976 2003-03-25  John Levon  <levon@movementarian.org>
4977
4978         * Makefile.am:
4979         * aspell_local.h:
4980         * aspell.C: add new aspell support
4981
4982         * lyxrc.h:
4983         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4984         have it accessible.
4985
4986 2003-03-25  Angus Leeming  <leeming@lyx.org>
4987
4988         * lfuns.h:
4989         * LyXAction.C (init): new LFUN_INSET_INSERT.
4990
4991         * BufferView_pimpl.C (dispatch): split out part of the
4992         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4993
4994         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4995         LFUN_INSET_APPLY.
4996
4997 2003-03-25  Angus Leeming  <leeming@lyx.org>
4998
4999         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5000
5001 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5002
5003         * text2.C:
5004         * text3.C: remove useless row->height(0)
5005
5006 2003-03-25  John Levon  <levon@movementarian.org>
5007
5008         * lyxtext.h:
5009         * text2.C:
5010         * text3.C: rename the refreshing stuff to better names
5011
5012 2003-03-24  John Levon  <levon@movementarian.org>
5013
5014         * BufferView_pimpl.h:
5015         * BufferView_pimpl.C: update layout choice on a mouse
5016         press/release
5017
5018 2003-03-23  John Levon  <levon@movementarian.org>
5019
5020         * Makefile.am: fix commandtags.h reference
5021
5022 2003-03-22  John Levon  <levon@movementarian.org>
5023
5024         * BufferView_pimpl.C:
5025         * lyxtext.h:
5026         * rowpainter.C:
5027         * rowpainter.h:
5028         * text.C:
5029         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5030
5031 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5032
5033         * lyxtext.h:
5034         * text.C: take the rtl methods out of line
5035
5036 2003-03-21 André Pönitz <poenitz@gmx.net>
5037
5038         * metricsinfo.[Ch]: new files containing structures to be passed around
5039         during the two-phase-drawing...
5040
5041 2003-03-21 André Pönitz <poenitz@gmx.net>
5042
5043         * lyxtextclass.C: read 'environment' tag.
5044
5045 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5046
5047         * text2.C (removeRow): fix bug 964
5048
5049 2003-03-20  John Levon  <levon@movementarian.org>
5050
5051         * rowpainter.C:
5052         * text.C:
5053         * text2.C: paint cleanups. Inset::update() dropped font
5054         parameter
5055
5056 2003-03-19  John Levon  <levon@movementarian.org>
5057
5058         * lyxfunc.C: only fitcursor/markDirty if available()
5059
5060 2003-03-19  John Levon  <levon@movementarian.org>
5061
5062         * commandtags.h: rename to ...
5063
5064         * lfuns.h: ... this, and renumber / cleanup
5065
5066 2003-03-19  John Levon  <levon@movementarian.org>
5067
5068         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5069         fit the cursor after an lfun
5070
5071         * BufferView.h:
5072         * BufferView.C:
5073         * BufferView_pimpl.h:
5074         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5075
5076         * LyXAction.C: layout-character should have ReadOnly
5077
5078         * ParagraphParameters.C:
5079         * buffer.C:
5080         * bufferview_funcs.C:
5081         * lyx_cb.C:
5082         * lyxfind.C:
5083         * lyxtext.h:
5084         * text.C:
5085         * text2.C:
5086         * text3.C:
5087         * undo_funcs.C: changes from above
5088
5089 2003-03-18  John Levon  <levon@movementarian.org>
5090
5091         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5092         remove it from update()
5093
5094         * lyxfunc.C: update layout choice after an lfun
5095
5096         * text3.C: remove extra updateLayoutChoice()s
5097
5098 2003-03-18  John Levon  <levon@movementarian.org>
5099
5100         * text.C: top_y change means full repaint, fix
5101         a drawing bug with cursor movement
5102
5103 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5104
5105         * lyxtext.h:
5106         * text.C:
5107         * text2.C: anchor row on setCursor
5108
5109 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5110
5111         * lyxtext.h: remove almost all mutable keywords
5112         * text.C:
5113         * text2.C:
5114         * text3.C: remove const keywords accordingly
5115
5116 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5117
5118         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5119         anon namespace
5120         (TeXEnvironment): ditto
5121         (TeXOnePar): ditto
5122
5123 2003-03-17  John Levon  <levon@movementarian.org>
5124
5125         * text.C (rowBreakPoint): remove attempt to fix displayed
5126         math insets inside a manual label
5127
5128 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5129
5130         * lyxtext.h: remove BufferView* as first arg from almost all class
5131         functions.
5132         * other files: adjust.
5133
5134 2003-03-17  John Levon  <levon@movementarian.org>
5135
5136         * lyxtext.h:
5137         * undo_funcs.C:
5138         * text2.C: more paint cleanups
5139
5140         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5141
5142         * rowpainter.h:
5143         * rowpainter.C: remove "smart" background painting code
5144
5145 2003-03-16  John Levon  <levon@movementarian.org>
5146
5147         * lyxtext.h:
5148         * text.C:
5149         * text2.C:
5150         * text3.C: add helper functions for setting refresh_row/y
5151
5152 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5153
5154         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5155         newline inset which *can* get inserted in the pass_thru layouts.
5156         This is primarily for literate documents.
5157
5158 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5159
5160         * buffer.C: increment LYX_FORMAT to 223
5161
5162 2003-03-14 André Pönitz <poenitz@gmx.net>
5163
5164         * textclass.h: prepare for environment handling, ws changes
5165         * lyxlayout.C: read latexheader and latexfooter tags
5166
5167 2003-03-14  John Levon  <levon@movementarian.org>
5168
5169         * text2.C: rewrite ::status() a bit
5170
5171 2003-03-13  John Levon  <levon@movementarian.org>
5172
5173         * lyxtext.h: add some docs
5174
5175 2003-03-13  John Levon  <levon@movementarian.org>
5176
5177         * lyxtext.h:
5178         * text.C:
5179         * text2.C:
5180         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5181
5182 2003-03-13  John Levon  <levon@movementarian.org>
5183
5184         * text3.C: fix appendix redrawing
5185
5186 2003-03-13  John Levon  <levon@movementarian.org>
5187
5188         * text.C (setHeightOfRow):
5189         * rowpainter.h:
5190         * rowpainter.C: make appendix mark have the text
5191           "Appendix" so the user knows what it is
5192
5193         * LColor.h:
5194         * LColor.C: s/appendixline/appendix/ from above
5195
5196 2003-03-13  John Levon  <levon@movementarian.org>
5197
5198         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5199
5200         * text.C: fix a getChar(pos) bug properly
5201
5202 2003-03-13  Angus Leeming  <leeming@lyx.org>
5203
5204         * commandtags.h:
5205         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5206         Probably only temporary. Let's see how things pan out.
5207
5208         * BufferView.C (unlockInset):
5209         * BufferView_pimpl.C (fitCursor):
5210         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5211
5212         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5213         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5214
5215         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5216         new functions that convert ParagraphParameters to and from a string.
5217
5218         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5219         BufferView::Pimpl's dispatch.
5220         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5221
5222 2003-03-13 André Pönitz <poenitz@gmx.net>
5223
5224         * lyxfunc.C:
5225         * text3.C:
5226         * factory.C: make it aware of InsetEnv
5227
5228 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5229
5230         * text2.C (setCursor): never ask for one past last
5231         (setCursor): add some debugging messages.
5232
5233         * text.C (singleWidth): never ask for one past last
5234         (singleWidth): ditto
5235         (leftMargin): ditto
5236         (rightMargin): ditto
5237         (rowBreakPoint): ditto
5238         (setHeightOfRow): ditto
5239         (prepareToPrint): ditto
5240
5241         * rowpainter.C (paintBackground): never ask for one past last
5242         (paintText): never ask for one past last
5243
5244         * paragraph_pimpl.C (getChar): make the assert stricter, never
5245         allow the one past last pos to be taken
5246
5247         * paragraph.C (getChar): ws changes only
5248
5249         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5250         (numberOfSeparators): ditto
5251         (numberOfHfills): ditto
5252
5253 2003-03-12  John Levon  <levon@movementarian.org>
5254
5255         * author.h:
5256         * author.C:
5257         * bufferparams.h:
5258         * bufferparams.C:
5259         * paragraph_funcs.C: fix per-buffer authorlists
5260
5261 2003-03-12  John Levon  <levon@movementarian.org>
5262
5263         * text.C: fix newline in right address
5264
5265 2003-03-12  Angus Leeming  <leeming@lyx.org>
5266
5267         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5268         duplicate those in LyXFunc::dispatch.
5269
5270         * commandtags.h:
5271         * LyXAction.C:
5272         * ToolbarDefaults.C:
5273         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5274         Add LFUN_FONTFREE_UPDATE.
5275
5276         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5277         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5278
5279         * bufferview_func.[Ch]: several new functions to facilliate
5280         transfer of data to and from the character dialog.
5281
5282 2003-03-12  John Levon  <levon@movementarian.org>
5283
5284         * buffer.C:
5285         * paragraph.h:
5286         * paragraph.C:
5287         * paragraph_funcs.C:
5288         * paragraph_pimpl.C:
5289         * sgml.C:
5290         * tabular.C:
5291         * text.C:
5292         * text3.C: remove META_NEWLINE in favour of an inset
5293
5294         * rowpainter.h:
5295         * rowpainter.C: remove paintNewline (done by inset)
5296
5297 2003-03-12  John Levon  <levon@movementarian.org>
5298
5299         * paragraph_pimpl.C: complain about bad getChar()s
5300         for a while at least
5301
5302 2003-03-12  John Levon  <levon@movementarian.org>
5303
5304         * buffer.h:
5305         * buffer.C: move paragraph read into a separate function,
5306         a little renaming to reflect that.
5307
5308         * bufferparams.h:
5309         * bufferparams.C: remove the author_ids map, not necessary now
5310
5311         * factory.h:
5312         * factory.C: moved Buffer::readInset to here
5313
5314         * paragraph_funcs.h:
5315         * paragraph_funcs.C: readParagraph free function moved from
5316         buffer.C
5317
5318         * tabular.C: name change
5319
5320 2003-03-12  John Levon  <levon@movementarian.org>
5321
5322         * buffer.C:
5323         * ParagraphParameters.C: move par params input to
5324         a read() method
5325
5326         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5327         behave like a normal read from the stream wrt reading
5328         a line vs. a \\token
5329
5330 2003-03-12  John Levon  <levon@movementarian.org>
5331
5332         * paragraph.C:
5333         * ParagraphParameters.h:
5334         * ParagraphParameters.C: move output code to a
5335         ::write() method
5336
5337 2003-03-12  John Levon  <levon@movementarian.org>
5338
5339         * BufferView.C (insertLyXFile):
5340         * buffer.h:
5341         * buffer.C:
5342         * tabular.C: use a parlist iterator for creating the
5343           document.
5344
5345 2003-03-12  John Levon  <levon@movementarian.org>
5346
5347         * buffer.C: make current_change static local not
5348           static file-scope
5349
5350 2003-03-12  John Levon  <levon@movementarian.org>
5351
5352         * buffer.C: fix insertStringAsLines for change tracking
5353
5354 2003-03-12  John Levon  <levon@movementarian.org>
5355
5356         * BufferView.C:
5357         * tabular.C:
5358         * buffer.h:
5359         * buffer.C:
5360         * bufferparams.h:
5361         * bufferparams.C: move author list into params. Rename some
5362           functions. Move the header reading into a separate token
5363           loop. Move the header token reading into BufferParams.
5364
5365 2003-03-12  John Levon  <levon@movementarian.org>
5366
5367         * changes.C: put debug inside lyxerr.debugging() checks
5368
5369 2003-03-11 André Pönitz <poenitz@gmx.net>
5370
5371         * factory.C: make it aware of InsetHFill
5372
5373 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5374
5375         * buffer.C (latexParagraphs): move function from here...
5376         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5377         args.
5378
5379 2003-03-10  Angus Leeming  <leeming@lyx.org>
5380
5381         * LyXAction.C (init): fix bug in poplating array with multiple entries
5382         with the same LFUN (spotted by JMarc).
5383
5384 2003-03-10  John Levon  <levon@movementarian.org>
5385
5386         * text.C:
5387         * text2.C: move getColumnNearX() near its
5388         only call site
5389
5390 2003-03-10  John Levon  <levon@movementarian.org>
5391
5392         * text.C: fix break before a minipage
5393
5394 2003-03-10  John Levon  <levon@movementarian.org>
5395
5396         * text.C: fix the last commit
5397
5398 2003-03-09  John Levon  <levon@movementarian.org>
5399
5400         * lyxtext.h:
5401         * text.C:
5402         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5403         bug 365 (don't break before insets unless needed). Don't
5404         return a value > last under any circumstances.
5405
5406 2003-03-09  Angus Leeming  <leeming@lyx.org>
5407
5408         * BufferView_pimpl.C (trackChanges, dispatch): call
5409         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5410
5411 2003-03-09  Angus Leeming  <leeming@lyx.org>
5412
5413         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5414         than Dialogs::showAboutlyx().
5415
5416 2003-03-09  Angus Leeming  <leeming@lyx.org>
5417
5418         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5419         than Dialogs::showTabularCreate().
5420
5421 2003-03-09  John Levon  <levon@movementarian.org>
5422
5423         * lyxtext.h:
5424         * text.C:
5425         * text2.C: 3rd arg to nextBreakPoint was always the same.
5426           Use references.
5427
5428 2003-03-08  John Levon  <levon@movementarian.org>
5429
5430         * lyxrow.C:
5431         * paragraph.C:
5432         * paragraph.h:
5433         * rowpainter.C:
5434         * text.C:
5435         * text2.C: Remove the "main" bit from the "main body"
5436           notion.
5437
5438 2003-03-08  John Levon  <levon@movementarian.org>
5439
5440         * text.C (leftMargin): The left margin of an empty
5441         manual label paragraph should not include the label width
5442         string length.
5443
5444         * text.C (prepareToPrint): don't attempt to measure hfills
5445         for empty manual label paragraphs - the answer should be 0
5446
5447 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5448
5449         * CutAndPaste.C: remove commented code and reindent.
5450
5451 2003-03-08  John Levon  <levon@movementarian.org>
5452
5453         * lyxfunc.h:
5454         * lyxfunc.C: move reloadBuffer()
5455
5456         * BufferView.h:
5457         * BufferView.C: to here
5458
5459         * lyxvc.C: add comment
5460
5461         * vc-backend.h:
5462         * vc-backend.C: call bv->reload() to avoid
5463           getStatus() check on MENURELOAD
5464
5465 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5466
5467         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5468         to an old format .dep file.
5469
5470 2003-03-07  Angus Leeming  <leeming@lyx.org>
5471
5472         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5473         when the LFUN_MOUSE_RELEASE should have been handled by
5474         inset->localDispatch.
5475
5476 2003-03-07  Angus Leeming  <leeming@lyx.org>
5477
5478         * BufferView_pimpl.C (dispatch):
5479         * LyXAction.C (init):
5480         * ToolbarDefaults.C (init):
5481         * commandtags.h:
5482         * lyxfunc.C (getStatus):
5483         remove LFUN_INSET_GRAPHICS.
5484
5485         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5486
5487 2003-03-07  Angus Leeming  <leeming@lyx.org>
5488
5489         * commandtags.h:
5490         * LyXAction.C (init):
5491         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5492
5493         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5494
5495         * commandtags.h:
5496         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5497
5498         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5499         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5500
5501 2003-03-07  Angus Leeming  <leeming@lyx.org>
5502
5503         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5504         remove "ert".
5505
5506 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5507
5508         * ParagraphList.C (front): new function
5509         (back): implement
5510
5511 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5512
5513         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5514         and top_row_offset_. removed var first_y.
5515         * text.C (top_y):
5516         * text2.C (LyXText, removeRow):
5517         * text3.C:
5518         * BufferView_pimpl.C:
5519         use these methods instead of using first_y
5520
5521 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5522
5523         * text2.C (pasteSelection): adjust for checkPastePossible
5524
5525         * CutAndPaste.C: remove Paragraph * buf and replace with
5526         ParagraphList paragraphs.
5527         (DeleteBuffer): delete
5528         (cutSelection): change the tc type to textclass_type
5529         (copySelection): change the tc type to textclass_type
5530         (copySelection): adjust for ParagraphList
5531         (pasteSelection): change the tc type to textclass_type
5532         (pasteSelection): adjust for Paragraphlist
5533         (nrOfParagraphs): simplify for ParagraphList
5534         (checkPastePossible): simplify for ParagraphList
5535         (checkPastePossible): remove unused arg
5536
5537         * ParagraphList.C (insert): handle the case where there are no
5538         paragraphs yet.
5539
5540         * CutAndPaste.h: make CutAndPaste a namespace.
5541
5542         * text3.C (dispatch): adjust
5543
5544         * text.C (breakParagraph): add a ParagraphList as arg
5545
5546         * paragraph_funcs.C (breakParagraph): change to take a
5547         BufferParams and a ParagraphList as args.
5548         (breakParagraphConservative): ditto
5549         (mergeParagraph): ditto
5550         (TeXDeeper): add a ParagraphList arg
5551         (TeXEnvironment): ditto
5552         (TeXOnePar): ditto
5553
5554         * buffer.C (readLyXformat2): adjust
5555         (insertStringAsLines): adjust
5556         (latexParagraphs): adjust
5557
5558         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5559         (cutSelection): adjust
5560         (pasteSelection): adjust
5561
5562         * BufferView_pimpl.C (insertInset): adjust
5563
5564 2003-03-05  Angus Leeming  <leeming@lyx.org>
5565
5566         * commandtags.h:
5567         * LyXAction.C (init):
5568         * BufferView_pimpl.C (dispatch):
5569         * lyxfunc.C (getStatus):
5570         remove LFUN_CHILD_INSERT.
5571
5572         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5573
5574 2003-03-05  Angus Leeming  <leeming@lyx.org>
5575
5576         * commandtags.h:
5577         * LyXAction.C (init):
5578         * src/factory.C (createInset):
5579         * lyxfunc.C (getStatus):
5580         * text3.C (dispatch):
5581         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5582
5583         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5584
5585 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5586
5587         * ParagraphList.C (insert): handle insert right before end()
5588         (erase): fix cases where it can be first or last paragraph.
5589
5590 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5591
5592         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5593         Paragraph::next and Paragraph::previous
5594         (TeXOnePar): ditto
5595
5596         * text.C (breakParagraph): adjust
5597
5598         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5599         BufferParams& as arg.
5600         (breakParagraph): use ParagraphList::insert
5601         (breakParagraphConservative): take a Buffer* instead of a
5602         BufferParams& as arg.
5603         (breakParagraphConservative): use ParagraphList::insert.
5604
5605         * buffer.C (insertStringAsLines): un-const it
5606         (insertStringAsLines): adjust
5607
5608         * ParagraphList.C (insert): new function
5609
5610         * CutAndPaste.C (pasteSelection): adjust
5611
5612         * text.C (backspace): adjust
5613
5614         * tabular.C (SetMultiColumn): adjust
5615
5616         * CutAndPaste.C (cutSelection): adjust
5617         (pasteSelection): adjust
5618
5619         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5620         Buffer const * as arg
5621
5622         * ParagraphList.C (erase): new function
5623         * paragraph_funcs.C (mergeParagraph): use it
5624         (mergeParagraph): make it take a Buffer* instead of a
5625         BufferParams* as arg
5626
5627         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5628         as arg
5629         (breakParagraphConservative): ditto
5630
5631         * paragraph.h: remove the breakParagraph friend
5632
5633         * paragraph.C (eraseIntern): new function
5634         (setChange): new function
5635
5636         * paragraph_funcs.C (mergeParagraph): make it take a
5637         ParagraphList::iterator instead of a Paragraph *, adjust
5638         accordingly.
5639
5640         * paragraph.h: move an #endif so that the change tracking stuff
5641         also works in the NO_NEXT case.
5642
5643 2003-03-04  Angus Leeming  <leeming@lyx.org>
5644
5645         * commandtags.h:
5646         * LyXAction.C: new LFUN_INSET_MODIFY.
5647
5648         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5649         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5650
5651 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5652
5653         * several files: ws changes only
5654
5655         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5656         (TeXEnvironment): ditto
5657         (TeXDeeper): ditto
5658
5659         * buffer.C (makeLaTeXFile): adjust
5660         (latexParagraphs): make it take ParagraphList::iterator as args
5661
5662 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5663
5664         * buffer.C (latexParagraphs): adjust
5665
5666         * paragraph.C (TeXOnePar): move function...
5667         (optArgInset): move function...
5668         (TeXEnvironment): move function...
5669         * paragraph_pimpl.C (TeXDeeper): move function...
5670         * paragraph_funcs.C: ...here
5671
5672         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5673
5674 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5675
5676         * buffer.C (readInset): remove compability code for old Figure and
5677         InsetInfo insets
5678
5679 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5680
5681         * buffer.C: ws changes
5682         (readInset):
5683
5684         * BufferView_pimpl.C: ditto
5685         * author.C: ditto
5686         * buffer.h: ditto
5687         * bufferlist.h: ditto
5688         * changes.h: ditto
5689         * lyxfunc.C: ditto
5690
5691 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5692
5693         * converter.[Ch]: split into itself +
5694         * graph.[Ch]
5695         * format.[Ch]
5696         * Makefile.am: += graph.[Ch] + format.[Ch]
5697         * MenuBackend.C
5698         * buffer.C
5699         * exporter.C
5700         * importer.C
5701         * lyx_main.C
5702         * lyxfunc.C
5703         * lyxrc.C: added #include "format.h"
5704
5705 2003-02-27  Angus Leeming  <leeming@lyx.org>
5706
5707         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5708           a label.
5709
5710         * factory.C (createInset): add "label" to the factory.
5711
5712         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5713           string and do no more.
5714
5715 2003-02-27  Angus Leeming  <leeming@lyx.org>
5716
5717         * commandtags.h:
5718         * LyXAction.C (init):
5719         * factory.C (createInset):
5720         * BufferView_pimpl.C (dispatch):
5721           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5722
5723         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5724
5725         * lyxfunc.C (dispatch):
5726         * text3.C (dispatch): pass name to params2string.
5727
5728 2003-02-26  Angus Leeming  <leeming@lyx.org>
5729
5730         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5731           blocks together.
5732           Rearrange the ~includes. Strip out the unnecessary ones.
5733
5734         * factory.C (createInset): reformat.
5735           create new insets for the various LFUN_XYZ_APPLY lfuns.
5736
5737 2003-02-26  John Levon  <levon@movementarian.org>
5738
5739         * lyxrow.h:
5740         * lyxrow.C: add isParStart,isParEnd helpers
5741
5742         * paragraph.h: make isInserted/DeletedText take refs
5743
5744         * paragraph_funcs.h:
5745         * paragraph_funcs.C: remove #if 0'd code
5746
5747         * lyxtext.h:
5748         * text3.C:
5749         * text2.C:
5750         * text.C: use lyxrow helpers above.
5751           Move draw and paint routines to RowPainter.
5752           Make several methods use refs not pointers.
5753           Make backgroundColor() const.
5754           Add markChangeInDraw(), isInInset().
5755           Merge changeRegionCase into changeCase.
5756           Make workWidth() shouldn't-happen code into an Assert.
5757
5758         * rowpainter.h:
5759         * rowpainter.C: new class for painting a row.
5760
5761         * vspace.h:
5762         * vspace.C: make inPixels take a ref
5763
5764 2003-02-26  Angus Leeming  <leeming@lyx.org>
5765
5766         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5767         LFUN_REF_APPLY.
5768
5769 2003-02-25  John Levon  <levon@movementarian.org>
5770
5771         * ispell.C: give the forked command a more accurate name
5772
5773 2003-02-22  John Levon  <levon@movementarian.org>
5774
5775         * toc.h:
5776         * toc.C: make TocItem store an id not a Paragraph *
5777           (bug #913)
5778
5779 2003-02-21  Angus Leeming  <leeming@lyx.org>
5780
5781         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5782           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5783           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5784           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5785           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5786           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5787
5788         * BufferView_pimpl.C (dispatch):
5789         * LyXAction.C (init):
5790         * factory.C (createInset):
5791         * lyxfunc.C (getStatus, dispatch):
5792         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5793
5794 2003-02-21  Angus Leeming  <leeming@lyx.org>
5795
5796         * BufferView_pimpl.C (MenuInsertLyXFile):
5797         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5798         * lyxfunc.C (menuNew, open, doImport):
5799           no longer pass a LyXView & to fileDlg.
5800
5801 2003-02-21  Angus Leeming  <leeming@lyx.org>
5802
5803         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5804         * LyXAction.C: change, BIBKEY to BIBITEM.
5805         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5806         Change InsetBibKey to InsetBibitem.
5807         Change BIBKEY_CODE to BIBITEM_CODE.
5808         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5809         * factory.C: replace insetbib.h with insetbibitem.h.
5810         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5811         * paragraph.C: replace insetbib.h with insetbibitem.h.
5812         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5813         Change bibkey() to bibitem().
5814         * text.C: remove insetbib.h.
5815         * text2.C: replace insetbib.h with insetbibitem.h.
5816         change bibkey() to bibitem().
5817         * text3.C: remove insetbib.h.
5818         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5819
5820 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5821
5822         * lyxrc.C (output): enclose user email in quotes (in case there are
5823         several words)
5824
5825 2003-02-18  John Levon  <levon@movementarian.org>
5826
5827         * buffer.h: add std::
5828
5829 2003-02-17  John Levon  <levon@movementarian.org>
5830
5831         * SpellBase.h:
5832         * ispell.h:
5833         * ispell.C:
5834         * pspell.h:
5835         * pspell.C: reworking. Especially in ispell, a large
5836           number of clean ups and bug fixes.
5837
5838         * lyxfunc.C: fix revert to behave sensibly
5839
5840 2003-02-17 André Pönitz <poenitz@gmx.net>
5841
5842         * LyXAction.C:
5843         * commandtags.h: new LFUN_INSERT_BIBKEY
5844
5845         * layout.h:
5846         * lyxlayout.C:
5847         * buffer.C:
5848         * factory.C:
5849         * text.C:
5850         * text2.C:
5851         * text3.C:
5852         * paragraph.[Ch]:
5853         * paragraph_func.C: remove special bibkey handling
5854
5855 2003-02-17  John Levon  <levon@movementarian.org>
5856
5857         * text.C (Delete): fix case where delete at the end of
5858           the very first paragraph would not merge the pars
5859
5860 2003-02-17  John Levon  <levon@movementarian.org>
5861
5862         * lyxrow.C: fix lastPrintablePos()
5863
5864 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5865
5866         * bufferparams.C (writeLaTeX): add a std:here
5867
5868         * buffer.C: and remove a using directive there
5869
5870 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5871
5872         * buffer.C (makeLaTeXFile): move the code that generates the
5873           preamble...
5874
5875         * bufferparams.C (writeLaTeX): ... in this new method
5876
5877         * LaTeXFeatures.C (getEncodingSet): make const
5878           (getLanguages): make const
5879
5880         * MenuBackend.C (binding): returns the binding associated to this
5881           action
5882           (add): sets the status of each item by calling getStatus. Adds
5883           some intelligence.
5884           (read): add support for OptSubMenu
5885           (expand): remove extra separator at the end of expanded menu
5886
5887 2003-02-15  John Levon  <levon@movementarian.org>
5888
5889         * BufferView.C:
5890         * BufferView_pimpl.C:
5891         * bufferlist.h:
5892         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5893           inset code that had no actual effect. Remove unneeded status
5894           code.
5895
5896 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5897
5898         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5899           in preamble
5900
5901 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5902
5903         * text.C (drawLengthMarker): also draw an arrow marker for
5904           symbolic lengths (medskip...)
5905
5906 2003-02-14  John Levon  <levon@movementarian.org>
5907
5908         * tabular.h:
5909         * tabular.C: better method names
5910
5911 2003-02-14  John Levon  <levon@movementarian.org>
5912
5913         * BufferView_pimpl.C:
5914         * bufferlist.C:
5915         * buffer.C:
5916         * converter.C:
5917         * lyx_cb.C:
5918         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5919           it's a more accurate name. Remove some pointless uses.
5920
5921 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5922
5923         * text2.C (LyXText): change order of initilizers to shut off
5924           warnings
5925
5926 2003-02-14  John Levon  <levon@movementarian.org>
5927
5928         * buffer.C: use ParIterator for getParFromID()
5929
5930         * paragraph.h:
5931         * paragraph.C:
5932         * paragraph_pimpl.h:
5933         * paragraph_pimpl.C: remove unused getParFromID()
5934
5935 2003-02-14  John Levon  <levon@movementarian.org>
5936
5937         * buffer.C: remove some very old #if 0'd parse code
5938
5939 2003-02-13  John Levon  <levon@movementarian.org>
5940
5941         * text.h:
5942         * text.C:
5943         * text2.C: move hfillExpansion(), numberOfSeparators(),
5944           rowLast(), rowLastPrintable(), numberofHfills(),
5945           numberOfLabelHfills() ...
5946
5947         * lyxrow.h:
5948         * lyxrow.C: ... to member functions here.
5949
5950         * paragraph.h:
5951         * paragraph.C:
5952         * lyxtext.h:
5953         * text.C: remove LyXText::beginningOfMainBody(), and call
5954           p->beginningOfMainBody() directly. Move the check for
5955           LABEL_MANUAL into the latter.
5956
5957         * text.h:
5958         * text.C:
5959         * text2.C:
5960         * vspace.C:
5961         * BufferView.h:
5962         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5963
5964         * text.h:
5965         * text.C:
5966         * text2.C:
5967         * text3.C:
5968         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5969           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5970
5971 2003-02-13  John Levon  <levon@movementarian.org>
5972
5973         * CutAndPaste.C: remove debug
5974
5975 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5976
5977         * paragraph.C (asString): remove two unused variables
5978
5979         * lyxtextclass.C (readTitleType):
5980           (Read):
5981           (LyXTextClass): handle new members titletype_ and titlename_
5982
5983         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5984
5985 2003-02-09  John Levon  <levon@movementarian.org>
5986
5987         * buffer.h:
5988         * buffer.C: replace hand-coded list with a map for the dep clean
5989
5990 2003-02-08  John Levon  <levon@movementarian.org>
5991
5992         * LaTeX.C: consolidate code into showRunMessage() helper
5993
5994 2003-02-08  John Levon  <levon@movementarian.org>
5995
5996         * lyxfind.C:
5997         * lyxtext.h:
5998         * text2.C:
5999         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6000           and pass the size in explicitly
6001
6002         * BufferView_pimpl.h:
6003         * BufferView_pimpl.C:
6004         * BufferView.h:
6005         * BufferView.C: add getCurrentChange()
6006
6007         * BufferView_pimpl.h:
6008         * BufferView_pimpl.C: handle change lfuns
6009
6010         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6011           for changes. Mark pasted paragraphs as new.
6012
6013         * support/lyxtime.h:
6014         * support/lyxtime.C:
6015         * DepTable.C: abstract time_t as lyx::time_type
6016
6017         * LColor.h:
6018         * LColor.C: add colours for new text, deleted text, changebars
6019
6020         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6021           package use "usenames" option.
6022
6023         * commandtags.h:
6024         * lyxfunc.C:
6025         * LyXAction.C: add change lfuns
6026
6027         * Makefile.am:
6028         * author.h:
6029         * author.C: author handling
6030
6031         * buffer.h:
6032         * buffer.C: add a per-buffer author list, with first entry as
6033           current author. Handle new .lyx tokens for change tracking. Output
6034           author list to .lyx file. Output dvipost stuff to .tex preamble.
6035           Bump lyx format to 222.
6036
6037         * bufferlist.h:
6038         * bufferlist.C: add setCurrentAuthor() to reset current author details
6039           in all buffers.
6040
6041         * bufferparams.h:
6042         * bufferparams.C: add param for tracking
6043
6044         * bufferview_funcs.C: output change info in minibuffer
6045
6046         * Makefile.am:
6047         * changes.h:
6048         * changes.C: add change-tracking structure
6049
6050         * debug.h:
6051         * debug.C: add CHANGES debug flag
6052
6053         * lyxfind.h:
6054         * lyxfind.C: add code for finding the next change piece
6055
6056         * lyxrc.h:
6057         * lyxrc.C: add user_name and user_email
6058
6059         * lyxrow.h:
6060         * lyxrow.C: add a metric for the top of the text line
6061
6062         * lyxtext.h:
6063         * text.C: implement accept/rejectChange()
6064
6065         * lyxtext.h:
6066         * text.C: paint changebars. Paint new/deleted text in the chosen
6067         colours. Strike through deleted text.
6068
6069         * paragraph.h:
6070         * paragraph.C:
6071         * paragraph_pimpl.h:
6072         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6073           in the current change to the insert functions. Rework erase to
6074           mark text as deleted, adding an eraseIntern() and a range-based
6075           erase(). Implement per-paragraph change lookup and
6076           accept/reject.
6077
6078         * paragraph_funcs.C: Fixup paste for change tracking.
6079
6080         * tabular.C: mark added row/columns as new.
6081
6082         * text.C: fix rowLast() to never return -1. Don't allow
6083           spellchecking of deleted text. Track transpose changes. Don't
6084           allow paragraph break or merge where appropriate.
6085
6086         * text2.C: leave cursor at end of selection after a cut.
6087
6088 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6089
6090         * text.C (getLengthMarkerHeight):
6091         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6092         visible on screen too.
6093
6094 2003-02-07  John Levon  <levon@movementarian.org>
6095
6096         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6097
6098 2003-02-05  Angus Leeming  <leeming@lyx.org>
6099
6100         * lyxserver.C (read_ready): revert my patch of 11 September last year
6101         as it sends PC cpu through the roof. Presumably this means that
6102         the lyxserver will no longer run on an Alpha...
6103
6104 2003-01-30  Angus Leeming  <leeming@lyx.org>
6105
6106         * factory.C (createInset): create an InsetCommandParam of type "index"
6107         and use it to 'do the right thing'.
6108
6109         * text2.C (getStringToIndex): ensure that cursor position is always
6110         reset to the reset_cursor position.
6111
6112 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6113
6114         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6115         disabled.
6116
6117 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6118
6119         * bufferview.C:
6120         * lyxcb.C:
6121         * lyxfunc.C: Output messages with identical spelling, punctuation,
6122         and spaces
6123
6124 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6125
6126         * MenuBackend.C (expandFormats): List only viewable export formats
6127         in "View" menu
6128
6129         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6130         message
6131
6132         * lyxfunc.C (getStatus): Make sure that formats other than
6133         "fax" can also be disabled
6134
6135 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6136
6137         * text3.C (dispatch): put the lfuns that insert insets in 3
6138         groups, and call doInsertInset with appropriate arguments.
6139         (doInsertInset): new function, that creates an inset and inserts
6140         it according to some boolean parameters.
6141
6142 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6143
6144         * buffer.C (readFile): remember to pass on 'par' when calling
6145         readFile recursively.
6146
6147 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6148
6149         * MenuBackend.C (expandFormats): add "..." to import formats.
6150
6151 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6152
6153         * paragraph.C (asString): Remove XForms RTL hacks.
6154
6155 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6156         * buffer.C: fix typo
6157
6158 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6159
6160         * Makefile.am (LIBS): delete var
6161         (lyx_LDADD): add @LIBS@ here instead.
6162
6163 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6164
6165         * Clarify the meaning of "wheel mouse jump"
6166
6167 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6168
6169         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6170         tabular in a float
6171
6172 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6173
6174         * importer.C (Loaders): do not preallocate 3 elements in the
6175         vector, since one ends up with 6 elements otherwise
6176
6177 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6178
6179         * DepTable.C (write): write the file name as last element of the
6180         .dep file (because it may contain spaces)
6181         (read): read info in the right order
6182
6183 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6184
6185         * paragraph_pimpl.C (simpleTeXBlanks):
6186         (simpleTeXSpecialChars):
6187         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6188
6189         * tabular.C (latex): add some missing case statements. Reindent.
6190
6191         * MenuBackend.C (expandToc): remove unused variable.
6192
6193 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6194
6195         * LColor.C:
6196         * LaTeX.C:
6197         * LyXAction.C:
6198         * MenuBackend.C:
6199         * buffer.C:
6200         * exporter.C:
6201         * lyxfunc.C:
6202         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6203         and the like.
6204
6205 2003-01-05  John Levon  <levon@movementarian.org>
6206
6207         * BufferView.h:
6208         * BufferView.C: add getEncoding()
6209
6210         * kbsequence.h:
6211         * kbsequence.C: do not store last keypress
6212
6213         * lyxfunc.h:
6214         * lyxfunc.C: store last keypress here instead. Pass encoding
6215           to getISOEncoded()
6216
6217 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6218
6219         * lyx_main.C (init): remove annoying error message when following
6220         symbolic links (bug #780)
6221
6222 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6223
6224         * text.C (insertChar):
6225         * lyxrc.C (getDescription): remove extra spaces
6226
6227 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6228
6229         * lyxrc.C (getDescription): remove extra spaces
6230
6231 2002-12-20  John Levon  <levon@movementarian.org>
6232
6233         * text3.C: hack fix for page up/down across tall rows
6234
6235 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6236
6237         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6238         not been invoked
6239
6240 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6241
6242         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6243         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6244         thesaurus is not compiled in
6245
6246 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6247
6248         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6249
6250 2002-12-16  Angus Leeming  <leeming@lyx.org>
6251
6252         * lyxrc.[Ch]:
6253         * lyx_main.C (init): remove override_x_deadkeys stuff.
6254
6255 2002-12-12  John Levon  <levon@movementarian.org>
6256
6257         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6258           insert. Only remove shift modifier under strict
6259           circumstances.
6260
6261 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6262
6263         * MenuBackend.C (expandToc): fix crash.
6264
6265 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6266
6267         * MenuBackend.C (expandToc): gettext on float names.
6268
6269 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6270
6271         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6272         implement bool empty() [bug 490]
6273
6274 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6275
6276         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6277
6278 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6279
6280         * several files: ws changes
6281
6282 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6283
6284         * text2.C (setCounter): clean up a bit, use boost.format.
6285         (updateCounters): initialize par upon declaration.
6286
6287         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6288         if the layout exists. We do not just store the layout any more.
6289         (SwitchLayoutsBetweenClasses): use boost.format
6290
6291 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6292
6293         * converter.C (convert): if from and to files are the same, use a
6294         temporary files as intermediary
6295
6296 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6297
6298         * commandtags.h:
6299         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6300
6301 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6302
6303         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6304
6305 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6306
6307         * tabular.C (asciiPrintCell): use string(size, char) instead of
6308         explicit loop.
6309
6310         * sgml.C (openTag): fix order of arguments to string constructor
6311         (closeTag): ditto
6312
6313         * lyxfunc.C (dispatch): use boost.format
6314
6315         * lots of files: change "c" -> 'c'
6316
6317 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6318
6319         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6320
6321 2002-11-25  Angus Leeming  <leeming@lyx.org>
6322
6323         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6324
6325         * lyx_main.C (init): compile fix.
6326
6327 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6328
6329         * lyx_cb.C (start): boost.formatify
6330         do not include <iostream>
6331
6332         * lengthcommon.C: ws only
6333
6334         * boost-inst.C,BoostFormat.h: add more explict instantations
6335
6336 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6337
6338         * lots of files: handle USE_BOOST_FORMAT
6339
6340 2002-11-21  John Levon  <levon@movementarian.org>
6341
6342         * pspell.C: fix compile
6343
6344 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6345
6346         * lyxfunc.C (dispatch): use boost::format
6347         (open): ditto
6348         (doImport): ditto
6349
6350         * lyxfont.C (stateText): use boost::format
6351
6352         * lyx_main.C (LyX): use boost::format
6353         (init): ditto
6354         (queryUserLyXDir): ditto
6355         (readRcFile): ditto
6356         (parse_dbg): ditto
6357         (typedef boost::function): use the recommened syntax.
6358
6359         * importer.C (Import): use boost::format
6360
6361         * debug.C (showLevel): use boost::format
6362
6363         * converter.C (view): use boost::format
6364         (convert): ditto
6365         (move): ditto
6366         (scanLog): ditto
6367
6368         * bufferview_funcs.C (currentState): use boost::format
6369
6370         * bufferlist.C (emergencyWrite): use boost::format
6371
6372         * buffer.C (readLyXformat2): use boost::format
6373         (parseSingleLyXformat2Token): ditto
6374
6375         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6376
6377         * LaTeX.C (run): use boost::format
6378
6379         * Chktex.C (scanLogFile): use boost::format
6380
6381         * BufferView_pimpl.C (savePosition): use boost::format
6382         (restorePosition): ditto
6383         (MenuInsertLyXFile): ditto
6384
6385         * BoostFormat.h: help file for explicit instation.
6386
6387 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6388
6389         * tabular.C (latex): Support for block alignment in fixed width
6390         columns.
6391
6392 2002-11-17  John Levon  <levon@movementarian.org>
6393
6394         * BufferView_pimpl.C:
6395         * lyx_cb.C:
6396         * lyxfunc.C: split filedialog into open/save
6397
6398 2002-11-08  Juergen Vigna  <jug@sad.it>
6399
6400         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6401         by my last patch (hopefully).
6402
6403 2002-11-08  John Levon  <levon@movementarian.org>
6404
6405         * iterators.h:
6406         * iterators.C:
6407         * buffer.h:
6408         * buffer.C:
6409         * paragraph.h:
6410         * paragraph.C:
6411         * toc.h:
6412         * toc.C: ParConstIterator, and use it (from Lars)
6413
6414 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6415
6416         * lyxtextclass.[Ch]: revise and add doxygen comments
6417
6418 2002-11-07  John Levon  <levon@movementarian.org>
6419
6420         * text.C: fix progress value for spellchecker
6421
6422         * toc.C: fix navigate menu for insetwrap inside minipage
6423
6424         * paragraph_funcs.C: added FIXME for suspect code
6425
6426 2002-11-07  John Levon  <levon@movementarian.org>
6427
6428         * BufferView_pimpl.C: fix redrawing of insets
6429           on buffer switch
6430
6431 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6432
6433         * text2.C (updateCounters): fix bug 668
6434
6435 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6436
6437         * text3.C (dispatch): Do not make the buffer dirty when moving the
6438         cursor.
6439
6440 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6441
6442         * vc-backend.C: STRCONV
6443         (scanMaster): ditto
6444
6445         * text2.C (setCounter): STRCONV
6446
6447         * paragraph.C (asString): STRCONV
6448
6449         * lyxlength.C (asString): STRCONV
6450         (asLatexString): ditto
6451
6452         * lyxgluelength.C (asString): STRCONV
6453         (asLatexString): ditto
6454
6455         * lyxfunc.C (dispatch): STRCONV
6456         (open): ditto
6457
6458         * lyxfont.C (stateText): STRCONV
6459
6460         * importer.C (Import): STRCONV
6461
6462         * counters.C (labelItem): STRCONV
6463         (numberLabel): ditto
6464         (numberLabel): remove unused ostringstream o
6465
6466         * chset.C: STRCONV
6467         (loadFile): ditto
6468
6469         * bufferview_funcs.C (currentState): STRCONV
6470
6471         * buffer.C (readFile): STRCONV
6472         (asciiParagraph): ditto
6473         (makeLaTeXFile): ditto
6474
6475         * Spacing.C (writeEnvirBegin): STRCONV
6476
6477         * LaTeXFeatures.C (getLanguages): STRCONV
6478         (getPackages): ditto
6479         (getMacros): ditto
6480         (getBabelOptions): ditto
6481         (getTClassPreamble): ditto
6482         (getLyXSGMLEntities): ditto
6483         (getIncludedFiles): ditto
6484
6485         * LaTeX.C: STRCONV
6486         (run): ditto
6487         (scanAuxFile): ditto
6488         (deplog): ditto
6489
6490         * LString.h: add the STRCONV macros
6491
6492         * BufferView_pimpl.C (savePosition): STRCONV
6493         (restorePosition): ditto
6494         (MenuInsertLyXFile): ditto
6495
6496         * vc-backend.C (scanMaster): change from submatch[...] to
6497         submatch.str(...)
6498
6499         * funcrequest.C: include config.h
6500
6501         * factory.C: include config.h
6502
6503         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6504
6505         * box.C: include config.h
6506
6507         * LaTeX.C (scanAuxFile): change from submatch[...] to
6508         submatch.str(...)
6509         (deplog): ditto
6510
6511 2002-10-25  Angus Leeming  <leeming@lyx.org>
6512
6513         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6514
6515         * ispell.[Ch] (setError): new method.
6516         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6517         Use setError() insetead of goto END.
6518
6519         * lyx_cb.C (AutoSave): move out child process into new class
6520         AutoSaveBuffer.
6521
6522 2002-10-30  John Levon  <levon@movementarian.org>
6523
6524         * text3.C: make start appendix undoable
6525
6526 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6527
6528         * lyxlength.C (inPixels): Fix returned value.
6529
6530         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6531         environment.
6532
6533 2002-10-24  Angus Leeming  <leeming@lyx.org>
6534
6535         * lyxgluelength.h: no need to forward declare BufferParams
6536         or BufferView, so don't.
6537
6538 2002-10-21  John Levon  <levon@movementarian.org>
6539
6540         * BufferView.C: menuUndo ->undo, redo
6541
6542         * BufferView.h: document, remove dead, make some methods private
6543
6544         * paragraph_funcs.h:
6545         * paragraph_funcs.C:
6546         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6547
6548         * buffer.h:
6549         * buffer.C:
6550         * sgml.h:
6551         * sgml.C: move sgml open/close tag into sgml.C
6552
6553         * bufferview_funcs.h: unused prototype
6554
6555         * lyxfunc.h:
6556         * lyxfunc.C: remove unused
6557
6558         * lyxtext.h:
6559         * text.C: remove unused
6560
6561 2002-10-21  John Levon  <levon@movementarian.org>
6562
6563         * BufferView.h:
6564         * BufferView.C:
6565         * BufferView_pimpl.h:
6566         * BufferView_pimpl.C: fix mouse wheel handling based on
6567           patch from Darren Freeman
6568
6569 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6570
6571         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6572
6573 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6574
6575         * lyxlength.C (inPixels): Fix hanfling of negative length.
6576         Fix LyXLength::MU case.
6577
6578 2002-10-16  John Levon  <levon@movementarian.org>
6579
6580         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6581
6582 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6583
6584         * converter.C (view): add support for $$i (file name) and $$p
6585         (file path) for the viewer command. If $$i is not specified, then
6586         it is appended to the command (for compatibility with old syntax)
6587
6588 2002-10-14  Juergen Vigna  <jug@sad.it>
6589
6590         * undo_funcs.C (textHandleUndo): alter the order in which the
6591         new undopar is added to the LyXText, as we have to set first
6592         the right prev/next and then add it as otherwise the rebuild of
6593         LyXText is not correct. Also reset the cursor to the right paragraph,
6594         with this IMO we could remove the hack in "redoParagraphs()".
6595
6596 2002-10-09  Angus Leeming  <leeming@lyx.org>
6597
6598         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6599         to turn off an optimisation if a new inset is to be inserted.
6600
6601 2002-10-11 André Pönitz <poenitz@gmx.net>
6602
6603         * lyxtext.h: make some functions public to allow access
6604         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6605
6606 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6607
6608         * text3.C (dispatch): when changing layout, avoid an infinite loop
6609         [bug #652]
6610
6611 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6612
6613         * lyxrc.C (read): treat a viewer or converter command of "none" as
6614         if it were empty.
6615
6616         * MenuBackend.C (expandFormats): for an update, also allow the
6617         formats that are not viewable
6618
6619         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6620         script if it is newer than the lyxrc.defaults in user directory
6621
6622 2002-10-07 André Pönitz <poenitz@gmx.net>
6623
6624         * text.C: Vitaly Lipatov's small i18n fix
6625
6626 2002-09-25  Angus Leeming  <leeming@lyx.org>
6627
6628         * ispell.h: doxygen fix.
6629
6630 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6631
6632         * buffer.h (readFile): Add a new argument to the method, to allow
6633         reading of old-format templates.
6634
6635 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6636
6637         * toc.C (getTocList): Get TOC from InsetWrap.
6638
6639 2002-09-16  John Levon  <levon@movementarian.org>
6640
6641         * lyxfunc.C: check tabular for cut/copy too
6642
6643 2002-09-12  John Levon  <levon@movementarian.org>
6644
6645         * LyXAction.C: tidy
6646
6647         * factory.h:
6648         * factory.C: add header
6649
6650         * paragraph_funcs.h:
6651         * paragraph_funcs.C: cleanup
6652
6653 2002-09-11  John Levon  <levon@movementarian.org>
6654
6655         * PrinterParams.h: odd/even default to true
6656
6657 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6658
6659         * PrinterParams.h: update printer parameters for new xforms dialog
6660
6661 2002-09-11  Angus Leeming  <leeming@lyx.org>
6662
6663         * lyxserver.C (read_ready): re-write to make it more transparent
6664         and to make it work in coherent fashion under Tru64 Unix.
6665
6666 2002-09-11  André Pönitz <poenitz@gmx.net>
6667
6668         * commandtags.h:
6669         * LyXAction.C:
6670         * text3.C: implement LFUN_WORDSEL
6671
6672 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6673
6674         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6675         make floatlist_ a boost::shared_ptr<FloatList>
6676
6677         * lyxtextclass.C: include FloatList.h
6678         (LyXTextClass): initialize floatlist_
6679         (TextClassTags): add TC_NOFLOAT
6680         (Read): match "nofloat" to TC_NOFLOAT and use it.
6681         (readFloat): modify call to floatlist_
6682         (floats): ditto
6683         (floats): ditto
6684
6685         * FloatList.[Ch] (FloatList): remove commented out float
6686         initialization.
6687         (erase): new function
6688
6689 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6690
6691         * MenuBackend.C (expandToc): fix crash when there is no document
6692         open
6693
6694 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6695
6696         * many files: Add insetwrap.
6697
6698 2002-09-09  John Levon  <levon@movementarian.org>
6699
6700         * text2.C: remove confusing and awkward depth wraparound
6701
6702 2002-09-09  John Levon  <levon@movementarian.org>
6703
6704         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6705
6706         * buffer.h:
6707         * buffer.C: remove getIncludeonlyList()
6708
6709         * paragraph.C:
6710         * lyxfunc.C: remove headers
6711
6712 2002-09-09  Juergen Vigna  <jug@sad.it>
6713
6714         * text.C (getColumnNearX): fix form Michael this is most
6715         probably a cut&paste bug.
6716
6717 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6718
6719         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6720
6721         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6722         references, ws changes.
6723
6724         * text2.C (init): update counters after init
6725         (insertParagraph): no need to set counter on idividual paragraphs.
6726         (setCounter): access the counters object in the textclass object
6727         on in the buffer object.
6728         (updateCounters): ditto
6729
6730         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6731         shared_ptr<Counters> to avoid loading counters.h in all
6732         compilation units.
6733         (LyXTextClass): initialize ctrs_
6734         (TextClassTags): add TC_COUNTER, and ...
6735         (Read): use it here.
6736         (CounterTags): new tags
6737         (readCounter): new function
6738         (counters): new funtion
6739         (defaultLayoutName): return a const reference
6740
6741         * counters.C (Counters): remove contructor
6742         (newCounter): remove a couple of unneeded statements.
6743         (newCounter): simplify a bit.
6744         (numberLabel): some small formatting changes.
6745
6746         * buffer.[Ch]: remove all traces of counters, move the Counters
6747         object to the LyXTextClass.
6748
6749 2002-09-06  Alain Castera  <castera@in2p3.fr>
6750
6751         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6752         package to set the horizontal alignment on fixed width columns.
6753
6754         * lyx_sty.C:
6755         * lyx_sty.h: added tabularnewline macro def.
6756
6757         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6758
6759 2002-09-06  John Levon  <levon@movementarian.org>
6760
6761         * LyXAction.C: tooltips for sub/superscript
6762
6763         * MenuBackend.C: a bit more verbose
6764
6765         * lyxfunc.C: tiny clean
6766
6767         * undo_funcs.C: document undo_frozen
6768
6769 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6770
6771         * counters.C (Counters): add missing algorithm counter.
6772
6773         * text2.C (setCounter): lookup the counter with layouts latexname
6774         instead of by section number.
6775         (setCounter): use a hackish way to lookup the correct enum
6776         counter.
6777         a float name->type change
6778         reset enum couners with counter name directly instead of depth value.
6779
6780         * counters.C (Counters): remove the push_backs, change to use the
6781         float type not the float name.
6782         (labelItem): remove unused string, float name->type change
6783
6784         * counters.h: don't include vector, loose the enums and sects vectors
6785
6786 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6787
6788         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6789         (Read): add float->TC_FLOAT to textclassTags
6790         (Read): and handle it in the switch
6791         (readFloat): new function
6792
6793         * FloatList.C (FloatList): comment out the hardcoded float
6794         definitions.
6795
6796         * lyxlayout.h: ws change.
6797
6798 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6799
6800         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6801
6802 2002-09-03  Angus Leeming  <leeming@lyx.org>
6803
6804         * BufferView_pimpl.h: qualified name is not allowed in member
6805         declaration: WorkArea & Pimpl::workarea() const;
6806
6807         * factory.C: added using std::endl directive.
6808
6809         * text3.C: added using std::find and std::vector directives.
6810
6811 2002-08-29  André Pönitz <poenitz@gmx.net>
6812
6813         * lyxtext.h:
6814         * text2.C: remove unused member number_of_rows
6815
6816         * Makefile.am:
6817         * BufferView2.C: remove file, move contents to...
6818         * BufferView.C: ... here
6819
6820         * BufferView_pimpl.C:
6821         * factory.C: move more inset creation to factory
6822
6823         * vspace.C: avoid direct usage of LyXText, ws changes
6824
6825         * BufferView.[Ch]:
6826                 don't provide direct access to WorkArea, use two simple
6827                 acessors haveSelction() and workHeight() instead
6828
6829
6830 2002-08-29  John Levon  <levon@movementarian.org>
6831
6832         * BufferView_pimpl.C (dispatch): do not continue when
6833           no buffer
6834
6835 2002-08-28  André Pönitz <poenitz@gmx.net>
6836
6837         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6838
6839         * BufferView.h:
6840         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6841
6842 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6843
6844         * buffer.C: increment LYX_FORMAT to 221
6845
6846         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6847         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6848
6849         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6850
6851         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6852
6853 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6854
6855         * factory.C (createInset): use LyXTextClass::floats
6856
6857         * MenuBackend.C (expandFloatListInsert):
6858         (expandFloatInsert):
6859         (expandToc):
6860
6861         * text2.C (setCounter):
6862
6863         * LaTeXFeatures.C (useFloat):
6864         (getFloatDefinitions):
6865
6866         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6867
6868         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6869         floatlist_, with accessor floats().
6870
6871         * FloatList.h: remove global FloatList
6872
6873 2002-08-26  André Pönitz <poenitz@gmx.net>
6874
6875         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6876
6877         * BufferView.h:
6878         * BufferView2.C:
6879         * BufferView_pimpl.C:
6880         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6881
6882 2002-08-25  John Levon  <levon@movementarian.org>
6883
6884         * LyXAction.C: fix margin note description
6885
6886 2002-08-24  John Levon  <levon@movementarian.org>
6887
6888         * buffer.C:
6889         * bufferlist.C:
6890         * bufferview_funcs.C:
6891         * lyxfont.C:
6892         * undo_funcs.C: cleanups
6893
6894         * lyxfunc.C: disable CUT/COPY when no selection
6895
6896 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6897
6898         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6899         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6900
6901         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6902         Add backward compatibility to "mono", "gray" and "no".
6903
6904 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6905
6906         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6907         (and file_format >= 200).
6908
6909 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6910
6911         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6912
6913 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6914
6915         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6916
6917 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6918
6919         * BufferView_pimpl.C:
6920         * LyXAction.C:
6921         * buffer.C:
6922         * commandtags.h:
6923         * lyxfunc.C:
6924         * paragraph.[Ch]:
6925         * text2.C:
6926         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6927         inset and code to make it  work with the paragraph code. The inset
6928         can be anywhere in the paragraph, but will only do the expected
6929         thing in LaTeX if the layout file contains the parameter line
6930                         OptionalArgs    1
6931         (or more generally, a nonzero value) for that layout.
6932
6933 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6934
6935         * paragraph.h: remove the declaration of undefined counters class
6936         function.
6937
6938 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6939
6940         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6941         Dr. Richard Hawkins.
6942
6943 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6944
6945         * paragraph_funcs.h: remove some unneeded includes
6946
6947         * text.C (backspace): pasteParagraph now in global scipe
6948
6949         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6950         (pasteSelection): ditto
6951
6952         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6953         * paragraph_funcs.C (pasteParagraph): ... here
6954
6955 2002-08-20  André Pönitz <poenitz@gmx.net>
6956
6957         * commandtags.h: new LFUNs for swapping/copying table row/colums
6958
6959         * LyXAction.C:
6960         * lyxfunc.C: support for new lfuns
6961
6962 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6963
6964         * tabular.C:
6965         * buffer.[Ch]: remove NO_COMPABILITY stuff
6966
6967 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6968
6969         * boost.C (throw_exception): new file, with helper function for
6970         boost compiled without exceptions.
6971
6972         * paragraph.h:
6973         * lyxlength.C:
6974         * buffer.C:
6975         * ParameterStruct.h:
6976         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6977
6978         * bufferlist.C (emergencyWriteAll): use boost bind
6979
6980         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6981
6982         * text.C: include paragraph_funcs.h
6983         (breakParagraph): breakParagraph is now in global scope
6984
6985         * paragraph_funcs.[Ch]: new files
6986
6987         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6988         global scope
6989
6990         * buffer.C: include paragraph_funcs.h
6991         (insertStringAsLines): breakParagraph is now in global scope
6992
6993         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6994         paragraph_funcs.C
6995
6996         * CutAndPaste.C: include paragraph_funcs.h
6997         (cutSelection): breakParagraphConservative is now in global scope
6998         (pasteSelection): ditto
6999
7000         * buffer.h: declare oprator== and operator!= for
7001         Buffer::inset_iterator
7002
7003         * bufferlist.C (emergencyWrite): don't use fmt(...)
7004
7005         * text3.C: add using std::endl
7006
7007         * BufferView.C (moveCursorUpdate): remove default arg
7008
7009 2002-08-20  André Pönitz <poenitz@gmx.net>
7010
7011         * buffer.[Ch]: move inline functions to .C
7012
7013         * BufferView2.C:
7014         * BufferView_pimpl.C:
7015         * text.C:
7016         * buffer.[Ch]: use improved inset_iterator
7017
7018         * buffer.C:
7019         * paragraph.[Ch]: write one paragraph at a time
7020
7021 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7022
7023         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7024         style if style is not specified.
7025
7026 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7027
7028         * text2.C (setCounter): when searching for right label for a
7029         caption, make sure to recurse to parent insets (so that a caption
7030         in a minipage in a figure float works) (bug #568)
7031
7032 2002-08-20  André Pönitz <poenitz@gmx.net>
7033
7034         * text3.C: new file for LyXText::dispatch() and helpers
7035
7036         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7037
7038         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7039
7040 2002-08-19  André Pönitz <poenitz@gmx.net>
7041
7042         * lyxtext.h:
7043         * text.C: new LyXText::dispatch()
7044
7045         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7046
7047 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7048
7049         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7050
7051         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7052         Hebrew text.
7053
7054 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7055
7056         * Makefile.am: use $(variables) instead of @substitutions@
7057
7058 2002-08-15  André Pönitz <poenitz@gmx.net>
7059
7060         * lyxfunc.C:
7061         * BufferView_pimpl.C: streamlining mathed <-> outer world
7062         interaction
7063
7064         * commandtags.h:
7065         * LyXAction.C: remove unused LFUN_MATH
7066
7067 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7068
7069         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7070
7071 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7072
7073         * paragraph.C (Paragraph): reformat a bit
7074         (cutIntoMinibuffer): use builtin InsetList function instad of
7075         doing it manually.
7076         (getInset): ditto
7077
7078         * buffer.C: include boost/bind.hpp, add using std::for_each
7079         (writeFileAscii): use ParagraphList iterators
7080         (validate): use for_each for validate traversal of paragraphs
7081         (getBibkeyList): use ParagraphList iterators
7082         (resizeInsets): use for_each to resizeInsetsLyXText for all
7083         paragraphs.
7084         (getParFromID): use ParagraphList iterators
7085
7086         * BufferView2.C (lockInset): use paragraph list and iterators
7087
7088 2002-08-14  John Levon  <levon@movementarian.org>
7089
7090         * lyxserver.C: remove spurious xforms include
7091
7092 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7093
7094         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7095
7096 2002-08-13  André Pönitz <poenitz@gmx.net>
7097
7098         * LyXAction.[Ch]:
7099         * lyxfunc.C: further cleaning
7100
7101 2002-08-13  André Pönitz <poenitz@gmx.net>
7102
7103         * funcrequest.h: new constructor
7104
7105         * funcrequest.C: move stuff here from .h
7106
7107         * Makefile.am:
7108         * BufferView_pimpl.C:
7109         * LyXAction.C:
7110         * toc.C:
7111         * lyxfunc.C: subsequent changes
7112
7113         * lyxfunc.h: new view() member function
7114
7115         * lyxfunc.C: subsequent changes
7116
7117 2002-08-13  Angus Leeming  <leeming@lyx.org>
7118
7119         * BufferView2.C:
7120         * BufferView_pimpl.C:
7121         * buffer.C:
7122         * converter.C:
7123         * importer.C:
7124         * lyxfunc.C:
7125         * lyxvc.C:
7126         * toc.C:
7127         * vc-backend.C:
7128         changes due to the changed LyXView interface that now returns references
7129         to member variables not pointers.
7130
7131 2002-08-13  Angus Leeming  <leeming@lyx.org>
7132
7133         * WordLangTuple (word, lang_code): return references to strings,
7134         not strings.
7135
7136         * BufferView.h:
7137         * SpellBase.h:
7138         * lyxtext.h: forward-declare WordLangTuple.
7139
7140         * BufferView2.C:
7141         * ispell.C:
7142         * pspell.C:
7143         * text.C: #include "WordLangTuple.h".
7144
7145         * lyxtext.h:
7146         * text.C: (selectNextWordToSpellcheck): constify return type.
7147
7148 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7149
7150         * buffer.C:
7151         * buffer.h:
7152         * lyxtext.h:
7153         * paragraph.C:
7154         * paragraph_pimpl.h:
7155         * text.C:
7156         * text2.C:
7157         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7158         suggested by Angus.
7159         Made updateCounter always count from start of buffer, and removed
7160         second argument (par).
7161         Reverted floats number display to '#'. Perhaps I'll try again when the
7162         code base is sanitized a bit.
7163
7164 2002-08-12  Angus Leeming  <leeming@lyx.org>
7165
7166         * buffer.[Ch] (getLabelList): constify.
7167
7168 2002-08-07  André Pönitz <poenitz@gmx.net>
7169
7170         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7171
7172         * funcrequest.h: extension to keep mouse (x,y) position
7173
7174 2002-08-12  Juergen Vigna  <jug@sad.it>
7175
7176         * BufferView2.C (insertErrors): forbid undo when inserting error
7177         insets.
7178
7179         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7180
7181 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7182
7183         * ParagraphList.[Ch]: new files
7184
7185         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7186
7187         * BufferView2.C (lockInset): ParagraphList changes
7188         * toc.C: ditto
7189         * text2.C: ditto
7190         * bufferlist.C: ditto
7191         * buffer.h: ditto
7192         * buffer.C: ditto
7193
7194 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7195
7196         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7197         unused class variable counter_,
7198
7199         * paragraph.[Ch] (getFirstCounter): delete unused function
7200
7201         * counters.C: include LAssert.h
7202         (reset): add a new function with no arg, change other version to
7203         not have def. arg and to not allow empty arg.
7204
7205         * text2.C (setCounter): remove empty arg from call to Counters::reset
7206
7207 2002-08-11  John Levon  <levon@movementarian.org>
7208
7209         * Makefile.am: add WordLangTuple.h
7210
7211 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7212
7213         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7214         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7215
7216         * insets/insettext.C: InsetList changes
7217
7218         * graphics/GraphicsSupport.C (operator()): InsetList changes
7219
7220         * toc.C (getTocList): InsetList changes
7221
7222         * paragraph_pimpl.[Ch]: InsetList changes
7223
7224         * paragraph.[Ch]: InsetList changes
7225
7226         * buffer.C (inset_iterator): InsetList changes
7227         (setParagraph): ditto
7228         * buffer.h (inset_iterator): ditto
7229         * iterators.C (operator++): ditto
7230         * iterators.h: ditto
7231
7232         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7233
7234         * InsetList.[Ch]: new files, most InsetList handling moved out of
7235         paragraph.C.
7236
7237         * BufferView2.C (removeAutoInsets): InsetList changes
7238         (lockInset): ditto
7239         (ChangeInsets): ditto
7240
7241 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7242
7243         * paragraph_pimpl.h (empty): new function
7244
7245         * paragraph.[Ch] (empty): new function
7246
7247         * other files: use the new Paragraph::empty function
7248
7249 2002-08-09  John Levon  <levon@movementarian.org>
7250
7251         * lyxtext.h: remove unused refresh_height
7252
7253 2002-08-09  John Levon  <levon@movementarian.org>
7254
7255         * Makefile.am:
7256         * sgml.h:
7257         * sgml.C:
7258         * buffer.C:
7259         * paragraph.h:
7260         * paragraph.C: move sgml char escaping out of paragraph
7261
7262         * paragraph.h:
7263         * paragraph.C: remove id setter
7264
7265         * buffer.C:
7266         * paragraph.C:
7267         * paragraph_pimpl.C: remove dead tex_code_break_column
7268
7269         * bufferview_funcs.C: small cleanup
7270
7271         * lyxfunc.C: remove dead proto
7272
7273         * lyxtext.h: make some stuff private. Remove some dead stuff.
7274
7275         * lyxgluelength.C: make as[LyX]String() readable
7276
7277 2002-08-08  John Levon  <levon@movementarian.org>
7278
7279         * LyXAction.h:
7280         * LyXAction.C:
7281         * MenuBackend.C:
7282         * ToolbarDefaults.C:
7283         * lyxfunc.C:
7284         * lyxrc.C:
7285         * toc.C: lyxaction cleanup
7286
7287 2002-08-08  John Levon  <levon@movementarian.org>
7288
7289         * BufferView2.C: small cleanup
7290
7291         * lyxfind.h:
7292         * lyxfind.C: move unnecessary header into the .C
7293
7294 2002-08-08  John Levon  <levon@movementarian.org>
7295
7296         * funcrequest.h: just tedious nonsense
7297
7298         * lyx_main.h:
7299         * lyx_main.C: cleanups
7300
7301         * buffer.C:
7302         * vspace.C: remove dead header lyx_main.h
7303
7304 2002-08-07  Angus Leeming  <leeming@lyx.org>
7305
7306         * Paragraph.[Ch]:
7307         * paragraph_pimpl.h:
7308         Forward declare class Counters in paragraph.h by moving the ctrs member
7309         variable into Paragraph::Pimpl.
7310         (counters): new method, returning a reference to pimpl_->ctrs.
7311
7312         * text2.C: ensuing changes.
7313
7314 2002-08-07  John Levon  <levon@movementarian.org>
7315
7316         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7317
7318         * BufferView_pimpl.C: announce X selection on double/triple
7319           click
7320
7321         * lyx_main.C: use correct bool in batch dispatch
7322
7323         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7324
7325 2002-08-07  André Pönitz <poenitz@gmx.net>
7326
7327         * funcrequest.h: new class to wrap a kb_action and its argument
7328
7329         * BufferView.[Ch]:
7330         * BufferView_pimpl[Ch]:
7331         * LaTeX.C:
7332         * LyXAction.[Ch]:
7333         * lyxfunc.[Ch]:
7334         * lyxrc.C: subsequent changes
7335
7336
7337 2002-08-07  John Levon  <levon@movementarian.org>
7338
7339         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7340           document options change.
7341
7342 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7343
7344         * counters.[Ch]
7345         * text2.C
7346         * paragraph.[Ch]
7347         * makefile.am: move counters functionality over from
7348         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7349
7350 2002-08-06  John Levon  <levon@movementarian.org>
7351
7352         * WordLangTuple.h: new file for word + language code tuple
7353
7354         * SpellBase.h:
7355         * pspell.h:
7356         * pspell.C:
7357         * ispell.h:
7358         * ispell.C:
7359         * lyxtext.h:
7360         * text.C:
7361         * text2.C:
7362         * BufferView.h:
7363         * BufferView2.C: use WordLangTuple
7364
7365         * layout.h:
7366         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7367
7368 2002-08-06  John Levon  <levon@movementarian.org>
7369
7370         * lyx_main.C: fix cmdline batch handling
7371
7372 2002-08-06  André Pönitz <poenitz@gmx.net>
7373
7374         * lyxrc.C: set default for show_banner to true
7375
7376 2002-08-06  John Levon  <levon@movementarian.org>
7377
7378         * pspell.C: fix a crash, and allow new aspell to work
7379
7380 2002-08-06  John Levon  <levon@movementarian.org>
7381
7382         * lyxfunc.C:
7383         * kbmap.C: small cleanup
7384
7385         * vspace.h:
7386         * vspace.C: add const
7387
7388 2002-08-05  John Levon  <levon@movementarian.org>
7389
7390         * LyXAction.C: back to tabular-insert
7391
7392 2002-08-04  John Levon  <levon@movementarian.org>
7393
7394         * BufferView.h:
7395         * BufferView.C: cosmetic change
7396
7397         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7398
7399         * bufferlist.C:
7400         * buffer.h:
7401         * buffer.C:
7402         * lyxcb.h:
7403         * lyxcb.C:
7404         * lyxserver.C:
7405         * lyxvc.C:
7406         * vc-backend.C:
7407         * BufferView2.C: purge all "Lyx" not "LyX" strings
7408
7409         * lyxcursor.h:
7410         * lyxcursor.C: attempt to add some documentation
7411
7412         * lyxfunc.C:
7413         * commandtags.h:
7414         * LyXAction.C:
7415         * ToolbarDefaults.C:
7416         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7417           merge with LFUN_TABULAR_INSERT
7418
7419         * Makefile.am:
7420         * SpellBase.h:
7421         * ispell.h:
7422         * ispell.C:
7423         * pspell.h:
7424         * pspell.C: split up i/pspell implementations into separate
7425           files, many cleanups
7426
7427         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7428
7429         * text2.C: some cleanup
7430
7431         * lyxfunc.C: don't check for isp_command == "none" any more, it
7432           didn't make any sense
7433
7434 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7435
7436         * counters.[Ch]
7437         * text2.C
7438         * paragraph.[Ch]
7439         * makefile.am: move counters functionality over
7440         from text2.C/paragraph.[Ch] to counters.[Ch], and
7441         make proper C++.
7442 2002-08-02  John Levon  <levon@movementarian.org>
7443
7444         * buffer.C: s/lyxconvert/lyx2lyx/
7445
7446 2002-08-02  Angus Leeming  <leeming@lyx.org>
7447
7448         * lyxlex.C: revert John's change as it breaks reading of the user
7449         preamble.
7450
7451 2002-08-02  Angus Leeming  <leeming@lyx.org>
7452
7453         * importer.C (Import):
7454         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7455         changes due to LyXView::view() now returning a boost::shared_ptr.
7456
7457 2002-08-02  John Levon  <levon@movementarian.org>
7458
7459         * lyxlex.C: small cleanup
7460
7461 2002-08-02  John Levon  <levon@movementarian.org>
7462
7463         * text2.C (status): small cleanup, no logic change
7464
7465 2002-08-01  John Levon  <levon@movementarian.org>
7466
7467         * buffer.h:
7468         * buffer.C (writeFile): don't output alerts, caller
7469           handles this
7470
7471         * bufferlist.C:
7472         * lyx_cb.C: from above
7473
7474         * lyxfunc.C: allow to open non-existent files
7475
7476 2002-07-31  John Levon  <levon@movementarian.org>
7477
7478         * lyxserver.C: don't let incidental errors get
7479           in the way (errno)
7480
7481 2002-07-30  John Levon  <levon@movementarian.org>
7482
7483         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7484
7485 2002-07-30  John Levon  <levon@movementarian.org>
7486
7487         * lyxserver.h:
7488         * lyxserver.C: remove I/O callback too
7489
7490 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7491
7492         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7493         log.
7494
7495 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7496
7497         * many files: strip,frontStrip -> trim,ltrim,rtrim
7498
7499 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7500
7501         * PrinterParams.h: remove extern containsOnly, and include
7502         support/lstrings.h instead.
7503
7504         * LaTeX.C (scanAuxFile): modify because of strip changes
7505         (deplog): ditto
7506         * buffer.C (makeLaTeXFile): ditto
7507         * bufferparams.C (writeFile): ditt
7508         * lyxfont.C (stateText): ditto
7509         * lyxserver.C (read_ready): ditto
7510         * vc-backend.C (scanMaster): ditto
7511
7512         * BufferView_pimpl.h: ws changes
7513
7514         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7515
7516 2002-07-26  André Pönitz <poenitz@gmx.net>
7517
7518         * kb_sequence.C: remove unnedred usings
7519
7520 2002-07-26  Juergen Vigna  <jug@sad.it>
7521
7522         * lyxfind.C (LyXReplace): we have to check better if the returned
7523         text is not of theLockingInset()->getLockingInset().
7524
7525 2002-07-25  Juergen Vigna  <jug@sad.it>
7526
7527         * lyxfind.C (LyXReplace): don't replace if we don't get the
7528         right LyXText.
7529
7530         * undo_funcs.C (createUndo): remove debugging code.
7531
7532 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7533
7534         * buffer.C (parseSingleLyXformat2Token): Use default placement
7535         when reading old floats.
7536
7537         * FloatList.C (FloatList): Change the default placement of figure
7538         and tables to "tbp".
7539
7540 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7541
7542         * MenuBackend.C: using std::max
7543
7544 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7545
7546         * MenuBackend.C (expandToc):
7547         (expandToc2): code moved from xforms menu frontend. It is now
7548         generic and TOCs are transparent to menu frontends.
7549
7550 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7551
7552         * toc.C (getTocList): protect against buf=0
7553
7554         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7555         Menu as first parameter. Now, this calls itself recursively to
7556         expand a whole tree (this will be useful for TOC handling)
7557         (expandFloatInsert): remove 'wide' version of floats
7558
7559         * MenuBackend.h (submenuname): returns the name of the submenu.
7560         (submenu): returns the submenu itself, provided it has been
7561         created by MenuBackend::expand
7562
7563 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7564
7565         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7566         insets which have noFontChange == true. (bug #172)
7567
7568 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7569
7570         * BufferView_pimpl.C: add connection objects and use them...
7571         (Pimpl): here.
7572
7573 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7574
7575         * MenuBackend.C (expandLastfiles):
7576         (expandDocuments):
7577         (expandFormats):
7578         (expandFloatListInsert):
7579         (expandFloatInsert):
7580         (expand): split expand in parts
7581
7582 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7583
7584         * lyx_gui.C: use lyx_gui::exit()
7585
7586 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7587
7588         * LyXAction.C: show the failing pseudo action
7589
7590 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7591
7592         * buffer.C (readFile): Run the lyxconvert script in order to read
7593         old files.
7594
7595 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7596
7597         * LyXAction.C:
7598         * commandtags.h:
7599         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7600
7601 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7602
7603         * LyXAction.C:
7604         * commandtags.h:
7605         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7606
7607 2002-07-22  Herbert Voss  <voss@lyx.org>
7608
7609         * lengthcommon.C:
7610         * lyxlength.[Ch]: add support for the vertical lengths
7611
7612 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7613
7614         * toc.[Ch]: std:: fixes
7615
7616 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7617
7618         * lyxrc.C: do not include lyx_main.h
7619
7620         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7621         for layouts
7622
7623         * lyxrc.C:
7624         * encoding.C:
7625         * bufferlist.C:
7626         * BufferView2.C: include "lyxlex.h"
7627
7628         * tabular.h:
7629         * bufferparams.h: do not #include "lyxlex.h"
7630
7631         * lyxtextclasslist.C (Add): remove method
7632         (classlist): renamed to classlist_
7633
7634         * paragraph_pimpl.C:
7635         * paragraph.C:
7636         * text2.C:
7637         * CutAndPaste.C:
7638         * bufferview_funcs.C:
7639         * bufferlist.C:
7640         * text.C:
7641         * LaTeXFeatures.C:
7642         * buffer.C:
7643         * toc.C (getTocList): use BufferParams::getLyXTextClass
7644
7645         * toc.C (getTocList): use InsetFloat::addToToc
7646
7647         * toc.[Ch]: new files, containing helper functions to handle table
7648         of contents
7649
7650         * lyxfunc.C (dispatch): no need to remove spaces around command
7651         given as a string
7652         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7653         first command of the sequence; it is not very clever, but I do not
7654         have a better idea, actually
7655
7656         * LyXAction.C (LookupFunc): make sure to remove space at the
7657         beginning and end of the command
7658
7659 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7660
7661         * MenuBackend.C (getMenubar): new method: return the menubar of
7662         this menu set
7663         (read): treat differently reading of menu and menubar (in
7664         particular, the menubar has no name now)
7665         (Menu::menubar): remove
7666
7667         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7668         saving is finished
7669
7670 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7671
7672         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7673         a bibitem inset in a RTL paragraph.
7674
7675 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7676
7677         * paragraph_pimpl.C: constify
7678
7679         * BufferView_pimpl.C:
7680         * LaTeX.C:
7681         * lyxfunc.C: fix dispatch in a nicer way
7682
7683 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7684
7685         * lyxfunc.C (dispatch):
7686         * BufferView_pimpl.C:
7687         * BufferView_pimpl.h:
7688         * BufferView.C:
7689         * BufferView.h: rename Dispatch() to dispatch()
7690
7691         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7692
7693         * lyxlayout.C (Read): honor DependsOn tag
7694
7695         * lyxlayout.[Ch] (depends_on): new method
7696
7697         * version.C.in: update lyx_docversion
7698
7699         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7700
7701         * paragraph.C (validate): remove from here...
7702         * paragraph_pimpl.C (validate): ... and move here
7703         (isTextAt): make it const
7704
7705         * buffer.C (getLists): ws cleanup
7706
7707 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7708
7709         * language.C (read): Use iso8859-1 encoding in latex_lang
7710         (this prevents LyX from crashing when using iso10646-1 encoding).
7711
7712 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7713
7714         * text2.C (toggleInset): if cursor is inside an inset, close the
7715         inset and leave cursor _after_ it
7716
7717 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7718
7719         * lyxfunc.C: move minibuffer completion handling out of here
7720
7721 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7722
7723         * BufferView_pimpl.C:
7724         * LaTeX.C: fix dispatch calls
7725
7726 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7727
7728         * text.C (drawChars): Fix Arabic text rendering.
7729
7730 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7731
7732         * LyXAction.C:
7733         * commandtags.h:
7734         * lyxfunc.C: remove message-push/pop
7735
7736         * lyxserver.C:
7737         * lyxfunc.h:
7738         * lyxfunc.C: rationalise some code by removing verboseDispatch
7739           in favour of a bool argument to dispatch()
7740
7741 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7742
7743         * lyx_main.C (init): make sure to read symlinks as absolute paths
7744
7745 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7746
7747         * lyxfunc.h:
7748         * lyxfunc.C: no need for commandshortcut to be a member
7749
7750 2002-07-15  André Pönitz <poenitz@gmx.net>
7751
7752         * converter.C: add support for $$s (scripts from lib/scripts dir)
7753         * lyx_main.C: white space
7754
7755 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7756
7757         * bufferlist.C:
7758         * lyxrc.h:
7759         * lyxrc.C: remove second exit confirmation
7760
7761 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7762
7763         * BufferView.h:
7764         * BufferView.C:
7765         * BufferView2.C:
7766         * BufferView_pimpl.h:
7767         * BufferView_pimpl.C:
7768         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7769
7770 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7771
7772         * MenuBackend.C (expand): add numeric shortcuts to document menu
7773
7774         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7775
7776 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7777
7778         * lyxfont.C (setLyXFamily):
7779         (setLyXSeries):
7780         (setLyXShape):
7781         (setLyXSize):
7782         (setLyXMisc):
7783         (lyxRead):
7784         * debug.C (value):
7785         * buffer.C (asciiParagraph): use ascii_lowercase
7786
7787 2002-07-15  Mike Fabian  <mfabian@suse.de>
7788
7789         * lyxlex_pimpl.C (search_kw):
7790         * lyxlex.C (getLongString):
7791         * converter.h (operator<):
7792         * converter.C (operator<):
7793         * buffer.C (parseSingleLyXformat2Token):
7794         (asciiParagraph):
7795         * ToolbarDefaults.C (read):
7796         * MenuBackend.C (checkShortcuts):
7797         (read):
7798         * LColor.C (getFromGUIName):
7799         (getFromLyXName): use the compare_ascii_no_case instead of
7800         compare_no_case, because in turkish, 'i' is not the lowercase
7801         version of 'I', and thus turkish locale breaks parsing of tags.
7802
7803 2002-07-16  Angus Leeming  <leeming@lyx.org>
7804
7805         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7806         now takes a Buffer const & argument.
7807
7808 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7809
7810         * BufferView.C (resize): check there's a buffer to resize
7811
7812 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7813
7814         * lyxfunc.C: remove dead code
7815
7816         * lyxserver.h:
7817         * lyxserver.C: use lyx_guii::set_read_callback
7818
7819 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7820
7821         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7822         an inset in a RTL paragraph.
7823
7824 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7825
7826         * lyxfunc.C: repaint after a font size update
7827
7828 2002-07-15  André Pönitz <poenitz@gmx.net>
7829
7830         * lyxlength.C: inBP should be able to return negative values
7831
7832 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7833
7834         * lyxfunc.C: use lyx_gui::update_fonts()
7835
7836 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7837
7838         * lyxfunc.C: use lyx_gui::update_color()
7839
7840 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7841
7842         * bufferlist.C:
7843         * lyxfunc.h:
7844         * lyxfunc.C:
7845         * lyxrc.h:
7846         * lyxrc.C: remove file->new asks for name option, and let
7847           buffer-new take an argument
7848
7849 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7850
7851         * BufferView_pimpl.C: remove unneeded extra repaint()
7852
7853 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7854
7855         * LyXAction.C: allow command-sequence with NoBuffer
7856
7857         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7858
7859 2002-07-10  Angus Leeming  <leeming@lyx.org>
7860
7861         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7862
7863 2002-07-09  Angus Leeming  <leeming@lyx.org>
7864
7865         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7866
7867 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7868
7869         * lengthcommon.h: whitespace
7870
7871         * lyxfunc.C: update scrollbar after goto paragraph
7872
7873         * lyxtext.h: factor out page break drawing, and fix it so
7874           page break/added space paints as selected nicely
7875
7876 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7877
7878         * BufferView_pimpl.C: add FIXMEs, clean up a little
7879
7880 2002-07-09  André Pönitz <poenitz@gmx.net>
7881
7882         * lyxfont.[Ch]: support for wasy symbols
7883
7884 2002-07-08  André Pönitz <poenitz@gmx.net>
7885
7886         * BufferView_pimpl.C: apply John's patch for #93.
7887
7888 2002-07-05  Angus Leeming  <leeming@lyx.org>
7889
7890         * BufferView_pimpl.C (buffer): generate previews if desired.
7891
7892         * LColor.h: add "preview" to the color enum.
7893
7894         * LColor.C (LColor): add a corresponding entry to the items array.
7895
7896         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7897         with this buffer.
7898
7899 2002-07-05  Angus Leeming  <leeming@lyx.org>
7900
7901         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7902         The body of the code is now in the method that is passed an ostream &
7903         rather than a file name.
7904         Pass an additional only_preamble parameter, useful for the forthcoming
7905         preview stuff.
7906
7907 2002-07-03  André Pönitz <poenitz@gmx.net>
7908
7909         * lyxfunc.C: simplify getStatus() a bit for math stuff
7910
7911 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7912
7913         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7914
7915 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7916
7917         * text.C (changeRegionCase): do not change case of all the
7918         document when region ends at paragraph end (bug #461)
7919
7920 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7921
7922         * paragraph.C (startTeXParParams):
7923         (endTeXParParams): add \protect when necessary
7924
7925 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7926
7927         * BufferView_pimpl.C (workAreaExpose): remove warning
7928
7929 2002-06-27  Angus Leeming  <leeming@lyx.org>
7930
7931         * Makefile.am: add lyxlayout_ptr_fwd.h.
7932
7933 2002-06-26  André Pönitz <poenitz@gmx.net>
7934
7935         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7936
7937 2002-06-25  Angus Leeming  <leeming@lyx.org>
7938
7939         * lyxfunc.C (dispatch): Comment out the call to
7940         grfx::GCache::changeDisplay. The method no longer exists now that the
7941         pixmap generation part of the graphics loader has been moved into
7942         InsetGraphics.
7943
7944 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7945
7946         * text2.C: layout as layout
7947
7948         * text.C: layout as layout
7949
7950         * tabular.C (OldFormatRead): layout as layout
7951
7952         * paragraph_pimpl.C (TeXDeeper): layout as layout
7953         (realizeFont): layout as layout
7954
7955         * paragraph.C (writeFile): layout as layout
7956         (validate): layout as layout
7957         (getFont): layout as layout
7958         (getLabelFont): layout as layout
7959         (getLayoutFont): layout as layout
7960         (breakParagraph): layout as layout
7961         (stripLeadingSpaces): layout as layout
7962         (getEndLabel): layout as layout
7963         (getMaxDepthAfter): layout as layout
7964         (applyLayout): layout as layout
7965         (TeXOnePar): layout as layout
7966         (simpleTeXOnePar): layout as layout
7967         (TeXEnvironment): layout as layout
7968         (layout): layout as layout
7969         (layout): layout as layout
7970
7971         * lyxtextclass.C (compare_name): new functor to work with
7972         shared_ptr, layout as layout
7973         (Read): layout as layout
7974         (hasLayout): layout as layout
7975         (operator): layout as layout
7976         (delete_layout): layout as layout
7977         (defaultLayout): layout as layout
7978
7979         * lyxlayout_ptr_fwd.h: new file
7980
7981         * lyxlayout.C (Read): layout as layout
7982
7983         * lyx_cb.C (MenuInsertLabel): layout as layout
7984
7985         * bufferlist.C (newFile): layout as layout
7986
7987         * buffer.C (readLyXformat2): layout as layout
7988         (parseSingleLyXformat2Token): layout as layout
7989         (insertStringAsLines): layout as layout
7990         (asciiParagraph): layout as layout
7991         (latexParagraphs): layout as layout
7992         (makeLinuxDocFile): layout as layout
7993         (simpleLinuxDocOnePar): layout as layout
7994         (makeDocBookFile): layout as layout
7995         (simpleDocBookOnePar): layout as layout
7996         (getLists): layout as layout
7997
7998         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7999
8000         * CutAndPaste.C (cutSelection): layout as layout
8001         (pasteSelection): layout as layout
8002         (SwitchLayoutsBetweenClasses): layout as layout
8003
8004         * BufferView_pimpl.C (Dispatch): layout as layout
8005         (smartQuote): layout as layout
8006
8007         * BufferView2.C (unlockInset): layout as layout
8008
8009 2002-06-24  André Pönitz <poenitz@gmx.net>
8010
8011         * lyxfunc.C: fix #487
8012
8013 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8014
8015         * lyxrc.h:
8016         * lyxrc.C:
8017         * lyxfunc.C: remove display_shortcuts, show_banner
8018
8019 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8020
8021         * Buffer_pimpl.C: oops, update on resize
8022
8023 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8024
8025         * buffer.C:
8026         * converter.C:
8027         * exporter.C:
8028         * lyxfunc.C:
8029         * BufferView.h:
8030         * BufferView.C: use repaint()
8031
8032         * BufferView_pimpl.h:
8033         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8034           as it's a clearer description. Remove superfluous
8035           redraws.
8036
8037 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8038
8039         * text.C: fix bug 488. Not ideal, but getting
8040           getWord() to work properly for the insets that
8041           matter is more difficult ...
8042
8043 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8044
8045         * BufferView_pimpl.C:
8046         * LyXAction.C:
8047         * commandtags.h:
8048         * lyxfunc.C: remove the six million index lyxfuncs to just
8049           one, and DTRT (bug 458)
8050
8051 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8052
8053         * BufferView.h:
8054         * BufferView.C:
8055         * BufferView_pimpl.h:
8056         * BufferView_pimpl.C: clean up resize() stuff,
8057           and unnecessary updateScreen()s
8058
8059 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8060
8061         * BufferView.h:
8062         * BufferView.C:
8063         * BufferView_pimpl.h:
8064         * BufferView_pimpl.C:
8065         * lyxfind.h:
8066         * lyxfind.C:
8067         * minibuffer.C: remove focus management of workarea,
8068           not needed. Use screen's greyOut()
8069
8070 2002-06-17  Herbert Voss  <voss@lyx.org>
8071
8072         * converter.C: (convert) do not post a message, when converting
8073         fails, let the calling function decide what to do in this case
8074
8075 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8076
8077         * lyxfunc.C: tidy up a little
8078
8079 2002-06-16    <alstrup@diku.dk>
8080
8081         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8082         Got rid of FORMS_H_LOCATION include. Now we are
8083         GUII.
8084
8085 2002-06-15  LyX Development team  <lyx@rilke>
8086
8087         * buffer.[Ch] (sgmlOpenTag):
8088         (sgmlCloseTag): Added support for avoiding pernicious mixed
8089         content. Return number of lines written.
8090
8091         (makeLinuxDocFile):
8092         (makeDocBookFile): Fixed calls to sgml*Tag.
8093         Simple white space clean.
8094
8095         (simpleDocBookOnePar): Simple white space clean.
8096
8097         * tabular.[Ch] (docBook): Renamed to docbook and got another
8098         argument to related with the pernicious mixed content.
8099
8100         (docbookRow): Fixed calls for docbook inset method.
8101
8102 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8103
8104         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8105         so it's X11 independent.
8106
8107         * kb*.[Ch]: ditto.
8108
8109         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8110
8111 2002-06-15  Lyx Development team  <lyx@electronia>
8112
8113         * intl.h: Renamed getTrans to getTransManager.
8114
8115 2002-06-14  Angus Leeming  <leeming@lyx.org>
8116
8117         * Makefile.am: nuke forgotten stl_string_fwd.h.
8118
8119 2002-06-12  Angus Leeming  <leeming@lyx.org>
8120
8121         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8122
8123 2002-06-13  Angus Leeming  <leeming@lyx.org>
8124
8125         * LaTeX.C:
8126         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8127
8128 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8129
8130         * kbmap.C (getiso): add support for cyrillic and greek
8131
8132 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8133
8134         * BufferView.h:
8135         * BufferView.C:
8136         * BufferView_pimpl.h:
8137         * BufferView_pimpl.C: move bogus scrolling logic
8138           to xforms
8139
8140 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8141
8142         * lyxfunc.C:
8143         * BufferView_pimpl.C: view->resize() change
8144
8145 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8146
8147         * BufferView_pimpl.C: topCursorVisible
8148           prototype change
8149
8150 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8151
8152         * Makefile.am:
8153         * lyx_gui.h:
8154         * lyx_gui.C: move to frontends/
8155
8156         * main.C:
8157         * lyx_main.h:
8158         * lyx_main.C: changes from above
8159
8160 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8161
8162         * intl.C:
8163         * intl.h:
8164         * kbmap.C:
8165         * kbsequence.C:
8166         * lyx_cb.C:
8167         * lyx_main.C: minor tidy
8168
8169 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8170
8171         * BufferView_pimpl.h:
8172         * BufferView_pimpl.C:
8173         * BufferView.h:
8174         * BufferView.C: make painter() const,
8175           remove dead code
8176
8177         * BufferView2.C: use screen() accessor
8178
8179         * lyx_main.h:
8180         * lyx_main.C: some minor cleanup
8181
8182 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8183
8184         * BufferView_pimpl.h:
8185         * BufferView_pimpl.C: remove enter/leaveView,
8186           use workHeight()
8187
8188 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8189
8190         * BufferView.h:
8191         * BufferView.C:
8192         * BufferView2.C:
8193         * BufferView_pimpl.h:
8194         * BufferView_pimpl.C: only construct screen once,
8195           rename
8196
8197         * lyxrc.C: remove pointless comment
8198
8199 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8200
8201         * BufferView.h:
8202         * BufferView.C: remove active() and belowMouse()
8203
8204         * BufferView_pimpl.h:
8205         * BufferView_pimpl.C: use workarea() not workarea_,
8206           and make it use a scoped_ptr instead
8207
8208 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8209
8210         * lyx_gui.C: add debug message on BadWindow
8211
8212 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8213
8214         * sp_spell.C: fdopen is not part of the C++ standard.
8215
8216         * paragraph.C (InsetIterator): use >= instead of ==
8217
8218 2002-06-07  Angus Leeming  <leeming@lyx.org>
8219
8220         Fixes needed to compile with Compaq cxx 6.5.
8221         * BufferView_pimpl.C:
8222         * DepTable.C:
8223         * buffer.C:
8224         * converter.C:
8225         * encoding.C:
8226         * lyx_gui.C:
8227         * lyx_main.C:
8228         * lyxtextclasslist.C:
8229         * minibuffer.C:
8230         * sp_spell.C:
8231         * tabular_funcs.C:
8232         * vc-backend.C:
8233         all c-library variables have been moved into namespace std. Wrap
8234         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8235
8236         * lyxlength.C:
8237         * tabular-old.C:
8238         * tabular.C:
8239         Add a using std::abs declaration.
8240
8241         * kbmap.h (modifier_pair):
8242         * paragraph.h (InsetTable, InsetList):
8243         * lyxfont.h (FontBits):
8244         type definition made public.
8245
8246         * bufferlist.C (emergencyWriteAll): the compiler complains that
8247         there is more than one possible lyx::class_fun template to choose from.
8248         I re-named the void specialisation as lyx::void_class_fun.
8249
8250         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8251
8252         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8253         the compiler is is unable to find tostr in write_attribute.
8254
8255 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8256
8257         * buffer.C (sgmlError): hide #warning
8258
8259 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8260
8261         * xtl/*: get rid of xtl, which is not in use anyway
8262
8263         * LyXAction.C (init):
8264         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8265         were unimplemented xtl experimentation
8266
8267 2002-06-04  André Pönitz <poenitz@gmx.net>
8268
8269         * lyxfunc.C: disable array operation on simple formulae
8270
8271 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8272
8273         * converter.C: constify a bit
8274
8275 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8276
8277         * lyx_gui.C: check xforms version correctly
8278
8279 2002-04-30  Herbert Voss  <voss@lyx.org>
8280
8281         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8282         "keep" option
8283
8284 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8285
8286         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8287           attempt to register it with a VCS)
8288
8289 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8290
8291         * lyx_main.C (init): honor variables LYX_DIR_13x and
8292         LYX_USERDIR_13x
8293
8294 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8295
8296         * buffer.h:
8297         * buffer.C:
8298         * lyx_main.C: fix a crash on bad command line,
8299           and give a useful exit status on error
8300
8301         * lyxfunc.C (doImport): allow -i lyx to work
8302
8303 2002-03-30  André Pönitz <poenitz@gmx.net>
8304
8305         * lyxfunc.C: mathed font changes
8306
8307 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8308
8309         * LaTeX.C:
8310         * importer.h:
8311         * importer.C:
8312         * lyx_sty.h:
8313         * lyx_sty.C:
8314         * lyxlex.C:
8315         * lyxrow.h:
8316         * lyxtext.h:
8317         * paragraph.h:
8318         * paragraph.C:
8319         * texrow.h:
8320         * texrow.C:
8321         * text.C:
8322         * trans_mgr.h: srcdocs, and some minor cleanups
8323
8324 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8325
8326         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8327         call getFont all the time)
8328
8329 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8330
8331         * switch from SigC signals to boost::signals
8332
8333 2002-05-29  André Pönitz <poenitz@gmx.net>
8334
8335         * paragraph_pimpl.C (getChar): don't call size() too often...
8336
8337 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8338
8339         * paragraph_pimpl.C (insertChar): do not try to update tables when
8340         appending (pos == size())
8341
8342         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8343         in order to reduce drastically the number of comparisons needed to
8344         parse a large document
8345
8346 2002-05-29  André Pönitz <poenitz@gmx.net>
8347
8348         * text.C:
8349         * text2.C:
8350         * lyxtextclass.C:
8351         * sp_pspell.h:
8352         * textclasslist.[Ch]:
8353         * sp_ispell.h: whitespace change
8354
8355 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8356
8357         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8358         lyxaction directly now.
8359
8360 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8361
8362         * trans.C:
8363         * lyxfont.C:
8364         * lyxvc.C: remove unused headers
8365
8366 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8367
8368         * Makefile.am:
8369         * buffer.h:
8370         * undostack.h:
8371         * undostack.C:
8372         * undo_funcs.h:
8373         * undo_funcs.C: some cleanups. Use shared_ptr
8374           and a template for the undo stacks.
8375
8376 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8377
8378         * BufferView_pimpl.h:
8379         * BufferView_pimpl.C:
8380         * kbmap.h:
8381         * kbmap.C:
8382         * kbsequence.h:
8383         * kbsequence.C:
8384         * lyxfunc.h:
8385         * lyxfunc.C:
8386         * text2.C: use key_state/mouse_state
8387
8388 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8389
8390         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8391         and LSubstring
8392
8393         * chset.C: change include order
8394         (loadFile): use boost regex and get rid of LRegex and LSubstring
8395
8396         * Makefile.am (BOOST_LIBS): new variable
8397         (lyx_LDADD): use it
8398
8399         * LaTeX.C: change include order.
8400         (scanAuxFile): use boost regex and get rid of LRegex and
8401         LSubstring
8402         (deplog): ditto
8403
8404 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8405
8406         * ColorHandler.h:
8407         * ColorHandler.C:
8408         * FontInfo.h:
8409         * FontInfo.C: moved to frontends/xforms/
8410
8411         * FontLoader.h:
8412         * FontLoader.C: moved into frontends for GUIIzation
8413
8414         * Makefile.am:
8415         * lyx_gui.C:
8416         * lyxfont.C:
8417         * lyxfunc.C: changes from above
8418
8419 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8420
8421         * LColor.C: remove spurious X include
8422
8423         * BufferView_pimpl.C:
8424         * Makefile.am:
8425         * font.h:
8426         * font.C:
8427         * text.C:
8428         * text2.C: move font metrics to frontends/
8429
8430 2002-05-24  Juergen Vigna  <jug@sad.it>
8431
8432         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8433         setting the undo_cursor.
8434
8435         * ParagraphParameters.h: include local includes first.
8436
8437 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8438
8439         * BufferView_pimpl.C:
8440         * BufferView_pimpl.h:
8441         * Makefile.am:
8442         * WorkArea.h:
8443         * WorkArea.C:
8444         * screen.C: move WorkArea into frontends/
8445
8446         * lyxscreen.h:
8447         * screen.C:
8448         * text.C:
8449         * BufferView.C:
8450         * BufferView2.C: move LyXScreen into frontends/
8451
8452         * lyxlookup.h:
8453         * lyxlookup.C:
8454         * lyx_gui.C: move lyxlookup into frontends/xforms/
8455
8456 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8457
8458         * BufferView2.C:
8459         * BufferView_pimpl.C:
8460         * FontLoader.C:
8461         * LyXView.h:
8462         * LyXView.C:
8463         * Makefile.am:
8464         * WorkArea.C:
8465         * XFormsView.h:
8466         * XFormsView.C:
8467         * buffer.C:
8468         * bufferlist.C:
8469         * bufferview_funcs.C:
8470         * converter.C:
8471         * importer.C:
8472         * lyx_cb.C:
8473         * lyx_gui.C:
8474         * lyx_main.C:
8475         * lyx_find.C:
8476         * lyxfunc.C:
8477         * lyxvc.C:
8478         * minibuffer.C:
8479         * text.C:
8480         * text2.C:
8481         * trans.C:
8482         * vc-backend.C: move LyX/XFormsView into frontends/
8483
8484 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8485
8486         * Makefile.am:
8487         * PainterBase.C:
8488         * PainterBase.h:
8489         * Painter.C:
8490         * Painter.h:
8491         * WorkArea.C:
8492         * WorkArea.h:
8493         * screen.C:
8494         * tabular.C:
8495         * text.C:
8496         * text2.C: move Painter to frontends/
8497
8498 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8499
8500         * buffer.C: comment out some some code that depend upon lyx_format
8501         < 220
8502
8503         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8504         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8505
8506         * buffer.h (NO_COMPABILITY): turn off compability
8507
8508         * ColorHandler.C: include scoped_array.hpp
8509
8510         * font.C: Use more specific smart_ptr header.
8511         * Painter.C: ditto
8512         * gettext.C: ditto
8513         * ShareContainer.h: ditto
8514         * lyx_main.h: ditto
8515         * kbmap.h: ditto
8516         * FontInfo.h: ditto
8517         * BufferView_pimpl.h: ditto
8518         * ColorHandler.h: ditto
8519
8520         * kbmap.C (defkey): change call to shared_ptr::reset
8521
8522 2002-05-21  Juergen Vigna  <jug@sad.it>
8523
8524         * buffer.C (insertErtContents): fix to insert ert asis if it is
8525         non empty. Skip it completely if it contains only whitespaces.
8526
8527 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8528
8529         * BufferView_pimpl.C:
8530         * BufferView2.C: clear selection on paste (bug 393)
8531
8532 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8533
8534         * DepTable.C: include ctime
8535
8536 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8537
8538         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8539
8540 2002-05-14  Juergen Vigna  <jug@sad.it>
8541
8542         * text.C (breakParagraph): fixed function to honor the keepempty
8543         layout in the right maner and also to permit the right breaking
8544         algorithm on empty or non empyt keepempty paragraphs.
8545
8546         * paragraph.C (breakParagraph): we have to check also if the par
8547         is really empty (!size()) for isempty otherwise we do the wrong
8548         paragraph break.
8549
8550 2002-05-10  Juergen Vigna  <jug@sad.it>
8551
8552         * buffer.[Ch] : The following are only changes to the ert
8553         compatibility read reading old LaTeX layout and font stuff and
8554         convert it to ERTInsets.
8555
8556         * buffer.h: added isErtInset().
8557
8558         * buffer.C (struct ErtComp): add a fromlayout bool to check
8559         if we're inside a LaTeX layout.
8560         (isErtInset): new helper function.
8561         (insertErtContents): look for other ert insets before this one
8562         and insert the contents there, so that we don't have subsequent
8563         ERT insets with nothing between them. This way we create only one
8564         inset with multiple paragraphs. Also check if we don't insert only
8565         spaces ' ' as they are ignored anyway afterwards in the .tex file
8566         so if we have only spaces we will ignore this latex part in the
8567         new file.
8568         (parseSingleLyXformat2Token \\layout): better compatibility when
8569         reading layout-latex stuff.
8570         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8571         language tag.
8572         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8573         stuff after reading the inset only get the information back from
8574         the stack.
8575
8576 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8577
8578         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8579
8580         * LaTeXFeatures.C (getBabelOptions): New method.
8581
8582 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8583
8584         * BufferView_pimpl.C (Dispatch): work around missing argument for
8585         'layout'
8586
8587 2002-05-08  Juergen Vigna  <jug@sad.it>
8588
8589         * text.C (leftMargin): handle paragraph leftindent.
8590
8591         * paragraph.C (writeFile): write the new \\leftindent tag.
8592         (validate): handle leftindent code.
8593         (TeXEnvironment): handle paragraphleftindent code again.
8594
8595         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8596
8597         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8598         for paragrap_extra indent code and new token \\leftindent.
8599         (latexParagraphs): handle the leftindent as environment.
8600
8601         * ParameterStruct.h: added leftindent support.
8602
8603         * ParagraphParameters.C (leftIndent): added support functions for
8604         the paragraph left indent.
8605
8606         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8607         more appropriate.
8608
8609 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8610
8611         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8612         inside insetERT.
8613
8614         * text.C (computeBidiTables): No bidi in insetERT.
8615
8616         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8617         in RTL documents.
8618
8619 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8620
8621         * version.C.in: pre 5
8622
8623 2002-05-02  José Matos  <jamatos@fep.up.pt>
8624         * buffer.C (makeDocBookFile): white space changes, add newline to
8625         command styles.
8626         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8627
8628         * tabular.C (docBook): fix typo.
8629
8630 2002-05-03  Juergen Vigna  <jug@sad.it>
8631
8632         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8633         change in LyXText as we can not be sure it was not freed.
8634         (drawOneRow): remove unused code.
8635
8636         * text.C (drawInset): redo the calculation of the need_break_row as
8637         it could have a row which was already freed.
8638         (draw): look at the return value of drawInset and return false if
8639         it also returned false.
8640         (paintRowText): look at the return value of draw and return false if
8641         it also returned false.
8642
8643         * lyxtext.h: added bool return type to drawInset() and draw() so that
8644         if we have a change in the row so that the rowbreak has to be redone
8645         we abort drawing as it will be called again.
8646
8647 2002-05-02  Juergen Vigna  <jug@sad.it>
8648
8649         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8650         a change in the maintext also if we're inside an inset.
8651         (Dispatch): set the cursor again after a break line and after the
8652         screen has been updated as it could be we're in a different row.
8653
8654         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8655         to set the cursor behind the pargraph with > size().
8656         (setCursor): check also for the same paragraph when checking where
8657         to put the cursor if we have a NFR inset.
8658
8659         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8660         parts of layout read further up as it still was in the wrong
8661         position.
8662
8663 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8664
8665         * screen.C (drawFromTo): change sine fullRebreak always return
8666         true.
8667
8668         * buffer.C (parseSingleLyXformat2Token): reindent some
8669
8670         * BufferView_pimpl.C (update): change since fullRebreak always
8671         return true.
8672         (Dispatch): git rid of the last hardcoded "Standard"s.
8673
8674 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8675
8676         * text2.[Ch] (fullRebreak): make it return void now that we always
8677         returned true.
8678
8679 2002-04-30  Juergen Vigna  <jug@sad.it>
8680
8681         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8682         ert compatibility check for "latex" layout.
8683
8684 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8685
8686         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8687         minipages: use col% instead of p%, and also use the current font.
8688         (makeLaTeXFile): Fix use babel condition.
8689         (parseSingleLyXformat2Token): Correct font when reading old floats.
8690
8691 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8692
8693         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8694         inserting list of floats.
8695
8696 2002-04-25  Herbert Voss  <voss@lyx.org>
8697
8698         * MenuBackend.C (expand): don't add the graphics extensions to the
8699         export menu
8700
8701 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8702
8703         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8704         non-existing layout, do not complain if it was the default layout
8705         of the original class (bug #342)
8706
8707 2002-04-24  Juergen Vigna  <jug@sad.it>
8708
8709         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8710         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8711
8712 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8713
8714         * buffer.C (getBibkeyList): If using \bibliography, return the
8715         option field with the reference itself. Enables us to provide natbib
8716         support when using \bibliography.
8717
8718 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8719
8720         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8721
8722         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8723         natbib is provided by the LaTeX class.
8724
8725 2002-04-23  Juergen Vigna  <jug@sad.it>
8726
8727         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8728         Wakeup functions.
8729
8730         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8731
8732 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8733
8734         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8735
8736         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8737         ensuremath around textordmasculine, textordfeminine and
8738         textdegree.
8739
8740 2002-04-19  Juergen Vigna  <jug@sad.it>
8741
8742         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8743         reinitializing the buffer otherwise row-dimensions may be wrong.
8744         (update): reset also the selection cursors if they do exits otherwise
8745         their x/y positions may be wrong.
8746
8747         * text2.C (cursorDown): don't enter the inset if we came from a row
8748         above and are one row over the inset.
8749
8750         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8751         really leaving an inset.
8752
8753 2002-04-18  Juergen Vigna  <jug@sad.it>
8754
8755         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8756         of the selected paragraph does not have the selected layout also if
8757         the last one had!
8758
8759         * text2.C (setLayout): fixed bug which did not change last selected
8760         paragraph.
8761
8762         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8763         changed the read and substituted \\end_float with \\end_inset!
8764
8765         * BufferView_pimpl.C (cursorPrevious):
8766         (cursorNext): fixed to make it work with rows heigher than the work
8767         area without moving the cursor only the draw of the row.
8768         (workAreaMotionNotify): fix jumping over high rows.
8769
8770 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8771
8772         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8773         Ressler.
8774
8775 2002-04-16  Juergen Vigna  <jug@sad.it>
8776
8777         * text2.C (setCursor): set also the irow().
8778         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8779         (cursorUp):
8780         (cursorDown): support for locking an inset if the x_fix value goes
8781         inside it. That way I can transverse insets too with cursor up/down.
8782
8783         * lyxrow.h: added irow helper function same as other (i) functions.
8784
8785         * BufferView_pimpl.C (cursorPrevious):
8786         (cursorNext): fixed for insets!
8787
8788 2002-04-15  Juergen Vigna  <jug@sad.it>
8789
8790         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8791         position otherwise it is wrong in some cases.
8792
8793         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8794         inside the inset before the call.
8795
8796 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8797
8798         * buffer.[Ch] (getBibkeyList): make it const.
8799
8800 2002-04-12  Juergen Vigna  <jug@sad.it>
8801
8802         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8803
8804         * text2.C (getCursorX): new helper function
8805         (setCursor): compute also ix_
8806         (setCursorFromCoordinates): set also ix.
8807
8808         * lyxcursor.h: added ix_ and helper functions.
8809
8810         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8811
8812         * buffer.C (insertStringAsLines): dont break paragraph if the this
8813         paragraph is inside an inset which does not permit it!
8814
8815         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8816         also with no chars on this paragraph.
8817         (paintRowText): only paint stuff if it's inside the workarea!
8818
8819         * paragraph.C (breakParagraph): honor keepempty flag and break the
8820         paragraph always below not above.
8821
8822         * BufferView2.C (unlockInset): update the paragraph layout on inset
8823         unlock as we changed paragraph in such a case.
8824
8825         * lyxfind.C (LyXFind): clear the former selection if not found!
8826
8827         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8828         again called in insertChar().
8829
8830         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8831         an inset which uses the whole row!
8832         (rightMargin): ditto.
8833         (insertChar): force a rebreak if we inserted an inset!
8834
8835 2002-03-28  Herbert Voss  <voss@lyx.org>
8836
8837         * lyxlength.[Ch]: add inBP() to get the right PS-point
8838         units (BigPoint). With inPixels we have rounding errors
8839
8840 2002-04-11  Juergen Vigna  <jug@sad.it>
8841
8842         * text2.C (setCursorFromCoordinates): set iy to the right value.
8843         (setCursor): add check if row->previous exists!
8844
8845         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8846         an old float_type as this was the case in the old code!
8847
8848         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8849
8850         * BufferView2.C (showLockedInsetCursor): use iy
8851         (fitLockedInsetCursor): ditto
8852
8853         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8854         locked insets as there we have the right value now.
8855
8856         * lyxcursor.C: added iy_ variable and iy functions to set to the
8857         baseline of cursor-y of the locked inset.
8858
8859         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8860         (setCursor): fixed for insets which need a full row.
8861
8862         * text.C (rowLastPrintable): don't ignore the last space when before
8863         an inset which needs a full row.
8864         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8865         as last character of a row when before a inset which needs a full row.
8866
8867 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8868
8869         * version.C.in: update date
8870
8871         * text2.C (fullRebreak): try to always return true and see what
8872         happens...
8873
8874 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8875
8876         * MenuBackend.C (expand): use Floating::listName
8877
8878         * FloatList.C (FloatList): add listName argument to the built-in
8879         floats
8880
8881         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8882         text associated with the float.
8883
8884 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8885
8886         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8887
8888 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8889
8890         * ShareContainer.h: add a couple of missing typenames.
8891
8892 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8893
8894         * lyxrc.C (getDescription): use _() correctly rather than N_().
8895
8896 2002-03-28  Herbert Voss  <voss@lyx.org>
8897
8898         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8899         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8900
8901 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8902
8903         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8904         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8905
8906 2002-03-29  Juergen Vigna  <jug@sad.it>
8907
8908         * lyxfunc.C (dispatch): add a missing fitCursor call.
8909
8910         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8911         it was scrolled by a cursor move, so return the bool status.
8912
8913         * BufferView.C (fitCursor): return the bool flag also to the outside
8914         world as this is needed.
8915
8916         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8917
8918         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8919         call the edit() as it is not needed (and wrong) IMO.
8920         (workAreaButtonPress): set the screen_first variable before evt.
8921         unlock the inset as this may change screen_first and then we have
8922         a wrong y position for the click!
8923
8924 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8925
8926         * MenuBackend.C (expand): another translation that I missed
8927
8928 2002-03-28  Juergen Vigna  <jug@sad.it>
8929
8930         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8931
8932         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8933
8934 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8935
8936         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8937
8938         * MenuBackend.C (expand): fix export/view/update when there is no
8939         document open.
8940
8941 2002-03-27  Herbert Voss  <voss@lyx.org>
8942
8943         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8944         and text%
8945
8946 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8947
8948         * bufferview_funcs.C (currentState): only show paragraph number
8949         for is DEVEL_VERSION is set.
8950
8951         * lyxfunc.C (dispatch): put warning in INFO channel
8952
8953         * MenuBackend.C (expand): translate the name of floats
8954
8955         * FloatList.C (FloatList): mark the float names for translation
8956
8957         * converter.C (convert): use LibScriptSearch
8958
8959 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8960
8961         * MenuBackend.C (defaults): fix default menu (we might as well get
8962         rid of it...)
8963
8964 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8965
8966         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8967         directory.
8968
8969 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8970
8971         * lyxvc.C: reorder includes.
8972
8973 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8974
8975         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8976           properly
8977
8978 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8979
8980         * CutAndPaste.C: change layouts earlier on paste
8981           to avoid crashing when calling getFont()
8982
8983 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8984
8985         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8986         irritating #error.
8987
8988 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8989
8990         * WorkArea.C: remove 'Pending' debug message.
8991
8992         * most files: ws cleanup
8993
8994         * buffer.[Ch]: ws changes
8995
8996         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8997
8998 2002-03-21  Juergen Vigna  <jug@sad.it>
8999
9000         * tabular.C (SetMultiColumn): collapse also the contents of the
9001         cells and set the last border right. Added a Buffer const * param.
9002
9003 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9004
9005         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9006         linking or not.
9007
9008 2002-03-19  Juergen Vigna  <jug@sad.it>
9009
9010         * text2.C (clearSelection): reset also xsel_cache.
9011
9012         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9013         where it needs to be called (John tells us to do so too :)
9014         (selectionLost): reset sel_cache.
9015
9016         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9017
9018 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9019
9020         * text2.C (setCursorIntern): put debuging code in INSETS channel
9021
9022 2002-03-19  André Pönitz <poenitz@gmx.net>
9023
9024         * lyxfunc.C: tiny whitespace change
9025
9026 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9027
9028         * ToolbarDefaults.C (init):
9029         * LyXAction.C (init):
9030         * commandtags.h:
9031         * BufferView_pimpl.C (Dispatch):
9032         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9033
9034 2002-03-19  Allan Rae  <rae@lyx.org>
9035
9036         * exporter.C (Export): removeAutoInsets before doing anything else.
9037         While I've just introduced a dependency on BufferView this really is
9038         the best place to clean the buffer otherwise you need to cleanup in
9039         a dozen places before calling export or cleanup in a dozen functions
9040         that export calls.
9041
9042         * converter.C (runLaTeX):
9043         (scanLog): Better handling of removeAutoInsets and screen updates.
9044
9045         * lyxfunc.C (dispatch): small whitespace changes
9046
9047 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9048
9049         * WorkArea.C (C_WorkAreaEvent): return a value.
9050         (event_cb): return 1 if we handled the event, 0 otherwise.
9051
9052         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9053
9054 2002-03-18  Juergen Vigna  <jug@sad.it>
9055
9056         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9057         (GetAdditionalWidth): ditto.
9058         (RightLine): ditto.
9059         (LeftLine): ditto.
9060
9061         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9062         inset if we're there actually (probably not used right now but this
9063         is the direction to go for unifying code).
9064         (paste): disable code to clear the selection.
9065
9066         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9067         inside an InsetText and move the check further up as it is in the
9068         wrong place.
9069
9070         * text2.C (pasteSelection): set a selection over the pasted text.
9071
9072 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9073
9074         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9075         and libgraphics to build on Cygwin.
9076
9077 2002-03-15  Juergen Vigna  <jug@sad.it>
9078
9079         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9080         inserting an Inset into the paragraph. I know this is not the best
9081         fix but we already use current_view in CutAndPaste so we will remove
9082         all of it's using at the same time.
9083
9084         * buffer.C (sgmlError): deactivated function till it is rewritten in
9085         the right mode, now it can create problems.
9086
9087         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9088         before accessing it.
9089
9090 2002-03-14  Juergen Vigna  <jug@sad.it>
9091
9092         * undo_funcs.C (textHandleUndo): do the right thing when updating
9093         the inset after the undo/redo.
9094
9095         * text2.C (setCursor): just some testcode for #44 not ready yet.
9096
9097         * undo_funcs.C (textHandleUndo): set the next() and previous()
9098         pointers of the paragraph to 0 before deleting otherwise we have
9099         problems with the Paragraph::[destructor].
9100
9101         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9102         on a paragraph insertion.
9103
9104 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9105
9106         * buffer.C (asciiParagraph): use += operator for char append to
9107         string.
9108
9109         * paragraph.C (getFontSettings): compare >= not just >
9110         (highestFontInRange): ditto
9111         (setFont): ditto
9112
9113 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9114
9115         * paragraph.C: change several algorithm to be more appripriate for
9116         the problem domain. This is lookip in FontList and in the InsetList.
9117
9118 2002-03-13  André Pönitz <poenitz@gmx.net>
9119
9120         * commandtags.h:
9121         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9122
9123 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9124
9125         * commandtags.h:
9126         * LyXAction.C:
9127         * lyxfunc.C:
9128         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9129
9130 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9131
9132         * Painter.C (display): anon helper function, adjust code for this
9133         change.
9134         (pixmap): remove function.
9135
9136         * Painter.h: remove private display variable.
9137
9138         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9139
9140 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9141
9142         * WorkArea.[Ch]: remove figinset_canvas cruft.
9143
9144 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9145
9146         * lyxtextclass.C (operator): add one item cache optimization.
9147
9148         * bufferlist.h: doxy changes
9149
9150         * bufferlist.C: ws changes
9151
9152         * DepTable.[Ch] (ext_exist): place const in the right spot.
9153
9154         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9155         call resizeInsets.
9156         (workAreaExpose): call resizeInsets when the with BufferView changes.
9157         (Dispatch): adjust for protectedBlank removal
9158         (specialChar): call updateInset if the insert went ok.
9159
9160         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9161         specialChar instead.
9162
9163         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9164
9165         * BufferView.h: doxy change
9166
9167         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9168
9169         * lyxtextclass.C (operator[]): remove non-const version
9170         (defaultLayout): remove non-const version
9171
9172 2002-03-12  Juergen Vigna  <jug@sad.it>
9173
9174         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9175         did resize the LyXText too.
9176
9177         * buffer.C (readLyXformat2): set layout information on newly allocated
9178         paragraphs.
9179
9180         * tabular.C (OldFormatRead): set layout information on the paragraph.
9181
9182 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9183
9184         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9185
9186 2002-03-11  Juergen Vigna  <jug@sad.it>
9187
9188         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9189         plainly wrong.
9190         (resizeCurrentBuffer): force also the insets to resize themselfes.
9191         (moveCursorUpdate): fixed up for InsetText.
9192
9193 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9194
9195         * commandtags.h:
9196         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9197         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9198         value of Dialogs::tooltipsEnabled().
9199         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9200
9201 2002-03-08  Juergen Vigna  <jug@sad.it>
9202
9203         * BufferView_pimpl.C (updateInset): update inset inside inset also
9204         if it isn't inside theLockingInset().
9205
9206 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9207
9208         * buffer.C (asciiParagraph): redo some of the word and line length
9209         handling.
9210         (getLists): look for Caption instead of caption.
9211
9212 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9213
9214         * buffer.C (Buffer): initialize niceFile to true
9215         (makeLaTeXFile):
9216         (makeLinuxDocFile):
9217         (makeDocBookFile): make sure niceFile is true on exit
9218
9219 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9220
9221         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9222
9223 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9224
9225         * LyXSendto.C: remove.
9226         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9227         * lyx_gui.C: remove now-redundant comment.
9228         * ColorHandler.h: remove forward declaration of class WorkArea.
9229         * lyxfunc.C: remove #include "WorkArea.h".
9230
9231 2002-03-07  Juergen Vigna  <jug@sad.it>
9232
9233         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9234         got moved away with the DEPM and also set the inset_owner always
9235         right which before could have been omitted.
9236
9237 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9238
9239         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9240         wanted layout is not found.
9241
9242 2002-03-07  Juergen Vigna  <jug@sad.it>
9243
9244         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9245
9246 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9247
9248         * paragraph.C (breakParagraph): use default layout not layout of
9249         prev paragraph.
9250         (Paragraph): clear ParagraphParameters.
9251
9252 2002-03-06  Juergen Vigna  <jug@sad.it>
9253
9254         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9255         otherwise it would not be a valid lenght. Fixed a special case in
9256         the minipage compatibility read where we end the document with a
9257         minipage.
9258
9259         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9260         was set as it could be 0 for InsetTexts first entry.
9261
9262 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9263
9264         * paragraph.C (writeFile): if layout is empty write out
9265         defaultLayoutName().
9266
9267         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9268         file without named layout we set layout to defaultLayoutName().
9269
9270 2002-03-06  Juergen Vigna  <jug@sad.it>
9271
9272         * CutAndPaste.C (copySelection): set layout for new paragraph.
9273
9274         * text.C (prepareToPrint): leave ERT inset left aligned
9275         (leftMargin): don't indent paragraphs inside ERT insets
9276
9277 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9278
9279         * paragraph.C (breakParagraph): dont call clear do the work manually
9280
9281         * paragraph.[Ch] (clear): remove function
9282
9283 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9284
9285         * paragraph.C (Paragraph): dont call clear, the work has already
9286         been done.
9287
9288         * lyxtextclass.C (operator): assert if n is empty
9289
9290         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9291         work manually instead.
9292
9293 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9294
9295         * BufferView_pimpl.C: protect selectionLost against text == 0
9296
9297 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9298
9299         * text.C (breakParagraph): fix a setting layout to '0' problem.
9300
9301 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9302
9303         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9304         final location of file, for the included files, and graphics.
9305
9306 2002-03-05  Juergen Vigna  <jug@sad.it>
9307
9308         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9309
9310 2002-03-04  Juergen Vigna  <jug@sad.it>
9311
9312         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9313
9314         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9315         last column of multicolumn cells.
9316         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9317
9318 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9319
9320         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9321         file if it doesn't go to a temporary file.
9322
9323         * buffer.C (sgmlOpenTag):
9324         (sgmlCloseTag):  remove extra newline insertion.
9325
9326 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9327
9328         * text.C (getRowNearY): comment out debug msg
9329
9330 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9331
9332         * text2.C: first -> first_y
9333
9334         * text.C (getRowNearY): add some attemts at a possible
9335         optimization, not working.
9336
9337         * tabular.[Ch]: add BufferParams to several function so that newly
9338         created paragraph can be initialized to he default layotu for the
9339         buffers textclass.
9340
9341         * tabular-old.C (ReadOld): add buf->params to call of Init
9342
9343         * screen.C: rename text->first to text->first_y
9344
9345         * paragraph.C (breakParagraph): always set layout in the broken
9346         paragraph
9347
9348         * lyxtextclass.C (Read): remove lowercase
9349         (hasLayout): ditto
9350         (operator): ditto
9351         (delete_layout): ditto
9352
9353         * lyxtext.h: rename first -> first_y
9354
9355         * lyxlayout.C (Read): remove lowercase
9356         (name): ditto
9357         (setName): ditto
9358         (obsoleted_by): ditto
9359
9360         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9361
9362         * buffer.C (insertErtContents): add params are to InsetERT
9363         (parseSingleLyXformat2Token): add code to check if a paragraphs
9364         layout really exist.
9365         (parseSingleLyXformat2Token): add params to several inset
9366         constructors
9367         (asciiParagraph): remove lowercase, do the layout comparisons with
9368         no_case
9369
9370         * BufferView_pimpl.C (cursorNext): first -> first_y
9371         (resizeCurrentBuffer): first -> first_y
9372         (updateScrollbar): first -> first_y
9373         (scrollCB): first -> first_y
9374         (workAreaMotionNotify): first -> first_y
9375         (workAreaButtonPress): first -> first_y
9376         (checkInsetHit): first -> first_y
9377         (cursorPrevious): first -> first_y
9378         (cursorNext): first -> first_y
9379         (Dispatch): add buffer_->params to severl inset contructors
9380
9381 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9382
9383         * lyxlayout.C (Read): remove some debug info that I forgot.
9384
9385         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9386         clean up the code slightly.
9387         (makeLinuxDocFile): ditto
9388         (makeDocBookFile): ditto
9389
9390         * text2.C: layout as string
9391
9392         * text.C: layout as string
9393
9394         * paragraph_pimpl.C: layout as string
9395
9396         * paragraph.[Ch]: layout as string
9397
9398         * lyxtextclasslist.[Ch]: layout as string
9399
9400         * lyxtextclass.[Ch]: layout as string
9401
9402         * lyxtext.h: layout as string
9403
9404         * lyxlayout.[Ch]: layout as string
9405
9406         * lyx_cb.C: layout as string
9407
9408         * bufferview_funcs.C: layout as string
9409
9410         * bufferparams.C: layout as string
9411
9412         * buffer.C: layout as string
9413
9414         * LyXView.[Ch]: layout as string
9415
9416         * LaTeXFeatures.[Ch]: layout as string
9417
9418         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9419
9420         * BufferView_pimpl.C: change current_layout to string, remove
9421         lyx::layout_type.
9422         (Dispatch):
9423         (smartQuote):
9424         (insertInset):
9425         (workAreaButtonRelease): layout as string
9426
9427         * BufferView2.C (unlockInset): adjust
9428
9429         * vspace.C (asLatexCommand): use an explict temp variable.
9430
9431 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9432
9433         * Makefile.am: use FRONTEND_*
9434
9435 2002-03-01  Juergen Vigna  <jug@sad.it>
9436
9437         * tabular.C (SetWidthOfMulticolCell): changed to something better
9438         I hope but still work in progress.
9439         (recalculateMulticolumnsOfColumn): renamed function from
9440         recalculateMulticolCells as it is more appropriate now.
9441         (SetWidthOfCell): calculate multicols better.
9442
9443 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9444
9445         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9446
9447         * lyxfunc.C (processKeySym): print sequence also if it is
9448         `deleted' (complete)
9449
9450         * kbsequence.C (print): print sequence even if it is deleted
9451         (complete would be a better word, actually).
9452
9453         * lyxfunc.C (dispatch): print complete options after a prefix key
9454
9455         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9456
9457 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9458
9459         * text2.C (setCharFont): eliminate setCharFont code duplication.
9460
9461 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9462
9463         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9464         LFUN_TABULAR_FEATURE (bug #177)
9465
9466 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9467
9468         * Makefile.am: remove figure.h
9469
9470 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9471
9472         * Bufferview_pimpl.C:
9473         * CutAndPasteC:
9474         * LaTeX.C:
9475         * LyXSendto.C:
9476         * buffer.C:
9477         * bufferlist.C:
9478         * converter.C:
9479         * language.C:
9480         * lyxfunc.C:
9481         * lyxvc.C:
9482         * paragraph.C:
9483         * text.C:
9484         * text2.C: remove #include "lyx_gui_misc.h".
9485
9486         * LaTeX.C: added #include <cstdio>
9487
9488 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9489
9490         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9491         that the paragraph following this one can have.
9492
9493         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9494
9495         * vspace.C (asLatexCommand): fix bogus gcc warning
9496
9497         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9498
9499 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9500
9501         * text2.C (setLayout): get rid of redundant code
9502
9503 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9504
9505         * text2.C (incDepth): make sure depth cannot be increased beyond
9506         reasonable values.
9507
9508 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9509
9510         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9511         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9512
9513         * PainterBase.h (image):
9514         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9515         a LyXImage const *.
9516
9517 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9518
9519         * BufferView.C:
9520         * BufferView.h:
9521         * BufferView_pimpl.C:
9522         * BufferView_pimpl.h:
9523         * LaTeXFeatures.C:
9524         * LyXAction.C:
9525         * LyXView.C:
9526         * Makefile.am:
9527         * UpdateList.h:
9528         * UpdateList.C:
9529         * buffer.C:
9530         * figure.h:
9531         * figureForm.C:
9532         * figureForm.h:
9533         * figure_form.C:
9534         * figure_form.h:
9535         * lyx_cb.C:
9536         * lyx_gui.C:
9537         * lyx_gui_misc.C:
9538         * lyxfunc.C:
9539         * sp_base.h:
9540         * sp_ispell.h:
9541         * sp_pspell.h:
9542         * sp_spell.C: remove fig inset, and the crap house of
9543           cards that follows it
9544
9545 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9546
9547         * Makefile.am:
9548         * lyxserver.C:
9549         * os2_defines.h:
9550         * os2_errortable.h:
9551         * nt_defines.h: move .h into support/
9552
9553         * vms_defines.h: remove
9554
9555         * WorkArea.C: add space in debug output
9556
9557         * text2.C:
9558         * paragraph.C:
9559         * buffer.C: add WITH_WARNINGS
9560
9561         * vc-backend.h:
9562         * vc-backend.C:
9563         * bufferlist.C: s/retrive/retrieve/, add docs
9564
9565         * vspace.h:
9566         * vspace.C:
9567         * kbmap.h:
9568         * lyxlength.h:
9569         * lyxgluelength.h:
9570         * length_common.h:
9571         * chset.h:
9572         * chset.C: add docs
9573
9574         * lyxgui.C: add ID to X error handler
9575
9576         * lyxtestclass.c: fix typo
9577
9578 2002-02-26  Juergen Vigna  <jug@sad.it>
9579
9580         * tabular_funcs.C (write_attribute): changed so that some default
9581         attributes are not written at all.
9582         (getTokenValue): set default values before trying to read the
9583         value so we have the return value always set as default if we don't
9584         find the token we search for.
9585
9586         * tabular.C (Write): write bools as bools not as strings!
9587
9588 2002-02-22  Juergen Vigna  <jug@sad.it>
9589
9590         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9591         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9592
9593         * text.C (leftMargin): don't add an indent for paragraphs inside
9594         tabular cells (fix #208).
9595
9596 2002-02-21  José Matos  <jamatos@fep.up.pt>
9597
9598         * tabular.C (docBook): fixed support for long tables.
9599
9600 2002-02-20  Juergen Vigna  <jug@sad.it>
9601
9602         * text2.C (getFont): get the drawing font of the Inset if this
9603         paragraph is inside an inset (only important for InsetERT for now).
9604
9605         * buffer.C (insertErtContents): use new lanugage params in ERT
9606         constructor.
9607
9608         * CutAndPaste.C: commenting out seemingly uneeded code.
9609
9610 2002-02-19  Allan Rae  <rae@lyx.org>
9611
9612         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9613         Iterators might be simple to use but they also get invalidated.
9614         (removeAutoInsets): renamed saved cursor tracking variables and added
9615         some comments to clarify what everything does.
9616
9617 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9618
9619         * Chktex.C:
9620         * LaTeX.C:
9621         * LyXSendto.C:
9622         * converter.C:
9623         * lyx_cb.C:
9624         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9625         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9626
9627         * lyxfunc.C:
9628         * vc-backend.h: remove #include "support/syscall.h"
9629
9630         * LaTeX.C:
9631         * LyXSendto.C:
9632         * converter.C: rearrange #includes in Lars' approved fashion.
9633
9634         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9635         forward declare class Timeout in the header file.
9636
9637         * XFormsView.C: changes due to the above.
9638
9639         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9640         similar to LyXView.
9641
9642         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9643         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9644
9645 2002-02-18  José Matos  <jamatos@fep.up.pt>
9646
9647         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9648         insets contents.
9649
9650 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9651
9652         * a lot of small ws changes
9653         * add a lot of using std::XXX
9654         * use std construcs some places where approp.
9655         * use some exisint stuff from lyxfunctional where approp.
9656         * Make file changes to use partial linking (lets test this now...)
9657
9658 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9659
9660         * Chktex.C:
9661         * buffer.C:
9662         remove #include "support/syscontr.h" as it's redundant. Always has been.
9663
9664         * Chktex.C:
9665         * LaTeX.C:
9666         * LyXSendto.C:
9667         * converter.C:
9668         * lyx_cb.C:
9669         * vc-backend.C:
9670         change Systemcalls::System to Systemcalls::Wait and
9671         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9672         No change of functionality, just reflects the stripped down Systemcalls
9673         class.
9674
9675 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9676
9677         * debug.[Ch]: add a GRAPHICS type to the enum.
9678
9679 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9680
9681         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9682
9683         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9684         there is an inset.
9685
9686 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9687
9688         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9689         match the changes below.
9690
9691         * text2.C (toggleInset): if there is not editable inset at cursor
9692         position, try to see if cursor is _inside_ a collapsable inset
9693         and close it.
9694
9695 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9696
9697         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9698         document menu has a nice checkbox
9699
9700 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9701
9702         * lyxlength.C (asLatexString): change PW to output as percent of
9703         \textwidth.
9704
9705         * lengthcommon.C: change '%' to 't%'
9706
9707         * lyxfunc.C (dispatch): a few comments from Martin
9708
9709 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9710
9711         * WorkArea.h:
9712         * WorkArea.C:
9713         * BufferView_pimpl.h:
9714         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9715           the X selection.
9716
9717 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9718
9719         * vspace.C (inPixels): fix compiler warning
9720
9721 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9722
9723         * lyxfunc.C (getStatus): fix status message for disabled commands.
9724
9725 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9726
9727         * BufferView_pimpl.C: fix crash on close buffer
9728         during selection (#227)
9729
9730 2002-01-27  Herbert Voss  <voss@lyx.org>
9731
9732         * buffer.C: link old Figure to new graphic inset
9733
9734 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9735
9736         * FontLoader.C (getFontinfo): Change the latex font names in order
9737         to match the names of type1inst.
9738
9739 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9740
9741         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9742
9743         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9744         (extchanged): ditto
9745         (ext_exist): ditto
9746         (remove_files_with_extension): ditto
9747         (remove_file): ditto
9748         (write): ditto
9749
9750         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9751         document is smaller than the work area height. Do not initialize
9752         static variables to 0.
9753
9754 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9755
9756         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9757
9758         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9759         LFUN_LAYOUT_PARAGRAPHS.
9760
9761         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9762         tabular. It is possible to provide a possible cell, which will
9763         typically be the actcell from the corresponding insettabular
9764
9765         * lyxfunc.C (getStatus): small cleanup; disable
9766         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9767         true
9768
9769 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9770
9771         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9772
9773         * paragraph.C (startTeXParParams):
9774         (endTeXParParams): new methods. The LaTeX code to
9775         start/end paragraph formatting
9776         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9777         empty (fixes bug #200)
9778
9779         * vspace.C (inPixels): adapt to the change below
9780         (inPixels): [later] more cleanups (remove unused variables)
9781
9782         * lyxlength.C (inPixels): change to use a width and a height as
9783         parameter.
9784
9785 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9786
9787         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9788         Replaced with \paperwidth
9789
9790         * DepTable.C (insert): add std:: qualifier
9791
9792 2002-01-18  Allan Rae  <rae@lyx.org>
9793
9794         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9795         updated also?
9796
9797         * text.C (drawInset): Turned out I didn't know enough about how
9798         rebreaking worked.  This fixes most of the redraw problems.  I see
9799         an occasional cursor trail when a line is broken now and the cursor
9800         placement can seem out by a few pixels also after a rebreak.
9801
9802 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9803
9804         * buffer.C (parseSingleLyXformat2Token): update because minipage
9805         width is now a LyXLength
9806
9807         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9808
9809         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9810         math insets
9811
9812 2002-01-17  Juergen Vigna  <jug@sad.it>
9813
9814         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9815
9816         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9817         is set correctly and the inset is updated correctly.
9818
9819 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9820
9821         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9822         the beginning of the loop.
9823
9824 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9825
9826         * lyxrc.C: improve help for use_scalable_fonts
9827
9828 2002-01-17  Allan Rae  <rae@lyx.org>
9829
9830         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9831
9832 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9833
9834         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9835         make sure to set their inset_owner to the right value (bug #171)
9836
9837 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9838
9839         * DepTable.h
9840         * DepTable.C: Implement mtime checking to reduce time spent doing
9841         CRCs.
9842
9843 2002-01-16  Juergen Vigna  <jug@sad.it>
9844
9845         * tabular.C (GetAdditionalHeight): one of error fixed.
9846
9847         * lyxrc.C (output): small fix in writing use_pspell.
9848
9849 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9850
9851         * sp_base.h: #include LString.h
9852
9853 2002-01-16  Allan Rae  <rae@lyx.org>
9854
9855         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9856         Can someone check this please?
9857
9858         * text.C (drawInset): It was possible that p.row would be removed by
9859         breakAgainOneRow upsetting a few other settings.  There may be another
9860         small tweak possible by setting need_break_row = 0 when p.row has been
9861         removed but I don't know enough about the logic here.
9862
9863 2002-01-15  Allan Rae  <rae@lyx.org>
9864
9865         * text.C (insertChar): removed conditional truism.
9866
9867         * BufferView2.C (removeAutoInsets): More tweaks.
9868         cur_par_prev could be a stray pointer.  Check for trailing empty line
9869         in case last line was cur_par and only had an error inset on it.
9870
9871 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9872
9873         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9874         absolute
9875
9876         * vc-backend.C (most methods):
9877         * exporter.C (Export):
9878         * converter.C (convert):
9879         (runLaTeX):
9880         * LyXSendto.C (SendtoApplyCB):
9881         * lyxfunc.C (dispatch):
9882         (menuNew):
9883         (open):
9884         (doImport):
9885         * lyx_cb.C (AutoSave):
9886         (InsertAsciiFile):
9887         * BufferView_pimpl.C (MenuInsertLyXFile):
9888         * buffer.C (runChktex): use Buffer::filePath().
9889
9890         * buffer.h: rename filename to filename_; rename filepath to
9891         filepath_ and make it private
9892         (filePath): new method
9893
9894         * buffer.C (writeFile): use fileName()
9895         (getLatexName):
9896
9897         * lyx_main.C (init): fix starting  of LyX when the binary is a
9898         link from so,ewhere else.
9899
9900         * minibuffer.C: include <cctype> for isprint
9901
9902 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9903
9904         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9905         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9906         name clash with InsetCollapsable's width function.
9907
9908 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9909
9910         * lastfiles.C: include <iterator>
9911
9912 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9913
9914         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9915         std::count.
9916
9917         * buffer.C (makeLaTeXFile): ditto.
9918         Also make loop operation more transparent.
9919
9920 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9921
9922         * ToolbarDefaults.C: remove trailing comma closing namespace.
9923
9924         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9925
9926         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9927         as in WorkArea.
9928
9929         * trans.C (Load): comment out unused variable, allowed.
9930
9931 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9932
9933         * minibuffer.[Ch] (append_char): new method to recieve input from the
9934         drop-down completion browser. If a key was pressed, then recieve this
9935         char and append it to the existing string.
9936         (peek_event): modify the positioning data passed to the completion
9937         browser so that it can be placed above the minibuffer rather than below.
9938 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9939
9940         * LyXAction.C (init): alloe error-next for readonly documents.
9941
9942         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9943         count.
9944
9945 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9946
9947         * bufferlist.C (readFile): create the buffer _after_ checking that
9948         the file exists.
9949
9950         * lyxfunc.C (verboseDispatch): fix handling of arguments
9951
9952         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9953
9954         * lyxrc.C: use string::erase() instead of initializing to "".
9955
9956
9957 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9958
9959         * BufferView_pimpl.h:
9960         * BufferView_pimpl.C:
9961         * WorkArea.h:
9962         * WorkArea.C:
9963         * text2.C: tell X when we have made a selection for copying
9964
9965 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9966
9967         * BufferView_pimpl.C (MenuInsertLyXFile):
9968         * lyxfunc.C (menuNew):
9969         (open):
9970         (doImport): add shortcuts to directory buttons
9971
9972         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9973         open a float)
9974
9975         * lyxfunc.C (setStatusMessage):
9976         (getStatusMessage): new methods
9977         (getStatus):use setStatusMessage instead of setErrorMessage
9978         (dispatch): when function is disabled, set error message here
9979         [instead of in getStatus previously]
9980
9981         * BufferView_pimpl.C (workAreaButtonRelease): update
9982         toolbar/menubar here too.
9983
9984 2002-01-13  Allan Rae  <rae@lyx.org>
9985
9986         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9987         Now seems indestructible.  Remaining task is to audit all other
9988         code affected by deleteEmptyParagraphMechanism.  One small quirk
9989         left is that an empty document with an error in the preamble can
9990         be made to report an error but no error box appears.  I don't know
9991         where it goes.
9992         (removeAutoInsets): Improved comments.
9993
9994 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9995
9996         * Thesaurus.h:
9997         * Thesaurus.C: update for Aiksaurus 0.14
9998
9999 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10000
10001         * text2.C (firstParagraph): removed member function, all uses
10002         replaces with ownerParagraph
10003         (redoParagraphs): here
10004         (updateInset): here
10005         (toggleAppendix): here
10006         * BufferView2.C (insertErrors): here
10007         (setCursorFromRow): here
10008
10009 2002-01-13  Allan Rae  <rae@lyx.org>
10010
10011         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10012         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10013         There is still a way to segfault this although you may have to do this
10014         multiple times: Have an InsetERT with an unknown command in it.
10015         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10016         <down-arrow>, <Enter> again, View->DVI, BANG!
10017
10018         * text2.C (setCursor):
10019         (deleteEmptyParagraphMechanism):
10020         * lyxtext.h (setCursor):
10021         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10022         Making use of the return value may help fix other bugs.
10023
10024 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10025
10026         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10027
10028         * LyXView.C (updateMenubar): call MenuBar::update here
10029         (updateToolbar): but not here
10030         (showState): do not update toolbar/menubar
10031
10032         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10033         should need to care about that.
10034
10035         * lyxfunc.C (verboseDispatch): simplify a bit
10036         (getStatus): have a version which takes a pseudoaction, and
10037         another which requires a (kb_action,string).
10038
10039         * LyXAction.C (retrieveActionArg): make it work also when action
10040         is not a pseudo-action.
10041         (getActionName): simplify a bit
10042         (helpText):
10043
10044 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10045
10046         * lyxfunc.C (verboseDispatch): new families of methods with
10047         several ways to specify a command and a bool to indicate whether
10048         the command name and shortcut should be displayed in minibuffer
10049         (eventually, we could extend that to a finer bitmask like
10050         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10051         (dispatch): the pristine dispatch command which just, well,
10052         dispatchs! Note it still sets its result to minibuffer; I'm not
10053         sure we want that.
10054
10055         * lyxfunc.h: remove setHintMessage
10056
10057         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10058
10059 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10060
10061         * BufferView_pimpl.C (specialChar): delete new inset if we have
10062         not been able to insert it.
10063
10064         * kbmap.C: revert to using int instead of kb_action, since all we
10065         are dealing with is pseudo-actions.
10066
10067         * LyXAction.C (searchActionArg): change to return int instead of
10068         kb_action, since the result is a pseudoaction.
10069
10070 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10071
10072         * buffer.C (insertErtContents): Fix (partially) the font bug.
10073
10074 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10075
10076         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10077         as the other one is broken on my machine!
10078
10079 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10080
10081         * commandtags.h:
10082         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10083
10084 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10085
10086         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10087         reflect their actual use. Provide compatibility code for older lyxrc
10088         files.
10089
10090         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10091         FL_NORMAL_STYLE.
10092         change names of popup font variables in line with the changes to lyxrc.C
10093
10094 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10095
10096         * buffer.C (asciiParagraph): avoid outputing a word twice after
10097         an inset.
10098
10099         * lyxrc.C (getDescription): document that document_path and
10100         template_path can be empty.
10101
10102 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10103
10104         * LaTeXFeatures.C (getMacros):
10105         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10106
10107         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10108
10109         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10110         getPackages.
10111         (getPackages): rename feature "floats" to "float". Use an array to
10112         iterate over 'simple' features (i.e. just a \usepackage). Add
10113         handling of "amsmath" (renamed from "amsstyle").
10114
10115 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10116
10117         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10118         features list.
10119
10120 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10121
10122         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10123         FuncStaus::FuncStatus & FuncStaus::some_method().
10124
10125 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10126
10127         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10128         of the func_satus stuff. Edited and massaged in various ways by
10129         JMarc.
10130
10131         * lyxfunc.C (getStatus): use FuncStatus
10132
10133 2002-01-08  Juergen Vigna  <jug@sad.it>
10134
10135         * text.C (nextBreakPoint): use function Inset::isChar().
10136
10137         * paragraph.C (TeXOnePar): use function
10138         Inset::forceDefaultParagraphs.
10139
10140         * buffer.C (latexParagraphs): use function
10141         Inset::forceDefaultParagraphs.
10142
10143 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10144
10145         * lyx_gui.C (init): set the style of the menu popups to
10146         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10147
10148 2002-01-07  Juergen Vigna  <jug@sad.it>
10149
10150         * text.C (setHeightOfRow): small fix
10151         (prepareToPrint): don't look at alignment if we don't have the place
10152         for doing it.
10153
10154 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10155
10156         * box.C: New file. Move the Box methods and functions out of box.h,
10157         following Lars' suggestion.
10158
10159 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10160
10161         * box.h: #include "support/LOstream.h", needed for inlined function.
10162
10163         * lyxtextclass.C:
10164         * lyxtextclasslist.C: added some using std declarations.
10165
10166 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10167
10168         * box.h: make signed dimensions to allow insets wider than
10169           the screen (bug #162)
10170
10171         * BufferView_pimpl.C: add some insetHit debug
10172
10173 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10174
10175         * vc-backend.C: add FIXME
10176
10177 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10178
10179         * lyxfunc.C (getStatus): enable code for showing math font status
10180         in toolbar/menu.
10181
10182 2002-01-07  Juergen Vigna  <jug@sad.it>
10183
10184         * text.C (nextBreakPoint): removed debug output not needed anymore.
10185
10186 2002-01-06  Juergen Vigna  <jug@sad.it>
10187
10188         * text.C (nextBreakPoint): fixed up this function we had this bug
10189         since ever but now hopefully we break row better.
10190         (insertChar): we have to check if an inset is the next char as it
10191         could now happen that a large inset is causing a break.
10192
10193 2002-01-05  Juergen Vigna  <jug@sad.it>
10194
10195         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10196         if it doesn't like to be drawed.
10197
10198 2002-01-04  Juergen Vigna  <jug@sad.it>
10199
10200         * BufferView2.C (lockInset): forgot to set a cursor.
10201
10202         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10203
10204 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10205
10206         * FormMathsPanel.C:
10207         * FormMathsPanel.h
10208         * MathsSymbols.C:
10209         * form_maths_panel.C:
10210         * form_maths_panel.h:
10211         * form_maths_panel.fd: implemented sub- and super- buttons in math
10212         panel.
10213
10214         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10215         (or ^ space) to be used as in TeX (req'd by André).
10216
10217         * lyxfunc.C: Allow ^ and _ again to be used both as
10218         super/subscript (mathed) and as themselves (in text).
10219
10220 2002-01-03  Allan Rae  <rae@lyx.org>
10221
10222         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10223         "LyX" or the filename of the current buffer if it has one.  This is a
10224         modified form of John Levon's patch.
10225
10226         * XFormsView.C (setWindowTitle): also set icon title.
10227
10228         * LyXView.h (setWindowTitle): signature changed.
10229         * XFormsView.h (setWindowTitle): ditto.
10230
10231 2002-01-02  Juergen Vigna  <jug@sad.it>
10232
10233         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10234
10235 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10236
10237         * screen.C (topCursorVisible): introduce a temp var for
10238         text->cursor.row(), handle the case where this row is null. (kindo
10239         hachish)
10240
10241         * text2.C (setCursor): add a couple of asserts.
10242
10243         * paragraph.h (inset_iterator): add -> operator
10244
10245         * paragraph.[Ch] (autoDeleteInsets): remove member function
10246
10247         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10248         cursor pos correctly and handle inset deletion by itself.
10249         (insertErrors): move iterator declaration out of for expression
10250
10251         * lyxtextclass.C: add <algorithm>
10252
10253         * Makefile.am: added the new files to sources, removed layout.C
10254
10255         * layout.C: removed file
10256
10257         * layout.h: remove LYX_DUMMY_LAYOUT
10258
10259         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10260         layout.
10261
10262         * lyxlayout.[Ch]:
10263         * lyxtextclass.[Ch]:
10264         * lyxtextclasslist.[Ch]: new files
10265
10266         * include order changes to a lot of files, also changes because of
10267         the six new files.
10268
10269 2001-12-27  Juergen Vigna  <jug@sad.it>
10270
10271         * buffer.C (asciiParagraph): more fixes.
10272
10273         * tabular.C (ascii): make ascii export support export of only the
10274         data separated by a column-delimiter.
10275         (ascii): better support for ascii export.
10276
10277         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10278
10279 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10280
10281         * tabular_funcs.C: use a "using std::getline" instead of the
10282         previous fix from Angus (necessary for cxx + lyxstring)
10283
10284 2001-12-24  Juergen Vigna  <jug@sad.it>
10285
10286         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10287
10288         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10289         problems. First check a minipage also if we have some ert-contents
10290         (not only on par->size(), second set the right depth of the paragraph
10291         on the relink to the root-paragraph-list!
10292
10293         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10294         which then did not anymore update the main paragraphs on undo/redo!
10295
10296 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10297
10298         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10299         code. Support all font-changing funcs (even those which are not in
10300         menu currently). Support for reporting font settings in
10301         mathed (disabled until Andre provides a function on mathed's side).
10302
10303         * func_status.h (toggle): small helper function to set toggle
10304         state on a flag.
10305
10306 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10307
10308         * tabular_funcs.C: getline -> std::getline
10309
10310 2001-12-21  Juergen Vigna  <jug@sad.it>
10311
10312         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10313         accessed and could be 0 (I couldn't generate this but it seems
10314         Michael could!).
10315
10316 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10317
10318         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10319         * tabular_funcs.h: here and include iosfwd
10320
10321 2001-12-20  Juergen Vigna  <jug@sad.it>
10322
10323         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10324         inside inset but undo_par was.
10325
10326 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10327
10328         * Thesaurus.C: always include <config.h> in sources.
10329
10330         * Painter.h:
10331         * lyxlookup.h:
10332         * box.h: do not include <config.h> in header files
10333
10334         * text.C (paintLastRow): remove unused variable
10335
10336         * text.C (transformChar):
10337         (insertChar):
10338         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10339
10340         * Painter.C (text):
10341         * font.C (width): rewrite to use uppercase() instead of
10342         islower/toupper.
10343
10344         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10345
10346 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10347
10348         * lyxfind.C: clean up of find failure position change
10349
10350 2001-12-20  Juergen Vigna  <jug@sad.it>
10351
10352         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10353
10354         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10355         (TeXRow): added to LaTeX a single tabular row.
10356         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10357         (Latex): simplified and finally good LT-h/f support.
10358         (various_functions): just small adaptions for LT-h/f support.
10359
10360         * tabular_funcs.[hC]: added and moved here all not classfunctions
10361         of LyXTabular.
10362
10363 2001-12-19  Juergen Vigna  <jug@sad.it>
10364
10365         * tabular.[Ch]: better support for longtabular options (not finished
10366         yet!)
10367
10368 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10369
10370         * text.C (paintLastRow): use the label font instead of the font of
10371         the last character to compute the size of *_BOX. This makes more
10372         sense and avoids a crash with empty paragraphs.
10373         Use Painter::rectangle to draw EMPTY_BOX.
10374
10375 2001-12-19  Juergen Vigna  <jug@sad.it>
10376
10377         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10378         the paragraphs if the replaced paragraph is not the first one!
10379         Tried to delete not used paragraphs but does not work yet so for
10380         now it's inside #ifdef's and by default off!
10381
10382 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10383
10384         * MenuBackend.C: include "lyx_main.h" instead of declaring
10385         lastfiles (actually was declared as LastFiles* instead of a
10386         scoped_ptr).
10387
10388 2001-12-17  Juergen Vigna  <jug@sad.it>
10389
10390         * tabular.C (AppendColumn): applied John's fix
10391
10392 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10393
10394         * BufferView.h:
10395         * BufferView.C:
10396         * BufferView_pimpl.h:
10397         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10398
10399         * Makefile.am:
10400         * box.h: new start of class for above
10401
10402         * lyxfunc.C: ignore space-only minibuffer dispatches.
10403           Show the command name when it doesn't exist
10404
10405         * minibuffer.C: don't add empty lines to the history
10406
10407         * minibuffer.C: add a space on dropdown completion
10408
10409 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10410
10411         * text.C: fix line above/below drawing in insets
10412
10413 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10414
10415         * lyxlength.C (LyXLength): Initialize private variables.
10416
10417 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10418
10419         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10420         when inserting error insets.
10421
10422 2001-12-13  Juergen Vigna  <jug@sad.it>
10423
10424         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10425         actually sometimes the before-paragraph.
10426         (setUndo): don't clear the redostack if we're not actually undoing!
10427
10428 2001-12-06  Juergen Vigna  <jug@sad.it>
10429
10430         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10431         and fixed redoing of main paragraph, so we can use it now ;)
10432
10433         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10434
10435 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10436
10437         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10438         Juergen's request
10439
10440 2001-12-13  André Pönitz <poenitz@gmx.net>
10441
10442         * undostack.[Ch]:
10443         * undo_func.C: minor cleanup
10444
10445 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10446
10447         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10448         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10449         font in urw-fonts package which is marked as -urw-fontspecific and
10450         does not work (incidentally, changing the encoding in the
10451         fonts.dir of this package to -adobe-fontspecific fixes the
10452         problem).
10453
10454         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10455         is a crash when undoing first paragraph (Juergen, please take a
10456         look). THis does not mean the undo fix is wrong, just that it
10457         uncovers problems.
10458
10459         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10460         the (Paragraph*) version when needed instead of duplicating the
10461         code.
10462
10463         * text.C (workWidth): use Inset::parOwner to find out where the
10464         inset has been inserted. This is a huge performance gain for large
10465         documents with lots of insets. If Inset::parOwner is not set, fall
10466         back on the brute force method
10467
10468         * paragraph_pimpl.C (insertInset):
10469         * paragraph.C (Paragraph):
10470         (cutIntoMinibuffer): set parOwner of insets when
10471         inserting/removing them
10472
10473         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10474
10475 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10476
10477         * commandtags.h:
10478         * LyXAction.C:
10479         * lyx_main.C:
10480         * lyxfunc.C:
10481         * mathed/formulabase.C:
10482         * mathed/math_cursor.[Ch]:
10483         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10484
10485
10486 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10487
10488         * lyxlength.[Ch] (operator!=): new function
10489
10490 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10491
10492         * text.C (workWidth): use Inset::parOwner to find out where the
10493         inset has been inserted. This is a huge performance gain for large
10494         documents with lots of insets. If Inset::parOwner is not set, fall
10495         back on the brute force method
10496
10497         * paragraph_pimpl.C (insertInset):
10498         * paragraph.C (Paragraph):
10499         (cutIntoMinibuffer): set parOwner of insets when
10500         inserting/removing them
10501
10502         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10503
10504 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10505
10506         * tabular-old.C (getTokenValue):
10507         * tabular.C (getTokenValue):
10508         (write_attribute): new versions for LyXLength
10509         (everywhere): adjust the use of widths
10510
10511         * tabular.h: change the type of widths from string to LyXLength
10512
10513 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10514
10515         * paragraph.C: fixed missing line number count when exporting
10516         Environments to LaTeX file
10517
10518         * buffer.C: added informational message for checking line numbers.
10519
10520 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10521
10522         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10523         paragraph, do the 'double space' part, but not the 'empty
10524         paragraph' one.
10525
10526         * text.C (workWidth): small optimization
10527         (getLengthMarkerHeight): use minimal size for negative lengths.
10528
10529 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10530
10531         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10532
10533         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10534
10535 2001-12-11  André Pönitz <poenitz@gmx.net>
10536
10537         * FontLoader.C:
10538         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10539
10540 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10541
10542         * text2.C: keep selection on a setFont()
10543
10544 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10545
10546         * lyx_cb.C: another bv->text misuse, from insert label
10547
10548 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10549
10550         * kbsequence.h:
10551         * kbsequence.C: re-instate nmodifier mask
10552
10553 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10554
10555         * lyx_main.h: make lyxGUI private.
10556
10557 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10558
10559         * lyxfind.C: place the cursor correctly on failed search
10560
10561 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10562
10563         * text.C (getLengthMarkerHeight): for small heights, the arrows
10564         are not always on top/bottom of the text
10565         (drawLengthMarker): smaller arrows; take the left margin in
10566         account; draw also vfills.
10567         (paintFirstRow):
10568         (paintLastRow): remove special code for vfill and standard spaces,
10569         since everything is handled in drawLengthMarker now.
10570
10571 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10572
10573         * buffer.C (insertErtContents): try to handle font and language
10574         interaction a bit better.g
10575
10576         * ColorHandler.C (updateColor): change the hash to cover the whole
10577         LColor enum, ws cleanup
10578         (getGCLinepars): ditto
10579         (getGCLinepars): only lookup in the linecache once.
10580
10581 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10582
10583         * iterators.C (operator++): Make the iterator more robust
10584
10585         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10586         (John's patch)
10587         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10588
10589 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10590
10591         * lyxtext.h:
10592         * text.C: better added space drawing
10593
10594 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10595
10596         * LyXView.C:
10597         * BufferView2.C: fix layout combo update on inset unlock
10598
10599 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10600
10601         * Makefile.am: don't compile unused files
10602
10603 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10604
10605         * lyxfunc.C:
10606         * commandtags.h:
10607         * LyXAction.C: remove old LFUN_LAYOUTNO
10608
10609 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10610
10611         * paragraph_pimpl.h:
10612         * paragraph_pimpl.C: isTextAt() doesn't need font param
10613
10614 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10615
10616         * lyxlex.h:
10617         * lyxlex.C: little cleanup
10618
10619 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10620
10621         * BufferView_pimpl.C: fix insertAscii for insets
10622
10623 2001-12-05  Juergen Vigna  <jug@sad.it>
10624
10625         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10626         set the right font on the "multi" paragraph paste!
10627
10628 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10629
10630         * trans_decl.h:
10631         * trans_mgr.[Ch]:
10632         * trans.[Ch]:
10633         * lyxgluelength.C:
10634         * lyxlength.C: remove out-commented code.
10635
10636         * BufferView_pimpl:
10637         * CutAndPaste.C:
10638         * DepTable.C:
10639         * buffer.C:
10640         * chset.C:
10641         * lastfiles.C:
10642         * lyxlex.C:
10643         * lyxlex_pimpl.C:
10644         * lyxserver.C:
10645         * screen.C:
10646         * tabular-old.C:
10647         * tabular.C:
10648         * text.C:
10649         * trans_mgr.C:
10650         * vc-backend.C: change "while(" to "while ("
10651
10652         * lyxlength.[Ch]: add zero function to check if length is zero or
10653         not
10654         * lyxgluelength.C: use it
10655
10656 2001-12-05  Allan Rae  <rae@lyx.org>
10657
10658         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10659         Works for 2.95.3, from what I understand of Garst's reports this should
10660         work for other g++ versions.  We're screwed if the abs(int) definition
10661         changed between bugfix releases of gcc.
10662
10663 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * text.C: fix chapter label offset !
10666
10667 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10668
10669         * lyxtext.h:
10670         * text.C: fix hfill at end of line, clean up
10671
10672 2001-12-04  Juergen Vigna  <jug@sad.it>
10673
10674         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10675         that we force an update of the inset and it's owners if neccessary.
10676
10677 2001-12-03  Juergen Vigna  <jug@sad.it>
10678
10679         * text.C (rowLast): simplified code
10680
10681 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10682
10683         * lyxfunc.C: fix show options on timeout
10684
10685 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10686
10687         * screen.C (topCursorVisible): scroll half a page when the cursor
10688         reached top of bottom of screen
10689
10690 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10691
10692         * minibuffer.C: deactivate on loss of focus
10693
10694 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10695
10696         * vspace.[Ch] (operator!=): add operator.
10697
10698 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10699
10700         * BufferView_pimpl.C: refuse to open an inset when
10701         there's a selection.
10702
10703 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10704
10705         * BufferView_pimpl.C: allow to click on RHS of full row insets
10706
10707 2001-11-30  Juergen Vigna  <jug@sad.it>
10708
10709         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10710         insets for undo reasons.
10711
10712 2001-11-28  André Pönitz <poenitz@gmx.net>
10713
10714         * vspace.[Ch]: cosmetical changes
10715
10716 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10717
10718         * LyXAction.h:
10719         * LyXAction.C:
10720         * lyxfunc.h:
10721         * lyxfunc.C:
10722         * kbmap.h:
10723         * kbmap.C:
10724         * lyxrc.C:
10725         * kbsequence.h:
10726         * kbsequence.C: part re-write of old kb code
10727
10728         * Painter.C:
10729         * WorkArea.C: remove Lgb_bug_find_hack
10730
10731 2001-11-30  José Matos <jamatos@fep.up.pt>
10732
10733         * buffer.C (makeDocBookFile): add a comment to point a hack.
10734         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10735         Fixed a double write of labels.
10736
10737 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10738
10739         * LaTeX.C:
10740         * LaTeX.h Fixed bug in LaTeX class where it would not
10741         re-run latex if no depfiles were changed, but the .dvi was removed.
10742
10743 2001-11-28  André Pönitz <poenitz@gmx.net>
10744
10745         * all the files from the change on 2001/11/26:
10746         use lyx::layout_type instead of LyXTextClass::size_type
10747         use lyx::textclass_type instead of LyXTextClassList::size_type
10748
10749 2001-11-29  Juergen Vigna  <jug@sad.it>
10750
10751         * text.C: added support for paragraph::isFreeSpacing()
10752
10753         * buffer.C: same as above
10754
10755         * paragraph.h: inserted isFreeSpacing() function to enable
10756         FreeSpacing inside InsetERT.
10757
10758         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10759         of the paragraph's in the cut/copy buffer to 0!
10760
10761         * text2.C (removeRow): remove the assert as it can!
10762
10763         * lyxtext.h: added helper function firstRow returning firstrow and
10764         made firstrow private again.
10765
10766         * BufferView2.C (lockInset): don't relock if we're already locked!
10767
10768         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10769         the only paragraph.
10770         (removeRow): added Assert::(firstrow)
10771
10772         * debug.C: forgot to add INSETTEXT here.
10773
10774 2001-11-28  Juergen Vigna  <jug@sad.it>
10775
10776         * sp_spell.C (initialize): changed error text to more general
10777         spellchecker command use (not only ispell!)
10778
10779         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10780
10781         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10782
10783 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10784
10785         * vspace.C: initialise lyxgluelength on failure
10786
10787 2001-11-28  Allan Rae  <rae@lyx.org>
10788
10789         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10790         declaration & definition that looks like a function declaration.
10791
10792 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10793
10794         * BufferView2.C (copy):
10795         (copyEnvironment): do not clear the selection when doing a copy.
10796
10797         * text.C (paintFirstRow): compilation fix
10798
10799 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10800
10801         * tabular.C (Latex): correct line count when writing latex.
10802
10803 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10804
10805         * paragraph_pimpl.h:
10806         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10807           bug a bit
10808
10809 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10810
10811         * text.C:
10812         * LColor.h:
10813         * LColor.C: change vfillline->added_space
10814
10815         * text.C: add markers and text for added space
10816
10817         * vspace.C: fix comment
10818
10819 2001-11-28  André Pönitz <poenitz@gmx.net>
10820
10821         * paragraph.C: whitespace changes
10822         * all the other files from the change on 2001/11/26:
10823         change *::pos_type into lyx::pos_type
10824
10825 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10826
10827         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10828         language of the document when inserting error insets.
10829
10830 2001-11-26  André Pönitz <poenitz@gmx.net>
10831
10832         * BufferView_pimpl.[Ch]:
10833         *       CutAndPaste.C:
10834         * buffer.[Ch]:
10835         * lyxcursor.[Ch]:
10836         * lyxfind.C:
10837         * lyxfunc.C:
10838         * lyxrow.[Ch]:
10839         * paragraph.[Ch]:
10840         * paragraph_pimpl.[Ch]:
10841         * sp_spell.C:
10842         * text.C:
10843         * text2.C: reduce header dependencies, introduce type for positions
10844
10845 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10846
10847         * <various>: change to use Alert.h
10848
10849 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10850
10851         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10852         when encountering an unknown token.
10853         (readLyXformat2): Show an error message if there were unknown tokens.
10854
10855 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10856
10857         * BufferView2.C:
10858         * BufferView_pimpl.C:
10859         * buffer.C:
10860         * paragraph.h:
10861         * text.C:
10862         * text2.C: use par->isInset()
10863
10864 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10865
10866         * paragraph_pimpl.h:
10867         * paragraph_pimpl.C: cleanup
10868
10869 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10870
10871         * text2.C (removeRow):
10872         * text.C (setHeightOfRow): remove useless (and costly) call to
10873         getRow.
10874
10875 2001-11-20  Allan Rae  <rae@lyx.org>
10876
10877         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10878         Now need Inset*::checkInsertChar() to return true for appropriate
10879         cases so that the characters in the minibuffer will actually be
10880         inserted.
10881
10882 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10883
10884         * text.C: change the order of the includes.
10885         (workWidth): initialize it at once.
10886         (workWidth): make maxw unsigned
10887         (setHeightOfRow): remove unused variable (inset)
10888         (selectSelectedWord): remove unused variable (inset)
10889         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10890
10891 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10892
10893         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10894         server is not running.
10895         (openConnection):
10896         (closeConnection): add debug info when server is disabled.
10897
10898         * ColorHandler.C (getGCForeground): send debug message to GUI
10899         channel.
10900
10901         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10902
10903         * kbmap.C (bind): modify because return conventions of
10904         kb_sequence::parse have changed.
10905
10906         * kbsequence.C (parse): only ignore spaces and not any stupid
10907         control character. This avoids tests like s[i] <= ' ', which are
10908         guaranteed to fail with 8bit characters and signed chars.
10909         Change return code to string::npos when there have been no error
10910         (0 was a bad idea when error is at first character)
10911
10912 2001-11-14  José Matos  <jamatos@fep.up.pt>
10913
10914         * buffer.h:
10915         * buffer.C (simpleDocBookOnePar): removed unused argument.
10916
10917 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10918
10919         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10920         insets which are part of a word. Paragraph::isLetter takes care of
10921         that now. Use Paragraph::isInset to identify insets.
10922         (selectSelectedWord): do not test for hyphenation break.
10923
10924         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10925         that protected spaces are considered as spaces.
10926
10927         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10928         Inset::isLetter.
10929
10930 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10931
10932         * lyxserver.h:
10933         * lyxserver.C: fix it. and small cleanup.
10934
10935 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10936
10937         * BufferView_pimpl.C: use inline helpers
10938
10939         * LaTeXFeatures.h:
10940         * LaTeXFeatures.C: fix typos
10941
10942         * Spacing.h:
10943         * Spacing.C: move spacing_string into class
10944
10945         * ToolbarDefaults.C: move stuff into namespace anon
10946
10947         * layout.h: update enum
10948
10949         * lyxfunc.C: use better debug
10950
10951         * minibuffer.h: fix typo
10952
10953         * debug.h:
10954         * debug.C:
10955         * WorkArea.C: add and use Debug::WORKAREA
10956
10957         * lyxtext.h:
10958         * text.C:
10959         * text2.C: code re-organisation, inline helpers
10960
10961 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10962
10963         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10964         std::vector.empty().
10965
10966 2001-11-09  Allan Rae  <rae@lyx.org>
10967
10968         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10969         '\n's after tables.  Tabular and ERT inset work now makes this no
10970         longer necessary.
10971
10972 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10973
10974         * minibuffer.h:
10975         * minibuffer.C: fix crash, improve drop-down completion
10976
10977 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10978
10979         * lyxserver.h:
10980         * lyxserver.C: invalidate fd's when doing endPipe()
10981
10982 2001-11-08  José Matos  <jamatos@fep.up.pt>
10983
10984         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10985         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10986
10987         * paragraph.h:
10988         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10989
10990 2001-11-07  José Matos  <jamatos@fep.up.pt>
10991
10992         * buffer.h:
10993         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10994         const qualifier.
10995
10996         * buffer.C (sgmlOpenTag):
10997         * buffer.C (sgmlCloseTag): removed debug info.
10998
10999         * buffer.h (sgmlOpenTag):
11000         * buffer.h (sgmlCloseTag): made public.
11001
11002 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11003
11004         * buffer.C (saveParamsAsDefaults):
11005         * lyx_cb.C (MenuLayoutSave): remove
11006
11007         * LyXAction.C (init):
11008         * commandtags.h:
11009         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11010
11011 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11012
11013         * buffer.C (setPaperStuff): removed from here...
11014
11015         * bufferparams.C (setPaperStuff): ... and moved there.
11016
11017 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11018
11019         * minibuffer.h:
11020         * minibuffer.C:
11021         * XFormsView.C: add support for drop-down completion
11022
11023 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11024
11025         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11026         commands.
11027
11028 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11029
11030         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11031         disabled.
11032
11033 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11034
11035         * lyx_main.C: change ref to known bugs
11036
11037 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11038
11039         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11040         to work around older babel problems.
11041
11042 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11043
11044         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11045
11046 2001-10-24  Juergen Vigna  <jug@sad.it>
11047
11048         * tabular-old.C (ReadOld): below variable changes reflected.
11049
11050         * tabular.[Ch]: added ltType struct for longtable header/footer
11051         defines and changed all instances where they are used. Added
11052         future support for double top/bottom rows.
11053
11054 2001-10-24  José Matos  <jamatos@fep.up.pt>
11055
11056         * buffer.h (docbookHandleCaption):
11057         * buffer.C (docbookHandleCaption): removed unused function.
11058         (makeDocBookFile): moved docbook supported version to v4.1.
11059
11060 2001-10-24  José Matos  <jamatos@fep.up.pt>
11061
11062         * tabular.h:
11063         * tabular.C (docbookRow): new function to export docbook code of a row.
11064         (DocBook): now honors the longtable flags.
11065
11066 2001-10-23  José Matos  <jamatos@fep.up.pt>
11067
11068         * LaTeXFeatures.h:
11069         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11070         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11071
11072         * buffer.C (makeLinuxDocFile):
11073         (makeDocBookFile): reworked the preamble, more clean, and with
11074         support for lyx defined entities. Changed the document declaration
11075         to be more XML friendly.
11076
11077         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11078         if we need to output XML that should be done with a filter.
11079
11080 2001-10-22  Juergen Vigna  <jug@sad.it>
11081
11082         * sp_pspell.h (class PSpell): add alive function needed in the
11083         controller to see if the spellchecker could be started.
11084
11085 2001-10-22  Juergen Vigna  <jug@sad.it>
11086
11087         * buffer.C (insertStringAsLines): modify the font for inserting
11088         chars in certain conditions by calling checkInsertChar(font).
11089
11090 2001-10-19  Juergen Vigna  <jug@sad.it>
11091
11092         * text.C (workWidth): use getRow instead of wrong algorithm.
11093         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11094
11095 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11096
11097         * lyxserver.h:
11098         * lyxserver.C:
11099         * lyx_main.h:
11100         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11101
11102 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11103
11104         * text.C (workWidth): do not search for the exact row when
11105         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11106         optimization for big documents.
11107
11108 2001-10-18  Juergen Vigna  <jug@sad.it>
11109
11110         * text.C (workWidth): new function with added Inset * parameter.
11111
11112 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11113
11114         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11115
11116         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11117         change return type of getColumnNearX.
11118
11119
11120         * text.C (changeRegionCase): use uppercase/lowercase instead of
11121         toupper/tolower.
11122         (leftMargin):
11123         (rightMargin): simplify code by factoring out the uses of
11124         textclasslist.
11125         (labelFill):
11126         (numberOfHfills):
11127         (setHeightOfRow):
11128         (appendParagraph): use Paragraph::size_type
11129
11130 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11131
11132         * vspace.C (asLatexString): add a missing break
11133
11134 2001-10-15  Herbert Voss  <voss@perce.de>
11135
11136         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11137
11138 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11139
11140         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11141         is not available.
11142
11143 2001-10-10  André Pönitz <poenitz@gmx.net>
11144
11145         * lyxfunc.C: removed greek_kb_flag.
11146
11147 2001-10-10  Herbert Voss  <voss@perce.de>
11148
11149         * lyx_main.C: delete global string help_lyxdir.
11150
11151 2001-10-09  Herbert Voss  <voss@perce.de>
11152
11153         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11154
11155         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11156
11157         * lyx_main.C: added global string help_lyxdir.
11158
11159         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11160
11161 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11162
11163         * lyxrc.C (set_font_norm_type): support iso8859-4
11164
11165 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11166
11167         * LaTeX.C (deplog): add another regex for MikTeX
11168
11169 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11170
11171         * lyxrc.C (set_font_norm_type): support iso8859-3
11172
11173 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11174
11175         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11176
11177         * LaTeXFeatures.C: remove special case of french and index
11178
11179         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11180         before \begin{document}). This solves several incompatibilities.
11181
11182 2001-10-03  Garst Reese  <reese@isn.net>
11183
11184         * lyx_cb.C: change CheckTex error msg.
11185
11186 2001-10-03  José Matos  <jamatos@fep.up.pt>
11187
11188         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11189
11190 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11191
11192         * .cvsignore: update
11193
11194         * lyx_main.C (commandLineVersionInfo): use new style version info.
11195
11196         * buffer.C (writeFile):
11197         (makeLaTeXFile):
11198         (makeLinuxDocFile):
11199         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11200
11201         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11202
11203         * version.h: update to use stuff in version.C
11204
11205         * version.C.in: new file. Contains version information determined
11206         at compile time. This is a merging of version.h and
11207         version_info.h.in.
11208
11209 2001-10-03  Juergen Vigna  <jug@sad.it>
11210
11211         * BufferView_pimpl.C (update): don't change "dirty" status in
11212         updateInset call.
11213
11214 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11215
11216         * WorkArea.C (c-tor): re-position version string slightly.
11217
11218 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11219
11220         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11221         revert to previous code.
11222
11223         WorkArea.[Ch]: (show, destroySplash): methods removed.
11224
11225         WorkArea.C: rework code so that it's an amalgam of the codes before and
11226         after the splash screen was moved to WorkArea.
11227
11228 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11229
11230         * lyxrc.C (read):
11231         * vspace.C (inPixels):
11232         (lyx_advance):
11233         * kbmap.C (bind):
11234         * buffer.C (insertStringAsLines):
11235         (asciiParagraph): fix types to be large enough
11236
11237         * lyxlex_pimpl.h: change member status from short to int
11238
11239         * layout.h: fix type of endlabeltype
11240
11241         * kbmap.C (bind):
11242         * kbsequence.C (parse): change return type to string::size_type
11243
11244         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11245         variable
11246
11247         * Bullet.C (bulletSize):
11248         (bulletEntry): do not use short ints as parameters
11249
11250         * BufferView2.C (insertLyXFile): change a char to an int.
11251
11252         * WorkArea.C (WorkArea): remove unneeded floats in computation
11253
11254 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11255
11256         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11257
11258         * paragraph.C (asString): Do not ignore newline/hfill chars when
11259         copying to the clipboard.
11260
11261 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11262
11263         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11264         after a multi-line inset.
11265
11266 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11267
11268         * paragraph.C (validate): Set NeedLyXFootnoteCode
11269
11270 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11271
11272         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11273         and decrease-error to decrease.
11274
11275 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11276
11277         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11278         it more readable (should be equivalent)
11279
11280 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11281
11282         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11283
11284 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11285
11286         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11287         of a cursor (row, etc.) after a character has been deleted
11288         (deleteEmptyParagraphMechanism): call the method above on _all_
11289         cursors held by the LyXText when a double space has been
11290         detected/deleted.
11291
11292 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11293
11294         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11295         pixmap.
11296         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11297
11298         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11299         background. Use greyOut() and the new show() methods to toggle between
11300         the foreground and background. Add code to remove the splash after
11301         its initial showing.
11302
11303         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11304         (create_forms): no longer call Dialogs::showSplash.
11305
11306 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11307
11308         * .cvsignore: add version_info.h
11309
11310 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11311
11312         * version_info.h.in: new file
11313
11314         * Makefile.am: add version_info.h.in
11315
11316         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11317         version_info.h instead of VERSION_INFO
11318
11319 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11320
11321         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11322         The ERT inset now returns string().
11323
11324 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11325
11326         * lyxtext.h, text.C (selectNextWord): renamed as
11327         selectNextWordToSpellcheck.
11328
11329         * text.C (selectNextWordToSpellcheck): Modified to not select
11330         words inside an ERT inset.
11331
11332 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11333
11334         * lyx_cb.C (MenuLayoutSave): change a bit the question
11335
11336         * sp_base.h: include <sys/types.h>
11337
11338 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11339
11340         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11341
11342 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11343
11344         * several files: fix typos in user-visible strings
11345
11346 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11347
11348         * text2.C (pasteSelection): do not set the selection, since it
11349         will be cleared later. Actually, the intent was to fix the way the
11350         selection was set, but I figured rmoving the code was just as good.
11351
11352 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11353
11354         * FontLoader.C (available): Check if font is available without
11355         loading the font.
11356
11357 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11358
11359         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11360
11361 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11362
11363         * lyxrc.[Ch]: added display_graphics variable and associated code.
11364
11365 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11366
11367         * bufferparams.C (hasClassDefaults): new method. Returns true if
11368         the buffer parameters correspond to known class defaults
11369
11370 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11371
11372         * XFormsView.C (show): set minimum size to the main window.
11373
11374 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11375
11376         * text2.C (copySelection):
11377         (cutSelection):
11378         * lyxfind.C (LyXReplace):
11379         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11380         LyXText::selectionAsString.
11381
11382         * paragraph.C (asString): add "label" argument to the second form
11383
11384         * text2.C (selectionAsString): add "label" argument and pass it to
11385         Paragraph::asString.
11386
11387 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11388
11389         * lyx_main.C (commandLineHelp): remove version information
11390
11391 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11392
11393         * lyx_main.C: add -version commandline option
11394
11395 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11396
11397         * paragraph.h: make the optional constructor arg required instead.
11398         some modifications to other files because of this.
11399
11400         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11401
11402         * lyxserver.C (C_LyXComm_callback): make it static
11403
11404         * lyx_main.C (error_handler): make it static
11405
11406         * lyx_gui.C (LyX_XErrHandler): make it static
11407
11408         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11409
11410         * WorkArea.C: make the extern "C" methods static.
11411
11412         * Makefile.am (lyx_LDADD): simplify
11413
11414 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11415
11416         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11417         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11418
11419         * LyXAction.C (init):
11420         * lyxfunc.C (dispatch): associated code removal.
11421
11422 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11423
11424         * lyxfont.h (isSymbolFont): shut off warning
11425
11426         * text.C (setHeightOfRow):
11427         (getVisibleRow): fix crash with empty paragraphs which have a
11428         bottom line
11429
11430 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11431
11432         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11433         code.
11434
11435 2001-09-04  José Matos  <jamatos@fep.up.pt>
11436         * buffer.C
11437         * buffer.h
11438         * tabular.C (docbook): rename docBook method to docbook.
11439
11440 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11441
11442         * Makefile.am: add dependencies to main.o.
11443
11444 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11445
11446         * FontLoader.C (available): Return false if !lyxrc.use_gui
11447
11448 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11449
11450         * FontInfo.C (query):
11451         * converter.C (view):
11452         * importer.C (Import):
11453         * exporter.C (Export): Can not -> cannot.
11454
11455 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11456
11457         * BufferView_pimpl.C: allow to create index inset even if
11458           string is empty
11459
11460 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11461
11462         * buffer.C (getLists): replace boost::tie code with an explicit pair
11463         as boost::tie can break some compilers.
11464
11465         * iterators.h: Added a std:: declaration to the return type of
11466         ParIterator::size.
11467
11468 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11469
11470         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11471           case.
11472
11473 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11474
11475         * iterators.[Ch]: New files. Provide paragraph iterators.
11476
11477         * buffer.C (changeLanguage): Use paragraph iterators.
11478         (isMultiLingual): ditto
11479
11480         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11481
11482 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11483
11484         * FontLoader.C: Support for cmr font.
11485
11486 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11487
11488         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11489         (available): New method.
11490
11491         * FontInfo.C (getFontname): Use scalable fonts even when
11492         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11493         found.
11494
11495 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11496
11497         * converter.C (Formats::view): reverted! Incorrect fix.
11498
11499 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11500
11501         * converter.C (Formats::view): only output the -paper option
11502         if the dvi viewer is xdvi, thereby fixing bug #233429.
11503
11504 2001-08-23  Herbert Voss  <voss@perce>
11505
11506         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11507
11508 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11509
11510         * Spacing.h (Spacing): Set space to Default on in the default
11511         constructor.
11512
11513 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11514
11515         * vc-backend.h (RCS::versionString): add RCS to version
11516         (CVS::versionString): add CVS to version
11517
11518         * vc-backend.C (scanMaster): do not add CVS to version.
11519         (scanMaster): do not add RCS to version
11520
11521         * lyxvc.C (versionString): new method
11522
11523         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11524
11525 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11526
11527         * Spacing.C (set): initialize fval
11528
11529 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11530
11531         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11532         " or \.
11533
11534 2001-08-16  Juergen Vigna  <jug@sad.it>
11535
11536         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11537
11538 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11539
11540         * BufferView_pimpl.C:
11541         * figureForm.C:
11542         * lyxtext.h:
11543         * text2.C: setParagraph takes linespacing now
11544
11545 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11546
11547         * LyxAction.C: add internal LFUN_CITATION_INSERT
11548
11549         * LyXView.C: actually apply fix
11550
11551         * bufferlist.C: fix open non-existent file
11552
11553         * lyxfind.C: fix indentation
11554
11555         * lyxfunc.C: remove unneeded assert, fix typo
11556
11557 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11558
11559         * MenuBackend.C: use "Floatname List"
11560
11561 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11562
11563         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11564         when converting LaTeX layout to insetERT.
11565         Generate a non-collapsed float when reading old float
11566
11567 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11568
11569         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11570         ERT insets.
11571
11572 2001-08-13  Juergen Vigna  <jug@sad.it>
11573
11574         * text.C (fill): return 0 instead of 20 as this seems to be the more
11575         correct value.
11576
11577 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11578
11579         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11580         lyxrc.font_norm.
11581
11582 2001-08-13  Juergen Vigna  <jug@sad.it>
11583
11584         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11585         casesensitive off.
11586         (SearchBackward): comment out the unlocking of the inset_owner this
11587         should not be needed!
11588
11589 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11590
11591         * Many files: Remove inherit_language, and add latex_language
11592
11593         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11594         collapsible insets.
11595
11596 2001-08-10  Juergen Vigna  <jug@sad.it>
11597
11598         * text.C (prepareToPrint): fixed hfill-width in draw!
11599
11600         * BufferView2.C (selectLastWord): save the selection cursor as this
11601         now is cleared in the function LyXText::clearSelection!
11602
11603 2001-08-08  Juergen Vigna  <jug@sad.it>
11604
11605         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11606         BACKSPACE type functions.
11607
11608         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11609         is only cutted from the document but not put in the cut-buffer, where
11610         still the old stuff should be.
11611
11612         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11613
11614         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11615
11616         * tabular.C (SetWidthOfCell): fixed special case where the width
11617         was not updated!
11618         (LeftLine): handle '|' in align_special.
11619         (RightLine): ditto
11620         (LeftAlreadyDrawed): ditto
11621         (SetWidthOfCell): ditto
11622
11623 2001-08-07  Juergen Vigna  <jug@sad.it>
11624
11625         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11626
11627 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11628
11629         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11630         * lyxlex.[hC]: ditto
11631
11632 2001-08-06  Juergen Vigna  <jug@sad.it>
11633
11634         * text.C (getVisibleRow): fix up row clearing a bit.
11635
11636 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11637
11638         * minibuffer.C: make sure the X server sees the changes in the input.
11639
11640 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11641
11642         * paragraph.C (getFont): split into...
11643         (getLabelFont): this
11644         (getLayoutFont): and this
11645         * paragraph_pimpl.C (realizeFont): calling this
11646
11647         * text2.C (getFont): split into...
11648         (getLayoutFont): this
11649         (getLabelFont): and this
11650         (realizeFont): all three calling this
11651
11652         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11653         files where used.
11654
11655 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11656
11657         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11658
11659 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11660
11661         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11662         layouts from the Quote inset insertion.
11663
11664 2001-08-03  Juergen Vigna  <jug@sad.it>
11665
11666         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11667
11668         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11669         only if status not is already CHANGED_IN_DRAW (second level).
11670
11671         * text.C (draw): don't set the need_break_row when inside an
11672         InsetText LyXText.
11673
11674 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11675
11676         * buffer.C (parseSingleLyXformat2Token): handle more latex
11677         conversion cases.
11678
11679         * bufferview_funcs.[hC]: change function names to
11680         begin with small char, adjust other files.
11681
11682 2001-08-02  André Pönitz <poenitz@gmx.net>
11683
11684         * lyxfunc.C:
11685         BufferView_pimpl.C: remove broken special code for math-greek
11686
11687 2001-08-02  Juergen Vigna  <jug@sad.it>
11688
11689         * BufferView_pimpl.C (update): redone this function so that we
11690         update the text again if there was a CHANGE_IN_DRAW.
11691
11692         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11693         (drawFromTo): added a new internal bool which is used by draw() and
11694         redraw() function.
11695         (general): some cursor drawing problems fixed.
11696
11697 2001-08-01  Juergen Vigna  <jug@sad.it>
11698
11699         * lyxfind.C (LyXFind): fixed
11700         (SearchForward): ditto
11701         (SearchBackward): ditto
11702
11703         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11704         spurius drawing of the cursor in the main area.
11705
11706         * text2.C (status): small fix which could lead to a segfault!
11707         (clearSelection): remove unneeded BufferView param.
11708
11709 2001-08-01  André Pönitz <poenitz@gmx.net>
11710
11711         * lyxfunc.C: small change due to changed mathed interface
11712
11713 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11714
11715         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11716
11717 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11718
11719         * lyxfunc.c: fail gracefully if file doesn't exist
11720
11721         * LyXSendto.C:
11722         * buffer.C:
11723         * lyxfunc.C:
11724         * BufferView_pimpl.C: IsDirWriteable() proto changed
11725
11726         * LyXView.C: fix updateWindowTitle() to store the last title
11727
11728 2001-07-31  Juergen Vigna  <jug@sad.it>
11729
11730         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11731         the font (wrong since using of Paragraph::highestFontInRange).
11732
11733         * paragraph.C (highestFontInRange): added a default_size parameter.
11734
11735         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11736         (setHeightOfRow): reformat
11737
11738 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11739
11740         * converter.[hC] + affected files: move to (inital-char)lowercase
11741         function names.
11742
11743         * ParagraphParameters.C (ParagraphParameters): remove commented code
11744
11745         * PainterBase.[Ch]: remove commented code
11746
11747         * LaTeXFeatures.h: add "bool floats" for float.sty
11748
11749         * LaTeXFeatures.C (LaTeXFeatures): init floats
11750         (require): handle float
11751         (getPackages): do it with floats
11752
11753 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11754
11755         * BufferView_pimpl.C (Dispatch): improve handling of
11756         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11757
11758         * commandtags.h: #include lyxfont.h here temporarily to avoid
11759         keybinding bug.
11760
11761         * bufferlist.h: include LString.h here.
11762
11763 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11764
11765         * text2.C (getStringToIndex): new method.
11766
11767 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11768
11769         * *: Reduced header file dependencies all over.
11770
11771 2001-07-30  Baruch Even  <baruch@lyx.org>
11772
11773         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11774
11775 2001-07-29  Baruch Even  <baruch@lyx.org>
11776
11777         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11778
11779 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11780
11781         * ParameterStruct.h (endif): add a default constructor to make
11782         sure that all variables is initialized.
11783
11784         * ParagraphParameters.C (ParagraphParameters): adjust
11785
11786 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11787
11788         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11789         index; also, check that there is something to index, and that it
11790         does not span over several paragraphs.
11791         (doubleClick): use WHOLE_WORD_STRICT for double click.
11792
11793         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11794
11795         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11796         scheme.
11797
11798 2001-07-26  Baruch Even  <baruch@lyx.org>
11799
11800         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11801         an InsetFig figure, backwards compatible reading of old figure code.
11802
11803 2001-07-27  Juergen Vigna  <jug@sad.it>
11804
11805         * text2.C: font.realize function adaption.
11806
11807         * text.C (draw): add a warnings lyxerr text if needed.
11808
11809         * layout.C: font.realize function adaption.
11810
11811         * language.C: add inherit_language and implement it's handlings
11812
11813         * bufferview_funcs.C (StyleReset): remove language parameter from
11814         font creation (should be language_inherit now).
11815
11816         * bufferparams.C (writeFile): handle ignore_language.
11817
11818         * paragraph.C (getFontSettings): the language has to be resolved
11819         otherwise we have problems in LyXFont!
11820
11821         * lyxfont.C (lyxWriteChanges): added document_language parameter
11822         (update): removed unneeded language parameter
11823
11824         * paragraph.C (validate): fixed wrong output of color-package when
11825         using interface colors for certain fonts in certain environments,
11826         which should not seen as that on the final output.
11827
11828 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11829
11830         * BufferView_pimpl.C:
11831         * Thesaurus.h:
11832         * Thesaurus.C:
11833         * Makefile.am:
11834         * commandtags.h:
11835         * LyXAction.C: add thesaurus support
11836
11837         * lyxfind.h:
11838         * lyxfind.C: add "once" parameter, for thesaurus, to not
11839           move to the next match
11840
11841 2001-07-26  Juergen Vigna  <jug@sad.it>
11842
11843         * lyxfont.C (realize): honor ignore_language too!
11844         (resolved): ditto.
11845
11846         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11847
11848         * text.C (draw): one place more for ignore_language to not draw
11849         itself!
11850
11851 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11852
11853         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11854
11855 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11856
11857         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11858         the minipage conversion problem.
11859
11860 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11861
11862         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11863         insert an inset.
11864
11865 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11866
11867         * BufferView.h: don't forward declare WorkArea
11868
11869         * BufferView.C: don't include WorkArea.h
11870
11871 2001-07-25  André Pönitz <poenitz@gmx.net>
11872
11873         * commandtags.h:
11874         * LyXAction.C:
11875         * lyxfunc.C:  new LFUN 'math-space'
11876
11877         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11878
11879 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11880
11881         * text2.C (toggleInset): call open/close
11882
11883 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11884
11885         * lyxfunc.C (dispatch): add debug for the disabled case
11886
11887         * font.C (buttonText): make similar to rectText
11888
11889         * buffer.C (readInset): comment out parsing of insetlist and
11890         insttheorem
11891
11892         * PainterBase.C (rectText): small correction
11893
11894         * BufferView_pimpl.C: comment out insettheorem and insetlist
11895         * LyXAction.C: ditto
11896         * commandtags.h: ditto
11897
11898 2001-07-24  Juergen Vigna  <jug@sad.it>
11899
11900         * text.C (draw): honor the ignore_language.
11901
11902         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11903
11904 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11905
11906         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11907         char inset.
11908
11909 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11910
11911         * lyxtext.h: remove unused (and unimplemented) methods
11912
11913 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11914
11915         * text.C (getVisibleRow): honor background color
11916
11917         * PainterBase.h:
11918         * Painter.h: remove default color argument for fillRectangle
11919
11920         * text.C (backgroundColor): new method
11921
11922 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11923
11924         * text.C (getVisibleRow): adjust
11925
11926         * font.[Ch] (rectText): new method, metrics
11927         (buttonText): new method, metrics
11928
11929         * PainterBase.[hC]: make rectText and buttonText always draw and take
11930         fewer paramteres.
11931
11932 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11933
11934         * ToolbarDefaults.C (read):
11935         * MenuBackend.C (read): allow escaping in all strings
11936
11937         * BufferView_pimpl.C (insertAndEditInset): new method.
11938         (Dispatch): use insertAndEditInset whenever appropriate.
11939
11940         * BufferView_pimpl.C (insertNote): removed
11941
11942         * BufferView_pimpl.C (smartQuote): new method, moved from
11943         BufferView; if an insetquote cannot be inserted, insert a '"'
11944         character instead.
11945
11946         * BufferView2.C: remove insertCorrectQuote();
11947
11948         * lyxfunc.C (getStatus): Add support for all remaingin
11949         inset-insert lfuns.
11950
11951         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11952
11953         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11954         command (necessary to pass " as parameter of self-insert.
11955
11956         * text.C (selectWordWhenUnderCursor):
11957         (selectWord): add word_location parameter
11958         (selectWordWhenUnderCursor): same + remove special code for word
11959         boundary.
11960         (selectNextWord): use kind() to guess type of insetspecialchar,
11961         not latex().
11962
11963         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11964         (insertErtContents): create ert insets as collapsed.
11965         (readInset): better compatibility code for Info inset.
11966
11967 2001-07-20  Juergen Vigna  <jug@sad.it>
11968
11969         * lyxfunc.C (dispatch): use always LyXFind now!
11970
11971         * text2.C (init): add a reinit flag so that the LyXText can be
11972         reinited instead of deleted and reallocated (used in InsetText).
11973
11974         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11975
11976         * text.C: ditto
11977
11978         * text2.C: ditto
11979
11980 2001-07-18  Juergen Vigna  <jug@sad.it>
11981
11982         * text.C (selectNextWord): handle insets inside inset by calling
11983         always the bv->text functions so that we can go up the_locking_inset!
11984
11985         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11986         in strange locations when inside an inset!
11987
11988         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11989         handling to include insets.
11990
11991         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11992
11993 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11994
11995         * LyXAction.C (init):
11996         * commandtags.h:
11997         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11998         LIGATURE_BREAK, since the name is so stupid.
11999
12000 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12001
12002         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12003         InsetInfos.
12004
12005         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12006
12007         * sp_form.[Ch]: remove.
12008
12009         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12010
12011         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12012         InsetInfo.
12013
12014         * src/buffer.C (readInset): ditto.
12015
12016 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12017
12018         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12019         menuSeparator(), endOfSentenceDot(), ldots() and
12020         hyphenationPoint(), which are therefore removed.
12021         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12022
12023         * LyXAction.C (init):
12024         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12025
12026         * paragraph.C (getWord): removed.
12027
12028         * BufferView_pimpl.C (Dispatch): use last word or selection for
12029         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12030
12031         * lyx_main.C (queryUserLyXDir): do not ask before creating
12032         user_dir, except if it has been named explicitely.
12033
12034 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12035
12036         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12037         a document of zero size.
12038
12039 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12040
12041         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12042         approriately in the c-tor and in require().
12043         (getPackages): output the appropriate LaTeX for natbib support.
12044
12045         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12046         variables "use_natbib" and "use_numerical_citations" when reading the
12047         LyX file.
12048         (readInset): read the various natbib cite commands.
12049         (validate): white-space change.
12050
12051         * bufferparams.[Ch]: new variables "bool use_natbib" and
12052         "bool use_numerical_citations".
12053         (writeFile): output them in the LyX file.
12054
12055 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12056
12057         * lyxfunc.C (getStatus): add support for all the inset insertion
12058         commands.
12059
12060         * text2.C (insertInset):
12061         * paragraph.C (insetAllowed):
12062         * BufferView_pimpl.C (insertInset): update to take in account the
12063         renaming of insertInsetAllowed
12064
12065         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12066
12067         * text2.C (getInset): new method. returns inset at cursor position.
12068
12069         * BufferView_pimpl.C (Dispatch): changes because of this.
12070
12071         * LyXAction.C (init): rename open-stuff to inset-toggle.
12072
12073         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12074
12075         * text2.C (toggleInset): renamed from openStuff; use
12076         Inset::open().
12077
12078 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12079
12080         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12081
12082         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12083
12084 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12085
12086         * buffer.C (readLyXformat2): Add filename to the error dialog
12087
12088 2001-07-18  Juergen Vigna  <jug@sad.it>
12089
12090         * tabular.C (GetCellNumber): put an assert here instead of the check!
12091
12092 2001-07-17  Juergen Vigna  <jug@sad.it>
12093
12094         * BufferView_pimpl.C (toggleSelection): adapted too.
12095
12096         * text.C (selectNextWord): adapted for use with insets.
12097         (selectSelectedWord): ditto
12098
12099 2001-07-17  Juergen Vigna  <jug@sad.it>
12100
12101         * sp_spell.C (PSpell): fix initialitation order.
12102
12103 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12104
12105         * paragraph.C: spacing
12106
12107 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12108
12109         * sp_spell.C: repair language selection for pspell
12110
12111 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12112
12113         * lyxfunc.h: change more methods to begin with lower char.
12114
12115 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12116
12117         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12118         for unknown layouts.
12119
12120 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12121
12122         * buffer.C (readLyXformat2): Generate an error dialog if there are
12123         unknown layouts.
12124
12125 2001-07-16  Juergen Vigna  <jug@sad.it>
12126
12127         * sp_spell.C: always compile ISpell part.
12128
12129         * lyxrc.C: added use_pspell entry and it's handling.
12130
12131 2001-07-13  Juergen Vigna  <jug@sad.it>
12132
12133         * sp_spell.C: removed double includes.
12134
12135 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12136
12137         Consistent use of Lsstream.h:
12138         * Lsstream.h: added using std::stringstream for consistencies sake.
12139
12140         * buffer.C: removed using std::stringstream
12141
12142         * lyxfont.C (stateText):
12143         * paragraph.C (asString):
12144         * text.C (selectNextWord, selectSelectedWord):
12145         * text2.C (setCounter):
12146         * vspace.C (asString, asLatexString):
12147         std::ostringstream -> ostringstream.
12148
12149 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12150
12151         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12152         * commandtags.h: add LFUN_HELP_ABOUTLYX
12153         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12154
12155 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12156
12157         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12158         cursorToggle()
12159         * lyx_gui_misc.C: remove spellchecker
12160         * lyxfunc.C: showSpellchecker
12161         * sp_base.h: added
12162         * sp_ispell.h: added
12163         * sp_pspell.h: added
12164         * sp_spell.C: added
12165         * sp_form.[Ch]: removed
12166         * spellchecker.[Ch]: removed
12167
12168 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12169
12170         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12171         is set.
12172         (simpleTeXSpecialChars): Simply print the input character without
12173         any special translation if pass_thru is set.
12174
12175         * layout.h: Added bool pass_thru to layout class for being able to
12176         implement pass through of a paragraph for Literate Programming.
12177
12178         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12179         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12180         * layout.C (Read): add "passthru" to list of layout tags and add
12181         code to set the pass_thru boolean when it is read.
12182
12183 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12184
12185         * trans_decl.h: remove allowed from KmodInfo
12186
12187         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12188         remove allowed code
12189         (Load): adjust
12190
12191         * paragraph_pimpl.C (erase): use boost::prior
12192
12193         * Painter.C (text): use data() instead of c_str() when length is
12194         also provided.
12195         * WorkArea.C (putClipboard): ditto
12196         * font.h (width): ditto
12197
12198         * BufferView2.C: use it-> instead of (*it). for iterators
12199         * texrow.C: ditto
12200         * paragraph_pimpl.C: ditto
12201         * paragraph.C: ditto
12202         * minibuffer.C: ditto
12203         * language.C: ditto
12204         * kbmap.C: ditto
12205         * encoding.C: ditto
12206         * counters.C: ditto
12207         * converter.C: ditto
12208         * chset.C: ditto
12209         * Variables.C: ditto
12210         * TextCache.C: ditto
12211         * MenuBackend.C: ditto
12212         * LyXAction.C: ditto
12213         * LColor.C: ditto
12214         * FloatList.C: ditto
12215         * DepTable.C: ditto
12216         * ColorHandler.C (LyXColorHandler): ditto
12217
12218 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12219
12220         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12221
12222         * text2.C (openStuff): reintroduce this method (which had been
12223         nuked in NEW_INSETS frenzy).
12224
12225         * lyxfunc.C (Dispatch): when an action has not been handled, use
12226         its name in the error message, not its number.
12227
12228         * paragraph.C (inInset): change method name to begin with lowercase.
12229
12230         * undo_funcs.C:
12231         * text2.C: updates because of this.
12232
12233 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12234
12235         * ToolbarDefaults.C (add): add spaces in error message
12236
12237 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12238
12239         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12240         (readLyXformat2): rename return_par to first_par, use lyxlex's
12241         pushToken and remove the manual push handling.
12242         (parseSingleLyXformat2Token): add another ert comp. variable:
12243         in_tabular, rename return_par to first_par. handle newlines better
12244
12245 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12246
12247         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12248
12249 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12250
12251         * text2.C (getParFromID): removed
12252
12253         * buffer.C (getParFromID): new method moved form lyxtext.
12254         * BufferView2.C (insertErrors): adjust
12255         (setCursorFromRow): adjust
12256         * BufferView_pimpl.C (restorePosition): adjust
12257         * lyxfunc.C (Dispatch): adjust
12258         * undo_funcs.C (textUndo): adjust
12259         (textRedo): adjust
12260         (textHandleUndo): adjust
12261         (textHandleUndo): adjust
12262
12263 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12264
12265         * buffer.C: up' the LYX_FORMAT
12266
12267         * lyxfont.h: turn NO_LATEX on as default
12268
12269         * buffer.C (insertErtContents): new methods of tex style compability.
12270         (parseSingleLyXformat2Token): use it several places.
12271         * tabular.C (OldFormatRead): and here
12272
12273 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12274
12275         * text2.C: remove some commented code.
12276         reindent file.
12277
12278         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12279         * trans.C: changes because of the above.
12280
12281 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12282
12283         * text2.C (setCounter): Fix counters bug with bibliography layout.
12284
12285 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12286
12287         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12288         own member functions
12289         (simpleTeXSpecialChars): ditto
12290
12291 2001-07-06  Juergen Vigna  <jug@sad.it>
12292
12293         * a lot of files: changed the access to LyXText::status and the
12294         call of undo-functions.
12295
12296         * undo.[Ch]: added a inset_id to the undo informations.
12297
12298         * undo_funcs.[Ch]: added and moved here all undo functions.
12299
12300         * lyxtext.h: give the status enum a weight, made status_ a private
12301         variable and made accessor functions for it, removed the whole bunch
12302         of undo-functions as they are now in their own file, make some
12303         functions publically available. Added function ownerParagraph with
12304         int parameter.
12305
12306         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12307         made InInset() a const function, added getParFromID() function.
12308
12309         * buffer.[Ch]: added const version for inset_iterator functions,
12310         added getInsetFromID() function.
12311
12312         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12313         changed undo functions for new version.
12314
12315 2001-07-05  Juergen Vigna  <jug@sad.it>
12316
12317         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12318         unknow mechanism does not call the proper constructor but only this
12319         one also if I request the other!?
12320
12321 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12322
12323         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12324
12325         * text2.C (LyXText): use initialization lists.
12326
12327         * lyxtext.h (Selection): initialize set_ and mark_
12328         (init): remove method
12329
12330 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12331
12332         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12333
12334 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12335
12336         * screen.[Ch]: change method names to begin with lowercase
12337
12338         * BufferView_pimpl.C (updateScrollbar): simplify further and
12339         hopefully make it a bit faster.
12340
12341 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12342
12343         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12344         calling directly xforms functions.
12345
12346         * Painter.C (Painter):
12347         * lyx_cb.C (MenuWrite):
12348         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12349         fl_display.
12350
12351         * lyx_gui.C: remove bogus guiruntime extern declaration.
12352
12353 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12354
12355         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12356         in NEW_INSETS
12357         (redoDrawingOfParagraph): ditto
12358         (redoParagraphs): ditto
12359         (cutSelection): don't create a object for CutAndPaste use the
12360         static method directly
12361         (pasteSelection): ditto
12362
12363         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12364         LyXview (+ rename)
12365
12366 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12367
12368         * modifications to some other files because of this.
12369
12370         * Makefile.am (lyx_SOURCES): add XFormsView
12371
12372         * XFormsView.[Ch]: new files
12373
12374         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12375         the main window. Move the gui dependent stuff to XFormsView
12376
12377 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12378
12379         * tabular.C (GetCellInset): update cur_cell also in the row/col
12380         version of this function.
12381
12382         * lyxfunc.C: no need to include figure_form.h here.
12383
12384         * FontLoader.h:
12385         * lyxfunc.h:
12386         * lyxscreen.h:
12387         * text2.C:
12388         * lyxvc.C: no need to include forms.h here.
12389
12390 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12391
12392         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12393
12394         * lyxfunc.C (Dispatch):
12395         * Spacing.C (set):
12396         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12397         constructor argument.
12398
12399 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12400
12401         * paragraph.C (Paragraph): dont't clear, and just set layout.
12402         (makeSameLayout): use params's copy contructor.
12403
12404         * ParagraphParameters.[Ch] (makeSame): delete method
12405
12406 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12407
12408         * Variables.[Ch]: fix indentation, rename set to isSet
12409
12410 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12411
12412         * lyxfunc.C (Dispatch): fix typo
12413
12414 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12415
12416         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12417         upper_bound.
12418
12419         * bufferlist.C: include assert.h for emergencyWrite().
12420
12421 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12422
12423         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12424           give up at last (bug #425202) !
12425
12426 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12427
12428         * lyx_gui_misc.C:
12429         * sp_form.h:
12430         * sp_form.C:
12431         * spellchecker.h:
12432         * spellchecker.C: strip spellchecker options and bring up
12433           preferences tab instead
12434
12435 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12436
12437         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12438         the istringstream constructor
12439
12440 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12441
12442         * paragraph.C (getLayout): fix return value
12443
12444         * paragraph.h: do not declare getLayout as inline.
12445
12446         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12447
12448 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12449
12450         * lyxcursor.h (operator<): new func
12451         (operator>): new func
12452         (operator>=): new func
12453         (operator<=): new func
12454
12455         * text.C (changeCase): use selection.start and selection.end
12456         (changeRegionCase): require from to be <= to. Require par to be a
12457         valid paragraph.
12458
12459         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12460
12461 2001-06-27  Juergen Vigna  <jug@sad.it>
12462
12463         * text.C (cursorLeftOneWord): changed to return the cursor and added
12464         overlay with BufferView * parameter which calls this one.
12465         (getWord): added
12466         (selectWord): use new getWord function.
12467         (changeCase): renamed from changeWordCase as and extended to work
12468         also on selections.
12469
12470         * lyxtext.h: added enum word_location
12471
12472         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12473         changeCase as this operates now also on selections.
12474
12475 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12476
12477         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12478
12479         * many files: send debug output to Debug::INFO instead of
12480         Debug::ANY.
12481
12482         * converter.C (View):
12483         (Convert):
12484         (Move): send debug output to Debug::FILES instead of console.
12485
12486 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12487
12488         * lyxfunc.C (getStatus): use func_status
12489
12490         * func_status.h: new header, describing the results of
12491         LyXFunc::getStatus;
12492
12493         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12494         LFUN_MATH_HALIGN.
12495
12496 2001-06-25  The LyX Project  <jug@sad.it>
12497
12498         * buffer.C (sgmlOpenTag):
12499         (sgmlCloseTag):
12500         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12501
12502 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12503
12504         * text2.C: remove some dead code
12505
12506         * tabular.C (GetCellInset): store the last cell checked (gotten)
12507
12508         * tabular.h: add the helper for the speedup
12509
12510         * lyxtext.h: remove some dead code
12511
12512 2001-06-26  The LyX Project  <Asger>
12513
12514         * paragraph.C: Change export to LaTeX of alignment to
12515         \begin{center} and family for better roundtrip work with reLyX.
12516
12517         * Tune the math drawing a bit.
12518
12519 2001-06-25  The LyX Project  <Asger>
12520
12521         * LColor.C (LColor): New color for math background. New color
12522         for buttons.
12523
12524 2001-06-25  The LyX Project  <jug@sad.it>
12525
12526         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12527
12528         * lyxfunc.C (Open):
12529         * bufferlist.C (newFile): do not restrict to files ending with
12530         .lyx
12531
12532         * BufferView_pimpl.C (MenuInsertLyXFile):
12533
12534 2001-06-24  The LyX Project  <jug@sad.it>
12535
12536         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12537         of compare_no_case
12538
12539 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12540
12541         * lyxtext.h: rename most methods to begin with a small char.
12542         Lots of changes because of this.
12543
12544         * paragraph.C (Paragraph): do not call fitToSize
12545         (erase): call Pimpl::erase
12546         (insertChar): call Pimpl::insertChar
12547         (insertInset): call Pipl::insertInset
12548         (breakParagraph): do not call fitToSize
12549         (breakParagraphConservative): do not call fitToSize
12550         (fitToSize): remove method
12551
12552         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12553
12554 2001-06-24  The LyX Project  <Asger>
12555
12556         * Fix Qt compilation^2
12557
12558 2001-06-24  The LyX Project  <jug@sad.it>
12559
12560         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12561         depthHook(getDepth()-1).
12562
12563         * paragraph.h:
12564         * ParagraphParameters.h:
12565         * ParameterStruct.h: change type of depth to unsigned int ==
12566         depth_type. Many adaptations to other files before of that.
12567
12568 2001-06-24  The LyX Project  <Asger>
12569
12570         * Fix Qt compilation.
12571
12572 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12573
12574         * paragraph.h: renamed several methods to begin with small letter.
12575         several changes to many parts of the code because of this.
12576
12577 2001-06-23  The LyX Project  <jug@sad.it>
12578
12579         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12580         rewritten to discard all double spaces when KeepEmpty is off
12581         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12582         to only handle newlines but not fiddle with spaces and friends.
12583
12584         * lyxfunc.C (MenuNew): when doing 'new from template', use
12585         template_path as default directory
12586
12587 2001-06-23  The LyX Project  <Asger>
12588
12589         * Clean-up of header file includes all over
12590         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12591
12592 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12593
12594         * paragraph.h: renamed from lyxparagraph.h
12595
12596 2001-06-23  Asger  <lyx@violet.home.sad.it>
12597
12598         * Buffer.h: Removed Buffer::resize
12599         * BufferList.h: Removed BufferList::resize
12600         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12601         the document lazily when we change the width, or the font settings.
12602
12603 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12604
12605         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12606
12607 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12608
12609         * buffer.h: remove out of date comment
12610
12611 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12612
12613         * lyxscreen.h:
12614         * screen.C: fix "theoretical" GC leak
12615
12616 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12617
12618         * LaTeX.C (scanAuxFile):
12619         (deplog): remove trailing \r when reading stream (useful under
12620         win32)
12621
12622 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12623
12624         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12625         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12626         and BufferView::theLockingInset(Inset*), so should use them and not
12627         access bv_->text->the_locking_inset directly.
12628
12629         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12630
12631 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12632
12633         * Makefile.am:
12634         * tex-defs.h: remove old unused file
12635
12636 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12637
12638         * BufferView_pimpl.C: fix typo, remove minibuffer message
12639           when buffer has loaded
12640
12641 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12642
12643         * lyxfunc.C (Dispatch): use stringstream
12644         (MenuNew): use stringstream
12645         (Open): use stringstream
12646
12647         * importer.C (Import): use stringstream
12648
12649         * bufferview_funcs.C (CurrentState): use stringstream
12650
12651         * LaTeX.C (run): use stringstream
12652
12653         * BufferView_pimpl.C (savePosition): use stringstream
12654         (restorePosition): use stringstream
12655         (MenuInsertLyXFile): use stringstream
12656
12657 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12658
12659         * BufferView.C:
12660         * Bullet.C:
12661         * ColorHandler.C:
12662         * FontInfo.C:
12663         * FontLoader.C:
12664         * LColor.C:
12665         * LaTeXFeatures.C:
12666         * Painter.C:
12667         * gettext.C:
12668         * lyx_gui_misc.C:
12669         * lyxserver.C:
12670         * vspace.C: removed // -*- C++ -*- as first line.
12671
12672         * lyxfind.h:
12673         * version.h: added // -*- C++ -*- as first line.
12674
12675 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12676
12677         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12678
12679         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12680         of string
12681
12682 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12683
12684         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12685         of floats.
12686
12687 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12688
12689         * gettext.C: include LString.h even when --disable-nls is on.
12690
12691 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12692
12693         * converter.h (Get): changed argument type from int to
12694         FormatList::size_type to avoid unnecessary conversion.
12695
12696         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12697         before using it.
12698
12699 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12700
12701         * gettext.h: include LString.h even when --disable-nls is on.
12702
12703 2001-06-07  Juergen Vigna  <jug@sad.it>
12704
12705         * text.C (BreakAgain): subst spaces with tabs.
12706
12707         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12708         (resizeInsetsLyXText): set force on resizeLyXText.
12709
12710 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12711
12712         * gettext.h (gettext_init):
12713         (locale_init): use a real definition instead of a macro
12714
12715 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12716
12717         * Bufferview_pimpl.C:
12718         * LColor.h:
12719         * LColor.C: further lcolor tidies
12720
12721 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12722
12723         * BufferView_pimpl.C (updateScrollbar): simplify.
12724
12725         * BufferView2.C: don't include insets/insetinfo.h, change
12726         prototype for insertInset and call the Pimpl version. let
12727         updateInset call Pimpl version.
12728
12729         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12730         gotoInset to BufferView::Pimpl
12731
12732 2001-06-01  Juergen Vigna  <jug@sad.it>
12733
12734         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12735         inside a LockingInset (is the update needed at all?).
12736
12737 2001-05-31  Juergen Vigna  <jug@sad.it>
12738
12739         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12740         here not the old one otherwise how should we compare it afterwards
12741         if it's the same!
12742
12743 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12744
12745         * lyxfont.C:
12746         * tabular.C:
12747         * tabular-old.C:
12748         * FontInfo.C: bring C functions into global namespace when
12749         necessary
12750
12751 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12752
12753         * LString.h: make sure config.h has been loaded before LString.h.
12754
12755         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12756         (one for each char read by EatLine!).
12757
12758         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12759         variables.
12760
12761 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12762
12763         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12764         to the same as the par we break from
12765
12766 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12767
12768         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12769
12770         * MenuBackend.C (expand): also create menu entries for wide
12771         versions of the floats.
12772
12773         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12774
12775         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12776
12777         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12778         frontends/Makefile.am
12779
12780         * text2.C: adjust
12781         * text.C: adjust
12782
12783
12784         * tabular.C (getTokenValue): add std::
12785
12786         * tabular-old.C (getTokenValue): add std::
12787         (getTokenValue): ditto
12788         (getTokenValue): ditto
12789
12790         * screen.C (ToggleSelection): adjust
12791
12792         * lyxtext.h: put selection cursors inside a Selection struct.
12793
12794         * lyxfunc.C (moveCursorUpdate): adjust
12795
12796         * lyxfont.C (latexWriteStartChanges): add std::
12797
12798         * lyxfind.C: adjust
12799
12800         * font.h: delete with(char const *, LyXFont const &)
12801
12802         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12803
12804         * FontInfo.C (getFontname): add std::
12805
12806         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12807         (workAreaButtonPress): adjust
12808         (tripleClick): adjust
12809         (update): adjust
12810         (moveCursorUpdate): adjust
12811         (Dispatch): adjust
12812
12813         * BufferView2.C (gotoInset): adjust
12814
12815 2001-05-30  Juergen Vigna  <jug@sad.it>
12816
12817         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12818         to check pspell I add this as default as I now have new pspell
12819         libraries and they seem to use this.
12820
12821 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12822
12823         * text2.C (CutSelection): make the cursor valid before the call to
12824         ClearSelection.
12825
12826 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12827
12828         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12829         relied on 0 terminated strings and other horrors. Bug found due to
12830         the new assert in lyxstring!
12831
12832         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12833         KP_ keys.
12834
12835 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12836
12837         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12838         to latinkeys.bind.
12839
12840         * lyxfunc.C (processKeySym): change method of getting to the
12841         self-insert char.
12842
12843         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12844         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12845         * BufferView_pimpl.[Ch]: here as private methods.
12846
12847 2001-05-28  Juergen Vigna  <jug@sad.it>
12848
12849         * text.C (SetHeightOfRow): added the update() call again as it is
12850         needed to initialize inset dimensions!
12851
12852 2001-05-16  Juergen Vigna  <jug@sad.it>
12853
12854         * text2.C (SetCharFont): Add new function with BufferView * and
12855         bool toggleall parameters for setting insets internal fonts.
12856         (SetFont): Freeze the undo as we may change fonts in Insets and
12857         all this change should be inside only one Undo!
12858
12859         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12860         setting font's in insets as for them we have the SetFont function!
12861
12862 2001-05-15  Juergen Vigna  <jug@sad.it>
12863
12864         * text2.C (ClearSelection): to be sure we REALLY don't have any
12865         selection anymore!
12866
12867         * tabular.C (TeXCellPreamble): fixed the left border problem for
12868         multicolumn cells.
12869
12870 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12871
12872         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12873         dependancy file
12874
12875 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12876
12877         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12878         LFUN_BREAKPARAGRAPH.
12879
12880         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12881         help test to "internal only", similar for LFUN_INSERT_URL
12882
12883         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12884         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12885         auto_region_delete and deadkeys.
12886
12887 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12888
12889         * LColor.h:
12890         * LColor.C: remove some dead entries, tidy a little
12891
12892 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12893
12894         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12895         commented code.
12896         (Dispatch): implement LFUN_ESCAPE
12897
12898         * commandtags.h: add LFUN_ESCAPE
12899
12900         * LyXAction.C (init): add entry for LFUN_ESCAPE
12901
12902         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12903         Remove commented code.
12904         (insertNote): moved here
12905         (open_new_inset): moved here
12906
12907         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12908         BufferView_pimpl
12909
12910 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12911
12912         * kbmap.C (findbinding): clean it up and make it work correctly.
12913
12914         * lyx_main.C (init): do not pass argc and argv as parameters
12915
12916 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12917
12918         * buffer.C: fix path for OS/2 & Win32
12919
12920         * lyx_gui.C:
12921         * lyx_main:
12922         * lyx_main.C: Added os:: class.
12923
12924         * os2_defines.h: update
12925
12926 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12927
12928         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12929         better by trying again with reduced state.
12930
12931 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12932
12933         * lyxrc.C (read): print error about invalid key sequence only when
12934         debugging (because not all latinX keysyms are known to some X
12935         servers)
12936
12937         * kbsequence.C (getiso): add a few std:: qualifiers
12938         (getiso): comment out extra return statement.
12939
12940 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12941
12942         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12943         handling.
12944         (Dispatch): enhance the accent inset a bit. (not perfect)
12945
12946 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12947
12948         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12949
12950 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12951
12952         * bufferlist.C (emergencyWrite): fix assert() call
12953
12954 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12955
12956         * text.C (InsertChar): Added trivial patch to only send the "you
12957         can not do multiple spaces this way" message once during a
12958         session.
12959
12960 2001-05-08  Baruch Even  <baruch@lyx.org>
12961
12962         * Makefile.am: Changed order of libraries to get LyX to link properly
12963         with the gnome frontend.
12964
12965 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12966
12967         * LaTeXFeatures.h: add a std:: qualifier
12968
12969 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12970
12971         * paragraph.C (String): use stringstream
12972
12973 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12974
12975         * paragraph.C (writeFile): remove footflag arg
12976
12977         * buffer.C (makeLaTeXFile): use stringstream
12978         (latexParagraphs): remove footnot gurba
12979
12980         * LaTeXFeatures.C (getPackages): use stringstream
12981         (getMacros): likewise
12982         (getTClassPreamble): likewise
12983         (getFloatDefinitions): new method
12984
12985         * paragraph.C (writeFile): reindent
12986         (Erase): reindent
12987
12988         * WorkArea.h: revert the xpos + etc changes.
12989
12990         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12991
12992         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12993
12994         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12995         (pasteSelection): likewise
12996         * text2.C (CreateUndo): likewise
12997
12998 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12999
13000         * minibuffer.C (peek_event): temporarily reduce the functionality
13001         of the minibuffer (to allow args on lfuns)
13002
13003         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13004         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13005
13006         * buffer.C (readInset): add compability reading of old float
13007         lists, add reading of new style float list.
13008         (readInset): avoid reevaluation of inscmd.getCmdName()
13009         (getLists): reindent
13010
13011         * MenuBackend.C (MenuItem): implement parsing of
13012         md_floatlistinsert and md_floatinsert.
13013         (expand::LastFiles): move initalizaton of iterators out of loop,
13014         avoid reevaluation.
13015         (expand::Documents): introduce typdedef vector<string> Strings,
13016         and use it.
13017         (expand::ExportFormats): introduce typedef vector<Format const *>
13018         Formats, and use it.
13019         (expand): implement FloatListInsert and FloatInsert.
13020
13021         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13022         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13023         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13024
13025         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13026         handling.
13027         (Dispatch::LFUN_FLOAT_LIST): implement
13028
13029 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13030
13031         * LaTeX.C (run): Fix problem with --export code.
13032
13033 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13034
13035         * BufferView.[Ch] (workarea): removed.
13036         (getClipboard) new method; wrapper for workarea()->getClipboard()
13037
13038         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13039         bug.
13040
13041         * WorkArea.h (width, height, xpos, ypos): These methods all
13042         returned the dimensions of the work_area sub-area of WorkArea,
13043         resulting in a position error if the WorkArea were resized. Now
13044         return the dimensions of the entire WorkArea.
13045
13046         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13047
13048 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13049
13050         * LaTeX.C (deplog): correct the syntax of regex reg1
13051
13052 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13053
13054         * undo.C: remove !NEW_INSETS cruft
13055
13056 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13057
13058         * text2.C: remove !NEW_INSETS cruft
13059
13060         * text.C: remove !NEW_INSETS cruft
13061
13062         * tabular.C: remove !NEW_INSETS cruft
13063
13064         * spellchecker.C: remove !NEW_INSETS cruft
13065
13066         * lyxtext.h: remove !NEW_INSETS cruft
13067
13068         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13069
13070         * lyxfunc.C: remove !NEW_INSETS cruft
13071
13072         * lyxfind.C: remove !NEW_INSETS cruft
13073
13074         * lyx_cb.C: remove !NEW_INSETS cruft
13075
13076         * figureForm.C: remove  !NEW_INSETS cruft
13077
13078         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13079
13080         * buffer.[Ch]: remove !NEW_INSETS cruft
13081
13082         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13083
13084         * CutAndPaste.C: remove !NEW_INSETS cruft
13085
13086         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13087
13088         * BufferView2.C: remove !NEW_INSETS cruft
13089
13090         * BufferView.h: remove !NEW_INSETS cruft
13091
13092 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13093
13094         * Lsstream.h: include LString.h before the sstream headers to
13095         fix problem with gcc 2.95.3 and lyxstring
13096
13097 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13098
13099         * lyx_main.C: add using directives when needed for C functions
13100         declared in std:: namespace.
13101
13102 2001-04-27  Juergen Vigna  <jug@sad.it>
13103
13104         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13105         (SetHeightOfRow): comment out the update call should not be needed!
13106
13107 2001-04-13  Juergen Vigna  <jug@sad.it>
13108
13109         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13110         (LyXTabular): tried to minimize operator= operations (and realized
13111         hopfully Lars wish).
13112
13113 2001-04-27  Juergen Vigna  <jug@sad.it>
13114
13115         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13116
13117 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13118
13119         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13120
13121         * buffer.C (readInset): hack to make listof algorithm work
13122
13123         * BufferView_pimpl.C: hack to make listof algorithm work
13124
13125 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13126
13127         * LyXAction.C: removed all !NEW_INSETS cruft
13128         (init): moved lfun_item in method
13129
13130         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13131
13132 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13133
13134         * BufferView2.C (theLockingInset): white space.
13135
13136 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13137
13138         * minibuffer.C: include <iostream>
13139
13140         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13141
13142         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13143
13144         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13145
13146         * text.[Ch] (TransposeChars): new method
13147
13148 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13149
13150         * call message directly through LyXView instead of through LyXFunc
13151         * BufferView2.C: adjust
13152         * BufferView_pimpl.C: adjust
13153         * FontLoader.C: adjust
13154         * buffer.C: adjust
13155         * bufferview_funcs.C: adjust
13156         * converter.C: adjust
13157         * figureForm.C: adjust
13158         * importer.C: adjust
13159         * lyx_cb.C: adjust
13160         * lyx_gui_misc.C: adjust
13161         * lyxfunc.C: adjust
13162         * lyxvc.C: adjust
13163         * text2.C: adjust
13164         + more files in subdirs
13165
13166         * lyxparagraph.h (size): move up int file
13167         (GetLayout): ditto
13168
13169         * adjust all uses of Assert to lyx::Assert.
13170
13171         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13172         lyxfunctional in namespace lyx
13173         * layout.C (hasLayout): ditto
13174         (GetLayout): ditto
13175         (GetLayout): ditto
13176         (delete_layout): ditto
13177         (NumberOfClass): ditto
13178         * converter.C (GetFormat): ditto
13179         (GetNumber): ditto
13180         (Add): ditto
13181         (Delete): ditto
13182         (SetViewer): ditto
13183         * bufferlist.C (getFileNames): ditto
13184         (emergencyWriteAll): ditto
13185         (exists): ditto
13186         (getBuffer): ditto
13187         * MenuBackend.C (hasSubmenu): ditto
13188         (hasMenu): ditto
13189         (getMenu): ditto
13190         * BufferView_pimpl.C (getInsetByCode): ditto
13191
13192 2001-04-18  Juergen Vigna  <jug@sad.it>
13193
13194         * vspace.C (asLatexString): fixed the 100% problem.
13195
13196 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13197
13198         * lyxfunc.C (Dispatch):
13199         * minibuffer.C:
13200         * minibuffer.h: add a few std:: qualifiers
13201
13202 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13203
13204         * minibuffer.[Ch]: reimplement so that commands is initiated and
13205         run from lyxfunc, simplified som handling, and made the completion
13206         and history code for complete. wip.
13207
13208         * lyxfunc.C (processKeySym): call message
13209         (miniDispatch): new temporary method
13210         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13211         (LFUN_MESSAGE): implement
13212         (LFUN_MESSAGE_PUSH): implement
13213         (LFUN_MESSAGE_POP): implement
13214         (initMiniBuffer): the initial/defualt minibuffer message.
13215
13216         * lyxfont.[Ch]: inline some more getters
13217
13218         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13219
13220         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13221
13222         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13223         (AutoSave): use LFUN_MESSAGE
13224         (Reconfigure): ditto
13225
13226         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13227
13228         * figureForm.C: use LFUN_MESSAGE
13229
13230         * converter.C (runLaTeX): use LFUN_MESSAGE
13231
13232         * bufferview_funcs.C: use LFUN_MESSAGE
13233         (Melt): ditto
13234         (changeDepth): ditto
13235
13236         * bufferparams.h: use boost::
13237
13238         * bufferlist.h: inherit privately from noncopyable
13239
13240         * bufferlist.C (loadLyXFile): remove some commented code.
13241
13242         * buffer.C (runChktex): use LFUN_MESSAGE
13243
13244         * ShareContainer.h: inherit privately from noncopyable
13245
13246         * ParagraphParameters.[hC] (depth): inline it.
13247
13248         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13249         methods.
13250         (message): new method
13251         (messagePush): ditto
13252         (messagePop): ditto
13253         (show): init minibuffer
13254         (showState): direct call
13255
13256         * LaTeX.[Ch]: inherit privately from noncopyable
13257         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13258         instead of WriteStatus.
13259
13260         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13261
13262         * BufferView_pimpl.C (buffer): don't init minibuffer
13263         (workAreaButtonPress): use LFUN_MESSAGE
13264         (workAreaButtonRelease): ditto
13265         (savePosition): ditto
13266         (restorePosition): ditto
13267         (MenuInsertLyXFile): ditto
13268         (workAreaExpose): don't init minibuffer
13269         (update): remove commented code, simplify
13270
13271         * BufferView2.C (openStuff): use LFUN_MESSAGE
13272         (toggleFloat): ditto
13273         (menuUndo): ditto
13274         (menuRedo): ditto
13275         (copyEnvironment): ditto
13276         (pasteEnvironment): ditto
13277         (copy): ditto
13278         (cut): ditto
13279         (paste): ditto
13280         (gotoInset): ditto
13281         (updateInset): remove some commented code
13282
13283         * lastfiles.h: inherit privately from noncopyable
13284         * layout.h: ditto
13285         * lyx_gui.h: ditto
13286         * lyx_main.h: ditto
13287         * lyxlex.h: ditto
13288         * lyxlex_pimpl.h: ditto
13289
13290         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13291         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13292         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13293
13294         * LyXAction.h: inherit privately from noncopyable, add methods
13295         func_begin, func_end, returning iterators to the func map.
13296
13297         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13298         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13299         (func_begin): new method
13300         (func_end): new method
13301
13302         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13303         and not)
13304         (copySelection): ditto
13305         (pasteSelection): ditto
13306
13307         * BufferView.C: whitespace change
13308         * BufferView.h: inherit privately from noncopyable
13309
13310 2001-04-16  Allan Rae  <rae@lyx.org>
13311
13312         * tabular-old.C (l_getline):
13313         * spellchecker.C (sc_check_word):
13314         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13315         an unrecognised preprocessor directive.  So ensure they're wrapped.
13316
13317 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13318
13319         * src/exporter.C (Export): Give an error message when path to file
13320         contains spaces.
13321
13322 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13323
13324         * LaTeX.C (deplog): Always check that foundfile exists.
13325
13326 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13327
13328         * lyx_main.h:
13329         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13330
13331 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13332
13333         * tabular.[Ch] (getLabelList): implement new method
13334
13335         * minibuffer.h: comment ouf setTiimer
13336
13337         * minibuffer.C (ExecutingCB): constify res
13338         (peek_event): constify s
13339         (Set): constify ntext
13340         (Init): constify nicename
13341
13342         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13343
13344         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13345         (savePosition): use two params to Minibuffer::Set
13346         (restorePosition): ditto
13347
13348 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13349
13350         * lyx_main.C: include language.h
13351
13352         * Makefile.am (lyx_main.o): add language.h
13353
13354 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13355
13356         * exporter.C:
13357         * paragraph.C:
13358         * screen.C:
13359         * tabular.C:
13360         * CutAndPaste.C: include gettext.h
13361
13362         * lyxfont.h: remove old hack with ON and OFF.
13363
13364         * lyxparagraph.h:
13365         * lyxfont.h: do not include language.h...
13366
13367         * BufferView2.C:
13368         * LaTeXFeatures.C:
13369         * Painter.C:
13370         * bufferview_funcs.C:
13371         * font.C:
13372         * lyxfont.C:
13373         * text.C:
13374         * text2.C:
13375         * trans_mgr.C:
13376         * paragraph.C: ... but do it here instead
13377
13378 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13379
13380         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13381
13382         * tabular.C: small reformat
13383
13384         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13385         NEW_INSETS version
13386         (GetChar): ditto
13387         (BreakParagraph): ditto
13388         (SetOnlyLayout): ditto
13389         (SetLayout): ditto
13390
13391         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13392         with one arg less.
13393
13394         * lastfiles.C: removed most using decl, add std:: where needed
13395
13396         * buffer.C: ws changes
13397
13398         * MenuBackend.C (class compare_format): put into anon namespace
13399         (expand): constify label, names, action, action2
13400         (expand):
13401
13402         * text.C (SingleWidth): constify font
13403         (IsBoundary): constify rtl2
13404         (GetVisibleRow): constify ww
13405
13406         * LaTeX.C (deplog): constify logfile
13407
13408         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13409         start_x, end_x
13410         (workAreaExpose): constify widthChange, heightChange
13411
13412         * lyxrow.C (par): moved
13413         (height): moved
13414         (next): moved
13415         * lyxrow.h: as inlines here
13416
13417         * lyxfont.h (shape): moved from lyxfont.C
13418         (emph): moved from lyxfont.C
13419
13420         * lyxfont.C (LyXFont): use initialization list for all
13421         constructors
13422         (shape): move to lyxfont.h as inline
13423         (emph): move to lyxfont.h as inline
13424
13425
13426 2001-04-04  Juergen Vigna  <jug@sad.it>
13427
13428         * vspace.C: had to include stdio.h for use of sscanf
13429
13430 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13431
13432         * BufferView.h:
13433         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13434         independent of xforms.
13435
13436 2001-04-02  Juergen Vigna  <jug@sad.it>
13437
13438         * spellchecker.C: fixed namespace placing!
13439
13440 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13441
13442         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13443         the LyXParagraph * is 0.
13444
13445 2001-03-29  Juergen Vigna  <jug@sad.it>
13446
13447         * vspace.C: added support for %, c%, p%, l%.
13448         (stringFromUnit): added helper function.
13449         (asLatexString): changed to give right results for the %-values.
13450
13451         * buffer.C: convert the widthp in a width%.
13452
13453 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13454
13455         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13456         figureForm.[Ch].
13457
13458         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13459         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13460
13461         * lyx_cb.[Ch]: see above.
13462
13463         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13464         form1.[Ch].
13465
13466         * form1.[Ch]:
13467         * lyx.[Ch]: replaced by figure_form.[Ch].
13468
13469         * lyx_gui.C:
13470         * lyx_gui_misc.C:
13471         * lyxfunc.C: changed headers associated with above changes.
13472
13473 2001-03-27  Juergen Vigna  <jug@sad.it>
13474
13475         * BufferView_pimpl.C: set the temporary cursor right!
13476
13477 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13478
13479         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13480
13481 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13482
13483         * LString.h: removed "using std::getline"!
13484
13485         * BufferView_pimpl.C (Dispatch): changes due to changes in
13486         InsetInclude::Params.
13487
13488         * buffer.C (tag_name): removed redundant break statements as they were
13489         producing lots of warnings with my compiler.
13490
13491 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13492
13493         * LString.h: add "using std::getline" when using the real <string>.
13494
13495 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13496
13497         * buffer.C: removed bitset usage.
13498         PAR_TAG moved to an anonymous name space.
13499         (tag_name): new funtion, also in the anonymous namespace.
13500         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13501         (makeDocBookFile): clean code. Completed transition from string arrays
13502         to string vectors.
13503         (SimpleDocBookOnePar): code clean.
13504
13505 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13506
13507         * tabular.C: add some comments.
13508
13509 2001-03-22  Juergen Vigna  <jug@sad.it>
13510
13511         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13512         compatibility read a bit and fixed bug with minipage in different
13513         depth.
13514
13515 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13516
13517         * buffer.C (pop_tag): removed.
13518         (push_tag): removed.
13519         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13520         array replaced with vector. Added support for CDATA sections.
13521         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13522         at any nest level.
13523         (makeDocBookFile): XML conformant declaration of CDATA section,
13524         fixed bug related to <emphasis> in the first paragraph char.
13525         (sgmlOpenTag): exclude empty tags.
13526         (sgmlCloseTag): ditto.
13527
13528         * buffer.h (pop_tag): removed.
13529         (push_tag): removed.
13530
13531 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13532
13533         * language.h (Languages): added size_type and size().
13534
13535 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13536
13537         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13538         response on compability reading of minipages. One probliem is that
13539         the old usage of minipages was «flertydig»
13540
13541         * several files here and in subdirs: don't use static at file
13542         scope use anon namespaces instead.
13543
13544 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13545
13546         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13547         LaTeX output. This is necessary for Literate document
13548         processing.
13549
13550 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13551
13552         * buffer.C: insert hfill when needed.
13553
13554         * tabular.C (l_getline): use string::erase, small whitespace change.
13555
13556         * BufferView_pimpl.C: try the anon namespace.
13557         * WorkArea.C: ditto
13558
13559 2001-03-16  Juergen Vigna  <jug@sad.it>
13560
13561         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13562         otherwise it won't open options-dialogs.
13563
13564         * buffer.C: honor pextraWidth(p) on converting minipages.
13565
13566         * tabular.C (l_getline): changed the functions to strip trailing \r.
13567
13568 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13569
13570         * BufferView_pimpl.C:
13571         * minibuffer..C: added "using SigC::slot" declaration.
13572
13573 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13574
13575         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13576
13577         * text2.C: ditto
13578
13579         * text.C: ditto
13580
13581         * paragraph.C: ditto
13582
13583         * lyxtext.h: NO_PEXTRA
13584
13585         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13586
13587         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13588         * ParameterStruct.h: ditto
13589         * ParagraphParameters.h: ditto
13590         * lyxparagraph.h: ditto
13591
13592 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13593
13594         * buffer.C: add compability for minipage alignment.
13595         (latexParagraphs): remove unwanted pextra check.
13596
13597         * several files: remove CXX_WORKING_NAMESPACES
13598
13599         * buffer.C (pop_tag): tie is in namespace boost
13600
13601         * BufferView.h: noncopyable is in namespace boost
13602         * lyxlex.h: ditto
13603         * lyx_main.h: ditto
13604         * lyx_gui.h: ditto
13605         * layout.h: ditto
13606         * lastfiles.h: ditto
13607         * bufferlist.h: ditto
13608         * ShareContainer.h: ditto
13609         * LyXView.h: ditto
13610         * LyXAction.h: ditto
13611         * LaTeX.h: ditto
13612
13613 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13614
13615         * Merging changes from BRANCH_MVC back into HEAD.
13616
13617         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13618
13619 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13620
13621         * BufferView_pimpl.C: change from intl.C
13622
13623         * combox.h:
13624         * combox.C:
13625         * Makefile.am: move combox.*
13626
13627         * form1.h:
13628         * form1.C:
13629         * lyx_gui.C:
13630         * intl.h:
13631         * intl.C: remove dialog (covered by prefs)
13632
13633 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13634
13635         * lyxfunc.C (Dispatch): removed redundant break statement.
13636
13637 2001-03-14  Juergen Vigna  <jug@sad.it>
13638
13639         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13640
13641 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13642
13643         * buffer.C: add hack to fix compability reading of minipages.
13644
13645 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13646
13647         * buffer.C (getLists): Cleanup.
13648
13649 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13650
13651         * lyxfont.C (update): don't honor toggleall on font size.
13652
13653 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13654
13655         * bmtable.c:
13656         * bmtable.h:
13657         * Makefile.am: moved to frontends/xforms/
13658
13659         * lyx_gui_misc.C:
13660         * lyxfunc.C:
13661         * BufferView_pimpl.C: changes for moved mathpanel
13662
13663 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13664
13665         * gettext.h: fix gettext_init() in --disable-nls
13666
13667 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13668
13669         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13670
13671 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13672
13673         * lyx.C:
13674         * lyx.h: strip external form
13675
13676 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13677
13678         * BufferView_pimpl.C: add comment, destroySplash()
13679
13680 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13681
13682         * BufferView_pimpl.C:
13683         * LyXAction.C:
13684         * buffer.C:
13685         * commandtags.h:
13686         * lyxfunc.C: use re-worked insetinclude
13687
13688 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13689
13690         * buffer.C: add using std::stringstream.
13691
13692         * lyx_cb.C: readd using std::ios.
13693
13694         * buffer.C: add using std::map.
13695
13696         * BufferView_pimpl.C: add using std::vector.
13697
13698         * ShareContainer.h: add std:: to swap.
13699
13700         * buffer.h: add some typedefs
13701         * buffer.C (getLists): use them
13702         (getLists): renamed from getTocList.
13703         add a counter for the different float types and use it in the
13704         generated string.
13705         (getLists): use the same counter for the NEW_INSETS and the "non"
13706         NEW_INSETS
13707
13708         * lyx_cb.h: remove unused items, includes, using etc.
13709
13710         * ShareContainer.h: remove some commented code, add more comments
13711         and "documentation".
13712
13713 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13714
13715         * buffer.C (getTocList): make the list also when NEW_INSETS is
13716         defined.
13717
13718         * buffer.h: remove TocType
13719
13720         * buffer.C (getTocList): change to return a map<string,
13721         vector<TocItem> >, implement for dynamic number of list.
13722
13723         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13724         * text2.C (PasteSelection): adjust
13725         * CutAndPaste.C (pasteSelection): adjust
13726
13727         * FloatList.C (FloatList): update from the new_insets branch.
13728         * Floating.[Ch]: ditto
13729         * LaTeXFeatures.C: ditto
13730         * buffer.C: ditto
13731         * lyxlex_pimpl.C: ditto
13732
13733         * paragraph.C (Last): remove when NEW_INSETS is defined.
13734
13735         * other file: changes because of the above.
13736
13737 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13738
13739         * lyxparagraph.h: rename next to next_, previous to previous_,
13740         make them private for NEW_INSETS. Rename Next() to next(),
13741         Previous() to previous().
13742
13743         * other files: changes because of the above.
13744
13745 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13746
13747         * BufferView.h:
13748         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13749         problem.
13750
13751 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13752
13753         * main.C (main): pass lyx_localedir to gettext_init().
13754
13755         * gettext.h: remove locale_init and gettext_init macros
13756
13757         * gettext.C (locale_init): new function
13758         (gettext_init): new function
13759
13760         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13761         setlocale().
13762
13763 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13764
13765         * Moved credits to frontends:
13766         * credits.[Ch]: removed
13767         * credits_form.[Ch]: removed
13768         * lyx_gui_misc.C: remove credits stuff
13769         * Makefile.am:
13770
13771 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13772
13773         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13774
13775         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13776         unneeded destructor.
13777
13778         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13779         a standalone pointer again.
13780
13781         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13782
13783 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13784
13785         * Makefile.am:
13786         * filedlg.h:
13787         * filedlg.C:
13788         * LyXAction.C:
13789         * ToolbarDefaults.C:
13790         * bufferlist.C:
13791         * commandtags.h:
13792         * form1.C:
13793         * form1.h:
13794         * lyx_cb.C:
13795         * lyx_cb.h:
13796         * lyxfunc.h:
13797         * lyxfunc.C:
13798         * BufferView_pimpl.C: use new file dialog in GUII
13799
13800         * lyx_cb.h:
13801         * lyx_cb.C: remove LayoutsCB to Toolbar
13802
13803 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13804
13805         * ShareContainer.h (get): add std:: qualifier
13806
13807 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13808
13809         * ShareContainer.h: define a proper ShareContainer::value_type
13810         type (and use typename to please compaq cxx)
13811
13812 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13813
13814         * lyxparagraph.h: move serveral local vars to
13815         ParameterStruct/ParagraphParameters., use ShareContainer in
13816         FontTable., make vars in FontTable private and add getter and
13817         setter.
13818
13819         * paragraph.C: changes because of the above.
13820
13821         * lyxfont.h: remove copy constructor and copy assignment. (the
13822         default ones is ok), move number inside FontBits. move inlines to
13823         lyxfont.C
13824
13825         * lyxfont.C: add number to initializaton of statics, move several
13826         inlines here. constify several local vars. some whitespace
13827         cleanup. Dont hide outerscope variables.
13828
13829         * Spacing.h: add two new constructors to match the set methods.
13830
13831         * ShareContainer.h: new file, will perhaps be moved to support
13832
13833         * ParameterStruct.h: new file
13834
13835         * ParagraphParameters.h: new file
13836
13837         * ParagraphParameters.C: new file
13838
13839         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13840         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13841
13842         * BufferView_pimpl.C: ParagraphParameter changes.
13843         * buffer.C: Likewise.
13844         * bufferview_funcs.C: Likewise.
13845         * text.C: Likewise.
13846         * text2.C: Likewise.
13847
13848 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13849
13850         * lyxfind.C (LyXReplace): do not redefine default argument in
13851         implementation.
13852         (IsStringInText): ditto
13853         (SearchForward): ditto
13854         (SearchBackward): ditto
13855
13856 2001-03-06  Juergen Vigna  <jug@sad.it>
13857
13858         * lyxfind.C (IsStringInText): put parentes around expressions.
13859
13860 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13861
13862         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13863
13864 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13865
13866         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13867
13868         * stl_string_fwd.h: add comment
13869
13870         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13871
13872         * tabular.h:
13873         * tabular.C: remove unused DocBook methods
13874
13875         * intl.C:
13876         * language.C:
13877         * paragraph.C:
13878         * buffer.C:
13879         killed DO_USE_DEFAULT_LANGUAGE
13880
13881 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13882
13883         * lyx_gui.C: do not include language.h.
13884
13885         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13886         arguments in function implementation.
13887
13888 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13889
13890         * BufferView_pimpl.C: add <ctime>
13891
13892 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13893
13894         * BufferView_pimpl.C: add using std::find_if
13895
13896 2001-02-27  José Matos  <jamatos@fep.up.pt>
13897
13898         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13899         by OnlyPath.
13900
13901 2001-02-11  José Matos  <jamatos@fep.up.pt>
13902
13903         * buffer.C (makeDocBookFile): command styles now have a parameter as
13904         "title" by default.
13905
13906 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13907
13908         * layout_forms.[Ch]: removed
13909         * lyx_cb.[Ch]: out character
13910         * lyx_gui.C: out character
13911         * lyx_gui_misc.C: out character
13912         * bufferview_funcs.C: : out character,
13913         added toggleall as parameter in ToggleAndShow
13914
13915 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13916
13917         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13918
13919         * text2.C (SetCurrentFont): Disable number property at boundary.
13920
13921 2001-02-26  Juergen Vigna  <jug@sad.it>
13922
13923         * lyxfunc.C (getStatus): added a string argument override function so
13924         that this is correctly called from LyXFunc::Dispatch if it contains a
13925         do_not_use_argument which is used!
13926         (Dispatch): added check for "custom" export and call appropriate func.
13927
13928 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13929
13930         * lyxrc.C: Add language_command_local, language_use_babel and
13931         language_global_options.
13932
13933         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13934
13935         * buffer.C (makeLaTeXFile): Use language_use_babel and
13936         language_global_options.
13937
13938 2001-02-23  Juergen Vigna  <jug@sad.it>
13939
13940         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13941         which works with LyXText and putted it inside BufferView. Here now we
13942         only call for that part the BufferView::Dispatch() function.
13943
13944         * BufferView.C (Dispatch): added.
13945
13946         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13947         functions which needs to use a LyXText over from LyXFunc.
13948         (MenuInsertLyXFile): added
13949         (getInsetByCode): added
13950         (moveCursorUpdate): added
13951         (static TEXT): added
13952
13953 2001-02-22  Juergen Vigna  <jug@sad.it>
13954
13955         * BufferView_pimpl.C (update): call a status update to see if LyXText
13956         needs it.
13957
13958 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13959
13960         * vc-backend.C (revert): implement for CVS
13961         (getLog): implement for CVS
13962
13963 2001-02-20  Juergen Vigna  <jug@sad.it>
13964
13965         * text2.C (ClearSelection): added BufferView param for inset_owner call
13966
13967         * lyxfunc.C (TEXT): added this function and use it instead of
13968         directly owner->view()-text of getLyXText().
13969
13970 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13971
13972         * src/layout_forms.C: out preamble
13973         * src/layout_forms.h: out preamble
13974         * src/lyx_cb.C: out preamble
13975         * src/lyx_cb.h: out preamble
13976         * src/lyx_gui.C: out preamble
13977         * src/lyx_gui_misc.C: out preamble
13978         * src/lyxfunc.C: connect with guii preamble
13979
13980 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13981
13982         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13983
13984 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13985
13986         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13987         whether to run bibtex.
13988
13989 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13990
13991         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13992
13993 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13994
13995         * Makefile.am (lyx_SOURCES): removed bibforms.h
13996
13997         * vspace.h: doxygen
13998
13999         * text.C (GetVisibleRow): make several local vars const
14000
14001         * tabular.C: small cleanup.
14002
14003         * lyxserver.C (callback): use compare instead of strncmp
14004
14005         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14006         inlines to after class or to paragraph.C
14007
14008         * lyxfont.h: remove friend operator!=
14009
14010         * converter.h: move friend bool operator< to non friend and after
14011         class def.
14012
14013         * combox.h: small cleanup
14014
14015         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14016         to inlines after class def.
14017
14018         * buffer.C (pop_tag): use string operations instead of strcmp
14019
14020         * bmtable.c: doxygen, small cleanup
14021
14022         * LaTeX.h: remove friend operator==
14023
14024 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14025
14026         * screen.C:
14027         * lyxrc.[Ch]:
14028         * lyxfunc.C:
14029         * lyxfont.[Ch]:
14030         * lyx_cb.C:
14031         * intl.[Ch]:
14032         * commandtags.h:
14033         * buffer.C:
14034         * WorkArea.[Ch]:
14035         * LyXAction.C:
14036         * BufferView_pimpl.C:
14037         * BufferView.[Ch]: remove cruft
14038
14039 2001-02-14  Juergen Vigna  <jug@sad.it>
14040
14041         * lyxfunc.C: removed #if 0 unused code
14042
14043         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14044
14045         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14046
14047         * text2.C (SetSelection): added a BufferView * parameter
14048
14049 2001-02-13  Juergen Vigna  <jug@sad.it>
14050
14051         * lyxfunc.C (Dispatch): fixed protected blank problem.
14052         * BufferView2.C (protectedBlank): added LyxText * parameter.
14053
14054         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14055         (AppendColumn): same as above for column_info.
14056
14057         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14058         (moveCursorUpdate): use a LyXText param for support of InsetText.
14059
14060         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14061         (tripleClick): ditto
14062
14063         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14064
14065         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14066
14067         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14068
14069         * text2.C (SetSelection): set correct update status if inset_owner
14070         (ToggleFree): ditto
14071
14072 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14073
14074         * tabular.C: remove some commented code.
14075
14076 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14077
14078         * BufferView_pimpl.C: call hideSplash()
14079
14080         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14081
14082         * include_form.h:
14083         * bibforms.h: remove
14084
14085         * lyxfunc.C:
14086         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14087           add LFUN_CHILD_CREATE
14088
14089         * counters.h: fix tiny typo
14090
14091         * lyx_cb.C:
14092         * lyx.h:
14093         * lyx_gui.C:
14094         * lyx.C: move splash to frontends/xforms/
14095
14096         * lyx_gui_misc.C: move Include and Bibform to frontends
14097
14098         * lyxvc.h: clarify comment
14099
14100         * vspace.C: tiny housekeeping
14101
14102 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14103
14104         * text.C (PrepareToPrint): RTL Fix.
14105
14106         * paragraph.C (GetUChar): New method.
14107         (String):  Use GetUChar.
14108
14109         * buffer.C (asciiParagraph): Use GetUChar.
14110
14111 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14112
14113         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14114
14115 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14116
14117         * buffer.h:
14118         * buffer.C: rename to getLogName(), handle
14119           build log / latex log nicely
14120
14121 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14122
14123         * MenuBackend.C:
14124         * MenuBackend.h: remove support for reference menuitem type.
14125
14126 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14127
14128         * BufferView_pimpl.C: housekeeping
14129         * BufferView_pimpl.h:
14130         * LyXView.h:
14131         * Makefile.am:
14132         * Timeout.C:
14133         * Timeout.h:
14134         * minibuffer.h: move Timeout GUI-I
14135
14136 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14137
14138         * lyxrc.C (read): Update converters data-structures.
14139
14140 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14141
14142         * LaTeX.h (operator!=): add operator != for Aux_Info
14143
14144 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14145
14146         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14147
14148         * LaTeXLog.C: deleted, useful code moved to Buffer
14149
14150         * buffer.h:
14151         * buffer.C: new function getLatexLogName()
14152
14153         * lyx_gui_misc.C:
14154         * lyx_gui.C:
14155         * lyxvc.C:
14156         * lyxvc.h:
14157         * lyxfunc.C: use frontends for LaTeX and VC logs
14158
14159 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14160
14161         * LaTeX.h: yet another std:: that Allan forgot.
14162
14163         * Variables.C (set): renamed from isset(), because this clashes
14164         with some HP-UX macros (grr).
14165
14166 2001-02-06  Allan Rae  <rae@lyx.org>
14167
14168         * LaTeX.h: Another bug fix.  Missing std:: this time.
14169
14170 2001-02-04  Allan Rae  <rae@lyx.org>
14171
14172         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14173         floats problem. I've left it commented out because it's not quite
14174         correct.  It should also test that the current object is a table or
14175         figure inset.  But I haven't gotten around to figuring out how to do
14176         that.  I *think* it'll be something like: "table" == inset.type()
14177
14178         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14179         bool.
14180
14181 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14182
14183         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14184         all the citation/databases/styles in the auxilary file.
14185         (run): Rerun latex if there was a babel language error.
14186
14187 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14188
14189         * text.C (Backspace): Preserve the font when changing newline char
14190         with a space.
14191         (BreakParagraph): If the cursor is before a space, delete the space.
14192
14193         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14194
14195 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14196
14197         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14198         new argument (code).
14199         (ChangeCitationsIfUnique): New method.
14200
14201         * paragraph.C (GetPositionOfInset): Handle bibkey.
14202
14203 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14204
14205         * BufferView_pimpl.h: change type of Position::par_pos to
14206         LyXParagraph::size_type.
14207
14208 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14209
14210         * BufferView_pimpl.C (savePosition, restorePosition): Write
14211         messages to minibuffer.
14212
14213 2001-01-28  José Matos  <jamatos@fep.up.pt>
14214
14215         * buffer.C (makeDocBookFile): adds support for document language.
14216         A silly restriction on the name of LatexCommand types where removed.
14217         Added support for CDATA sections, allows to chars unescaped, used
14218         among others in code, to avoid escape < and >.
14219
14220 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14221
14222         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14223         saved positions instrad of a stack. Furthermore, a position is
14224         stored using paragraph id/paragraph position.
14225
14226         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14227         Remove LFUN_REF_BACK.
14228
14229 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14230
14231         * converter.C (dvipdfm_options): New method.
14232
14233 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14234
14235         * vspace.C (isValidLength): Fix for empty input string.
14236
14237 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14238
14239         * LyXAction.C (init): change description of LFUN_FIGURE to
14240         "Insert Graphics"
14241
14242 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14243
14244         * LaTeX.C: add using directive
14245
14246 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14247
14248         * MenuBackend.C (expand): Fix the sorting of the formats.
14249
14250 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14251
14252         * lyx_main.C: tiny error message fix
14253
14254 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14255
14256         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14257         calling fl_initialize(). This fixes the problem with ',' as
14258         decimal separator in text files.
14259
14260 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14261
14262         * trans.C (process): Fix the keymap bug.
14263
14264 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14265
14266         * LaTeX.C (scanAuxFiles): New method. Provides support for
14267         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14268         (scanLogFile) Scan for "run BibTeX" messages.
14269
14270         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14271         OT1 font encoding. Also, load the aecompl package if the ae
14272         package is loaded.
14273
14274         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14275
14276 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14277
14278         * texrow.C (increasePos): turn two error messages into debug
14279         messages.
14280
14281 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14282
14283         * LaTeX.C (scanAux): Handle the \@input macro.
14284         (runBibTeX): Use scanAux().
14285
14286         * language.C (latex_options_): New field.
14287
14288         * LaTeXFeatures.C (getMacros): Add language macros.
14289
14290         * buffer.C (makeLaTeXFile): Small fix.
14291
14292 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14293
14294         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14295
14296         * text2.C: add a using directive.
14297
14298 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14299
14300         * BufferView2.C:
14301         * lyx_gui_misc.h:
14302         * lyxfr1.C:
14303         * lyxfunc.C: kill LyXBell.
14304
14305 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14306
14307         * text.C (IsBoundary): Remove the error message
14308
14309         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14310
14311         * lyxrc.C (setDefaults): Correct initialization value for
14312         font_norm_type.
14313
14314 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14315
14316         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14317         gotoError().
14318
14319         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14320         and GotoNextNote().
14321
14322         * src/LyXAction.C: Added reference-next.
14323
14324         * text.C (InsertChar): Use contains instead of strchr.
14325
14326         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14327
14328 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14329
14330         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14331         alignment commands (when needed).
14332
14333         * text.C (InsertChar): Add ':' to number separator chars.