]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
9e1037dff1b1d051c1a997a9179a27e2fc6b357a
[lyx.git] / src / ChangeLog
1 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * messages.C: do not forget to include <cerrno>.
4
5 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6
7         * dociterator.h (StableDocIterator): add access to pos().
8         * undo.C (samePar): new method to check if two
9         iterators are in the same paragraph
10         * undo.C (recordUndo): check for samePar instead of cell identity
11         (which includes pos() and is too strict) (fixes bug 2097)
12
13 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14
15         * text.C (setCursorFromCoordinates): return a bool telling whether
16         dEPM triggered.
17
18         * text3.C (cursorPrevious): update if needed after
19         setCursorFromCoordinates (when dEPM triggered).
20
21         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
22         (otherwise the anchor may be completely wrong and make dEPM assert).
23
24 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
25
26         * buffer.C: version upgrade to 245.
27         * bufferparams.C: remove \quotes_times (bug 2090).
28         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
29         quotation marks as default.
30
31 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
32
33         * CutAndPaste.C (nrOfParagraphs): remove (unused)
34         * CutAndPaste.C (cutSelection): Remove debug message
35         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
36         undo information and only copy if this is a real cut
37         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
38         call
39         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
40         (bug 2059)
41         * CutAndPaste.C (eraseSelection): prevent cursor corruption
42         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
43         superflous cur.selection() setting
44         * CutAndPaste.[Ch] (grabSelection): take a const cursor
45         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
46
47 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
48
49         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
50         change anything.
51
52 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
53
54         * BufferView_pimpl.C: comment layout change
55
56 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
57
58         * LyXAction.C:
59         * lfuns.h:
60         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
61         by bibliography managers (bug 2071).
62
63 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
64
65         * BufferView_pimpl.C (update): choose arguments to update call so
66         that single-par update works most times
67         * text3.C (dispatch): carefully tune updating separately for
68         whole-screen and current-paragraph
69         * rowpainter.C (paintText): 1) replace painting by caching for
70         the two extra paragraphs, because we can;
71         2) suppress greying out of areas below/above drawn area in case of
72         single-par refresh
73         * lyxfunc.C (dispatch): remove superfluous update
74         * LyXAction.[Ch]: introduce SingleParUpdate
75
76 2005-10-05  Angus Leeming  <leeming@lyx.org>
77
78         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
79         always initialised before use.
80
81         * text.C (setHeightOfRow): squash warning about comparison
82         of signed and unsigned types.
83
84 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
85
86         * text.C (cursorX): two fixes involving RtL text drawing
87
88 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
89
90         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
91         items, not only large ones (part of bug 2057)
92
93 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
94
95         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
96         argument, use "newcommand".
97
98 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
99
100         * cursor.C (setSelection): do not open collapsable insets;
101         the insets do by themselves now (autoopen).
102
103 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
104
105         * buffer.C: format is up to 244.
106
107 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
108
109         * text.C (redoParagraph): fix calcultation of inset width wrt 
110         leftMargin (bug 1957).
111
112         * text3.C (dispatch): leave inset to the right when hitting ESC 
113         (bug 2034).
114
115 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
116
117         * text2.C: 
118         * text.C: 
119         * factory.C:
120         * messages.C: include <boost/current_function.hpp> 
121
122 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
123
124         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
125         when command is internal. (bug 1941)
126
127 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
128
129         * text2.C (cursorRight): do not honor boundary when at the end of
130         a paragraph. (bug 2010 again)
131
132 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
133
134         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
135
136 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
137
138         * rowpainter.C (paintText): fix RtL space width display bug (2029)
139
140 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
141
142         * text2.C (setCursor): remove the unused 'boundary' parameter for
143         the CursorSlice version; adapt the LCursor version.
144
145         * lyxrc.C (write): 
146         * paragraph_pimpl.C (markErased): 
147         * cursor.C (bruteFind2, bruteFond3): fix warnings.
148
149 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
150
151         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
152         as is already done for "chapter".
153
154 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
155
156         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
157         textclass; do not record undo if nothing is changed.
158
159 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
160
161         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
162
163 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
164
165         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
166
167 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
168
169         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
170         combox, it is necessary to search for the topmost paragraph in the
171         cursor stack (bug 1926)
172
173 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
174
175         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
176         end of paragraph. (bug 2010)
177
178 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
179
180         * text.C (leftMargin): check for inInset == 0
181
182 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
183
184         * text.C (leftMargin): test for insetbase's new neverIndent()
185         bool instead of listing each and every inset that does not
186         wish par indendation.
187
188 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
189
190         * buffer_funcs.C (setCounter): put the code to compute enum label
191         here (where it belongs).
192
193         * counters.C (enumLabel): move code to buffer_funcs.C.
194
195 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
196
197         * outputparams.[Ch]: store local_font instead of local_language
198         * paragraph.C (simpleTeXOnePar): adapt to the change above
199
200 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
201
202         * buffer_funcs.C:
203         * counters.[Ch]: clean up special code for Hebrew.
204
205 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
206
207         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
208         than 2.
209
210 2005-09-08  Angus Leeming  <leeming@lyx.org>
211
212         * ispell.C:
213         * lyxrc.C: correct grammar describing invocation of the
214         spellchecker.
215
216 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
217
218         * text.C (read): remove unused variable.
219         (readParToken): remove static Change variable (never good in
220         recursive settings...); add it as a parameter instead.
221
222         * paragraph_pimpl.C (acceptChange): make debug info conditional.
223
224         * metricsinfo.C (PainterInfo): add new member erased_.
225
226         * rowpainter.C (RowPainter): add erased_ member, initialized from
227         PainterInfo. 
228         (paintInset): pass erased_ to Inset::draw.
229
230         * lyxfunc.C (lookupChange): new function. Tells whether change 
231         tracking is disabled at a given postion.
232         (getStatus): disable some actions when in deleted text with change
233         tracking. 
234
235 2005-08-03  John Levon  <levon@movementarian.org>
236         
237         * tabular.C (appendColumn, setMultiColumn): adapt to change to
238         InsetText::clear().
239
240         * paragraph_pimpl.C (markErased): add bool argument and handle it.
241         Also make sure to mark insets recursively.
242         (rejectChange, erase): be recursive
243
244         * paragraph.C (markErased): add bool argument.
245 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
246
247         * lyxfind.C (findNextChange): tiny cleanup.
248
249         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
250         change tracking with the cursor in an inset; make sure the first
251         change is not skipped.
252
253 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
254
255         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
256         tabularStackDirty to work around bug 1919 (tabular needs
257         to know whether its own cell paste buffer or the one of 
258         texted is newer.
259         * CutAndPaste.C: mark tabular_stack_ clean after copy.
260
261 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
262
263         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
264
265 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
266
267         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
268         use old deleteion algorithm when changetracking is on.
269
270 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
271
272         * messages.C (get): add debug output.
273
274 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
275
276         * text.C (cursorX): fix bug 1965: cursor movement at
277         line end broken in RtL.
278         (drawSelection): fix bug 1970: drawing of single-line 
279         selection broken for RtL.
280
281 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
282
283         bug 465.
284
285         * dociterator.h (clear, push_back, pop_back): change from
286         protected to public.
287
288         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
289         and changed to just return the value of the item depth; take a
290         ParIterator as argument; take the itemdepth at outer nesting level
291         in account if necessary; cleanup and comment the code.
292         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
293         and changed to just return true if reset is needed; take a
294         ParIterator as argument; cleanup and comment the code.
295         (setCounter): adapt to above changes.
296
297 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
298
299         * text3.C (dispatch): make debug message optional
300
301 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
302
303         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
304         inset. (bug 1963)
305
306 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
307
308         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
309
310 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
311
312         * text.C (insertChar):
313         * text2.C (deleteEmptyParagraphMechanism): take care whether 
314         a blank has been deleted (in change tracking mode) (bug 1254).
315
316 2005-07-20  John Levon  <levon@movementarian.org>
317
318         * text2.C (insertStringAsLines): remove old dubious code,
319         fixing bug 1939.
320
321 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
322
323         * MenuBackend.C (expandToc): use Floating::listName() as title of
324         the floats submenus.
325
326 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
327
328         * toc.[Ch]: Do not use translatable strings (bug 1870).
329
330 2005-07-20  John Levon  <levon@movementarian.org>
331
332         * tabular.C: fix 1748 - setting multicolumn adds
333           left line to the first cell
334
335 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
336
337         bug 1920
338         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
339         pars in one go.
340
341 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
342
343         * messages.C: supress some lyxerr messages
344
345 2005-07-18  Juergen Vigna  <jug@lyx.org>
346
347         * text.C (drawSelection): honor boundary when asking for cursorX.
348
349 2005-07-17  José Matos  <jamatos@fc.up.pt>
350
351         * tabular.C (recalculateMulticolumns): fix handling of one column
352         tables.
353
354 2005-07-17  Juergen Vigna  <jug@lyx.org>
355
356         * text.C (Delete, backspace): fixed so that paragraph with the
357         same layout can be merged by Delete/Backspace.
358
359 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
360
361         * text.C (readParToken): fix spelling.
362
363 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
364
365         * text2.C: fix counter update for DEPM problem reported by
366         Georg Baum
367
368 2005-07-17  Juergen Vigna  <jug@lyx.org>
369
370         * BufferView_pimpl.C (setBuffer): save/restore the
371         cursor/selection when switching buffers
372
373         * buffer.h: 
374         * buffer.C (saveCursor): add saveDocumentIterators to save the
375         cursor when switching buffer.
376
377 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
378
379         * debug.C: fix typo
380         * buffer.C: clarify message
381         
382 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
383
384         * dociterator.C (DocIterator): fix initialization order
385
386 2005-07-17  Juergen Vigna  <jug@lyx.org>
387
388         * text2.C (cursorHome): 
389         * text.C (drawSelection, cursorX): 
390         * dociterator.C (textRow): add boundary to getRow() call
391
392         * paragraph.C (getRow): implementation of below
393
394         * paragraph.h: add parameter boundary for getRow() function
395
396 2005-07-17  José Matos  <jamatos@fc.up.pt>
397
398         * buffer.C:
399         * bufferparams.[Ch]:
400         * tex-strings.[Ch]: new file format, remove support for a4.sty,
401         a4wide.sty and a4widemargins.
402
403 2005-07-17  Juergen Vigna  <jug@lyx.org>
404
405         * text2.C (cursorLeft): fix one of error
406
407 2005-07-17  Juergen Vigna  <jug@lyx.org>
408
409         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
410                    cursorEnd):
411         more fixes for boundary handling
412
413         * text3.C (dispatch): don't reset cursor if boundary has changed
414         on cursor movement.
415
416 2005-07-16  Juergen Vigna  <jug@lyx.org>
417
418         * text2.C (getColumnNearX): hopefully got it right now,
419         check if we are on column 0 for special case.
420
421 2005-07-16  Juergen Vigna  <jug@lyx.org>
422
423         * text2.C (getColumnNearX): handle special case Newline Inset
424
425         * text.C (singleWidth): Just remove bogus check
426
427 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
428
429         * funcrequest.C (split): avoid reading uninitialized char c
430
431 2005-07-16  José Matos  <jamatos@fc.up.pt>
432
433         * buffer.C:
434         * converter.C:
435         * lyxrc.C:
436         * paper.h:
437         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
438         single papersize variable.
439
440 2005-07-16  Juergen Vigna  <jug@lyx.org>
441
442         * text3.C (dispatch): honor boundary when checking if a cursor
443         movement has been done
444
445         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
446         (setCursor, setCursorIntern): fix cursor movement with boundary
447
448 2005-07-16  Juergen Vigna  <jug@lyx.org>
449
450         * text.C (currentState): output the actual Boundary
451
452 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
453
454         * factory.C (createInset): fix bad logic for tabular creation
455
456 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
457
458         * lyx_main.C (init): change some reLyX reference to tex2lyx
459
460 2005-07-16  Juergen Vigna  <jug@lyx.org>
461
462         * dociterator.C (DocIterator): initialize boundary
463
464 2005-07-16  Juergen Vigna  <jug@lyx.org>
465
466         * text2.C (getColumnNearX): Consider rows without trailing blank.  
467
468 2005-07-16  André Pönitz  <poenitz@gmx.net>
469
470         * lyxfont.h: Change order of declarations to give the compiler
471         a better chance to inline things
472
473         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
474         questions on unsaved docs for better scritability
475
476 2005-07-16  André Pönitz  <poenitz@gmx.net>
477
478         * paragraph.h (getChar): remove asserts as the same kind of security
479         can be achieved by using a suitable standard library implementation
480         and the function was in the critical path (25.9% in profiler)
481
482 2005-07-16  Juergen Vigna  <jug@lyx.org>
483
484         * cursor.C (bruteFind2):
485         * bufferview_funcs.C (coordOffset): 
486         * text.C (cursorX,cursorY): Handle cursor position after last char
487         in row before a inset which uses a whole row.
488
489 2005-07-15  José Matos <jamatos@lyx.org>
490
491         * output_plaintext.[Ch] (writeFileAscii): control reference title
492         printing.
493         (asciiParagraph): noparbreak was already deal and was incorrectly
494         used.
495
496 2005-07-15  Juergen Vigna <jug@lyx.org>
497
498         * lyxfunc.C (dispatch): save and restore the cursor after a
499         textclass switch.
500
501 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
502
503         * text.C (backspace): bug 806 for empty keepempty paragraphs we
504         change the layout to default before letting DEPM do its thing.
505
506         * paragraph_funcs.C (breakParagraph): dont reset the layout on
507         keepEmpty paragraphs
508
509         * text.C (setCursorFromCoordinates): add a debug statement
510
511         * text2.C (getColumnNearX): bug 1825 make sure that we don't
512         return a pos that is not on the row
513
514         * output_latex.C (TeXDeeper): get rid of potential dereferencing
515         of past the end iterator
516
517 2005-07-14  André Pönitz  <poenitz@gmx.net>
518
519         * undo.C (recordUndoFullBuffer): implement undo for
520         textclass switches
521
522 2005-07-14  André Pönitz  <poenitz@gmx.net>
523
524         * cursor.C (setSelection): open insets when selection is set there
525         to avoid crashs with cold coord cache
526
527 2005-07-14  André Pönitz  <poenitz@gmx.net>
528
529         * trans_mgr.C (insert): move cursor to the right after inserting
530         a char.
531
532 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
533
534         * BufferView_pimpl.C (update): dampen some of the debug blabbering
535         * factory.C (readInset): ditto
536         * text.C, text2.C: ditto
537
538 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
539
540         * buffer.C: format incremented to 242. There is no file format per
541         se, but the "frenchb" language has been removed from lib/language
542         and has to be translated to "french" by lyx2lyx.
543
544 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
545
546         * cursor_slice.h, dociterator.h: add some documentation
547         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
548
549 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
550
551         * text.C (leftMargin): do not add identation to display() style
552         insets, because they are always centered (bug 1293).
553
554 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
555
556         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
557         formatted_time methods in support/lyxtime.
558
559 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
560
561         * toc.[Ch]: new method getGuiName, which is used by the frontends 
562         to set the toc combo (fixes bug 1870). Make TOC string translatable.
563
564 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
565
566         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
567         StableDocIterator const &)
568         * undo.C (recordUndo): use the above instead of cell.size() comparison
569         (fixes bug 1808; instructed by Andr�.
570
571 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
572
573         * cursor_slice.h: 
574         * dociterator.h: Fix the assert when copying rows/cols in math
575
576 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
577
578         * BufferView_pimpl.C:
579         * LyXAction.C:
580         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
581
582         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
583         (findInset): new functions, refactored from goto Inset that return 
584         the position of a certain inset without setting the buffer's cursor
585         (by Jean-Marc); 
586         (gotoInset): rewrite to call findInset and then set the cursor
587         (by Jean-Marc).
588
589 2005-06-16  Angus Leeming  <leeming@lyx.org>
590
591         * lyxrc.C (output, read): wrap all input and output of paths with
592         calls to os::internal_path and os::external_path, respectively.
593         (output): wrap bind_file inside quotes.
594
595         * format.C (view): enable the viewer to use the '$$s' placeholder.
596
597 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
598
599         * LColor.[Ch] (getFromLaTeXName): new
600
601 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
602
603         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
604
605 2005-06-14  Angus Leeming  <leeming@lyx.org>
606
607         * lyx_main.C (init): ensure that the LyX binary dir is the first
608         element in the PATH on non-POSIX builds.
609
610 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
611
612         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
613
614 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
615
616         * rowpainter.C (paintInset, paintHebrewComposeChar)
617         (paintArabicComposeChar, paintChars): add a LyXFont argument.
618         (paintChars): use getFontSpan to reduce calls to getFont to a
619         minimum; use Paragraph::lookupChange instead of isXXXText.
620         (paintForeignMark): rename LyXFont argument.
621         (paintFromPos): pass a LyXFont object to the various paintXXX
622         methods.
623
624         * FontIterator.C (FontIterator, operator++): use
625         Paragraph::getFontSpan
626
627         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
628         version that returns the font span as a pair.
629
630 2005-06-09  Angus Leeming  <leeming@lyx.org>
631
632         * converter.C (convert): Don't forget "outfile = real_outfile" as
633         the final step in a conversion where the input and output file names
634         are the same. Otherwise, future conversion steps won't work...
635
636 2005-06-09  Angus Leeming  <leeming@lyx.org>
637
638         * lyxsocket.C: remove stub code as it isn't needed by
639         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
640
641 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
642
643         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
644         effectively disabled -x
645
646 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
647
648         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
649         when it actually makes sense.
650
651 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
652
653         * BufferView_pimpl.C: revert to showCursor in connection with
654         Lars's front-end stack
655
656 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
657
658         * text.C (redoParagraph): move cursor right after a bibitem
659         has been inserted.
660
661         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
662
663 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
664
665         * buffer_funcs.C (bufferErrors): fix computation of the end of an
666         error range.
667
668 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
669
670         * BufferView.[Ch] (update):
671         * BufferView_pimpl.[Ch] (update, metrics):
672         * dimension.h (operator==):
673         * lyxfunc.C (dispatch):
674         * metricsinfo.h (ViewMetricsInfo):
675         * rowpainter.C (paintText):
676         * lyxtext.h:
677         * text.C (redoParagraph):
678         * text3.C (dispatch): Make LyX only repaint current paragraph in
679         case of character insert --> speedup. Also fix cursor draw
680         artifacts
681
682 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
683
684         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
685         avoid a crash (bug 1891)
686
687 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
688
689         Fix bug 1892:
690
691         * text2.C (getStringToIndex): constify cur argument.
692
693         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
694         argument has been given
695         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
696         try to invoke LFUN_INSET_APPLY).
697
698         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
699         if no inset was created by doInsertInset
700         (doInsertInset): return true if an inset has been inserted.
701
702 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
703
704         * vspace.C (asGUIName): new method. A version of the space
705         suitable for showing on screen.
706
707 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
708
709         * MenuBackend.C:
710         * lyxrc.C: rename "ASCII" to "Plain Text"
711
712 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
713
714         * buffer_funcs.C (expandLabel): take a Buffer as argument;
715         translate the labelstring.
716         (setCounter): translate labelstring as needed.
717
718         * output_docbook.C (makeCommand): fix expandLabel invokation
719
720 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
721
722         * BufferView.C: fix dialog title
723
724 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
725
726         * lyx_main.C (priv_exec): fix logic error with help from Angus
727         * lyx_main.C (parse_execute): set is_gui = false and remove now
728         obsolete comment about a segfault
729
730 2005-05-18  Angus Leeming  <leeming@lyx.org>
731
732         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
733
734 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
735
736         * tabular.[hC]: added setCellInset to fix tabular paste.
737
738 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
739
740         * buffer.C (save): check if destination is writable before trying
741         to copy a file
742
743 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
744
745         * BufferView_pimpl.C (update): fix processEvents -caused update
746         recursion bug
747
748 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
749
750         * buffer_funcs.C (setCounter): fix test for numbering of
751         environments.
752
753         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
754         depth correctly; use optional argument when it exists
755
756         * lyxtextclass.C: remove unused MaxCounterTags enum
757         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
758         (max_toclevel, min_toclevel): new methods.
759
760         * MenuBackend.C (expandToc2): fix case where depth is smaller than
761         the smallest depth in toc.
762
763         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
764         layouts that should not appear in a table of contents.
765
766 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
767
768         * cursor.h (undispatched, noUpdate): add comments from Andr�
769 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
770
771         * lfuns.h:
772         * LyXAction.C:
773         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
774
775 2005-05-07  André Pönitz  <poenitz@gmx.net>
776
777         * cursor.[Ch] (leaveInset): new function
778
779 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
780
781         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
782
783 2005-05-04  Angus Leeming  <leeming@lyx.org>
784
785         * lyxfunc.C (getStatus): disable the spell checker dialog if
786         none of USE_[AIP]SPELL are defined.
787
788 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
789
790         * tabular.C (setWidthOfCell): remove obsolete comment
791
792 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
793
794         * paragraph.C (bibitem):
795         * buffer_funcs.C (setCounter):
796         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
797
798 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
799
800         * text3.C (getStatus): immediately return after setOnOff
801
802         * rowpainter.C: fix drawing of appendix start
803
804 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
805
806         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
807         SwitchBetweenClasses and remove the unused return value.
808         Handle character styles, too
809
810 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
811
812         * factory.C (createInset): handle undefined character styles
813
814 2005-05-02  Angus Leeming  <leeming@lyx.org>
815
816         * buffer.C: protect the #include of utime.h with a preprocessor
817         guard.
818
819 2005-05-02  Angus Leeming  <leeming@lyx.org>
820
821         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
822         function so that auto-saving works, albeit in a blocking manner.
823
824         * Makefile.am: make compilation of the client sub directory, of
825         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
826         on conditionals set at configure time.
827
828         * SpellBase.[Ch]: no longer an abstract base class. Instead,
829         it can be compiled in its own right but has no-op functionality.
830
831         * aspell.C, pspell.C: remove preprocessor guards. The files should
832         be compiled only if the necessary functionality exists.
833
834         * lyxserver.C, lyxsocket.C: disable on Windows.
835
836 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
837
838         * text.C (leftMargin): Fix the parindent use bug (1764)
839         by dirty trick
840
841 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
842
843         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
844         argument.
845
846 2005-04-25  Angus Leeming  <leeming@lyx.org>
847
848         * Bidi.[Ch]:
849         * coordcache.[Ch]:
850         * ispell.C:
851         * lyxserver.C:
852         * mover.C:
853         * pch.h:
854         include <config.h> in .C files, not .h ones.
855         add licence blurb.
856         protect headers inside preprocessor guards.
857
858 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
859
860         * FuncStatus.h (StatusCodes): document
861
862 2005-04-21  André Pönitz  <poenitz@gmx.net>
863
864         * FuncStatus.h (enabled, onoff): document
865
866 2005-04-19  Angus Leeming  <leeming@lyx.org>
867
868         * BufferView_pimpl.C (cursorToggle): no longer test whether
869         any child processes have been reaped before calling
870         handleCompletedProcesses().
871
872 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
873
874         * text3.C (dispatch): fix, finally fix, the language problem in
875         new lyxtexts, without disabling on-the-fly font changes (Helge's
876         bug report)
877
878 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
879
880         * text3.C (dispatch): set cursor on double/triple click events
881         (bug 1811)
882
883 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
884
885         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
886         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
887
888         * rowpainter.C (paintFirst): simplify the code a little bit. In
889         particular, remove the test for secnumdepth.
890         * text.C (setHeightOfRow): only allocate space for chapter number
891         when updateCounters provided an actual label, instead of looking
892         at secnumdepth directly.
893
894         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
895
896         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
897         paragraphs when secnumdepth is large enough or, for environments,
898         when they are not the first in a sequence.
899
900 2005-04-17  Angus Leeming  <leeming@lyx.org>
901
902         * buffer.C (makeLaTeXFile): replace code to manipulate a path
903         containing space and '~' characters with a call to latex_path().
904
905 2005-04-17  Angus Leeming  <leeming@lyx.org>
906
907         * converter.C (convert): protect all args of convertDefault.sh
908         script with quotes.
909
910 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
911
912         * text3.C (dispatch): change the layout to "Caption" after inserting
913         a float.
914
915 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
916
917         * text3.C (dispatch): fix language problem in newly created
918         textinsets (and main text) in non-english docs
919
920 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
921
922         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
923         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
924         * text3.C (getStatus): disable LFUN_INSET_MODIFY
925
926 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
927
928         * lyxtext.h:
929         * text.C (metrics):
930         * text2.C (getFont):
931         * rowpainter.C (getFont): Fix metrics bug introduced by inset
932         fonts fix
933
934 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
935
936         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
937         output of \item arguments without trailing text.
938
939 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
940
941         * FontIterator.C (operator*): avoid a copy of the font.
942
943 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
944
945         * rowpainter.C (getFont): fix language bug from previous fix
946
947 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
948
949         * rowpainter.C (RowPainter, getFont): fix font inside inset
950         (bugs 1766, 1809)
951
952 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
953
954         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
955         preventing inserted font, deco, delim insets jumping to start of
956         surrounding inset.
957
958 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
959
960         * lyxfunc.C (dispatch): translate message before sending it to the
961         minibuffer.
962
963 2005-03-29  Angus Leeming  <leeming@lyx.org>
964
965         * lyx_main.C (priv_exec): call os::internal_path on each file passed
966         to LyX on the command line.
967
968 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
969
970         * vc-backend.C: use QuoteName to protect file names wherever
971         necessary.
972
973 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
974
975         * buffer.[Ch]:
976         * BranchList.h: fix bugs 1844,1845: document settings don't
977         stick
978
979 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
980
981         * lyxrc.C (setDefaults, read, output, getDescription): add support
982         for tex_allows_spaces.
983
984         * exporter.C (Export): allows files in directory containing spaces
985         if tex_allows_spaces is true.
986
987         * buffer.C (makeLaTeXFile): if the document path contains spaces,
988         output it in double quotes.
989
990 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
991
992         * rowpainter.C: use default text height for drawing change tracker
993         strikeout lines.
994
995 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
996
997         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
998
999 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1000
1001         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1002         directory is missing.
1003
1004 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1005
1006         * text2.C: fixed the fix, extended to other case.
1007
1008 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1009
1010         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1011
1012 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1013
1014         * text2.C (cursorUp): get rid of a crash
1015         * text.C (x2pos): add an assert
1016
1017 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1018
1019         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1020
1021         * text3.C:
1022         * lyxfunc.C:
1023         * dociterator.C: include <boost/current_function.hpp>, which is
1024         needed when assertions are disabled.
1025
1026 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1027
1028         * text2.C: fix for stuck cursor when traversing two
1029         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1030
1031 2005-02-25  Andreas Vox  <avox@arcor.de>
1032
1033         * output_docbook.C (makeParagraph): suppress trailing newline
1034         after a run of paragraphs
1035
1036 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1037
1038         * paragraph.C: fix for confused change tracker when pasting
1039         text that begins with a lineseparator. [bug 1827]
1040         (setChange(0, Change::INSERTED);)
1041
1042         * paragraph_funcs.C: fix for lost changes on triple-paste
1043         in change tracking mode [bug 1827] (par.setChange()).
1044
1045 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1046
1047         * text2.C (updateCounters, setCounter, expandLabel): move to
1048         buffer_funcs.
1049
1050         * buffer_funcs.C (updateCounters): turn into a free standing
1051         function and add a buffer parameter. Remove dead code for tracking
1052         labelstring change.
1053         (setCounter): change into a free-standing function which gets a
1054         dociterator as argument. Use this iterator to fix captions in a
1055         simple way. When no float is found above the caption, use the
1056         labelstring of the caption layout as default.
1057
1058         * text.C (breakParagraph, backspace):
1059         * text2.C (init, setLayout, changeDepth):
1060         * text3.C (dispatch):
1061         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1062         updateCounters.
1063
1064         * dociterator.C (forwardPar): make it much faster by calling
1065         forwardPos() only when really necessary.
1066
1067         * output_docbook.C (makeCommand): adapt to expandLabel move.
1068
1069         * cursor.C: remove unused variable
1070
1071 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1072
1073         * paragraph_funcs.C: fix crash when pasting insets in change
1074         tracking mode [bug 1277] (honour change type in moveItem).
1075
1076 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1077
1078         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1079
1080 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1081
1082         * BufferView.C (setCursor): change to use a DocIterator.
1083         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1084         (putSelectionAt): adapt to BufferView::setCursor change.
1085
1086         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1087         moved here from LyXText and rewritten to use proper cursor
1088         methods. Fixes bug 1787, 616 and 835.
1089
1090         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1091         when inside an inset (part of bug 781).
1092         (dispatch): adapt to change of BufferView::setCursor.
1093         (getStatus, dispatch): handle LFUN_GOTOERROR,
1094         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1095
1096         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1097         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1098         * text3.C (gotoNextInset, gotoInset): removed.
1099
1100 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1101
1102         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1103
1104 2005-02-15  Angus Leeming  <leeming@lyx.org>
1105
1106         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1107         can be used meaningfully in a comparison.
1108
1109 2005-02-13  André Pönitz  <poenitz@gmx.net>
1110
1111         * bufferview_funcs.C (coordOffset): improve cursor drawing
1112
1113 2005-02-13  André Pönitz  <poenitz@gmx.net>
1114
1115         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1116         * Cursor.C (dispatch): use fixIfBroken
1117         * lyxfunc.C (getStatus): use fixIfBroken
1118
1119 2005-02-15  Angus Leeming  <leeming@lyx.org>
1120
1121         * lyx_main.C (error_handler):
1122         * lyxfunc.C:
1123         * lyxrc.C (setDefaults):
1124         s/GetEnv/getEnv/.
1125         #include "environment.h".
1126
1127         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1128
1129 2005-02-15  Angus Leeming  <leeming@lyx.org>
1130
1131         * lyxserver.C (startPipe): squash MSVC warning "local variable
1132         'fd' used without having been initialized".
1133
1134 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1135
1136         * BufferView_pimpl.C: revert accidental commit.
1137
1138 2005-02-14  André Pönitz  <poenitz@gmx.net>
1139
1140         * dociterator.[Ch]: new member forwardPosNoDescent(),
1141         which doesn't enter nested insets.
1142         * text2.C (setFont): use forwardPosNoDescent() instead
1143         of ForwardPos() (fixes crash on font change).
1144
1145 2005-02-13  Angus Leeming  <leeming@lyx.org>
1146
1147         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1148         only if lyxrc.path_prefix is not empty.
1149
1150 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1151
1152         * bufferparams.C (readGraphicsDriver): prevent crash
1153
1154 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1155
1156         * text2.C (setCounter): check for inInset() == 0
1157
1158 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1159
1160         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1161         but use update() to get correct screen display; use convert
1162         instead of istringstream.
1163         (getStatus): handle LFUN_GOTO_PARAGRAPH
1164
1165         * lyxfunc.C (dispatch, getStatus): do not handle
1166         LFUN_GOTO_PARAGRAPH here.
1167
1168 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1169
1170         * text3.C (dispatch): size() -> depth()
1171
1172         * text2.C: remove some debug output
1173
1174         * paragraph.C: ws changes only
1175
1176         * lyxfunc.C (getStatus): size() -> depth()
1177
1178         * dociterator.h (clear, push_back, pop_back, internalData,
1179         operator[], resize, empty): new functions
1180         Make StableDocIterator and operator== be friends. Don't inherit
1181         from std::vector use a privat class variable slices_ instead.
1182         Modify to fit.
1183
1184         * dociterator.C: update because of not inheriting from std::vector
1185         anymore. Call explictly to slices_ instead. Use depth() instead of
1186         size() and top() instead of back()
1187
1188         * cursor.C: chagne size() -> depth and back() -> top(). Also
1189         remove some direct operator[](i) calls in favour of foo[i]
1190         (getFont): remove some dead code
1191
1192         * bufferview_funcs.C (coordOffset): size() -> depth()
1193
1194         * buffer.C: ws changes only
1195
1196         * CutAndPaste.C (eraseSelection): back() -> top()
1197
1198         * BufferView_pimpl.C (selectionRequested): back() -> top()
1199
1200         * BufferView.C (setCursor): size() -> depth()
1201
1202 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1203
1204         * text3.C (cursorPrevious): return true if depm changed something
1205         (cursorNext): ditto
1206         (dispatch): rename sl to oldTopSlice, remove moving use the new
1207         NoUpdate func attrib instead. Make sure that needsUpdate is set
1208         for function that have NoUpdate, but where depm might have changed
1209         the buffer anyway.
1210
1211         * text2.C (cursorLeft): make us return true if depm changed
1212         something
1213         (cursorRight): ditto
1214         (cursorUpParagraph): ditto
1215         (curosrDownParagraph): ditto
1216         (cursorUp, cursorDown): ditto, make sure to read comments in code
1217         (deleteEmptyParagraphMechanism): remove an assert, also return
1218         true if just a single char was deleted.
1219
1220         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1221         cursor that we modify, to avoid modifying an active cursor before
1222         we call setCursor. This allows depm to run. Also return true if
1223         depm deleted something.
1224
1225         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1226         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1227         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1228         something was changed in the buffer because of them (ie. depm run)
1229
1230         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1231         debug messages. Make update by default be false. Make sure that
1232         the result of update is retained throught several calls down to
1233         dispatch.
1234
1235         * LyXAction.h: add a new func_attrib: NoUpdate
1236
1237         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1238         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1239         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1240         and LFUN_WORDLEFT
1241         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1242
1243 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1244
1245         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1246         bv_->owner(), bv_->buffer() by direct references to the private
1247         members.
1248         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1249         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1250         (fitCursor): center() is in BufferView::Pimpl.
1251         (getStatus, trackChanges, dispatch): no need for a temporary buf
1252         variable
1253         (fitCursor, workAreaDispatch): use workarea().workheight()
1254
1255 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1256
1257         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1258
1259 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1260
1261         * buffer.C: format up to 241.
1262         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1263         break if pasting into ERT
1264         * lyxfunc.C (getStatus): suppress mathpanel and
1265         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1266
1267 2005-02-01  Angus Leeming  <leeming@lyx.org>
1268
1269         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1270
1271 2005-02-01  Angus Leeming  <leeming@lyx.org>
1272
1273         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1274         calling fs::is_directory().
1275
1276 2005-01-31  Angus Leeming  <leeming@lyx.org>
1277
1278         * lyx_main.C (priv_exec): specify explicitly the relative location
1279         of the top level build directory when run in-place.
1280
1281 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1282
1283         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1284         LyXText containing the cursor, not the top-level one.
1285
1286         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1287         true.
1288         (insertStringAsLines): rename par to pit; use temporary variable
1289         par to hold a Paragraph; do not store par.layout() in a variable,
1290         since the pointer may die when breaking paragraphs; pass pars to
1291         breakParagraph() instead of Buffer::paragraphs().
1292
1293 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1294
1295         * lyxlex_pimpl.h: #include <fstream>.
1296
1297         * BufferView.[Ch] (getLyXText): add a const version.
1298
1299         * BufferView_pimpl.C: add debug aids.
1300
1301         * RowList_fwd.h:
1302         * buffer.h:
1303         * lyxrow.h:
1304         * paragraph_funcs.h: add commentary explaining what the class does.
1305
1306
1307         * coordcache.[Ch]: add lots of commentary.
1308         (startUpdating, doneUpdating): debug aids.
1309         (arrays, insets, parPos, getParPos): accessors to private data.
1310
1311         * cursor_slice.[Ch] (text): add a const version.
1312         * dociterator.[Ch] (text, innerText): add const versions.
1313
1314         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1315         bool.
1316
1317         * paragraph.C (getRow, pos2ros): add asserts.
1318
1319         * paragraph.h: add commentary. Lots of.
1320
1321         * paragraph.[Ch] (metrucs, draw): removed.
1322
1323         * cursor.C:
1324         * rowpainter.[Ch]: const-correct changes.
1325
1326         * text.C: various obvious clean-ups. Removal of ancient cruft.
1327         Bug fixes, even.
1328
1329 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1330
1331         * vc-backend.C (find_file): rewrite to use boost.filesystem
1332         (scanMaster): ditto
1333
1334         * main.C (main): set default name check for boost.filesystem to
1335         no check
1336
1337         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1338         (open): ditto
1339         (doImport): ditto
1340         (actOnUpdatedPrefs): ditto
1341
1342         * lyx_main.C (init): rewrite to use boost.filesystem
1343         (queryUserLyXDir): ditto
1344
1345         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1346         (getContentsOfAsciiFile): ditto
1347
1348         * lastfiles.C (readFile): rewrite to use boost.filesystem
1349
1350         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1351
1352         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1353         (loadLyXFile): ditto
1354
1355         * buffer.C (Buffer): adjust for destroydir
1356         (getLogName): rewrite to use boost.filesystem
1357         (setFileName): ditto
1358         (save): use fs::copy_file (from fs_extras)
1359
1360         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1361
1362         * LaTeX.C (run): rewrite to use boost.filesystem
1363         (scanAuxFiles): ditto
1364         (handleFoundFile): ditto
1365
1366 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1367
1368         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1369
1370         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1371
1372 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1373
1374         * lyxlayout.[Ch]: change some vars from float to double
1375
1376         * buffer.C (readFile): make a local var const
1377
1378         * Several files: use convert<> instead of atoi,strToXXX and friends
1379
1380 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1381
1382         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1383         holds the contents of packages.lst. New functions getAvailable
1384         and isAvailable to parse and check that list, resp.
1385
1386         * LyXAction.C:
1387         * lfuns.h:
1388         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1389
1390         * bufferparams.[Ch]: new param output_changes.
1391
1392         * Buffer.C: increase file format to 240.
1393         Use output_changes and isVailable.
1394
1395         * changes.[Ch]:
1396         * paragraph.C:
1397         * paragraph_pimpl.C: Use output_changes and isVailable.
1398
1399 2005-01-23  Angus Leeming  <leeming@lyx.org>
1400
1401         * output_latex.C: #include "insetbibitem.h", rather than
1402         forward declare function bibitemWidest.
1403
1404 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1405
1406         * lyx_main.C (init): make it compile on the Mac.
1407
1408 2005-01-20  Angus Leeming  <leeming@lyx.org>
1409
1410         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1411         (setLyXMisc): (char string literal) != (char string literal) is
1412         performing a comparison on the addresses. Convert one operand
1413         explicitly to string to guarantee expected behaviour.
1414         From MSVC warning.
1415
1416 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1417
1418         * buffer.C:
1419         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1420
1421         * output_plaintext.C: remove unneeded #include gzstream.h.
1422
1423 2005-01-20  Angus Leeming  <leeming@lyx.org>
1424
1425         * SpellBase.h: rename some of the elements of the Result enum.
1426
1427         * aspell_local.h:
1428         * ispell.h:
1429         * pspell.h:
1430         * aspell.C (check):
1431         * ispell.C (check):
1432         * pspell.C (check): ditto
1433
1434 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1435
1436         * buffer.C: add #include <fstream>.
1437
1438         * lyx_main.C (init): Compile fix.
1439
1440         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1441
1442 2005-01-20  Angus Leeming  <leeming@lyx.org>
1443
1444         * mover.h: change commentary to reflect the changed meaning of
1445         the $$s placeholder.
1446
1447 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1448
1449         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1450
1451         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1452
1453 2005-01-20  Angus Leeming  <leeming@lyx.org>
1454
1455         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1456         printing diagnostic data by not dereferecing an iterator past the
1457         end.
1458
1459 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1460
1461         * buffer.C (readHeader): use "&&" rather than "and".
1462
1463         * lyxserver.h (inPipeName, outPipeName): make these const.
1464
1465 2005-01-19  Angus Leeming  <leeming@lyx.org>
1466
1467         * lyx_main.C (error_handler, init): protect SIGHUP with
1468         #ifdef SIGHUP guards.
1469
1470 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1471
1472         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1473
1474 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1475
1476         * text.C (setHeightOfRow): add a margin at the top and bottom of
1477         the document (bug 1761)
1478
1479 2005-01-17  Angus Leeming  <leeming@lyx.org>
1480
1481         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1482         with "python ". Workaround for a brain-dead Windows.
1483
1484 2005-01-16  Angus Leeming  <leeming@lyx.org>
1485
1486         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1487         for MacOSX and Windows to use prependEnvPath.
1488         Strip out the hard-coded block to add elements to the PATH for
1489         MacOSX and replace it with a call to prependEnvPath using the
1490         contents of LyXRC::path_prefix.
1491         (queryUserLyXDir): strip out the code to run reconfigure, instead
1492         returning a boolean indicating the necessity to do so.
1493         (reconfigureUserLyXDir): contains the code to reconfigure the
1494         user support directory. Is now called after the various LyXRC data
1495         files have been read.
1496
1497         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1498
1499 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1500
1501         * converter.[Ch] (convert): take a new parameter try_default. Use
1502         a default converter (imagemagick) if try_default is true.
1503
1504 2005-01-13  Angus Leeming  <leeming@lyx.org>
1505
1506         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1507         os::cygwin_path_fix.
1508         (write): output LyXRC::cygwin_path_fix as necessary.
1509
1510 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1511
1512         * lyxrc.h:
1513         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1514
1515 2005-01-12  Angus Leeming  <leeming@lyx.org>
1516
1517         * lyx_main.C (init): set the PATH variable to include the
1518         directory containing the LyX binary when running on Mac or Windows.
1519
1520 2005-01-12  Angus Leeming  <leeming@lyx.org>
1521
1522         * lyx_main.C (init): remove cruft that purports to set the locale
1523         dir. It doesn't and is not needed anyway.
1524
1525 2005-01-10  Angus Leeming  <leeming@lyx.org>
1526
1527         * Makefile.am: remove the lyx_main.C special casing.
1528
1529         * BufferView_pimpl.C:
1530         * bufferlist.C:
1531         * exporter.C:
1532         * lyx_cb.C:
1533         * lyx_main.C:
1534         * lyxfunc.C:
1535         * messages.C: use support/package.h to provide the paths to the
1536         various directories used by LyX.
1537
1538 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1539
1540         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1541         layout if pasting into an empty paragraph)
1542
1543 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1544
1545         * tex-accent.C: add <string>
1546
1547 2005-01-06  José Matos  <jamatos@lyx.org>
1548
1549         * ParagraphParameters.C (write): put every parameter in its own line.
1550         * paragraph.C (write): reduce number of consecutive empty lines exported.
1551         * buffer.C (LYX_FORMAT): increase file format to 239.
1552
1553 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1554
1555         * everywhere: change support/tostr.h -> support/convert.h
1556
1557         * tabular.C: make all write_attributes templates, tostr -> convert
1558
1559         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1560         (emptyTag): and -> &&, and fix type for ret from getChar
1561         (getFirstWord): fix type for ret from getChar
1562         (onlyText): and -> &&
1563         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1564         getChar
1565
1566         * toc.C (goTo, action):
1567         * text3.C (dispatch):
1568         * text.C (currentState):
1569         * tex-accent.C (DoAccent):
1570         * sgml.C:
1571         * lyxrc.C:
1572         * lyxfunc.C (menuNew):
1573         * lyxfinc.C (replace):
1574         * counters.C (laberItem):
1575         * bufferview_funcs.C (font2string):
1576         * bufferparams.C (writeFile):
1577         * buffer.C (readFile):
1578         * Spacing.C (set):
1579         * MenuBackend.C: tostr -> convert
1580
1581         * LaTeX.C (runMessage): fix format
1582         (scanAuxFiles): tostr -> convert
1583
1584         * BufferView_pimpl.C (savePosition): fix format
1585         (restorePosition): ditto
1586         (dispatch): ditto
1587
1588 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1589
1590         * Spacing.[Ch]: New method getValueAsString().
1591
1592         * Spacing.[Ch]:
1593         * bufferparams.C:
1594         * ParagraphParameters.C:
1595         * lyxlayout.C:
1596         * text.C:
1597         * text3.C: store/read spacing value as string.
1598
1599         * rowpainter.C: change float value (spacing_val) to double.
1600
1601         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1602         broken custom document spacing).
1603
1604 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1605
1606         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1607         namespace, also more use of temp references and const
1608
1609         * cursor.[Ch] (getStatus): move to lyxfunc.C
1610
1611         * bufferparams.C: reformat slightly
1612
1613         * bufferview_funcs.C (font2string): constify arg
1614
1615         * changes.C:
1616         * converter.C:
1617         * counters.C:
1618         * bufferlist.C:
1619         * buffer_funcs.C: (many funcs): constify arg on function
1620         definitions, also make more local vars const, also add ASSERTS on
1621         pointer args.
1622
1623         * buffer.C (LYX_FORMAT): put const in correct place
1624         (many funcs): constify arg on function definitions, also make
1625         more local vars const
1626
1627         * aspell_local.h: remove "struct" from typdef setup
1628
1629         * aspell.C (check): make word_ok const
1630         (nextMiss): simplify slightly
1631         (error): ditto
1632
1633 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1634
1635         * lyxrc.[Ch]: store all float values as strings.
1636         use int (not float) for lyxrc.dpi.
1637
1638 2005-01-04  Angus Leeming  <leeming@lyx.org>
1639
1640         * lyx_cb.C (Reconfigure):
1641         * lyx_main.C (queryUserLyXDir):
1642         to run the <system_lyxdir>/configure correctly on Windows, prefix
1643         the path to the script with "sh " when generating the string that
1644         is passed to system().
1645
1646 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1647
1648         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1649
1650 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1651
1652         * lyxlength.C (asLatexString): get rid of setprecision
1653
1654 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1655
1656         * text2.C (setLayout): remove unused variable endpit.
1657         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1658
1659         * paragraph.C (onlyText): remove unused variable style.
1660
1661         * cursor.C (bruteFind): remove unused variables beg and end.
1662
1663         * Makefile.am (dist_noinset_DATA): not needed anymore
1664
1665         * cheaders/*: remove.
1666
1667 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1668
1669         * text3.C: fix LFUN_MATH_MODE.
1670
1671 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1672
1673         * buffer_funcs.C (countWords): new function. Counts words between
1674         two iterators.
1675
1676         * BufferView_pimpl.C (getStatus, dispatch): handle
1677         LFUN_WORDS_COUNT.
1678
1679         * LyXAction.C (init):
1680         * lfuns.h: add LFUN_WORDS_COUNT.
1681
1682 2004-12-19  Angus Leeming  <leeming@lyx.org>
1683
1684         * buffer.C (save): s/slashify_path/internal_path/.
1685
1686 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1687
1688         * lyxfind.C (findChange): do not search for end of pars, because
1689         the change tracker cannot handle this (fixes bug 1719).
1690
1691 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1692
1693         * paragraph.[Ch] (autoBreakRows): remove
1694
1695         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1696
1697         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1698         avoid using the paragraph one
1699
1700         * text2.C (LyXText, insertStringAsLines): adjust
1701
1702 2004-12-16  Angus Leeming  <leeming@lyx.org>
1703
1704         * bufferlist.C:
1705         * lyx_main.C:
1706         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1707
1708 2004-12-14  Angus Leeming  <leeming@lyx.org>
1709
1710         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1711
1712         * bufferlist.C (emergencyWrite):
1713         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1714         GetEnvPath("HOME").
1715
1716 2004-12-14  Angus Leeming  <leeming@lyx.org>
1717
1718         * main.C: (main): no longer pass pointers to os::init.
1719
1720 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1721
1722         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1723         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1724
1725 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1726
1727         * lyxfunc.C:
1728         * text3.C: remove selection_possible global flag
1729
1730 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1731
1732         * text2.C (getSelectionSpan): remove
1733         (changeDepth, changeDepthAllowed): adjust
1734
1735 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1736
1737         * Makefile.am (BOOST_LIBS): use boost variables
1738
1739 2004-12-03  José Matos  <jamatos@lyx.org>
1740
1741         * buffer.C: format up to 238.
1742
1743 2004-12-03  José Matos  <jamatos@lyx.org>
1744
1745         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1746
1747 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1748
1749         * cursor.C (goUpDown): remove call to idxUpDown2
1750
1751 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1752
1753         * tabular.[Ch]: use size_t-like types for cell, row and column
1754         indices
1755
1756 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1757
1758         * lyxfunc.C (getStatus): do not lose previous information when
1759         calling BufferView::getStatus; do not set a default "Command
1760         disabled" message at the beginning, but just before returning.
1761
1762 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1763
1764         * cursor.h (getStatus): add better comment from src/cursor.C
1765
1766 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1767
1768         * text3.C (getStatus): return false when the lfun is not handled
1769
1770 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1771
1772         * broken_headers.h: remove
1773
1774         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1775
1776 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1777
1778         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1779         offset_ref accessors
1780
1781         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1782         top_y_, merge fitcursor with update
1783         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1784         coord scheme
1785         (metrics): introduce
1786         (workAreaDispatch): adapt to new coord scheme
1787         (redoCurrentBuffer): remove
1788
1789         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1790
1791         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1792         CurStatus enum.
1793
1794         * coordcache.[Ch]: add paragraph cache and helpers
1795
1796         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1797         adjust everywhere
1798
1799         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1800         (targetX, setTargetX): introduce
1801
1802         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1803         baseline -> ascent, as the rest of lyx
1804
1805         * lyxtext.h: remove redoParagraphs, updateParPositions,
1806         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1807         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1808         have ascent/descent (ascent is ascent of first par)
1809
1810         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1811         step of BufferView
1812
1813         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1814
1815         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1816
1817         * pariterator.C: fix infinite loop introduced in par->pit renaming
1818
1819         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1820         in insets and LyXText, draw two off-screen paragraphs using
1821         NullPainter, and adapt to new coord scheme
1822
1823         * text.C:
1824         * text2.C:
1825         * text3.C: adapt lfun handlers to the new coord scheme, which
1826         means: there's only guaranteed coord information for onscreen pars
1827         plus one above and one below. This implies that one can do search
1828         from y coordinates in the range [-1,workHeight]
1829
1830 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1831
1832         * rename a lot of InsetOld to InsetBase
1833
1834 2004-11-25  Angus Leeming  <leeming@lyx.org>
1835
1836         * BufferView_pimpl.C:
1837         * lyx_cb.C:
1838         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1839
1840 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1841
1842         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1843         call BufferView::getStatus if LCursor::getStatus did nothing
1844         (setStatusMessage, getStatusMessage): removed.
1845
1846         * FuncStatus.C (message): new methods. Used to provide an error
1847         message indicating why a command is disabled.
1848         (clear, |=, FuncStatus): update for message.
1849
1850 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1851
1852         * lyxfunc.C (dispatch): always call sendDispatchMessage
1853
1854 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1855
1856         * BufferView.C:
1857         * BufferView_pimpl.C:
1858         * CutAndPaste.C:
1859         * FontIterator.C:
1860         * buffer.C:
1861         * cursor.C:
1862         * cursor_slice.[Ch]:
1863         * dociterator.[Ch]:
1864         * lyxfind.C:
1865         * paragraph_funcs.C:
1866         * pariterator.C:
1867         * rowpainter.C:
1868         * text.C:
1869         * text2.C:
1870         * text3.C:
1871         * undo.C: par->pit renaming
1872
1873 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1874
1875         * tabular.C (cellstruct): use initialization, store a shared_ptr
1876         to insettext instead of the insettext directly, adjust to fit.
1877         (operator=):  new function
1878         (swap): new function
1879         (rowstruct): use initialization
1880         (columnstruct): use initialization
1881         (ltType): use initialization
1882
1883
1884         * lyxlength.h (swap): new function
1885
1886         * LColor.[Ch] (operator=): use the common semantics
1887
1888 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1889
1890         * lyxfind.C (findNextChange): update the bufferview after setting
1891         the selection.
1892
1893 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1894
1895         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1896         number of InsetOptArgs has already been inserted.
1897
1898         * output_latex.C (latexOptArgInsets): new method. This outputs all
1899         the optarg insets, up to the limit defined in the layout file.
1900         (optArgInset): removed
1901         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1902
1903 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1904
1905         * paragraph.C (isLetter): remove special spellchecker-related
1906         code; return true also for digits
1907         (isWord, isKomma): remove
1908
1909         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1910         * lyxfind.C (MatchString()): use isLetter instead of isWord
1911
1912 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1913
1914         * pariterator.h (operatir=): comment out un-implemented member
1915         function.
1916
1917         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1918         static cast.
1919
1920 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1921
1922         * lyxfont.h: include LColor.h to satisfy concept checks.
1923
1924 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1925
1926         * pariterator.h: add typdefs for value_type, difference_type,
1927         pointer and reference to satisfy concept checks. Also add default
1928         constructor for same reason.
1929
1930         * pariterator.C (operator++): add post-increment operator to
1931         satisfy concept checks.
1932
1933         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1934         checks.
1935
1936         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1937
1938         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1939         checks. Also rename base_type to BaseType to follow naming
1940         standard better.
1941
1942         * FloatList.h: include Floating.h to satisfy concept checks.
1943
1944 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1945
1946         * lyxfunc.C (getStatus): when the origin of the request is menu or
1947         toolbar, and the LyXView does not have focus, do as if there was
1948         no buffer (bug 1720)
1949
1950         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1951         FuncRequest to individual entries of LFUN_SEQUENCE
1952
1953 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1954
1955         * output_latex.C (TeXOnePar): override runparams.moving_arg
1956         according to the needprotect value of the current paragraph (bug
1957         1739)
1958
1959         * paragraph.C (simpleTeXOnePar): no need to override
1960         runparams.moving_args here
1961
1962 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1963
1964         * vspace.C: fix off-by-one-error, related to fix #1682
1965
1966 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1967
1968         * lengthcommon.C: a more general fix for bug 1682
1969
1970 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1971
1972         * text.C (backspace): fix crash
1973
1974 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1975
1976         * format.[Ch] (getFormatFromFile): new method
1977         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1978
1979 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1980
1981         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1982
1983 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1984
1985         * lyxfunc.C (dispatch): remove the verbose argument
1986         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1987         instead
1988
1989         * kbmap.C (defkey): set the origin of func to KEYBOARD
1990
1991         * MenuBackend.C (MenuItem):
1992         * ToolbarBackend.C (add): set the origin of func to UI
1993
1994         * funcrequest.[Ch]: add origin member, which indicates which part
1995         of LyX requests an action
1996
1997 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1998
1999         * converter.C (move): don't lie in the error message
2000         * converter.h (isReachable, move): document
2001
2002 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2003
2004         * buffer.C: remove unused using lyx::support::atoi
2005         * paragraph_funcs.C: ditto
2006
2007 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2008
2009         * bufferlist.C (exists): use bind and equal_to instead of
2010         compare_memfun
2011         (getBuffer): ditto
2012         * lyxtextclasslist.C (NumberOfClass): ditto
2013
2014         * cursor.C (insert): use for_each instead of explicit for loop
2015
2016         * bufferlist.C (getFileNames): use std::transform and
2017         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2018
2019         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2020         for loop
2021
2022         * buffer.C (changeLanguage): use for_each instead of explicit for
2023         loop
2024         (hasParWithID): implement using getParFromID
2025
2026         * LaTeXFeatures.C: ws change only
2027
2028         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2029         to cleanup a bit.
2030
2031         * BufferView_pimpl.C (trackChanges): use for_each instead of
2032         expilicit for loop
2033
2034 2004-11-04  André Pönitz  <poenitz@gmx.net>
2035
2036         * undo.h:
2037         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2038
2039         * dociterator.C (asDocIterator): use hard assert again.
2040
2041 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2042
2043         * lyxlength.C (asLatexString): rewrite so that it does not use
2044         snprintf anymore
2045
2046 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2047
2048         * text3.C (specialChar, dispatch): make sure cursor moves to the
2049         right after inserting an inset
2050
2051 2004-11-02  José Matos  <jamatos@lyx.org>
2052
2053         * output_docbook.C (docbook):
2054         * paragraph.C (getID):
2055         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2056         garantee that the output is always legal.
2057
2058         * tabular.C (docbook):
2059         * outputprams.[Ch]: remove mixed contents.
2060
2061 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2062
2063         * text2.C (setCounter): prevent endless loop
2064
2065 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2066
2067         * exporter.C (copyFile): use the mover instead of support::copy()
2068         * exporter.C (Export): pass format and latex name to copyFile()
2069         * exporter.h (addExternalFile): document
2070         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2071
2072 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2073
2074         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2075
2076 2004-10-30  José Matos  <jamatos@lyx.org>
2077
2078         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2079         text and no inset or font change. This allows to use CDATA
2080         sections just for the whole paragraph.
2081
2082 2004-10-30  José Matos  <jamatos@lyx.org>
2083
2084         * paragraph.C (getFirstWord): remove unused variable.
2085
2086 2004-10-30  José Matos  <jamatos@lyx.org>
2087
2088         * paragraph.C (getFirstWord): the content should always be escaped
2089         there.
2090         (simpleDocBookOnePar):
2091         * output_docbook.C (makeEnvironment): replace reference to CDATA
2092         to style pass_thru.
2093
2094 2004-10-30  José Matos  <jamatos@lyx.org>
2095
2096         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2097
2098 2004-10-30  José Matos  <jamatos@lyx.org>
2099
2100         * output_docbook.C (makeParagraphs):
2101         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2102         standard paragraph has only a given type of content drop the wrapper.
2103
2104 2004-10-29  José Matos  <jamatos@lyx.org>
2105
2106         * output_docbook.C (makeEnvironment):
2107         * sgml.C (openTag):
2108         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2109
2110 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2111
2112         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2113         (cleanID): sanitize any id.
2114
2115 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2116
2117         * buffer.C, lyxlex_pimpl.C:
2118         * lyxlex_pimpl.C (setFile):
2119         s/getExtFromContents/getFormatFromContents/
2120
2121 2004-10-28  José Matos  <jamatos@lyx.org>
2122
2123         * output_docbook.C (makeEnvironment): move id to broadest possible
2124         scope.
2125
2126         * sgml.C (openTag): apply substitution of <> for all attributes.
2127
2128 2004-10-28  José Matos  <jamatos@lyx.org>
2129
2130         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2131         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2132         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2133
2134         * sgml.[Ch]: new version for open and closeTag for paragraph and
2135         for strings. Now they handle the ids of paragraphs.
2136
2137 2004-10-26  Angus Leeming  <leeming@lyx.org>
2138
2139         * Makefile.am: add mover.[Ch].
2140
2141         * converter.C (convert, move): use the new Movers to move external
2142         files to the temp directory.
2143
2144         * lyx_main.C (init): ensure that the global system_movers data
2145         is initialised.
2146
2147         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2148         preferences file.
2149
2150         * mover.[Ch]: new files, defining a Mover as a utility to move an
2151         external file between directories and, if necessary, manipulate this
2152         file using a helper script.
2153
2154 2004-10-25  José Matos  <jamatos@lyx.org>
2155
2156         * output_docbook.C (makeCommand): merge two if's that tested the
2157         same condition.
2158
2159 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2160
2161         * sgml.C (escapeString): fix warning in a better way
2162
2163 2004-10-25  José Matos  <jamatos@lyx.org>
2164
2165         * sgml.C (escapeString): import the require boosts header file for
2166         tie, and avoid a signed unsigned comparison.
2167
2168 2004-10-25  José Matos  <jamatos@lyx.org>
2169
2170         * sgml.h: add #include <string>
2171
2172 2004-10-25  José Matos  <jamatos@lyx.org>
2173
2174         * sgml.[Ch] (escapeString): new function to escape all the string.
2175
2176 2004-10-24  José Matos  <jamatos@lyx.org>
2177
2178         * paragraph.[Ch] (getFirstWord): new function to get the first
2179         word. Useful for description.
2180         (simpleDocBookOnePar): remove depth argument, add another that
2181         says where to start the paragraph.
2182
2183         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2184         use the new functions to fix cleanly the support for descriptions.
2185
2186 2004-10-24  José Matos  <jamatos@lyx.org>
2187
2188         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2189         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2190         * output_linuxdoc.C (linuxdocParagraphs):
2191         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2192         add buffer as argument.
2193
2194 2004-10-24  José Matos  <jamatos@lyx.org>
2195
2196         * output_docbook.C (makeEnvironment, searchEnvironment): place
2197         CDATA inside paragraphs and fix scope for listitems.
2198
2199 2004-10-24  José Matos  <jamatos@lyx.org>
2200
2201         * output_docbook.C: remove using statement for stack.
2202
2203 2004-10-23  José Matos  <jamatos@lyx.org>
2204
2205         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2206         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2207         docbook. The new scheme is recursive and makes use of iterators, the
2208         same as latex export works.
2209         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2210         directly with the paragraph contents. This code was moved up to
2211         output_docbook.C (docbookParagraphs).
2212         * sgml.C (openTag, closeTag): removed unneeded newlines.
2213         (closeEnvTags) removed.
2214
2215 2004-10-23  André Pönitz  <poenitz@gmx.net>
2216
2217         * undo.C (textUndoOrRedo):
2218         * dociterator.C (asDocIterator): work around crash
2219
2220         * cursor.C (getStatus): replace ASSERT by more verbose error message
2221           and manual correction of the problem. Should increase stability
2222           while providing more sensible information.
2223
2224 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2225
2226         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2227
2228         * bufferlist.C (previous, next): new methods
2229
2230         * lfuns.h:
2231         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2232
2233 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2234
2235         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2236         entities to preamble.
2237
2238 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2239
2240         * messages.C (Pimpl): strip off translation context information
2241
2242 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2243
2244         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2245         the cursor is correct (bug 1694)
2246
2247 2004-10-13  José Matos  <jamatos@lyx.org>
2248
2249         * output_docbook.C (docbookParagraphs): fix closing tags in the
2250         end of the document.
2251
2252 2004-10-09  José Matos  <jamatos@lyx.org>
2253
2254         * buffer.C: format up to 237.
2255         * bufferparams.C (write): use tostr to convert booleans to strings.
2256
2257 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2258
2259         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2260
2261 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2262
2263         * LaTeX.C: implement use of babel language in xindy.
2264
2265 2004-10-05  José Matos  <jamatos@lyx.org>
2266
2267         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2268         Add new translators to help reading and writing the lyx file.
2269
2270 2004-10-05  José Matos  <jamatos@lyx.org>
2271
2272         * ParagraphParameters.C (read):
2273         * text.C (readParToken): replace nexToken by more appropriate lex
2274         methods.
2275
2276 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2277
2278         * LaTeX.C (runMakeIndex):
2279         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2280         (usually 'makeindex') configurable.
2281
2282         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2283         with a variable rather than with a number.
2284
2285 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2286
2287         * output_latex.C (TeXOnePar): make sure font setting is the first
2288         thing that gets output (and the last at the end). Should fix bug
2289         1404.
2290
2291 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2292
2293         * pch.h: use proper signal include
2294
2295         * LaTeX.h: Use preferred calling of Boost.Signal
2296         * buffer.h: ditto
2297
2298 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2299
2300         * pch.h: dont include <boost/function/function0.hpp>
2301
2302         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2303
2304         * paragraph_pimpl.h: remove usage of ShareContainer
2305
2306         * paragraph_pimpl.C: remove initialization of ShareContainer.
2307
2308 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2309
2310         Fix bug #1666
2311
2312         * BufferView.C (putSelectionAt): change the semantics when
2313         backwards == true: now, this just swaps cursor and anchor wrt the
2314         forward case
2315
2316         * BufferView.h (putSelectionAt): add some documentation
2317
2318         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2319         make sure backwardChar is done at least once (to avoid getting
2320         stuck)
2321         (findNextChange): use putSelectionAt in the forward direction
2322         (operator()): use Paragraph::isWord
2323
2324 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2325
2326         * Spacing.C (set): c_str fix
2327
2328 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2329
2330         * lyx_cb.C (Reconfigure): quote the name of configure script in
2331         case it contains spaces
2332
2333 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2334
2335         * client: new dir
2336
2337         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2338         (BOOST_LIBS): use top_buildir when looking for the file
2339
2340 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2341
2342         * pch.h: do not use include boost/format.hpp, multiple symbols
2343                 will result (gcc bug)
2344
2345
2346 2004-08-23  José Matos  <jamatos@lyx.org>
2347
2348         * bufferparams.C (readToken): fix reading of the author field.
2349
2350 2004-08-20  José Matos  <jamatos@lyx.org>
2351
2352         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2353
2354 2004-08-20  José Matos  <jamatos@lyx.org>
2355
2356         * lyxlex.[Ch] (findToken): remove function.
2357
2358         * ParagraphParameters.C (findToken):
2359         * bufferparams.C (findToken): replace call for previous function
2360         with local copy. This local function has one more argument, the
2361         read string argument.
2362
2363 2004-08-16  José Matos  <jamatos@lyx.org>
2364
2365         * ParagraphParameters.C (write):
2366         * Spacing.C (writeFile):
2367         * bufferparams.C (writeLaTeX):
2368         * lyx_cb.C (Reconfigure):
2369         * paragraph.C (write):
2370         * tabular.C (write): remove unnecessary space at end of line.
2371
2372
2373 2004-08-16  José Matos  <jamatos@lyx.org>
2374
2375         * text.C (readParagraph): remove debug message.
2376
2377 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2378
2379         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2380         crash
2381
2382         * output_plaintext.C (asciiParagraph): set depth correctly
2383
2384         * outputparams.h: add member depth
2385
2386         * paragraph_funcs.C (ownerPar): remove.
2387
2388         * text2.C (setCounter): remove first_pit; comment out some
2389         non-working code that uses ownerPar
2390
2391         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2392         uses ownerPar
2393
2394 2004-08-16  José Matos  <jamatos@lyx.org>
2395
2396         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2397         For the same level of importance use the same chanel to report problems.
2398         (read): add code to deal with \begin_body and \end_body.
2399
2400
2401 2004-08-15  José Matos  <jamatos@lyx.org>
2402
2403         * lyxlex.C (getString): fix comment, buffer::readBody is now
2404         buffer:readDocument.
2405
2406         * tex-strings.C (string_papersize): Default -> default,
2407         Custom -> custom, for consistency with other options.
2408
2409 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2410
2411         * pch.h: new file
2412
2413         * Makefile.am: support pch
2414
2415 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2416
2417         * text.C (readParToken): remove the static LyXFont variable and
2418         pass it as a parameter instead. This fixes a nasty bug where an
2419         inset will be inserted with a bad font in some situations
2420         (readParagraph): adapt
2421
2422         * text2.C (setCounter): reduce number of calls to pars_[pit]
2423
2424         * text.C (singleWidth): add an assert, fix a test
2425
2426         * rowpainter.C (paintText): reduce number of calls to singleWidth
2427
2428         * paragraph.C (isHfill):
2429         (isNewline): ws only
2430
2431 2004-08-14  André Pönitz  <poenitz@gmx.net>
2432
2433         * text.C:
2434         * text2.C:
2435         * rowpainter.C:
2436         * lyxtext.h (several functions): use a Paragraph & argument
2437         instead of par_type
2438
2439 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2440
2441         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2442
2443         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2444
2445         * text.C (singleWidth): remove useless test
2446
2447 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2448
2449         * tabular.h: remove bogus comments
2450
2451         * tabular.C (getDescentOfRow):
2452         (isPartOfMultiColumn): add assertions
2453
2454         * lyxlength.C (inPixels): remove #warning
2455
2456 2004-08-14  André Pönitz  <poenitz@gmx.net>
2457
2458         * paragraph.h: inline getChar()
2459
2460         * BufferView.h: remove unused declarations
2461
2462 2004-08-14  José Matos  <jamatos@lyx.org>
2463
2464         * Buffer.[Ch] (readDocument): new name for old readBody.
2465         * Buffer.C: new file format, new keywords: \begin_document,
2466         \begin_header, \begin_body, \end_body.
2467
2468         * bufferparams.C (readToken): replace all calls to lex.nextToken
2469         by lex.next(). Do the same to eatLine except where really needed.
2470
2471         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2472         line when writing to the lyx file.
2473
2474         * output_plaintext.C (asciiParagraph): fix Bibliography style
2475         handling.
2476
2477         * text.C (read): fix end of file handling.
2478
2479 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2480
2481         * MenuBackend.C (Menu::operator[]): new method to access
2482         individual menu items
2483         (Menu::hasFunc): new method. search for an item that corresponds
2484         to a given func
2485         (MenuBackend::specialMenu): new method
2486         (MenuBackend::expand): if a special menu has been set, skip
2487         entries whose func() appears in this menu
2488
2489 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2490
2491         * text3.C: use Debug::DEBUG a bit more
2492
2493         * text.C (leftMargin): try to simplify a tiny bit change var x to
2494         l_margin. Dont output the wide margins always.
2495         (rightMargin): no margin in inner texts
2496
2497         * rowpainter.h (nestMargin): new func
2498         (changebarMargin): new func
2499         (rightMargin): new func
2500
2501         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2502         now functions.
2503         (paintLast): ditto
2504
2505         * factory.C (createInset): modify setDrawFrame
2506
2507         * cursor.C: use Debug::DEBUG a bit more
2508
2509 2004-08-14  André Pönitz  <poenitz@gmx.net>
2510
2511         * coordcache.[Ch]:
2512         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2513         cache for all insets in (at least partially) visible (top-level)
2514         paragraphs.
2515
2516         * BufferView_pimpl.C: reset external coord cache before every update.
2517         This means the coord cache only contains valid entries.
2518
2519 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2520
2521         bug 1096
2522         * BufferView_pimpl.C (getInsetByCode): move function out of class
2523         and change in to a template in anon namespace. Also fix to do what
2524         suits us better.
2525
2526 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2527
2528         bug 1305
2529         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2530         of char
2531         (breakParagraph): rename par to par_offset and use a local
2532         reference. Add code to keep the language over a rebreak.
2533         (breakParagraphConservative): rename par to par_offset, use a
2534         local reference
2535         (mergeParagraph): ditto
2536         (outerHook): ditto
2537         (isFirstInSequence): ditto
2538         (outerFont): rename pit to par_offset
2539
2540         * paragraph.C: ws change
2541         * paragraph.h: ditto
2542         * text3.C: ditto
2543         * text.C: ditto
2544
2545 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2546
2547         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2548         treatment for ']'
2549
2550         * paragraph.C (simpleTeXOnePar): when we have a \item with
2551         optional argument, enclose the argument with curly brackets (in
2552         case it contains a closing square bracket)
2553
2554         * text2.C (editXY):
2555         * text2.C (editXY):
2556         * text3.C (checkInsetHit): constify
2557
2558 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2559
2560         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2561         documents (bug 1629)
2562
2563 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2564
2565         Fix toggling of collapsable insets with the mouse (bug 1558)
2566
2567         * lyxfunc.C (dispatch): adapt to LCursor changes
2568
2569         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2570         make sure that dispatch is not invoked twice
2571
2572         * cursor.C (needsUpdate): new method
2573         (dispatch): return void
2574         (result): new method, to access the DispatchResult of the cursor.
2575
2576 2004-08-13  José Matos  <jamatos@lyx.org>
2577
2578         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2579
2580 2004-08-13  André Pönitz  <poenitz@gmx.net>
2581
2582         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2583
2584         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2585           multiple cells
2586
2587 2004-08-12  André Pönitz  <poenitz@gmx.net>
2588
2589         * text3.C: take out the 'cursor right' form insertInset and only
2590         do it in those places when it is really needed. Fixes crash on
2591         C-m...
2592
2593 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2594
2595         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2596
2597         * BufferView_pimpl.C (setBuffer): initialize the current font of
2598         the underlying LyXText
2599
2600 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2601
2602         * kbsequence.C (print): use UI native formatting for menu
2603         shortcuts
2604
2605         * text.C (insertChar): call Paragraph::insertChar with a font
2606         argument (cosmetic)
2607
2608         * paragraph.C (insertInset, insertChar): the version that takes a
2609         LyXFont argument is now a wrapper around the other one (the
2610         opposite used to be true).
2611
2612         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2613         argument. Font setting is done in Paragraph now.
2614
2615 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2616
2617         * outputparams.h: add new members intitle and lang.
2618
2619         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2620         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2621
2622 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2623
2624         * text3.C (dispatch): remove special handling of button 4 and 5,
2625         it is now taken care of in the frontend code.
2626
2627 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2628
2629         * Spacing.h: add <string> (STLPort compile fix)
2630
2631 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2632
2633         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2634
2635 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2636
2637         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2638         to bool.
2639
2640         * converter.C (showMessage): inherit from unary_function, make
2641         operator() const.
2642
2643         * buffer.C (writeFile): initialize retval
2644
2645         * InsetList.h: rename private variable list to list_
2646         * InsetList.[Ch]: adjust accordingly.
2647
2648 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2649
2650         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2651         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2652         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2653         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2654         * ParagraphParameters.C, LaTeXFeatures.C: replace
2655         "support/std_sstream.h" with <sstream>
2656
2657 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2658
2659         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2660         * lyxsocket.C (LyXServerSocket): ditto
2661         (serverCallback): ditto
2662
2663 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2664
2665         * LaTeXFeatures.C: check release date when loading jurabib.
2666
2667 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2668
2669         * lyxserver.C (startPipe): call register_socket_callback
2670         (endPipe): call unregister_socket_callback
2671
2672 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2673
2674         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2675         (LyXServerSocket): register the callback
2676         (LyXServerSocket): unregister the callback
2677         (fd): delete function
2678         (serverCallback): improve error checking and setup the callbacks.
2679         (dataCallback): change arg to fd.
2680         (writeln): new func (copied fro the client socket) used for server
2681         write to client.
2682         (LyXDataSocket): simplify
2683         (~LyXDataSocket): close ann unregiser callback
2684         (server): delete function
2685         (fd): delete function
2686         (readln): small changes, improve some std::string usage
2687         (writeln): constify a bit
2688
2689 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2690
2691         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2692         Qt frontend
2693
2694 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2695
2696         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2697         after it has been populated
2698
2699 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2700
2701         * text2.C (insertInset): move cursor when inserting inset.
2702
2703 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2704
2705         * kbmap.C (findbindings): a couple of new methods. returns a
2706         container of kb_sequence objects. The real work is done by the
2707         private recursive version
2708         (printbindings): uses findbindings to print out a bracketed list
2709         of bindings (renamed from findbinding).
2710
2711         * MenuBackend.C (binding): use kb_keymap::findbindings
2712
2713         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2714
2715 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2716
2717         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2718
2719 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2720
2721         * paragraph.C (isWord): return true on insets that report
2722         isLetter().
2723
2724         * text.C (getWord): use Paragraph::isWord to decide what is in a
2725         word and what is not; fix bug 1609.
2726
2727 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2728
2729         * tex-strings.C: add "none" to string_paperpackages[], fixes
2730         off-by-one-error in the paperpackage selection.
2731
2732         * lyxlex.[Ch]:
2733         * tex-strings.[Ch]: char const * string[n]
2734         -> char const * const string[]
2735
2736 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2737
2738         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2739         command, return early.
2740
2741 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2742
2743         * debug.h: add DEBUG to enum and fix size of ANY.
2744
2745         * debug.C: add support for Debug::DEBUG
2746         (showTags): cast errorTags.level to unsigned int
2747
2748         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2749         (redoCurrentBuffer): ditto
2750         (updateScrollbar): ditto
2751         * cursor.C (dispatch): ditto
2752         * text2.C (setLayout): ditto
2753         (setFont): ditto
2754         (updateCounters): ditto
2755         (editXY): ditto
2756         (deleteEmptyParagraphMechanism): ditto
2757
2758 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2759
2760         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2761         annotations to cleanup the Makefile slightly.
2762
2763 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2764
2765         * lyxrc.C: do not set user_email to a default value but use empty
2766         instead. The entry used to be translated, which does not work
2767         since at the point where lyxrc is constructed there is no
2768         translation service available
2769
2770         * messages.C (getLocaleDir): remove and use directly
2771         lyx_localedir() instead
2772
2773 2004-06-02  Angus Leeming  <leeming@lyx.org>
2774
2775         Fix crash caused by dereferencing null pointer 'exportdata' in
2776         OutputParams by creating a new ExportData variable on the heap,
2777         storing it in a boost::shared_ptr.
2778         The crash was triggered when generating an Instant Preview
2779         of an external inset.
2780
2781         * Makefile.am: add outputparams.C
2782
2783         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2784         (c-tor): allocate memory to it.
2785
2786         * exporter.C (c-tor): associated changes.
2787
2788 2004-06-01  Angus Leeming  <leeming@lyx.org>
2789
2790         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2791         contains data before calling isInset(0). (Bug 1513.)
2792
2793 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2794
2795         * exporter.C (checkOverwrite): new method
2796         * exporter.C (copyFile): new method
2797         * exporter.C (Export): copy referenced files to the document dir
2798         * exporter.[Ch]: new class ExportedFile
2799         * exporter.[Ch]: new class ExportData. Contains currently the
2800         names of referenced external files
2801         * outputparams.h: add exportdata member.
2802
2803 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2804
2805         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2806         version.C-tmp
2807
2808 2004-05-19  Angus Leeming  <leeming@lyx.org>
2809
2810         * LaTeXFeatures.C:
2811         * ToolbarBackend.C:
2812         * bufferparams.C:
2813         * lyxfunc.C: small changes due to the introduction of namespace
2814         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2815
2816 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2817
2818         * text3.C (dispatch): supress update when only moving the cursor
2819         * cursor.C (selHandle): remove commented code
2820
2821 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2822
2823         * paragraph.C (startTeXParParams): correct column count
2824         * CutAndPaste.C (pasteSelection): remove const_cast
2825         * output_docbook.C (docbookParagraphs): remove const_cast
2826         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2827         const_cast and return ParagraphList::const_iterator
2828         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2829         * output_plaintext.C (writeFileAscii): remove const_cast
2830         * paragraph.[Ch] (simpleTeXOnePar): make const
2831         * paragraph_funcs.C (outerPar): use const iterators
2832         * paragraph_pimpl.C (validate): use const iterators
2833         * text.C (setHeightOfRow): use const iterators
2834
2835 2004-05-17  Angus Leeming  <leeming@lyx.org>
2836
2837         * lfuns.h:
2838         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2839
2840         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2841         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2842         if the citation engine has changed.
2843
2844 2004-05-14  José Matos  <jamatos@lyx.org>
2845
2846         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2847         if the textclass does not provide it. Have it different for sgml and
2848         xml.
2849         support the language of document.
2850         * output_docbook.C (docbookParagraphs):
2851         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2852         first anchor as the id of the paragraph, remove special case code.
2853         * sgml.C (escapeChar): escape only < & >.
2854
2855 2004-05-14  Angus Leeming  <leeming@lyx.org>
2856
2857         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2858         dependencies on src/frontends/controllers/biblio.h. Define a
2859         CiteEngine_enum wrapper class to enable the enum to be forward
2860         declared.
2861
2862 2004-05-12  Angus Leeming  <leeming@lyx.org>
2863
2864         * buffer.C: up LYX_FORMAT to 234.
2865         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2866         use_numerical_citations with a single biblio::CiteEngine cite_engine
2867         variable.
2868         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2869
2870 2004-05-13  José Matos  <jamatos@lyx.org>
2871
2872         * converter.h:
2873         * converter.C (Converter, readFlags): add xml member.
2874         * outputparams.h: add XML flavor.
2875         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2876
2877 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2878
2879         * lyxfunc.C (dispatch):
2880         (getStatus): fix handling of LFUN_SEQUENCE
2881
2882 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2883
2884         * debug.C (showLevel): do not forget the end-of-line marker
2885
2886 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2887
2888         * kbmap.C (read): do not stop parsing a bind file when an error
2889         occurs (bug 1575)
2890
2891 2004-04-29  Angus Leeming  <leeming@lyx.org>
2892
2893         * cursor.C:
2894         * factory.C:
2895         * pariterator.C:
2896         * text2.C: wrap a bunch of #warning statements
2897         inside #ifdef WITH_WARNINGS blocks.
2898
2899 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2900
2901         * buffer.C: increment format to 233.
2902
2903 2004-04-28  Angus Leeming  <leeming@lyx.org>
2904
2905         * BufferView_pimpl.C:
2906         * lyxfunc.C:
2907         * text3.C:
2908         s/updateToolbar()/updateToolbars()/
2909         s/Toolbar.h/Toolbars.h/
2910
2911 2004-04-28  Angus Leeming  <leeming@lyx.org>
2912
2913         * BufferView.[Ch] (c-tor):
2914         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2915         No longer passes these data to the WorkArea generator.
2916
2917 2004-04-28  Angus Leeming  <leeming@lyx.org>
2918
2919         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2920
2921 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2922
2923         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2924
2925 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2926
2927         * output_latex.C (TeXEnvironment): make sure that there is a line
2928         break before \end{foo} for the last paragraph of a document
2929         (TeXOnePar): if the paragraph is at the end of the document (or
2930         inset) and the language has to be reset, then make sure that the
2931         line break is _before_ the language command, not after (fixes bug
2932         1225); also make sure that the language reset command is the first
2933         thing after the paragraph (to ensure proper nesting of
2934         environments and thus fix bug 1404)
2935
2936 2004-04-21  John Levon  <levon@movementarian.org>
2937
2938         * ToolbarBackend.h:
2939         * ToolbarBackend.C: make "name" be a programmatic name
2940         and a gui_name field.
2941
2942         * lyxfunc.C: display the minibuffer on M-x
2943
2944 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2945
2946         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2947         (bug 1526)
2948
2949 2004-04-19  Angus Leeming  <leeming@lyx.org>
2950
2951         * BufferView_pimpl.C (setBuffer): changed preview interface.
2952
2953         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2954         possible values.
2955
2956 2004-04-19  John Levon  <levon@movementarian.org>
2957
2958         * BufferView_pimpl.C:
2959         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2960
2961 2004-04-05  Angus Leeming  <leeming@lyx.org>
2962
2963         * text.C (redoParagraphs): add call to updateCounters(), thereby
2964         fixing the missing "Figure #:" label from the caption of a
2965         figure float.
2966
2967 2004-04-13  Angus Leeming  <leeming@lyx.org>
2968
2969         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2970         cursor is clicked out of an inset.
2971
2972 2004-04-13  Angus Leeming  <leeming@lyx.org>
2973
2974         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2975         than an InsetOld one.
2976
2977 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2978
2979         * format.[Ch]: add editor to Format
2980         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2981         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2982
2983 2004-04-08  André Pönitz  <poenitz@gmx.net>
2984
2985         * metricsinfo.h: remove PainterInfo::width member
2986
2987 2004-04-08  Angus Leeming  <leeming@lyx.org>
2988
2989         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2990         "\providecommand" rather than "\newcommand", thereby preventing
2991         clashes with packages that define "\boldsymbol" themselves.
2992         Eg, beamer.
2993
2994 2004-04-08  Angus Leeming  <leeming@lyx.org>
2995
2996         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2997         thereby squashing an unnecessary warning.
2998
2999 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3000
3001         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3002         setBuffer()
3003
3004 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3005
3006         * BufferView.C (setCursor): call redoParagraph (some insets could
3007         have been opened)
3008         (putSelectionAt): remove the 'double update' trick
3009
3010         * BufferView_pimpl.C (fitCursor): call refreshPar
3011         (workAreaDispatch): remove an uneeded update call
3012         (dispatch): remove some manual update calls
3013
3014         * cursor.[Ch]: remove cached_y_, updatePos
3015         (selHandle): set noUpdate when appropriate
3016
3017         * lyxfunc.C (dispatch): track if we need an update
3018
3019         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3020
3021         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3022         (paintSelection): cheap optimization, do not call cursorX when not
3023         needed
3024         (paintPars): change signature
3025         (refreshPar): add
3026         (paintText): adjust
3027         (paintTextInset): adjust
3028
3029         * text.C: adjust
3030
3031 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3032
3033         * lengthcommon.C: compilation fix: remove explicit array size from
3034         unit_name[] and friends
3035
3036 2004-04-05  Angus Leeming  <leeming@lyx.org>
3037
3038         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3039
3040         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3041         present only for the preferences dialog.
3042         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3043
3044 2004-04-05  Angus Leeming  <leeming@lyx.org>
3045
3046         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3047         to enable the frontends to export changes to lyxrc correctly.
3048
3049         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3050
3051 2004-04-07  André Pönitz  <poenitz@gmx.net>
3052
3053         * cursor.[Ch] (selClear, adjust): remove math
3054
3055         * cursor_slice.C: more agressive assert
3056
3057         * lyxfunc.C:
3058         * BufferView_pimpl.C: rework mouse event dispatch
3059
3060         * dociterator.C:
3061         * paragraph.C:
3062         * text2.C:
3063         * text3.C: adjust
3064
3065 2004-04-05  André Pönitz  <poenitz@gmx.net>
3066
3067         * cursor.[Ch] (valign, halign...): remove unneeded functions
3068
3069 2004-04-05  Angus Leeming  <leeming@lyx.org>
3070
3071         * lyxlength.[Ch] (unit_name et al.): const-correct.
3072
3073 2004-04-05  Angus Leeming  <leeming@lyx.org>
3074
3075         * BufferView_pimpl.C:
3076         * buffer.C:
3077         * counters.C:
3078         * cursor.C:
3079         * lyxfunc.C
3080         * paragraph.C:
3081         * pariterator.C:
3082         * text.C:
3083         * text2.C:
3084         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3085
3086 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3087
3088         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3089
3090 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3091
3092         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3093         * BufferView_pimpl.[Ch] (getStatus)
3094         * BufferView.[Ch] (getStatus): add
3095         * lyxfunc.C (getStatus): move lfuns handled in
3096         BufferView::dispatch to te function above
3097         * Cursor.C (setSelection): set selection() = true
3098
3099 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3100
3101         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3102
3103 2004-03-31  Angus Leeming  <leeming@lyx.org>
3104
3105         * lyxfunc.C (dispatch): Fall through to the generic
3106         Dialogs::show("preamble").
3107
3108 2004-03-31  Angus Leeming  <leeming@lyx.org>
3109
3110         * lyxfunc.C (dispatch): Fall through to the generic
3111         Dialogs::show("spellchecker").
3112
3113 2004-03-31  Angus Leeming  <leeming@lyx.org>
3114
3115         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3116         preferences dialog.
3117
3118 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3119
3120         * BufferView.C
3121         * cursor.[Ch]
3122         * dociterator.[Ch]:
3123         * insetiterator.[Ch]:
3124         * lyxfind.C:
3125         * lyxfunc.C:
3126         * pariterator.[Ch]:
3127         * text2.C:
3128         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3129
3130 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3131
3132         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3133         insets where we are putting the cursor.
3134
3135 2004-03-31  Angus Leeming  <leeming@lyx.org>
3136
3137         * lfuns.h:
3138         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3139
3140         * lyxrc.[Ch] (read, write): overloaded member functions taking
3141         a std::[io]stream arguments.
3142
3143         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3144
3145 2004-03-31  Angus Leeming  <leeming@lyx.org>
3146
3147         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3148         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3149
3150         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3151         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3152
3153 2004-03-31  Angus Leeming  <leeming@lyx.org>
3154
3155         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3156         the LFUN_ALL_INSETS_TOGGLE code.
3157
3158 2004-03-30  Angus Leeming  <leeming@lyx.org>
3159
3160         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3161         has died. Fall through to the generic Dialogs::show("document").
3162
3163 2004-03-30  Angus Leeming  <leeming@lyx.org>
3164
3165         * lfuns.h:
3166         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3167         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3168
3169         * lyxfunc.C (getStatus, dispatch): define the actions for these
3170         lfuns. Little more than a cut and pste job from ControlDocument.C
3171
3172         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3173
3174 2004-03-30  Angus Leeming  <leeming@lyx.org>
3175
3176         * lfuns.h:
3177         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3178         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3179
3180         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3181         open/closed state of ollapsable insets. Usage:
3182
3183         all-inset-toggle <state> <name>, where
3184         <state> == "open" || "closed" || "toggle" and
3185         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3186
3187         * lyxtext.h, text2.C (toggleInset): removed.
3188
3189         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3190         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3191         now passes LFUN_INSET_TOGGLE to the found inset.
3192
3193         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3194         is now invoked as "all-insets-toggle toggle branch".
3195
3196 2004-03-30  Angus Leeming  <leeming@lyx.org>
3197
3198         * dociterator.C:
3199         * insetiterator.C:
3200         * pariterator.[Ch]: added/corrected header blurb.
3201
3202 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3203
3204         * dociterator.[Ch]: add an inset_ member
3205         (backwardPos): implemented
3206         (backwardPos, forwardPos): use inset_ when the stack is empty.
3207         (doc_iterator_begin, doc_iterator_end): implemented
3208         * pariterator.[Ch]: adjust, add begin, end
3209         * insetiterator.[Ch]: adjust, add begin, end
3210         * cursor.C:
3211         * document.C:
3212         * BufferView.C:
3213         * BufferView_pimpl.C:
3214         * CutAndPaste.C: adjust
3215
3216 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3217
3218         * buffer.C: increment file format to 232.
3219         * LaTeXFeatures.C: add bibtopic package.
3220         * bufferparams.[Ch]: param \use_bibtopic.
3221
3222         * lyxrc.[Ch]: add lyxrc bibtex_command
3223         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3224
3225         * buffer.C: increment file format to 231.
3226
3227 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3228
3229         * dociterator.C: implement forwardPar
3230         * iterators.[Ch]: remove, replaced by
3231         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3232         * BufferView.C:
3233         * BufferView_pimpl.C:
3234         * CutAndPaste.C:
3235         * buffer.C:
3236         * bufferview_funcs.C:
3237         * cursor.C:
3238         * lyxfind.C
3239         * lyxfunc.C
3240         * paragraph_funcs.C
3241         * toc.C:
3242         * Makefile.am: adjust
3243
3244 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3245
3246         * CutAndPaste.C (pasteSelection): fix 2 crashes
3247         (eraseSelection): fix a crash
3248         * paragraph_funcs.C: remove a warning
3249
3250 2004-03-28  Angus Leeming  <leeming@lyx.org>
3251
3252         * lfuns.h:
3253         * LyXAction.C (init): new LFUN_PRINT.
3254
3255         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3256
3257 2004-03-27  Angus Leeming  <leeming@lyx.org>
3258
3259         * lfuns.h:
3260         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3261
3262         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3263
3264 2004-03-27  Angus Leeming  <leeming@lyx.org>
3265
3266         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3267         insetlist always contains non-null pointers to insets.
3268
3269 2004-03-26  Angus Leeming  <leeming@lyx.org>
3270
3271         * src/BufferView_pimpl.C:
3272         * src/CutAndPaste.C:
3273         * src/buffer.C:
3274         * src/iterators.C:
3275         * src/output_plaintext.C:
3276         * src/outputparams.h:
3277         * src/paragraph_funcs.C:
3278         * src/rowpainter.C:
3279         * src/text.C:
3280         * src/text2.C:
3281         * src/frontends/controllers/ControlErrorList.C:
3282         * src/frontends/gtk/FileDialogPrivate.C:
3283         * src/frontends/gtk/GPainter.C:
3284         * src/frontends/gtk/GToolbar.C:
3285         * src/frontends/qt2/QRef.C:
3286         * src/mathed/math_scriptinset.C: squash compiler warnings.
3287
3288 2004-03-26  Angus Leeming  <leeming@lyx.org>
3289
3290         * ispell.C (LaunchIspell::start):
3291         * lyx_cb.C (AutoSaveBuffer::start):
3292         invoke run(DontWait) rather than runNonBlocking().
3293
3294 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3295
3296         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3297
3298 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3299
3300         * kbsequence.C (print): adjust
3301
3302         * kbmap.C (printKeySym): rename and change signature
3303         (printKey): use LyXKeySym::print()
3304
3305 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3306
3307         * undo.C: add using std::advance to compile for stlport
3308
3309 2004-03-24  Angus Leeming  <leeming@lyx.org>
3310
3311         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3312         it leads to a crash when no buffer is present.
3313
3314 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3315             Martin Vermeer  <martin.vermeer@hut.fi>
3316
3317         * lyxfunc.C (dispatch):
3318         * bufferparams.C (readToken): use the new LColor::setColor
3319
3320         * LColor.[Ch] (setColor): new version that takes two strings as
3321         argument and creates a new color entry if necessary
3322
3323 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3324
3325         * buffer.C (makeLaTeXFile): if the main latex file that is
3326         processed is usually a subdocument of some master, then pretend
3327         for a while that it is actually the master
3328
3329 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3330
3331         * buffer.C (getLabelList):
3332         (getBibkeyList): use getMasterBuffer()
3333         (getMasterBuffer): new method. Returns the main document in the
3334         case where one is using included documents.
3335
3336 2004-03-25  André Pönitz  <poenitz@gmx.net>
3337
3338         * Makefile.am:
3339         * iterators.[Ch]:
3340         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3341
3342         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3343
3344         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3345         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3346
3347         * ParameterStruct.h: merge with ParagraphParameters
3348
3349         * lyxtext.h: remove LyXText::parOffset() and getPar()
3350
3351         * text3.C: Remove all 'manual' update calls. We do now one per user
3352         interaction which is completely sufficient.
3353
3354         * Bidi.C:
3355         * BufferView.[Ch]:
3356         * BufferView_pimpl.C:
3357         * FontIterator.[Ch]:
3358         * MenuBackend.C:
3359         * ParagraphParameters.[Ch]:
3360         * buffer.C:
3361         * buffer.h:
3362         * bufferlist.C:
3363         * cursor.[Ch]:
3364         * cursor_slice.[Ch]:
3365         * dociterator.[Ch]:
3366         * errorlist.[Ch]:
3367         * factory.C:
3368         * lfuns.h:
3369         * lyxfind.C:
3370         * lyxfunc.C:
3371         * output_docbook.[Ch]:
3372         * output_latex.[Ch]:
3373         * output_linuxdoc.[Ch]:
3374         * output_plaintext.[Ch]:
3375         * paragraph.[Ch]:
3376         * paragraph_funcs.[Ch]:
3377         * paragraph_pimpl.[Ch]:
3378         * rowpainter.C:
3379         * tabular.[Ch]:
3380         * text.C:
3381         * text2.C:
3382         * toc.C:
3383         * undo.[Ch]: adjust
3384
3385         * frontends/controllers/ControlDocument.C:
3386         * frontends/controllers/ControlErrorList.C:
3387         * frontends/controllers/ControlSpellchecker.C:
3388         * insets/inset.C:
3389         * insets/inset.h:
3390         * insets/insetbase.h:
3391         * insets/insetbibitem.C:
3392         * insets/insetbox.C:
3393         * insets/insetbranch.C:
3394         * insets/insetcaption.C:
3395         * insets/insetcharstyle.C:
3396         * insets/insetcharstyle.h:
3397         * insets/insetcollapsable.C:
3398         * insets/insetcollapsable.h:
3399         * insets/insetert.C:
3400         * insets/insetfloat.C:
3401         * insets/insetfoot.C:
3402         * insets/insetmarginal.C:
3403         * insets/insetnote.C:
3404         * insets/insetoptarg.C:
3405         * insets/insettabular.C:
3406         * insets/insettext.C:
3407         * insets/insettext.h:
3408         * insets/insetwrap.C:
3409         * mathed/math_mboxinset.C:
3410         * mathed/math_nestinset.C:
3411         * mathed/math_scriptinset.C:
3412         * mathed/math_scriptinset.h:
3413         * support/types.h:
3414
3415 2004-03-24  Angus Leeming  <leeming@lyx.org>
3416
3417         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3418         deal with any child processes that have finished but are waiting to
3419         communicate this fact to the rest of LyX.
3420
3421 2004-03-24  Angus Leeming  <leeming@lyx.org>
3422
3423         64-bit compile fixes.
3424
3425         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3426         (c-tor): pass lyx::pos_types rather than ints.
3427
3428         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3429         lyx::pos_type.
3430
3431         * text.C (Delete): compile fix.
3432         (getPar): ensure that function declaration is the same as that in
3433         the header file.
3434
3435 2004-03-23  Angus Leeming  <leeming@lyx.org>
3436
3437         * ispell.C (LaunchIspell):
3438         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3439         a boost::shred_ptr rather than a std::auto_ptr.
3440
3441 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3442
3443         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3444         handle LFUN_FILE_INSERT_*
3445
3446         * lyxrc.C (setDefaults, getDescription, output, read):
3447         * lyxrc.h: remove ps_command
3448
3449 2004-03-22  Angus Leeming  <leeming@lyx.org>
3450
3451         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3452         Ensure that error_handler is processed once only and that all data
3453         is saved before attempting to output any warning messages.
3454
3455         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3456
3457 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3458
3459         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3460
3461 2004-03-19  André Pönitz  <poenitz@gmx.net>
3462
3463         * cursor.[Ch] (reset): take main text inset as argument
3464
3465         * BufferView: adjust
3466         * BufferView_pimpl.C: adjust
3467
3468         * paragraph.[Ch]: fix completely broken operator=()
3469
3470 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3471
3472         * LColor.C (getFromLyXName): make sure that the color name is used
3473         as lowercase.
3474
3475 2004-03-17  Angus Leeming  <leeming@lyx.org>
3476
3477         * lfuns.h:
3478         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3479
3480         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3481         dialog and to kill a forked process.
3482
3483 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3484
3485         * text2.C (setCursorFromCoordinates): fix font problem
3486
3487 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3488
3489         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3490         bogus "rebuild cursor" code
3491
3492 2004-03-11  André Pönitz  <poenitz@gmx.net>
3493
3494         * buffer.[Ch]: use InsetText instead of LyXText as container for
3495         the main lyx text.
3496
3497         * dociterator.[Ch]: drop the BufferView * member which is not needed
3498         anymore after the change to buffer.C
3499
3500         * paragraph_funcs.C:
3501         * text.C:
3502         * text2.C:
3503         * BufferView.[Ch]:
3504         * BufferView_pimpl.[Ch]:
3505         * cursor.[Ch]:
3506         * cursor_slice.[Ch]: adjust
3507
3508         * text3.C: fix bug in mathDispatch
3509
3510 2004-03-08  André Pönitz  <poenitz@gmx.net>
3511
3512         * undo.[Ch]: use 'StableDocumentIterator' as base for
3513         the Undo struct.
3514
3515 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3516
3517         * LaTeXFeatures.C:
3518         * bufferparams.[Ch]: add jurabib support and param.
3519
3520         * LaTeX.C: add FIXME/comment.
3521
3522 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3523
3524         * buffer.C: increment file format to 230.
3525
3526 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3527
3528         * cursor.C (dispatch): avoid infinite loops
3529
3530 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3531
3532         * rowpainter.C (paintSelection): fix x coordinates
3533
3534 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3535
3536         * text.C (rowBreakPoint): fix breaking before displayed insets
3537
3538 2004-03-01  André Pönitz  <poenitz@gmx.net>
3539
3540         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3541
3542         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3543
3544         * Makefile.am:
3545         * BufferView.C:
3546         * BufferView_pimpl.C:
3547         * buffer.C:
3548         * lyxfind.C:
3549         * lyxfunc.C:
3550         * text.C:
3551         * text2.C:
3552         * text3.C: adjust
3553
3554 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3555
3556         * lyxtext.h:
3557         * text.C:
3558         * text2.C:
3559         * rowpainter.C:
3560         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3561         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3562
3563 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3564
3565         * Bidi.[Ch] (computeTables): const correctness
3566         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3567         fill_hfill, fill_label_hfill and x from Row
3568         * lyxtext.h: prepareToPrint returns a RowMetrics
3569         * rowPainter.C: adjust
3570         * text.C (prepareToPrint): use width, not textWidth. adjust
3571         (redoParagraphInternal, cursorX): adjust
3572         * text2.C (getColumnNearX): adjust
3573         (init): put a default value to the top LyXText::width
3574
3575 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3576
3577         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3578
3579 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3580
3581         * lyxtext.h: add FontIterator class
3582
3583         * text.C (FontIterator, operator*, operator->, operator++): add
3584         (rowBreakPoint, setRowWidth): adjust (fixing a
3585         rebreaking bug)
3586
3587 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3588
3589         * BufferView_pimpl.C (workAreaDispatch): allow also
3590         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3591
3592 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3593
3594         * text.C (rowBreakPoint): fix a bug showing with very large insets
3595
3596 2004-02-25  André Pönitz  <poenitz@gmx.net>
3597
3598         * text3.C:
3599         * cursor.[Ch]: move some mathed specific code to mathed
3600
3601 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3602
3603         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3604         use_tempdir in preferences
3605         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3606         tempfile creation
3607         * lyx_main.C: ensure that tempdir is valid
3608         * lyxlex.h: correct typo
3609         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3610         * paragraph.[Ch] (isMultiLingual): make const
3611         * cursor.[Ch] (openable): make const
3612
3613 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3614
3615         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3616
3617 2004-02-20  André Pönitz  <poenitz@gmx.net>
3618
3619         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3620
3621         * cursor.[Ch]: prepare for localized getStatus()
3622
3623         * lyxtext.h:
3624         * tabular.C:
3625         * text.C:
3626         * text2.C:
3627         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3628
3629 2004-02-20  André Pönitz  <poenitz@gmx.net>
3630
3631         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3632
3633 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3634
3635         * text2.C (setCursorFromCoordinates): switch to absolute coords
3636         (cursorUp): adjust
3637         (cursorDown): adjust
3638         * text3.C (dispatch): adjust
3639
3640 2004-02-16  André Pönitz  <poenitz@gmx.net>
3641
3642         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3643           insets/ChangeLog)
3644
3645         * cursor_slice.[Ch]: remove unneeded acessor function
3646
3647         * lyxtext.h: rename rtl() to isRTL()
3648
3649         * rowpainter.C:
3650         * tabular.C:
3651         * text.C:
3652         * text2.C:
3653         * text3.C: adjust
3654
3655 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3656
3657         * rowpainter.C (paintSelection): coord fix
3658
3659 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3660
3661         * Spacing.C: compile fix
3662
3663 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3664
3665         * cursor.C (dispatch): restore current_ before returning
3666
3667 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3668
3669         * text2.C (cursorUp, cursorDown): fix coords
3670         (moveUp): fix crash
3671
3672 2004-02-12  André Pönitz  <poenitz@gmx.net>
3673
3674         * lyxtext.h:
3675         * text.C:
3676         * text2.C:
3677         * text3.C: add LCursor & parameter to most cursor movement functions
3678           remove usage of LyXText::cursorRow() and cursorPar()
3679
3680         * cursor.[Ch]: add textRow() needed members
3681
3682         * BufferView.C:
3683         * BufferView_pimpl.C:
3684         * paragraph.[Ch]:
3685         * BufferView.C:
3686         * BufferView_pimpl.C: adjust
3687
3688 2004-02-11  André Pönitz  <poenitz@gmx.net>
3689
3690         * lyxfunc.C:
3691         * BufferView.[Ch]:
3692         * BufferView_pimpl.C: shift undo/redo handling
3693
3694         * cursor.[Ch]: fix mathed crash
3695
3696         * lyxfind.C:
3697         * lyxtext.h: move selectionAsText to LCursor
3698
3699         * output_latex.C:
3700         * paragraph.C:
3701         * text.C:
3702         * text2.C:
3703         * text3.C: adjust
3704
3705         * rowpainter.C: fix excessive drawing
3706
3707 2004-02-06  André Pönitz  <poenitz@gmx.net>
3708
3709         * BufferView.[Ch]:
3710         * BufferView_pimpl.[Ch]:
3711         * text3.C: move some text specific LFUN handling
3712
3713 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3714
3715         * text3.C (checkInsetHit): adjust coords
3716         * text2.C (getColumnNearX): adjust coords
3717         (edit): adjust coords
3718         * text.C (getRowNearY): add two asserts
3719
3720 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3721
3722         * converter.C:
3723         * format.C: add using std::distance to compile on gcc 2.95/stlport
3724
3725 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3726
3727         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3728
3729 2004-02-04  André Pönitz  <poenitz@gmx.net>
3730
3731         * BufferView.[Ch] (insertInset):
3732         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3733
3734         * text2.C:
3735         * text3.C: adjust
3736
3737 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3738
3739         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3740         on the default clause of the switch
3741         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3742         wasn't catched by LCursor::dispatch
3743
3744 2004-02-03  André Pönitz  <poenitz@gmx.net>
3745
3746         * BufferView.C:
3747         * cursor.[Ch]: some additional asserts
3748
3749         * undo.[Ch]: remove LyXText dependency in interface
3750
3751         * lyxfunc.C: adjust
3752
3753         * lyxtext.h (firstPar, lastPar): remove dead functions
3754
3755         * text.C:
3756         * text2.C:
3757         * text3.C:
3758         * paragraph.[Ch]: adjust
3759
3760 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3761
3762         * lyxfind.C (find): fix argument order in call to ::find
3763
3764 2004-02-02  André Pönitz  <poenitz@gmx.net>
3765
3766         * cursor.[Ch]: remove direct access to anchor
3767
3768         * text.C: remove findText() hack
3769
3770 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3771
3772         * iterators.[Ch] (lockPath): remove in favour of...
3773         * BufferView.[Ch] (setCursor): this addition
3774         * BufferView.C (putSelectionAt): adjust
3775         * undo.C (performUndoOrRedo): adjust
3776         * lyxfunc.C (dispatch): adjust
3777
3778 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3779
3780         * iterators.C (lockPath): add a missing slice
3781         * undo.C (performUndoOrRedo): remove redundant positioning code
3782
3783 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3784
3785         * vc-backend.C (scanMaster): ";" -> ';'
3786
3787 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3788
3789         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3790         std::binary_function
3791
3792         * lyxtextclass.C (compare_name): rename to...
3793         (LayoutNamesEqual): ...this
3794
3795         * lyxlex_pimpl.C (compare_tags): inherit from
3796         std::binary_function, put back into anon namespace
3797
3798         * lyxfind.C (MatchString): inherig from std::binary_function
3799         (findChange): use empty() istead of !size()
3800
3801         * format.C (FormatNamesEqual): new functor
3802         (getFormat): use it
3803         (getNumber): use it
3804         (add): use it
3805         (erase): use it
3806         (setViewer): use it
3807
3808         * converter.C (compare_Converter): rename to...
3809         (ConverterEqual): ...this, and fixup a bit.
3810         (getConverter): use it, and make function const
3811         (getNumber): use it, and make function const
3812         (add): use it
3813         (erase): use it:
3814
3815         * bufferlist.C: add using boost::bind
3816
3817         * MenuBackend.C (MenuNamesEqual): new functor
3818         (hasMenu): use it, and make function const
3819         (hasSubmenu): use nested bind to get rid of compare_memfun.
3820
3821 2004-01-30  André Pönitz  <poenitz@gmx.net>
3822
3823         * BufferView_pimpl.C:
3824         * cursor.C:
3825         * cursor.h:
3826         * cursor_slice.[Ch]:
3827         * lyxfunc.C:
3828         * lyxtext.h:
3829         * paragraph_funcs.C:
3830         * paragraph_funcs.h:
3831         * rowpainter.C:
3832         * text.C:
3833         * text2.C:
3834         * text3.C: move some of the edit(x,y) handling to the insets
3835         some coordinate changes.
3836
3837 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3838
3839         * text.C: add using statements for std::advance and std::distance
3840
3841         * paragraph.C: add using statement for std::distance
3842
3843         * lyxfind.C: add using statement for std::advance
3844
3845         * cursor.C (region): remove std:: from swap
3846         (openable): use nucleus in stead of operator->
3847
3848         * BufferView.C: add using statements for std::distance and std::swap
3849
3850 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3851
3852         * iterators.C: Remove the pimple, move the needed structures to
3853         the header file. Create accessor for the positions stack.
3854         (asPosIterator): remove function
3855
3856         * PosIterator.C (PosIterator): move constructors to top of file
3857         (PosIterator): reimplement the constructor taking a ParIterator in
3858         terms of setFrom.
3859         (setFrom): new function
3860         (operator!=): inline it
3861
3862 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3863
3864         * lyxfind.C (replaceAll): use std::advance
3865
3866         * iterators.h: inherit from std::iterator.
3867
3868         * PosIterator.C (advance, distance): remove
3869         * PosIterator.h: interit from std::iterator.
3870
3871 2004-01-26  André Pönitz  <poenitz@gmx.net>
3872
3873         * BufferView.[Ch]:
3874         * BufferView_pimpl.[Ch]:
3875         * InsetList.[Ch]:
3876         * PosIterator.[Ch]:
3877         * buffer.h:
3878         * bufferview_funcs.C:
3879         * cursor.[Ch]:
3880         * cursor_slice.h:
3881         * factory.[Ch]:
3882         * iterators.[Ch]:
3883         * lyxfind.C:
3884         * lyxfunc.C:
3885         * lyxtext.h:
3886         * output_docbook.C:
3887         * output_latex.C:
3888         * output_linuxdoc.C:
3889         * output_plaintext.C:
3890         * paragraph.[Ch]:
3891         * paragraph_funcs.[Ch]:
3892         * paragraph_pimpl.[Ch]:
3893         * rowpainter.C:
3894         * tabular.C:
3895         * tabular.h:
3896         * text.C:
3897         * text2.C:
3898         * text3.C: more IU:  dumps most of the rest of the mathcursor
3899     implementation into cursor.[Ch]; "globalize" a bit of it.
3900
3901 2004-01-25  Angus Leeming  <leeming@lyx.org>
3902
3903         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3904
3905 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3906
3907         * LaTeXFeatures.h: add nice_ and nice() const
3908         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3909
3910 2004-01-20  André Pönitz  <poenitz@gmx.net>
3911
3912         * BufferView.[Ch]:
3913         * BufferView_pimpl.C:
3914         * PosIterator.C:
3915         * bufferview_funcs.C:
3916         * cursor.[Ch]:
3917         * cursor_slice.[Ch]:
3918         * factory.C:
3919         * iterators.C:
3920         * lyx_cb.C:
3921         * lyxfind.C:
3922         * lyxfunc.C:
3923         * lyxtext.h:
3924         * rowpainter.C:
3925         * text.C:
3926         * text2.C:
3927         * text3.C:
3928         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3929           LCursor and mathcursor parts to LCursor and InsetBase.
3930
3931 2004-01-15  André Pönitz  <poenitz@gmx.net>
3932
3933         * cursor_slice.[Ch]: add a few covienience functions
3934
3935         * funcrequest.[Ch]: remove BufferView * member
3936
3937         * BufferView_pimpl.C:
3938         * cursor.C:
3939         * factory.[Ch]:
3940         * lyxfind.[Ch]:
3941         * lyxfunc.C:
3942         * lyxtext.h:
3943         * text3.C:
3944         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3945
3946 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3947
3948         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3949         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3950
3951 2004-01-13  André Pönitz  <poenitz@gmx.net>
3952
3953         * textcursor.[Ch]:
3954         * lyxtext.h: hide cursor and selection anchor behind accessor function
3955
3956         * BufferView.C:
3957         * BufferView_pimpl.[Ch]:
3958         * PosIterator.C:
3959         * bufferview_funcs.C:
3960         * cursor.h:
3961         * lyxfind.C:
3962         * lyxfunc.C:
3963         * text.C:
3964         * text2.C:
3965         * text3.C:
3966         * undo.C: adjust
3967
3968         * cursor.h:
3969         * cursor_slice.[Ch]: some integer type changes for inset unification
3970
3971         * lyxcursor.[hC]: remove, it's CursorSlice now.
3972
3973         * Makefile.am:
3974         * BufferView_pimpl.[Ch]:
3975         * bufferview_funcs.C:
3976         * cursor_slice.C:
3977         * lyxtext.h:
3978         * text.C:
3979         * text2.C:
3980         * text3.C:
3981         * textcursor.[Ch]: adjust
3982
3983 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3984
3985         * text2.C (undoSpan): add and use
3986         * text.C (breakParagraph): use undoSpan (fix bug 578)
3987         * lyxtext.h: adjust
3988
3989 2004-01-08  Angus Leeming  <leeming@lyx.org>
3990
3991         * BufferView_pimpl.C (MenuInsertLyXFile):
3992         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3993         * lyxfunc.C (menuNew, open, doImport):
3994         FileFilterList change to the FileDialog open and save functions.
3995
3996 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3997
3998         * ShareContainer.h: make isEqual and isUnique adaptable
3999
4000         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4001
4002 2004-01-07  Angus Leeming  <leeming@lyx.org>
4003
4004         * LyXAction.C:
4005         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4006
4007         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4008
4009         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4010         functions replacing find, replace and replaceAll.
4011
4012         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4013         LFUN_WORDFIND(FORWARD|BACKWARD).
4014
4015 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4016
4017         * text.C (breakParagraph): remove an outdated #warning
4018
4019 2004-01-07  André Pönitz  <poenitz@gmx.net>
4020
4021         * lyxfind.C: somewhat clearer logic
4022
4023         * text.C: prevent crash in cursorX on unitialized row cache
4024
4025 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4026
4027         * lyxcursor.[Ch] (operator>): add
4028         * textcursor.C (selStart, selEnd): use std::min and std::max
4029
4030 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4031
4032         * Chktex.C: include boost/format.hpp
4033
4034 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4035
4036         * InsetList.C: replace functor MathcIt with adaptable functor
4037         InsetTablePosLess
4038         (insetIterator): modify accordingly
4039
4040         * BranchList.h: move the BranchNamesEqual functor here from...
4041         * BranchList.C: ... to here
4042
4043         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4044         SameName and match.
4045         (add): replace a finding loop with std::find_if.
4046
4047 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4048
4049         * output_docbook.C: moving LatexParam functionality into
4050         .layout files
4051
4052 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4053
4054         * buffer.C: increment format to 229.
4055
4056 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4057
4058         * LaTeXFeatures.C:
4059         * lyx_sty.[Ch]: remove minipageindent_def
4060
4061         * LyXAction.C:
4062         * factory.C:
4063         * lfuns.h:
4064         * lyxfunc.C:
4065         * text3.C: remove LFUN_INSET_MINIPAGE
4066
4067 2003-12-28  Angus Leeming  <leeming@lyx.org>
4068
4069         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4070
4071 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4072
4073         * text2.C (setParagraph): fix off-by-one crash
4074
4075 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4076
4077         * output_docbook.C: header stuff for AGU
4078
4079 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4080
4081         * text2.C (redoCursor): remove
4082         * text.C:
4083         * text3.C:
4084         * BufferView_pimpl.C: remove calls to redoCursor and
4085         setCursor(cursor.par(), cursor.pos()) all around
4086
4087 2003-12-15  Angus Leeming  <leeming@lyx.org>
4088
4089         * buffer.C: up the format to 228.
4090
4091 2003-12-15  André Pönitz  <poenitz@gmx.net>
4092
4093         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4094         slices
4095
4096         * Makefile.am:
4097
4098         * BufferView_pimpl.C:
4099         * cursor.[Ch]:
4100         * lyxcursor.[Ch]:
4101         * rowpainter.[Ch]:
4102         * lyxtext.h:
4103         * text.C:
4104         * text2.C:
4105         * text3.C: adjust
4106
4107 2003-12-15  Angus Leeming  <leeming@lyx.org>
4108
4109         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4110         than getFromGUIName to manipulate the color.
4111
4112 2003-12-14  Angus Leeming  <leeming@lyx.org>
4113
4114         * BranchList.[Ch]: minimize the API.
4115         (Branch::getBranch, getColor): now return a 'const &'.
4116         (Branch::setSelected) now returns a bool set to true if the
4117         selection status changes.
4118         (BranchList::clear, size, getColor, setColor, setSelected,
4119         allBranches, allSelected, separator): removed.
4120         (BranchList::find): new functions, returning the Branch with
4121         the given name.
4122         (BranchList::add, remove): return a bool indicating that
4123         the operation was successful.
4124
4125         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4126         new InsetBranch::isBranchSlected member function.
4127
4128         * LColor.[Ch]: mimimize the API.
4129         (fill): renamed as addColor and made private.
4130         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4131         versions of these functions taking a string arg have been removed.
4132
4133         * bufferparams.C (readToken):
4134         * lyxfunc.C (dispatch):
4135         * lyxrc.C (read): changes due to the altered BranchList and
4136         LColor APIs.
4137
4138         * factory.C (createInset, readInset): changes due to altered
4139         InsetBranch c-tor.
4140
4141 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4142
4143         * factory.C:
4144         * lyxfunc.C: remove insetminipage. "minipage-insert"
4145         now produces a frameless minipage box inset.
4146
4147 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4148
4149         * textcursor.[Ch] (selStart,selEnd): add new methods
4150         remove selection::start, end, use LyXCursor::operator<
4151         * lyxcursor.[Ch] (operator<): add
4152         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4153         * BufferView.[Ch] (unsetXSel): add
4154         * text2.C (clearSelection): use unsetXSel,adjust
4155         * text.C: adjust
4156         * text3.C: adjust
4157         * rowpainter.C: adjust
4158         * bufferview_funcs.C (put_selection_at): adjust
4159
4160 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4161
4162         * BufferView_pimpl.C: small coord. correction
4163
4164 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4165
4166         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4167         dragging over the splash screen.
4168
4169 2003-12-11  Angus Leeming  <leeming@lyx.org>
4170
4171         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4172         as it is now handled in LyXText::dispatch.
4173
4174         * text3.C (doInsertInset): remove a level of nesting.
4175
4176 2003-12-11  Angus Leeming  <leeming@lyx.org>
4177
4178         * factory.C (createInset): changes due to the changed interface to
4179         InsetCommandMailer::string2params.
4180
4181 2003-12-10  Angus Leeming  <leeming@lyx.org>
4182
4183         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4184         'dialog-show-new-inset <inset name>'
4185
4186 2003-12-10  Angus Leeming  <leeming@lyx.org>
4187
4188         * buffer.C: up the format to 227.
4189
4190         * factory.C: the box inset is now identified simply by 'Box'.
4191
4192 2003-12-10  Angus Leeming  <leeming@lyx.org>
4193
4194         * buffer.C: up the format to 226.
4195
4196         * factory.C: the note inset is now identified simply by 'Note'.
4197
4198 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4199
4200         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4201         when a pit is enough. Standarize a couple of loops.
4202
4203 2003-12-05  Angus Leeming  <leeming@lyx.org>
4204
4205         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4206         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4207         data to the re-worked "log" dialog.
4208
4209 2003-12-03  André Pönitz  <poenitz@gmx.net>
4210
4211         * PosIterator.C:
4212         * iterators.C:
4213         * lyxtext.h:
4214         * output_latex.C:
4215         * paragraph_funcs.C:
4216         * text.C:
4217         * text2.C: use Inset::getText instead of Inset::getParagraph
4218
4219 2003-12-03  André Pönitz  <poenitz@gmx.net>
4220
4221         * buffer.[Ch]:
4222         * lyxtext.h:
4223         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4224         InsetText::read() as LyXText::read()
4225
4226 2003-12-02  Angus Leeming  <leeming@lyx.org>
4227
4228         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4229         type. Add a comment in the implementation that the function uses
4230         the stream's bad() function rather than fail() as the std::streams
4231         would do.
4232
4233 2003-12-02  André Pönitz  <poenitz@gmx.net>
4234
4235         * lyxlex.[Ch]: make interface more similar to std::stream
4236
4237         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4238
4239 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4240
4241         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4242
4243 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4244
4245         * vspace.[Ch]: remove VSpace::NONE
4246
4247 2003-12-01  André Pönitz  <poenitz@gmx.net>
4248
4249         * buffer.[Ch]:
4250         * lyxtext.h: move ParagraphList member to LyXText
4251         rename LyXText::ownerParagraphs to LyXText::paragraph
4252
4253         * CutAndPaste.C:
4254         * bufferview_funcs.C:
4255         * iterators.[Ch]:
4256         * lyx_cb.C:
4257         * paragraph.C:
4258         * rowpainter.C:
4259         * tabular.C:
4260         * text.C:
4261         * text2.C:
4262         * text3.C: adjust
4263
4264         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4265
4266         * undo.C: fix cursor positioning
4267
4268 2003-12-01  John Levon  <levon@movementarian.org>
4269
4270         * BufferView_pimpl.C: fix a crash on exit with
4271         a buffer open
4272
4273 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4274
4275         * BranchList.C: fix setSelected() method.
4276
4277 2003-11-28  André Pönitz  <poenitz@gmx.net>
4278
4279         * ParagraphParameters.[Ch]:
4280         * ParameterStruct.h: remove space above/below from Paragraph to
4281          InsetVSpace
4282
4283         * BufferView_pimpl.C:
4284         * factory.C:
4285         * lyxfunc.C:
4286         * lyxtext.h:
4287         * output_latex.C:
4288         * paragraph.C:
4289         * paragraph_funcs.C:
4290         * rowpainter.[Ch]:
4291         * text.C:
4292         * text2.C:
4293         * text3.C: adjust
4294
4295 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4296
4297         * factory.C: Syntax change for CharStyles
4298
4299 2003-11-28  André Pönitz  <poenitz@gmx.net>
4300
4301         * BufferView.[Ch]:
4302         * BufferView.[Ch]:
4303         * buffer.[Ch]:
4304         * buffer.[Ch]: move LyXText member
4305
4306 2003-11-28  André Pönitz  <poenitz@gmx.net>
4307
4308         * BufferView.[Ch]: make LyXText * text a private member
4309
4310         * BufferView_pimpl.C:
4311         * cursor.C:
4312         * iterators.C:
4313         * lyx_cb.C:
4314         * lyxfind.C:
4315         * lyxtext.h:
4316         * rowpainter.[Ch]:
4317         * text.C:
4318         * text2.C:
4319         * undo.C: adjust
4320
4321         * output_plaintext.C: cleanup
4322
4323 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4324
4325         * buffer.C:
4326         * lyxtextclass.[Ch]: parametrize SGML document header
4327
4328 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4329
4330         * converter.[Ch]:
4331         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4332         getFlavor().
4333
4334 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4335
4336         * text2.C (setFont): rework using PosIterator (no more recursive)
4337         (setCharFont): no more needed
4338         (setLayout): no more selection cursors fiddling (done by redoCursor)
4339         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4340         destroy remaining ones)
4341
4342 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4343
4344         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4345         * lyxtext.h: ditto
4346         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4347         selection cursors
4348         * lyxfunc.C: adjust
4349         * text3.C: adjust + re-allow multi par depth changes
4350         * textcursor.C: simplify a bit
4351
4352 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4353
4354         * src/buffer.C:
4355         * src/lyxlayout.C:
4356         * src/lyxlayout.h:
4357         * src/lyxtext.h:
4358         * src/output_docbook.C:
4359         * src/output_latex.C:
4360         * src/paragraph.C:
4361         * src/paragraph.h:
4362         * src/sgml.C:
4363         * src/sgml.h:
4364         * src/text2.C: Introducing a number of tags parametrizing various
4365         XML formats that we may want to support
4366
4367 2003-11-25  André Pönitz  <poenitz@gmx.net>
4368
4369         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4370
4371         * lyxtext.h (leftMargin/rightMargin): simplify interface
4372
4373         * rowpainter.C:
4374         * text.C:
4375         * text2.C:
4376         * text3.C: adjust
4377
4378 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4379
4380         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4381         master file to any child files. Fixes bug 546.
4382
4383 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4384
4385         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4386
4387 2003-11-24  André Pönitz  <poenitz@gmx.net>
4388
4389         * rowpainter.C: simplification
4390
4391         * text2.C (updateCounters): remove call to redoParagraph on
4392         changed labels as this is far too expensive.
4393
4394 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4395
4396         * converter.C (convert): fix a crash: this function gets
4397         called with buffer == 0 from importer code.
4398
4399 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4400
4401         * text3.C (cursorPrevious): make sure that we do not compare
4402         iterators form different containers.
4403         (cursorNext): ditto
4404
4405         * rowpainter.C (paintSelection): make sure that we do not compare
4406         iterators from different containers.
4407
4408         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4409         iterators from different ParagraphList containers.
4410         [NEXT] ditto
4411
4412         * text2.C (LyXText): change order of initialization slightly
4413         (operator=): new function. copy all variables except cache_par_
4414         (moveUp): make sure that we do not compare iterators from
4415         different ParagraphList constainers.
4416         (moveDown): ditto
4417
4418         * text.C (firstPar): new function
4419         (lastPar): new function
4420         (endPar): new function
4421
4422         * lyxtext.h: move things around and group public functions, public
4423         variables, private functions, private variables
4424
4425 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4426
4427         * factory.C: change call to InsetERT constructor to avoid
4428         additional invocation of method status
4429         * text2.C (toggleInset): remove redundant update() call
4430         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4431         instead of a Bufferview pointer
4432
4433 2003-11-21  André Pönitz  <poenitz@gmx.net>
4434
4435         * rowpainter.C: simplification
4436
4437 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4438
4439         * text3.C (dispatch): make possible to extend a word/row selection
4440         with the mouse
4441
4442 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4443
4444         * lyxtext.h: x0_,y0_ -> xo_,yo_
4445         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4446         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4447         * rowpainter.C (paintRows): paint full paragraphs
4448
4449 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4450
4451         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4452         screen coordinates)
4453
4454 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4455
4456         * lyxtext.h: add x0_, y0_
4457         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4458         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4459
4460 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4461
4462         * text2.C (setCursorIntern): move the x_target update here *
4463         * text3.C: change some bv() to true/false in calls to
4464         cursorUp/Down/Right/Left
4465         * cursor.C: use helper function.
4466
4467 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4468
4469         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4470         * paragraph_funcs.[Ch]: correct comment
4471         * rowpainter.C: do not paint selections away from bv->cursor()
4472         Fix a long standing selection painting bug.
4473         * text3.C: generalize mouse-selection code to LyXTexts other that
4474         top one
4475         * textcursor.C: do not use y coords if we can use par offsets
4476
4477 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4478
4479         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4480         cursor position after e.g. inset insert)
4481
4482 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4483
4484         * lyxfind.C (replace): adjust to locking removal + some
4485         code simplification
4486
4487 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4488
4489         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4490         of the path
4491
4492 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4493
4494         * lyxlayout.[Ch]:
4495         * output_docbook.C: XML sanitation: new layout
4496         parameters InnerTag and CommandDepth
4497
4498 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4499
4500         * BufferView_pimpl.C:
4501         * factory.C:
4502         * text3.C: Fix the insertion and modification of button-style
4503         insets
4504
4505 2003-11-13  André Pönitz  <poenitz@gmx.net>
4506
4507         * InsetList.[Ch]: remove deleteLyXText
4508
4509         * paragraph.[Ch]: cache beginOfBody position
4510
4511         * Bidi.C:
4512         * text.C:
4513         * text2.C:
4514         * text3.C: remove superfluous update() calls
4515
4516         * vspace.C: cleanup
4517
4518 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4519
4520         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4521         * BufferView.C (fitLockedInsetCursor): remove
4522         * cursor.[Ch] (getDim): add
4523         * text.C (getRowNearY): add faster version
4524         * text3.C: remove some update calls
4525
4526 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4527
4528         * LaTeXFeatures.C:
4529         * LyXAction.C:
4530         * MenuBackend.C:
4531         * MenuBackend.h:
4532         * dispatchresult.h:
4533         * factory.C:
4534         * lfuns.h:
4535         * lyxfunc.C:
4536         * lyxtextclass.C:
4537         * lyxtextclass.h:
4538         * text3.C: The Character Style /XML short element patch.
4539
4540 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4541
4542         * text3.C:
4543         * factory.C: Small step to solving 'unable to insert some insets'
4544         problem
4545
4546 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4547
4548         * cursor.[Ch] (updatePos): new function for updating the y
4549         position of the tip inset
4550         * bufferview_funcs.C (put_selection_at):
4551         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4552
4553 2003-11-11  André Pönitz  <poenitz@gmx.net>
4554
4555         * text.C: remove big comment on invalid Paragraph pointers as it is
4556         not valid anymore
4557
4558 2003-11-11  André Pönitz  <poenitz@gmx.net>
4559
4560         * text_funcs.[Ch]: merge with ...
4561
4562         * text.C: ... this
4563
4564         * lyxtext.h:
4565         * text2.C:
4566         * text3.C: adjust
4567
4568         * Makefile.am: remove text_funcs.[Ch]
4569
4570 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4571
4572         * cursor.C (getPos): return absolute cached y coord
4573
4574         * BufferView_pimpl.C (fitCursor): new simplistic code
4575         (workAreaDispatch): add a fitCursor call
4576
4577 2003-11-10  André Pönitz  <poenitz@gmx.net>
4578
4579         * BufferView.[Ch]:
4580         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4581
4582 2003-11-10  André Pönitz  <poenitz@gmx.net>
4583
4584         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4585         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4586         indicate that the cursor needs to leave an inset
4587
4588         * lyxtext.h: remove inset locking
4589
4590         * cursor.[Ch]: re-implement functionality provided by inset locking
4591
4592         * BufferView.[Ch]:
4593         * BufferView_pimpl.[Ch]:
4594         * LyXAction.C:
4595         * bufferview_funcs.[Ch]:
4596         * factory.C:
4597         * funcrequest.[Ch]:
4598         * iterators.C:
4599         * lyx_cb.C:
4600         * lyxfind.C:
4601         * lyxfunc.C:
4602         * text.C:
4603         * text2.C:
4604         * text3.C:
4605         * undo.C: adjust
4606
4607 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4608
4609         * PosIterator.[Ch]: replace the stack with a vector, add inset
4610         accesor
4611         * iterators.[C]: adjust
4612
4613 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4614
4615         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4616         replaced
4617         * paragraph_funcs.C (readParToken): put the correct id in the
4618         error item, not the id of the top paragraph
4619
4620 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4621
4622         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4623         * bufferview_funcs.C (put_selection_at): use the above
4624
4625 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4626
4627         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4628
4629 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4630
4631         * output_linuxdoc.h:
4632         * output_plaintext.h:
4633         * output.h:
4634         * output_docbook.h: add #include statements
4635
4636 2003-11-05  José Matos  <jamatos@lyx.org>
4637
4638         * output_docbook.[Ch]:
4639         * output_latex.[Ch]:
4640         * output_linuxdoc.[Ch]:
4641         * output_plaintext.[Ch]: New files for output formats.
4642         * output.[Ch]: New file for helper functions.
4643
4644         * buffer.[Ch]:
4645         * paragraph_funcs.[Ch]: output functions moved to new files.
4646
4647         * outputparams.h: rename of latexrunparams.h
4648
4649         * LaTeX.[Ch]:
4650         * buffer.[Ch]:
4651         * bufferlist.[Ch]:
4652         * converter.[Ch]:
4653         * exporter.C:
4654         * paragraph.[Ch]:
4655         * paragraph_funcs.[Ch]:
4656         * paragraph_pimpl.[Ch]:
4657         * tabular.[Ch]: rename ascii to plaintext
4658         and LatexRunParams to OutputParams.
4659
4660 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4661
4662         * iterators.[Ch] (text): require bv argument
4663         * undo.C (recordUndo):
4664         * lyxfunc.C (dispatch):
4665         * bufferview_funcs.C (put_selection_at): adjust
4666
4667 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4668
4669         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4670
4671 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4672
4673         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4674         nestings
4675
4676 2003-11-04  André Pönitz  <poenitz@gmx.net>
4677
4678         * cursor.[Ch]: restructure
4679
4680         * BufferView.[Ch]:
4681         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4682
4683         * iterators.[Ch] (asCursor): remove
4684
4685         * lfuns.h: remove LFUN_INSET_EDIT
4686
4687         * lyxfunc.C:
4688         * tabular.C:
4689         * text.C:
4690         * text2.C:
4691         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4692
4693 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4694
4695         * lyxfind.[Ch]: complete overhaul
4696         * BufferView_pimpl.C:
4697         * lyxfunc.C: adjust
4698         * paragraph.[Ch] (insert): add
4699
4700 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4701
4702         * BufferView.[Ch]:
4703         * lyxtext.h:
4704         * text.C: remove dead spellcheck code
4705
4706 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4707
4708         * dispatchresult.h: add a val setter
4709
4710         * cursor.C (dispatch): use a tempvar for data_[i]
4711
4712 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4713
4714         * PosIterator.[Ch]: compile fix
4715
4716 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4717
4718         * text.C (cursorPar): deactivate the cursor cache
4719
4720 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4721
4722         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4723
4724 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4725
4726         * text3.C (dispatch): adjust for new DisptchResult semantics.
4727
4728         * lyxfunc.C (dispatch): handle update when return from
4729         Cursor::dispatch, adjust for new DispatchResult semantics.
4730
4731         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4732         DispatchResult(true) mean to not update. Add class functions for
4733         setting dispatched and update, as well as reading.
4734
4735         * cursor.C (dispatch): don't handle update here
4736
4737 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4738
4739         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4740         * trans_mgr.C: adjust
4741
4742         * paragraph_funcs.C (readParToken): exception safety
4743
4744         * lyxvc.h: store the vcs pointer in a scoped_ptr
4745         * lyxvc.C: adjust
4746
4747         * lyxsocket.C (serverCallback): exception safety
4748
4749         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4750
4751         * ispell.C (clone): make it return a auto_ptr
4752
4753         * factory.C (createInset): exception safety
4754         (readInset): exception safety
4755
4756         * bufferlist.C (newBuffer): exception safety
4757
4758         * Thesaurus.C (Thesaurus): use initialization for aik_
4759
4760         * MenuBackend.C (expandToc): exception safety.
4761
4762 2003-11-03  André Pönitz  <poenitz@gmx.net>
4763
4764         * buffer.C:
4765         * buffer.h:
4766         * bufferview_funcs.C: remove getInsetFromId()
4767
4768         * lyxcursor.[Ch]:
4769         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4770
4771         * lyxfunc.C:
4772         * text2.C:
4773         * text3.C: adjust
4774
4775 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4776
4777         * PosIterator.C (distance, advance): new
4778         * bufferview_funcs.[Ch] (put_selection_at): new
4779         * iterators.[Ch] (lockPath): new
4780
4781 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4782
4783         * iterators.[Ch] (asPosIterator): added
4784         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4785         * PosIterator.[Ch]: added
4786
4787 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4788
4789         * text3.C:
4790         * lyxfunc.C:
4791         * cursor.C (dispatch):
4792         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4793
4794         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4795         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4796         contructor, add a class function dispatched. Remove operator>=
4797
4798 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4799
4800         * debug.C: only use the default constructor for debugstream
4801         (lyxerr) here.
4802
4803         * main.C (main): include debug.h and setup the lyxerr streambuf
4804         here.
4805
4806 2003-10-31  José Matos  <jamatos@lyx.org>
4807
4808         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4809
4810         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4811         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4812         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4813         * paragraph_pimpl.C (simpleTeXSpecialC):
4814         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4815         add LatexRunParams argument.
4816
4817         * exporter.C (Export): change call accordingly.
4818
4819         * latexrunparams.h: add new member to take care of the other backends.
4820 2003-10-30  José Matos  <jamatos@lyx.org>
4821
4822         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4823         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4824         factorise code for paragraph output.
4825         * buffer.[Ch]:
4826         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4827         move functions.
4828
4829 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4830
4831         * text3.C (dispatch):
4832         * lyxfunc.C (dispatch):
4833         * cursor.C (dispatch):
4834         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4835
4836         * dispatchresult.h: make the dispatch_result_t ctor explicit
4837
4838 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4839
4840         * sgml.[Ch]:
4841         * buffer.C: small refactoring of docbook stuff
4842
4843 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4844
4845         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4846         meaning.
4847
4848 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4851         operator dispatch_result_t, and operators for == != and >=
4852
4853         * cursor.C (dispatch): adjust for operator dispatch_result_t
4854         removal. comment out call to update
4855
4856         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4857
4858 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4859
4860         * text3.C:
4861         * text2.C:
4862         * text.C:
4863         * lyxtext.h:
4864         * lyxfunc.C:
4865         * cursor.C:
4866         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4867         (dispatch):
4868
4869         * dispatchresult.h: new file, DispatchResult broken out of
4870         insets/insetbase.h
4871
4872         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4873
4874 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4875
4876         * text.C (rowBreakPoint): put a hack inside #if 0
4877
4878 2003-10-28  André Pönitz  <poenitz@gmx.net>
4879
4880         * lyxtext.h:
4881         * metricsinfo.C:
4882         * paragraph_funcs.C:
4883         * rowpainter.C:
4884         * text.C:
4885         * text2.C: general cleanup (lots of small stuff)
4886
4887 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4888
4889         * text2.C (cursorEnd): simple fix to the "end key goes to one
4890         before the end on last row" bug
4891
4892 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4893
4894         * text.C (backspace): fix the "zombie characters"
4895
4896 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4897
4898         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4899
4900 2003-10-27  André Pönitz  <poenitz@gmx.net>
4901
4902         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4903
4904         * factory.C: handle new InsetPagebreak, InsetLine
4905
4906         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4907         and move handling into new InsetPagebreak, InsetLine
4908
4909         * BufferView_pimpl.C:
4910         * LyXAction.C:
4911         * ParagraphParameters.C:
4912         * ParameterStruct.h:
4913         * lyxfunc.C:
4914         * lyxtext.h:
4915         * paragraph.C:
4916         * paragraph.h:
4917         * paragraph_funcs.C:
4918         * paragraph_pimpl.C:
4919         * rowpainter.C:
4920         * text.C:
4921         * text2.C:
4922         * text3.C: adjust
4923
4924 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4925
4926         * text.C:
4927         * lyxrow_funcs.[Ch]:
4928         * Bidi.C:
4929         * paragraph.C:
4930         * lyxtext.h:
4931         * rowpainter.C:
4932         * text2.C:
4933         * text3.C: remove lastPos uses in favour of Row::endpos
4934
4935 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4936
4937         * undo.C (performUndoOrRedo): fix two crashes by setting a
4938         cursor by hand and reordering some calls. Use bv->lockInset instead
4939         of inset->edit because the latter loses cursor information
4940
4941 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4942
4943         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4944         by Martin
4945         (rowBreakPoint): fix width. change point to point + 1.
4946         Add a missing check.
4947
4948 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4949
4950         * MenuBackend.C:
4951         * lyxfunc.C: fix (at least partly) the problems
4952         with the Nav menu and headers inside branch insets
4953         reported by Kayvan
4954
4955 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4956
4957         * paragraph.C (getChar): add strong asserts
4958
4959         * lyxrow_funcs.C (lastPos): remove hideous hack
4960
4961         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4962         (fill): adjust to that (avoid an infinite loop)
4963
4964 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4965
4966         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4967
4968 2003-10-23  André Pönitz  <poenitz@gmx.net>
4969
4970         * RowList_fwd.h: change list<> to vector<> to gain speed
4971         after suggestion from Alfredo
4972
4973 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4974
4975         * lyxtext.h: move the bidi stuff from here...
4976         * text.C: and here
4977         * text2.C: and here
4978         * Bidi.[Ch]: ... to here
4979
4980 2003-10-23  André Pönitz  <poenitz@gmx.net>
4981
4982         * lyxtext.h:
4983         * text.C (isLastRow, isFirstRow): new functions
4984
4985         * paragraph.h: new width cache member
4986
4987         * rowpainter.C: replace RowList::iterator with Row & where possible
4988
4989         * lyxfunc.C: replace several view()->text with a single call
4990
4991         * toc.C: fix 'unused' warning
4992
4993 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4994
4995         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4996         when woring with stream::pos_type
4997         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4998
4999 2003-10-22  André Pönitz  <poenitz@gmx.net>
5000
5001         * lyxtext.h:
5002         * text.C: use Row & instead of RowList::iterator
5003
5004         * lyxrow.h: rename end() to endpos()
5005
5006         * rowpainter.C:
5007         * text.C:
5008         * text2.C: adjust
5009
5010 2003-10-22  Angus Leeming  <leeming@lyx.org>
5011
5012         * buffer.[Ch] (fully_loaded): new member function, returning true
5013         only when the file has been loaded fully.
5014         Used to prevent the premature generation of previews and by the
5015         citation inset to prevent computation of the natbib-style label.
5016
5017         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5018         templates are all set up.
5019
5020         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5021
5022 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5023
5024         * text.C: fixed an "oops" in the "is a bit silly"
5025         bug fix
5026
5027 2003-10-21  André Pönitz  <poenitz@gmx.net>
5028
5029         * FuncStatus.[Ch]: small stuff, whitespace
5030
5031         * lyxfont.[Ch]: operator<<() for debug reasons
5032
5033         * lyxfunc.C:
5034         * lyxrow_funcs.C:
5035         * lyxtext.h: whitespace, spelling
5036
5037         * paragraph.C: naming of variables
5038
5039         * text.C:
5040         * text2.C: small stuff
5041
5042
5043 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5044
5045         * text.C: (1) finish off the inset display() work;
5046         (2) fix the "is a bit silly" bug (accessing char
5047         past end of par).
5048
5049 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5050
5051         * text.C: re-introduce display() for insets, fixing the
5052         various bugs (stretch of line above, math inset
5053         positioning, ...)
5054
5055 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5056
5057         * text.C (rightMargin): remove spurious semicolon
5058
5059         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5060         1415)
5061
5062 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5063
5064         * text3.C: fix one crash due to wrong cursor def
5065
5066 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5067
5068         * vc-backend.C (scanMaster): make the regex static
5069
5070         * LaTeX.C (scanAuxFile): make the regexs static
5071
5072         * text3.C (doInsertInset, dispatch, dispatch):
5073         * text2.C (cursorUp, cursorDown):
5074         * text.C (selectNextWordToSpellcheck):
5075         * BufferView_pimpl.C (dispatch):
5076         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5077
5078 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5079
5080         * lyxsocket.C: include <cerrno>
5081
5082 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5083
5084         * lyxfunc.C (dispatch): remove textcache stuff
5085
5086         * bufferlist.C (release): remove textcache stuff
5087         (closeAll): ditto
5088
5089         * TextCache.C: delete file
5090         * TextCache.h: delete file
5091
5092         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5093
5094         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5095         delete of the bv_->text.
5096         (resizeCurrentBuffer): remove texcache stuff
5097         (workAreaResize): ditto
5098
5099 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5100
5101         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5102         action.
5103
5104 2003-10-16  André Pönitz  <poenitz@gmx.net>
5105
5106         * lyxrow.[Ch]:
5107         * paragraph.h:
5108         * rowpainter.C:
5109         * text.C:
5110         * text2.C:
5111         * text3.C: speed up by storing y positions per paragraph plus per-row
5112         offset instead of having a 'full' y position in the row.
5113
5114 2003-10-15  André Pönitz  <poenitz@gmx.net>
5115
5116         * iterators.[Ch]:
5117         * iterators.[Ch]:
5118         * undo.[Ch]: make undo aware of inner insets
5119
5120 2003-10-14  Angus Leeming  <leeming@lyx.org>
5121
5122         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5123         static member functions LyX::ref() and LyX::cref.
5124         (lastfiles): new accessor functions for the new lastfiles_ member var.
5125         (addLyXView, views_): add a new LyXView to the list of views_.
5126         (updateInset): loop over all LyXViews to call their own updateInset
5127         member function, returning a pointer to the Buffer owning the inset.
5128
5129         * BufferView_pimpl.C (loadLyXFile):
5130         * MenuBackend.C (expandLastfiles):
5131         * bufferlist.C (MenuWrite, QuitLyX):
5132         lastfiles is no longer a global variable.
5133         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5134
5135         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5136         static function. Access through LyX::cref().emergencyCleanup().
5137
5138 2003-10-14  André Pönitz  <poenitz@gmx.net>
5139
5140         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5141
5142         * undo.[Ch]: restoring part of 'undo in insets'
5143
5144         * Makefile.am:
5145         * undo_funcs.[Ch]: merge with undo.[Ch]
5146
5147         * tabular.C: small cleansing stuff
5148
5149 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5150
5151         * paragraph_funcs.C (readParToken): report unknown insets as error
5152         boxes. Use the outer paragraph as location (also for unknown
5153         tokens).
5154
5155         * factory.C (readInset): do not abort on reading an unknown inset.
5156         Eat it and return 0.
5157
5158 2003-10-13  Angus Leeming  <leeming@lyx.org>
5159
5160         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5161
5162         * lyxrc.C: displayTranslator is now a function,
5163         declared in GraphicsTypes.h.
5164
5165 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5166
5167         * format.C: new placeholder $$a to pass the socket address.
5168
5169         * bufferlist.[Ch]: new function getBufferFromTmp.
5170
5171         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5172           files in the temporary dir.
5173
5174 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5175
5176         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5177
5178         * Makefile.am: add lyxsocket.[Ch].
5179
5180         * lyx_main.C (error_handler): handle SIGPIPE.
5181
5182 2003-10-13  André Pönitz  <poenitz@gmx.net>
5183
5184         * BufferView_pimpl.C:
5185         * lyxtext.h:
5186         * text.C:
5187         * text2.C:
5188         * text3.C:
5189         * undo_funcs.[Ch]: use paroffset_type instead of
5190           ParagraphList::iterators to prevent multiple conversion
5191           (and get a more robust interface)
5192
5193 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5194
5195         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5196         * lyxtext.h: ditto
5197         * text3.C (dispatch): ditto
5198
5199 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5200
5201         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5202         move the onlyfile, use onlyfile instead of foundfile in a couple
5203         of places.
5204
5205         * DepTable.C (update): flush the error stream a bit more
5206
5207 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5208
5209         * lyxserver.C (callback): adjust
5210
5211         * lyxfunc.C (getStatus): add a missing brace in commented code
5212         (ensureBufferClean): reindent
5213         (dispatch): delete version taking a string
5214
5215 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5216
5217         * LaTeX.C (deplog): move found file handlig from here...
5218         (handleFoundFile): .. to new function here.
5219         (deplog): make sure to discover several files mentioned on the
5220         same log line.
5221
5222 2003-10-10  André Pönitz  <poenitz@gmx.net>
5223
5224         * lyxfunc.C:
5225         * lyxtext.h:
5226         * tabular.C:
5227         * text.C:
5228         * text2.C:
5229         * text3.C: fix some of the tabular crashes
5230
5231 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5232
5233         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5234
5235         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5236
5237 2003-10-09  André Pönitz  <poenitz@gmx.net>
5238
5239         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5240
5241         * BufferView.C:
5242         * BufferView_pimpl.C:
5243         * bufferview_funcs.C:
5244         * lyx_cb.C:
5245         * lyxcursor.C:
5246         * lyxfind.C:
5247         * lyxfunc.C:
5248         * lyxtext.h:
5249         * text.C:
5250         * text2.C:
5251         * text3.C:
5252         * text_funcs.[Ch]:
5253         * textcursor.[Ch]:
5254         * undo_funcs.C: adjust
5255
5256 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5257
5258         * text2.C (incrementItemDepth): new function, use a backtracking
5259         algorithm to discover the correct item depth.
5260         (resetEnumCounterIfNeeded): new function, use a backtracking
5261         algorithm to discover if counter reset is needed.
5262         (setCounter): use them. Simplify a bit. Add different labels for
5263         different item depths for itemize.
5264
5265         * paragraph.C (Paragraph): remove initialization of enumdepth
5266         (operator=): ditto
5267
5268         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5269         enumerate and itemize. Change the type of itemdepth to signed char.
5270
5271 2003-10-08  André Pönitz  <poenitz@gmx.net>
5272
5273         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5274           thing assignable.
5275         * text.C:
5276         * text2.C: adjust
5277
5278         * tabular.[Ch]: fix crash after 'row-insert'
5279
5280 2003-10-08  Angus Leeming  <leeming@lyx.org>
5281
5282         Fix doxygen warnings.
5283
5284         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5285         Remove CutAndPaste:: prefix from header file declaration.
5286
5287         * LColor.h (fill): remove LColor:: prefix from declaration.
5288
5289         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5290         use lyx::depth_type rather than Paragraph::depth_type so that
5291         header file and .C file match.
5292
5293         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5294
5295         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5296         * aspell.C: \file aspell_local.C -> \file aspell.C
5297         * gettext.C: \file gettext.C -> \file src/gettext.C
5298         * gettext.h: \file gettext.h -> \file src/gettext.h
5299         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5300         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5301         * text.C: \file text.C -> \file src/text.C
5302
5303         * toc.C: move comment so that doxygen is not confused.
5304
5305 2003-10-07  Angus Leeming  <leeming@lyx.org>
5306
5307         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5308
5309 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5310
5311         * aspell.C:
5312         * aspell_local.h: add forgotten std::string's.
5313
5314 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5315
5316         * LaTeXFeatures.C:
5317         * LyXAction.C:
5318         * factory.C:
5319         * lfuns.h:
5320         * lyxfunc.C:
5321         * text3.C: The Box patch. Fancybox support, minipage, parbox
5322
5323 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5324
5325         * CutAndPaste.h:
5326         * DepTable.h:
5327         * FloatList.h:
5328         * LaTeXFeatures.h:
5329         * ParagraphParameters.h:
5330         * TextCache.h:
5331         * Thesaurus.h:
5332         * bufferlist.h:
5333         * exporter.h:
5334         * importer.h:
5335         * lastfiles.h:
5336         * lyxfind.h:
5337         * lyxfont.h:
5338         * lyxlex.h:
5339         * lyxtextclasslist.h:
5340         * messages.h:
5341         * paragraph.h:
5342         * paragraph_pimpl.C:
5343         * textcursor.h: add <string> and other small fixes to make Lars'
5344         std::string patch compile with STLport.
5345
5346 2003-10-06  Angus Leeming  <leeming@lyx.org>
5347
5348         * LColor.h: Add missing #include <string>.
5349
5350 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5351
5352         * All most all file in all subdirs: Make <string> be the prefered
5353         way of getting to std::string, add using declarations.
5354
5355 2003-10-06  André Pönitz  <poenitz@gmx.net>
5356
5357         * metricsinfo.C: initialize LyXFont before changing attribute.
5358         (fixes the 'math in \emph is upright' bug)
5359
5360 2003-10-06  André Pönitz  <poenitz@gmx.net>
5361
5362         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5363
5364 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5365
5366         * graph.C:
5367         * paragraph_pimpl.C: Small fixes to build using STLport
5368
5369 2003-10-02  André Pönitz  <poenitz@gmx.net>
5370
5371         * lyxfunc.C:
5372         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5373
5374 2003-10-01  André Pönitz  <poenitz@gmx.net>
5375
5376         * factory.C: assert early
5377
5378 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5379
5380         * lyx_main.C: remove the global debug object
5381
5382         * debug.h: adjust for new debugstream
5383
5384         * debug.C: adjust for new debugstream and keep the global debug
5385         object here.
5386
5387 2003-09-22  Angus Leeming  <leeming@lyx.org>
5388
5389         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5390         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5391         an incomplete class LyXFont.
5392
5393 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5394
5395         * factory.C: bug fix in branches
5396
5397 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5398
5399         * lyxfunc.C (processKeySym): adjust
5400         (dispatch): adjust
5401         (dispatch): change arg name from ev to func, adjust
5402         (sendDispatchMessage): ditto
5403
5404         * lyx_main.C (defaultKeyBindings): adjust keybindings
5405         (deadKeyBindings): ditto
5406
5407         * kbsequence.C (addkey): return a FuncRequest
5408
5409         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5410
5411         * kbmap.C (bind): take a FuncRequest as arg, adjust
5412         (read): adjust
5413         (lookup): adjust
5414         (defkey): change to take a FuncRequest as arg, adjust
5415         (findbinding): take a FuncRequest as arg, adjust.
5416
5417         * funcrequest.h (operator=): added
5418
5419         * funcrequest.C (FuncRequest): default kb_action changed from
5420         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5421
5422         * buffer.C (dispatch): simplify
5423         (dispatch): adjust to take a FuncRequest as arg, adjust
5424
5425         * boost.C (assertion_failed): change assertion message slightly
5426
5427         * ToolbarBackend.C (read): simplify
5428
5429         * MenuBackend.C (binding): adjust call to findbinding, add a
5430         message if no binding is found.
5431         (read): simplify
5432         (expandToc): correct by adding a empty FuncRequest
5433
5434         * LyXAction.C: include <boost/assert.hpp>
5435         (isPseudoAction): delete function
5436         (LookupFunc): change name to...
5437         (lookupFunc): this. change return type to FuncRequest.
5438         (getActionName): take kb_action as arg, simplify
5439         (funcHasFlag): add an assert, simplify.
5440
5441 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5442
5443         * toc.C (action): return a FuncRequest, simplify
5444
5445         * lyxfunc.C (processKeySym): adjust
5446         (getStatus): delete version that takes an int.
5447         (getStatus): adjust
5448         (dispatch): delete version that takes action as int
5449         (dispatch): adjust
5450         (sendDispatchMessage): simplify and adjust
5451
5452         * funcrequest.C (getArg): take unsigned int as arg
5453
5454         * ToolbarBackend.C (read): adjust
5455         (add): delete version that takes func as a string.
5456         (getIton): take a FuncRequest as arg
5457
5458         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5459         action.
5460
5461         * MenuBackend.C (MenuItem): add a new construct that only takes a
5462         Kind, simplify the constructor use for submenus.
5463         (add): adjust
5464         (expandLastfiles): adjust
5465         (expandDocuments): adjust
5466         (expandFormats): adjust
5467         (expandFloatListInsert): adjust
5468         (expandFloatInsert): adjust
5469         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5470
5471         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5472         Remove class variables lyx_pseudo_map and lyx_arg_map
5473
5474         * LyXAction.C (searchActionArg): delete function
5475         (getPseudoAction): delete function
5476         (retrieveActionArg): delete function
5477         (LookupFunc): make it return kb_action, simplify.
5478         (getActionName): simplify
5479
5480         * factory.C (createInset): fix new bug
5481
5482 2003-09-19  Angus Leeming  <leeming@lyx.org>
5483
5484         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5485         masterFilename_ parameter in the include inset.
5486
5487         * factory.C (createInset): changes due to the changes to InsetInclude.
5488
5489 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5490
5491         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5492
5493 2003-09-18  Angus Leeming  <leeming@lyx.org>
5494
5495         * buffer.C:
5496         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5497         Inset::fillWithBibKeys.
5498         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5499
5500 2003-09-18  Angus Leeming  <leeming@lyx.org>
5501
5502         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5503         variables.
5504         (ctor): pass and store a 'Buffer const &'
5505         (buffer): new member function.
5506
5507         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5508         '*this' to the LaTeXFeatures ctor.
5509
5510 2003-09-18  Angus Leeming  <leeming@lyx.org>
5511
5512         * LColor.h:
5513         * lyxfont.C:
5514         * lyxfont.h:
5515         * lyxtext.h:
5516         * text.C: rename EnumLColor as LColor_color.
5517
5518 2003-09-18  Angus Leeming  <leeming@lyx.org>
5519
5520         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5521         remove #include "insets/insetbase.h" from cursor.h.
5522
5523 2003-09-18  Angus Leeming  <leeming@lyx.org>
5524
5525         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5526         InsetOld_code to remove #include "inset.h".
5527
5528         * iterators.C: add #include "insets/inset.h"
5529
5530 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5531
5532         * BufferView.C: remove more locking stuff that apparently doesn't
5533         do anything sensible.
5534
5535 2003-09-16  André Pönitz  <poenitz@gmx.net>
5536
5537         * paragraph.[Ch]:
5538         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5539           performance boost.
5540
5541 2003-09-16  Angus Leeming  <leeming@lyx.org>
5542
5543         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5544
5545         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5546         arg/return type.
5547
5548         * paragraph.h: remove #include "lyxfont.h". Forward declare
5549         LyXFont_size.
5550
5551 2003-09-16  Angus Leeming  <leeming@lyx.org>
5552
5553         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5554         of support/textutils.h.
5555         (isWord): move the contents of support/textutils.h's IsWordChar here.
5556
5557         * buffer.C:
5558         * lyxfind.C:
5559         * rowpainter.C:
5560         * text.C:
5561         * text2.C: add #include "paragraph.h".
5562
5563         * rowpainter.C:
5564         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5565
5566 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5567
5568         * main.C:
5569         * lyx_main.C:
5570         * lyx_cb.C:
5571         * buffer.C:
5572         * LaTeX.C: use namespace alias for lyx::support::os
5573
5574 2003-09-16  Angus Leeming  <leeming@lyx.org>
5575
5576         * bufferparams.C:
5577         * bufferview_funcs.C:
5578         * factory.C:
5579         * lyxfunc.C:
5580         * paragraph_pimpl.C:
5581         * rowpainter.C:
5582         * text.C: add #include "LColor.h".
5583
5584 2003-09-16  Angus Leeming  <leeming@lyx.org>
5585
5586         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5587         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5588         return LyXFont &.
5589         Store the FontBits::color variable as an int rather than as an
5590         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5591         file.
5592
5593         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5594         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5595         string calls together.
5596
5597         * lyxrc.C: add #include "LColor.h".
5598
5599 2003-09-15  Angus Leeming  <leeming@lyx.org>
5600
5601         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5602         a cow_ptr.
5603
5604 2003-09-15  Angus Leeming  <leeming@lyx.org>
5605
5606         * LColor.h: add an EnumLColor wrapper for LColor::color.
5607
5608         * lyxfont.[Ch] (color, setColor, realColor):
5609         * lyxtext.h, text.C (backgroundColor):
5610         pass EnumLColor args to/from the functions, rather than LColor::color
5611         ones.
5612
5613         * lyxfont.h:
5614         * lyxtext.h: forward declare EnumLColor.
5615
5616         * lyx_main.C: add #include "LColor.h".
5617
5618 2003-09-15  Angus Leeming  <leeming@lyx.org>
5619
5620         * .cvsignore: add lyx-gtk.
5621
5622 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5623
5624         * Chktex.C
5625         * LaTeX.C
5626         * LaTeXFeatures.C
5627         * ParagraphParameters.C
5628         * Spacing.C
5629         * buffer.C
5630         * bufferparams.C
5631         * bufferview_funcs.C
5632         * chset.C
5633         * counters.C
5634         * funcrequest.C
5635         * lyxfont.C
5636         * lyxgluelength.C
5637         * lyxlength.C
5638         * paragraph.C
5639         * paragraph_funcs.C
5640         * text3.C
5641         * vc-backend.C: remove usage of STRCONV
5642
5643 2003-09-15  Angus Leeming  <leeming@lyx.org>
5644
5645         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5646         explicitly define the color passed to the painter.
5647
5648 2003-09-15  Angus Leeming  <leeming@lyx.org>
5649
5650         * bufferparams.C (BufferParams): reorder member initializers to avoid
5651         compiler warning.
5652
5653 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5654
5655         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5656         * text.C (updateRowPositions): remove an unusual nop
5657
5658 2003-09-12  André Pönitz  <poenitz@gmx.net>
5659
5660         * BufferView_pimpl.C:
5661         * Bullet.C:
5662         * layout.h:
5663         * lyxfunc.C:
5664         * lyxlayout.[Ch]:
5665         * lyxtextclass.C:
5666         * rowpainter.C:
5667         * text.C:
5668         * text2.C:
5669         * Counters.[Ch]: finish the 'automatic counters' job
5670
5671 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5672
5673         * aspell.C: include <boost/assert.cpp> (compile fix)
5674
5675 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5676
5677         * boost.C (assertion_failed): use lyx::support::abort instead of
5678         assert.
5679
5680 2003-09-10  Angus Leeming  <leeming@lyx.org>
5681
5682         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5683         with their _fwd progeny.
5684
5685 2003-09-09  Angus Leeming  <leeming@lyx.org>
5686
5687         134 files throughtout the source tree: replace 'using namespace abc;'
5688         directives with the appropriate 'using abc::xyz;' declarations.
5689
5690 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5691
5692         * boost.C (emergencyCleanup): moved here from LAssert.c
5693         (assertion_failed): new function, called by BOOST_ASSERT
5694
5695         * several files: change Assert to BOOST_ASSERT
5696
5697 2003-09-09  Angus Leeming  <leeming@lyx.org>
5698
5699         * buffer.[Ch]: Add an Impl class and move Buffer's member
5700         variables into it. As a result move several header files out of
5701         buffer.h.
5702
5703         Add header files to lots of .C files all over the tree as a result.
5704
5705 2003-09-09  Angus Leeming  <leeming@lyx.org>
5706
5707         * buffer.[Ch]: make Buffer's member variables private. Add
5708         accessor functions.
5709
5710         Lots of changes all over the tree as a result.
5711
5712 2003-09-08  Angus Leeming  <leeming@lyx.org>
5713
5714         * graph.C: #include <config.h>.
5715
5716 2003-09-08  Angus Leeming  <leeming@lyx.org>
5717
5718         * BranchList.C:
5719         * BufferView.C:
5720         * BufferView_pimpl.C:
5721         * CutAndPaste.C:
5722         * DepTable.C:
5723         * LaTeX.C:
5724         * LaTeXFeatures.C:
5725         * LyXAction.C:
5726         * MenuBackend.C:
5727         * TextCache.C:
5728         * aspell.C:
5729         * buffer.C:
5730         * bufferlist.C:
5731         * changes.C:
5732         * chset.C:
5733         * converter.C:
5734         * counters.C:
5735         * debug.C:
5736         * graph.C:
5737         * ispell.C:
5738         * lyx_cb.C:
5739         * lyxfind.C:
5740         * lyxfunc.C:
5741         * lyxlex_pimpl.C:
5742         * lyxrc.C:
5743         * lyxrow.C:
5744         * paragraph.C:
5745         * rowpainter.C:
5746         * texrow.C:
5747         * text.C:
5748         * text2.C:
5749         * toc.C: remove redundant using directives.
5750
5751 2003-09-07  Angus Leeming  <leeming@lyx.org>
5752
5753         * LaTeXFeatures.h: remove #include "support/types.h".
5754         * ToolbarBackend.h: remove #include <algorithm>.
5755         * changes.h: remove #include <ctime>.
5756         * debug.h: remove #include <iosfwd>.
5757         * graph.h: remove #include "support/std_string.h".
5758         * lyx_main.h: remove #include <csignal>.
5759         * lyxlex_pimpl.h: remove #include <fstream>.
5760         * sgml.h: remove #include <algorithm>, <utility>.
5761         * toc.h: remove #include "support/std_ostream.h".
5762         Add #include <iosfwd>.
5763
5764 2003-09-07  Angus Leeming  <leeming@lyx.org>
5765
5766         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5767
5768         * converter.h: forward declare LatexRunParams.
5769         * encoding.h: remove #include "lyxrc.h".
5770         * lyxtext.h: remove #include "LColor.h".
5771         * lyxtextclass.h: remove #include "support/types.h".
5772         * trans.h: remove #include "tex-accent.h".
5773         * trans_mgr.h: remove #include "tex-accent.h".
5774         * insets/inset.h: remove #include "support/types.h", <vector>.
5775         * insets/insetcollapsable.h: remove #include "LColor.h".
5776         * insets/insetinclude.h: remove #include "dimension.h".
5777         * insets/insetlatexaccent.h: remove #include "dimension.h".
5778         * insets/insetoptarg.h:: remove #include "insettext.h".
5779         * insets/insettext.h: remove #include "dimension.h",
5780         <boost/shared_ptr.hpp>
5781
5782         * insets/renderers.h: add #include "dimension.h".
5783         * insets/updatableinset.h: add #include "support/types.h".
5784
5785         * many .C files: Associated changes.
5786
5787 2003-09-06  Angus Leeming  <leeming@lyx.org>
5788
5789         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5790         one, inside testInvariant.
5791
5792         * PrinterParams.C: new file.
5793         * PrinterParams.[Ch]: move the function bodies out of line.
5794
5795 2003-09-06  Angus Leeming  <leeming@lyx.org>
5796
5797         * ParagraphParameters.h: forward declare ParameterStruct rather than
5798         including its header file.
5799         (depth): moved out-of-line.
5800
5801 2003-09-06  Angus Leeming  <leeming@lyx.org>
5802
5803         * BufferView_pimpl.h:
5804         * kbmap.h:
5805         * kbsequence.h:
5806         * lyxfunc.h: forward declare LyXKeySym rather than
5807         #include "frontends/LyXKeySym.h".
5808
5809         * BufferView_pimpl.C:
5810         * kbmap.C:
5811         * kbsequence.C:
5812         * lyxfunc.C: associated changes.
5813
5814 2003-09-06  Angus Leeming  <leeming@lyx.org>
5815
5816         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5817         As a result, can remove the #include "insets/inset.h" from BufferView.h
5818
5819 2003-09-06  Angus Leeming  <leeming@lyx.org>
5820
5821         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5822         As a result, can remove the #include "insets/inset.h" from BufferView.h
5823
5824 2003-09-06  Angus Leeming  <leeming@lyx.org>
5825
5826         * buffer_funcs.C:
5827         * buffer.h:
5828         * bufferlist.C:
5829         * BufferView.C:
5830         * bufferview_funcs.C:
5831         * BufferView_pimpl.C:
5832         * CutAndPaste.C:
5833         * lyx_cb.C:
5834         * lyxfunc.C:
5835         * paragraph.h:
5836         * ParagraphParameters.C:
5837         * tabular.C:
5838         * text3.C:
5839         * toc.C:
5840         * undo_funcs.C:
5841         * frontends/controllers/ControlDocument.C:
5842         * insets/insetcaption.C: rearrange the #includes into some sort of
5843         coherent order.
5844
5845         * buffer.h: remove #includes ErrorList.h, undo.h
5846
5847 2003-09-06  Angus Leeming  <leeming@lyx.org>
5848
5849         * support/types.h: add a 'depth_type' typedef, used to store the
5850         nesting depth of a paragraph.
5851
5852         * paragraph.h:
5853         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5854         defining explicitly.
5855
5856         * buffer.h:
5857         * paragraph_funcs.h:
5858         * ParagraphParameters.h:
5859         * sgml.h: use lyx::depth_type rather than Paragraph or
5860         ParameterStruct's depth_type.
5861
5862         * buffer.h
5863         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5864
5865         * BufferView.C:
5866         * BufferView_pimpl.C:
5867         * CutAndPaste.C:
5868         * ParagraphParameters.C:
5869         * buffer_funcs.C:
5870         * bufferlist.C:
5871         * bufferview_funcs.C:
5872         * lyx_cb.C:
5873         * lyxfunc.C:
5874         * tabular.C:
5875         * text3.C:
5876         * toc.C:
5877         * undo_funcs.C:
5878         * frontends/LyXView.C:
5879         * frontends/controllers/ControlDocument.C:
5880         * frontends/controllers/ControlErrorList.C:
5881         * insets/insetbibitem.C:
5882         * insets/insetbranch.C:
5883         * insets/insetcaption.C:
5884         * insets/insetcollapsable.C:
5885         * insets/insetenv.C:
5886         * insets/insetert.C:
5887         * insets/insetfloat.C:
5888         * insets/insetfoot.C:
5889         * insets/insetfootlike.C:
5890         * insets/insetnewline.C:
5891         * insets/insetquotes.C:
5892         * insets/insettabular.C:
5893         * insets/insettext.C:
5894         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5895
5896         * frontends/controllers/ControlChanges.C: #include "changes.h".
5897
5898 2003-09-06  Angus Leeming  <leeming@lyx.org>
5899
5900         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5901         than #including paragraph.h.
5902
5903         * ParagraphList.h:
5904         * RowList.h: deleted. Superfluous.
5905
5906         * CutAndPaste.h:
5907         * iterators.h:
5908         * lyxcursor.h:
5909         * lyxtext.h:
5910         * text_funcs.h:
5911         * undo.h:
5912         * undo_funcs.h:
5913         * insets/inset.h:
5914         * insets/insettext.h: use ParagraphList_fwd.h rather than
5915         ParagraphList.h.
5916
5917         * paragraph.h: don't forward declare ParagraphList.
5918
5919         * buffer.h:
5920         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5921         rather than ParagraphList.h. paragraph.h is still needed for the
5922         Paragraph::depth_type parameters.
5923
5924         * textcursor.h: enable it to compile stand-alone in light of the
5925         above changes.
5926
5927         * bufferview_funcs.C:
5928         * iterators.C:
5929         * lyxfunc.C:
5930         * lyxrow_funcs.C:
5931         * paragraph.C:
5932         * rowpainter.C:
5933         * text.C:
5934         * text2.C:
5935         * text3.C:
5936         * text_funcs.C:
5937         * textcursor.C:
5938         * undo.C:
5939         * frontends/controllers/ControlParagraph.C:
5940         * frontends/controllers/ControlTabular.C:
5941         * insets/insetmarginal.C:
5942         * insets/insetminipage.C:
5943         * insets/insetnote.C:
5944         * insets/insetoptarg.C: add header files needed to compile again.
5945
5946 2003-09-06  Angus Leeming  <leeming@lyx.org>
5947
5948         * RowList_fwd.h: new file, forward-declaring Row rather than
5949         #including lyxrow.h.
5950
5951         * lyxrow_funcs.h:
5952         * lyxtext.h:
5953         * paragraph.h:
5954         * insets/insettext.h: use it instead of RowList.h
5955
5956         * bufferview_funcs.C:
5957         * lyxfunc.C:
5958         * lyxrow_funcs.C:
5959         * paragraph.C:
5960         * rowpainter.C:
5961         * text.C:
5962         * text2.C:
5963         * text3.C: #include "RowList.h".
5964
5965 2003-09-05  Angus Leeming  <leeming@lyx.org>
5966
5967         * factory.C (createInset):
5968         * vspace.C (c-tor): replace sscanf call with an istringstream.
5969         * ispell.C: re-add missing HP/UX headers.
5970         * lyxserver.C: re-add missing  os2 headers.
5971
5972 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5973
5974         * BranchList.C:
5975         * graph.C:
5976         * ispell.C:
5977         * lastfiles.C:
5978         * lyx_cb.C:
5979         * lyxserver.C:
5980         * texrow.C:
5981         * text3.C: re-add missing system headers, needed for 2.95.2.
5982
5983 2003-09-05  Angus Leeming  <leeming@lyx.org>
5984
5985         Changes most place everywhere due to the removal of using directives
5986         from support/std_sstream.h.
5987
5988 2003-09-05  Angus Leeming  <leeming@lyx.org>
5989
5990         Replace LString.h with support/std_string.h,
5991         Lsstream.h with support/std_sstream.h,
5992         support/LIstream.h with support/std_istream.h,
5993         support/LOstream.h with support/std_ostream.h.
5994
5995         Changes resulting throughout the tree.
5996
5997 2003-09-05  Angus Leeming  <leeming@lyx.org>
5998
5999         * sgml.h: ensure that the header file can be compiled stand-alone.
6000         * *.C: strip out redundant #includes. (320 in total.)
6001
6002 2003-09-04  Angus Leeming  <leeming@lyx.org>
6003
6004         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6005         here (from getPackages).
6006
6007         * debug.[Ch]: add a new EXTERNAL tag.
6008
6009 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6010
6011         * text2.C (cursorEnd): simplify
6012         (setCursor): adjust
6013         (getColumnNearX): adjust
6014
6015         * text.C (computeBidiTables): adjust
6016         (fill): adjust
6017
6018         * rowpainter.C (paintChars): adjust
6019         (paintSelection): adjust
6020         (paintChangeBar): adjust
6021         (paintText): adjust
6022
6023         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6024         lastPos instead.
6025         (numberOfSeparators): adjust
6026
6027 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6028
6029         * LyXAction.C:
6030         * box.[Ch]:
6031         * lfuns.h:
6032         * lyxfunc.C:
6033         * text3.C: Restricts the mouse click functionality
6034         of insets like bibtex, include, toc and floatlist to the visible
6035         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6036         up the dialogs. Cursor has to be in front of the inset (i.e.
6037         start of row) for this to function.
6038
6039 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6040
6041         * bufferview_funcs.C (currentState): output row information
6042
6043 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6044
6045         * bufferview_funcs.C (currentState): output paragraph position
6046
6047 2003-09-04  Angus Leeming  <leeming@lyx.org>
6048
6049         * FloatList.h: move out #include "Floating.h".
6050         * LaTeX.h: move out #include "DepTable.h".
6051         * LyXAction.h: move out #include "funcrequest.h".
6052         * buffer.h: move out #include "author.h", "iterators.h".
6053         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6054         * lyx_main.h: move out #include "errorlist.h".
6055         * lyxfunc.h: move out #include "FuncStatus.h".
6056         * lyxtext: move out #include "lyxcursor.h".
6057         * paragraph_pimpl.h: move out #include "counters.h".
6058
6059 2003-09-03  Angus Leeming  <leeming@lyx.org>
6060
6061         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6062         preamble_snippets list, enabling us to add snippets to the preamble
6063         only if the snippet was not there already.
6064
6065 2003-09-04  Angus Leeming  <leeming@lyx.org>
6066
6067         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6068
6069 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6070
6071         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6072         update
6073
6074 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6075
6076         * BranchList.C: point fix, earlier forgotten
6077
6078 2003-09-02  Angus Leeming  <leeming@lyx.org>
6079
6080         * box.C (contains): renamed from 'contained' after a fantastic
6081         amount of hot air.
6082
6083 2003-09-02  John Levon  <levon@movementarian.org>
6084
6085         * BufferView.C:
6086         * lyxcursor.h:
6087         * lyxcursor.C:
6088         * lyxfunc.C:
6089         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6090
6091 2003-09-02  John Levon  <levon@movementarian.org>
6092
6093         * text2.C: simplification of cursorEnd(), including partial
6094         fix for bug 1376
6095
6096 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6097
6098         * buffer.C (readFile): add a space
6099
6100 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6101
6102         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6103
6104 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6105
6106         * buffer.C (readFile): new function, take a filename and a
6107         ParagraphList::iterator
6108         (readFile): adjust
6109         (readFile): adjust, make it private. don't use setStream, make
6110         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6111         always contain the filename.
6112
6113         * BufferView.C (insertLyXFile): simplify and make it work for
6114         gzipped files.
6115
6116 2003-08-30  John Levon  <levon@movementarian.org>
6117
6118         * Makefile.am: fix dist (from Kayvan)
6119
6120 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6121
6122         * most files: change to use const Buffer refs
6123
6124 2003-08-27  André Pönitz  <poenitz@gmx.net>
6125
6126         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6127         on top of ownerPar().
6128
6129 2003-08-27  John Levon  <levon@movementarian.org>
6130
6131         * funcrequest.C: properly initialise POD members
6132
6133 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6134
6135         * lyxtext.h (top_y): move top_y from here
6136         * text.C:
6137         * text2.C:
6138         * text3.C:
6139         * BufferView.[Ch]:
6140         * BufferView_pimpl.[Ch]: to here
6141         * frontends/screen.C:
6142         * insets/insettabular.C:
6143         * insets/insettext.C: adjust
6144         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6145
6146 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6147
6148         * BufferView.[Ch]:
6149         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6150
6151 2003-08-26  André Pönitz  <poenitz@gmx.net>
6152
6153         * paragraph_func.[Ch] (outerPar): new function
6154
6155         * paragraph.C:
6156         * paragraph_funcs.C:
6157         * paragraph_funcs.h:
6158         * paragraph_pimpl.C:
6159         * text2.C: remove Inset::par_owner
6160
6161 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6162
6163         * lyxrow_funcs.C:
6164         * lyxtext.h:
6165         * text.C:
6166         * text2.C: eliminates the needFullRow/display() stuff
6167         altogether, putting the logic in metrics/draw in the insets.
6168
6169 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6170
6171         * text2.C (redoParagraphInternal, redoParagraphs):
6172         * text.C (redoParagraph): add a call to updateRowPositions at the
6173         end of each 'metrics-like' call. Remove all others.
6174         (getRow): remove the 'y-computing' version.
6175         (getRowNearY): do not compute nor return the real y. Solve the
6176         'y < 0' problem and simplify.
6177
6178 2003-08-22  Angus Leeming  <leeming@lyx.org>
6179
6180         * *.[Ch]: clean-up of licence and author blurbs.
6181         Also move config.h out of a few .h files and into a few .C files.
6182
6183 2003-08-22  André Pönitz  <poenitz@gmx.net>
6184
6185         * lyxrow.[Ch]: add x_ and *fill_ members
6186
6187         * lyxtext.h:
6188         * text.C:
6189         * rowpainter.C:
6190         * text2.C: adjust/remove prepareToPrint() calls
6191
6192 2003-08-22  André Pönitz  <poenitz@gmx.net>
6193
6194         * lyxrow.[Ch]: add  end_ member
6195
6196         * lyxrow_funcs.C: use LyXRow::end_
6197
6198         * lyxtext.h (singleWidth): add LyXFont parameter
6199
6200         * rowpainter.C:
6201         * text2.C: adjust LyXText::singleWidth() calls
6202
6203         * text.C (redoParagraph): simplify row breaking logic
6204
6205
6206 2003-08-19  André Pönitz  <poenitz@gmx.net>
6207
6208         * funcrequest.C: initialize button_ member
6209
6210         * text3.C:
6211         * rowpainter.[Ch]: interface consolidation
6212
6213 2003-08-18  André Pönitz  <poenitz@gmx.net>
6214
6215         * BufferView.C:
6216         * BufferView_pimpl.C:
6217         * lyxfind.C:
6218         * paragraph_funcs.C:
6219         * rowpainter.C:
6220         * text3.C: remove LyXScreen::draw() and fitCursor calls
6221
6222         * BranchList.h: remove spurious semicolons
6223
6224         * MenuBackend.C: fix branchlist related crash
6225
6226 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6227
6228         * BranchList.[Ch]:
6229         * InsetList.[Ch]:
6230         * LColor.[Ch]:
6231         * LyXAction.C:
6232         * Makefile.am:
6233         * MenuBackend.[Ch]:
6234         * bufferparams.[Ch]:
6235         * factory.C:
6236         * lfuns.h:
6237         * lyxfunc.C:
6238         * text3.C: implements the 'branch inset'
6239         idea. This allows the output of various versions of a document
6240         from a single source version, selectively outputing or suppressing
6241         output of parts of the text.
6242         This implementation contains a 'branch list editor' in a separate
6243         tab of the document settings dialog. Branches are user definable
6244         and have a "display colour" to distinguish them on-screen.
6245
6246         ColorHandler was somewhat cleaned up.
6247         (1) make possible a dynamically growing LColor list by allowing
6248         the graphic context cache to grow along (vector);
6249         (2) eliminate an IMHO unnecessary step in colour allocation.
6250
6251 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6252
6253         * BufferView_pimpl.C: compile fix
6254
6255 2003-08-15  André Pönitz  <poenitz@gmx.net>
6256
6257         * rowpainter.C: remove extra metrics calls
6258
6259         * lyxtext.h: merge the two constructors into a single one,
6260           pass reference to owner's par list
6261
6262         * BufferView_pimpl.C:
6263         * text.C:
6264         * text2.C: adjust
6265
6266 2003-08-15  André Pönitz  <poenitz@gmx.net>
6267
6268         * lyxrow_funcs.[Ch]:
6269         * lyxtext.h:
6270         * paragraph.h:
6271         * paragraph_funcs.C:
6272         * rowpainter.C:
6273         * text.C:
6274         * text2.C:
6275         * text3.C:
6276         * text_funcs.C: split LyXText::rowlist_ into individual
6277         Paragraph::rows_ chunks
6278
6279         * BufferView.[Ch]:
6280         * BufferView_pimpl.[Ch]:
6281         * lyxfind.C:
6282         * lyxtext.h:
6283         * text3.C: remove toggleSelection()
6284
6285 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6286
6287         * bufferlist.C: beautify two alerts (shorter text of buttons)
6288         * buffer.C: Remove redundant ' ' from message
6289         * tabular.h:
6290         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6291         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6292         rename VALIGN_CENTER to VALIGN_MIDDLE
6293
6294 2003-08-11  André Pönitz  <poenitz@gmx.net>
6295
6296         * lyxtext.h (getPar):
6297         * text.C: new function
6298
6299 2003-08-11  André Pönitz  <poenitz@gmx.net>
6300
6301         * Makefile.am:
6302         * tracer.[Ch]: remove unneeded files
6303
6304         * InsetList.[Ch]: remove resizeInsetsLyXText()
6305
6306         * lyxtext.h:
6307         * text.C:
6308         * text2.C:
6309         * text3.C: merge insertParagraphs() and appendParagraph()
6310         remove breakAgain(), update()
6311
6312         * BufferView_pimpl.[Ch]:
6313         * bufferview_funcs.[Ch]:
6314         * lyxfunc.C:
6315         * paragraph.[Ch]:
6316         * rowpainter.C:
6317         * tabular.C: adjust after text & InsetList changes.
6318
6319 2003-08-08  André Pönitz  <poenitz@gmx.net>
6320
6321         * text.C (insertChar, backspace): replace rowlist fiddling
6322         with rebreak of full par
6323
6324         * lyxtext.h:
6325         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6326         checkParagraph, updateInset): removed
6327
6328 2003-08-07  André Pönitz  <poenitz@gmx.net>
6329
6330         * paragraph.C:
6331         * text3.C: merge some LFUN handlers, remove dead code
6332
6333 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6334
6335         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6336
6337 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6338
6339         * text2.C (DEPM): fix part of bug 1255 and 1256
6340
6341 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6342
6343         * BufferView_pimpl.C (workAreaDispatch): change to use
6344         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6345         that are no mouse related.
6346
6347 2003-08-05  André Pönitz  <poenitz@gmx.net>
6348
6349         * BufferView.[Ch]:
6350         * BufferView_pimpl.[Ch]:
6351         * bufferview_funcs.C:
6352         * text2.C:
6353         * text3.C: rip out "deep update"
6354
6355         * textcursor.[Ch] (last_sel_cursor): remove unused member
6356
6357 2003-08-04  André Pönitz  <poenitz@gmx.net>
6358
6359         * BufferView.[Ch]:
6360         * BufferView_pimpl.[Ch]:
6361         * ParagraphParameters.C:
6362         * bufferview_funcs.C:
6363         * lyx_cb.C:
6364         * lyxfind.C:
6365         * lyxfunc.C:
6366         * text.C:
6367         * text2.C:
6368         * text3.C: replace "complicated" BufferView::update(...) calls with
6369         simpler ones.
6370
6371         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6372
6373 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6374
6375         * Makefile.am (lyx_SOURCES): add paper.h
6376
6377 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6378
6379         * Makefile.am: move things around so that both lyx-qt and
6380         lyx-xforms can be built (according to --with-frontend). Then lyx
6381         is a symbolic link to lyx-[firstfrontend]
6382
6383 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6384
6385         * Always use std::endl with lyxerr
6386
6387 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6388
6389         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6390
6391 2003-08-01  André Pönitz  <poenitz@gmx.net>
6392
6393         * BufferView.[Ch]:
6394         * BufferView_pimpl.[Ch]:
6395         * lyxfunc.C:
6396         * text3.C: merge BufferView::repaint() and BufferView::update()
6397
6398 2003-08-01  José Matos  <jamatos@lyx.org>
6399
6400         * buffer.[Ch]: file_format is no longer a buffer data element.
6401
6402 2003-08-01  André Pönitz  <poenitz@gmx.net>
6403
6404         * BufferView.C:
6405         * lyxtext.h:
6406         * text.C:
6407         * text2.C: make redoParagraph more independent of current cursor
6408
6409         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6410         * text.C:
6411         * text2.C: remove unneeded members
6412
6413 2003-07-30  André Pönitz  <poenitz@gmx.net>
6414
6415         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6416
6417         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6418           create a single function...
6419
6420         * paragraph_funcs.C (moveItem): ... here.
6421
6422         * text.C:
6423           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6424
6425 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6426
6427         * LColor.[Ch]: Add comment and greyedout logical colors.
6428
6429 2003-07-30  André Pönitz  <poenitz@gmx.net>
6430
6431         * tabular.C: don't use Assert too heavily. This crashes where it
6432           shouldn't
6433
6434 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6435
6436         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6437         is disabled (bug 1232)
6438
6439 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6440
6441         * factory.C: limited 'arg' scope
6442
6443 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6444
6445         * factory.C: fixed Note submenu issues
6446
6447 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6448
6449         * factory.C: submenu for Note/Comment/Greyedout
6450
6451 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6452
6453         * lyx_main.C (LyX):
6454         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6455
6456 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6457
6458         * LaTeXFeatures.C:
6459         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6460         greyedout. Patch provided by Jürgen Spitzmüller.
6461
6462 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6463
6464         * kbmap.C (read): fix error message when reading bind files
6465
6466 2003-07-29  Angus Leeming  <leeming@lyx.org>
6467
6468         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6469         certainly does not do what it purports to do. I am doing it, and
6470         us, a favour by killing it.
6471
6472 2003-07-28  José Matos  <jamatos@lyx.org>
6473
6474         * buffer.C (readBody, do_writeFile):
6475         * paragraph.C(readParagraph): \end_document replaces \the_end.
6476
6477 2003-07-29  André Pönitz  <poenitz@gmx.net>
6478
6479         * BufferView.[Ch]:
6480         * BufferView_pimpl.[Ch]:
6481         * lyxfunc.C:
6482         * text2.C:
6483         * text3.C:
6484         * textcursor.[Ch]: remove toggleToggle & Co
6485
6486 2003-07-28  José Matos  <jamatos@fep.up.pt>
6487
6488         * buffer.C (readParagraph):
6489         * params_func (readParToken, readParagraph):
6490         * paragraph.C (write): \layout -> \begin_layout.
6491
6492 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6493
6494         * lyxlex_pimpl.C (setFile): clean up slightly.
6495
6496         * bufferparams.h: add compressed var
6497
6498         * buffer_funcs.C (readFile): adjust for LyXLex change
6499         (newFile): ditto + simplify
6500
6501         * buffer.C (writeFile): handle writing of compressed files
6502
6503         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6504         Check if the file is compressed and set a bufferparm if so.
6505
6506         * Makefile.am (lyx_LDADD): remove explicit -lz
6507
6508 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6509
6510         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6511         makeDocBookFile): put the real LyX version in the first line of
6512         the file
6513
6514         * version.h:
6515         * version.C.in: remove lyx_docversion
6516
6517         * tabular.C (write_attribute): add a template-based version to
6518         write enums properly
6519
6520 2003-07-28  André Pönitz  <poenitz@gmx.net>
6521
6522         * lyxtext.h:
6523         * text.C:
6524         * text2.C:
6525         * text3.C: use doubles again for x-coordinates. They are needed.
6526
6527 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6528
6529         * messages.C (getLocaleDir): use lyx_localedir()
6530
6531         * lyxlex_pimpl.C (setFile): compress stuff
6532
6533         * buffer.C (writeFile): add some compression stuff
6534         (do_writeFile): new func, dont call expliti close... will this
6535         breake anything?
6536
6537         * Makefile.am (lyx_LDADD): add -lz
6538
6539 2003-07-28  José Matos  <jamatos@fep.up.pt>
6540
6541         * buffer.C: increment file format.
6542         * paragraph_funcs (readParagraph, readParToken):
6543         * paragraph.C (readParagraph): add \end_layout.
6544
6545 2003-07-27  Angus Leeming  <leeming@lyx.org>
6546
6547         * Makefile.am: remove special casing for configure-time setting of
6548         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6549
6550         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6551         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6552
6553 2003-07-26  André Pönitz  <poenitz@gmx.net>
6554
6555         * paragraph_func.[Ch]:
6556         * paragraph.C (realizeFont): inline it whereever it is used
6557
6558         * rowpainter.C:
6559         * text.C:
6560         * text2.C:
6561         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6562
6563
6564 2003-07-26  André Pönitz  <poenitz@gmx.net>
6565
6566         *       lyxtext.h:
6567         * text.C:
6568         * text2.C: get rid of LyXText::need_break_row
6569
6570 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6571
6572         * toc.[Ch]: put namespace toc inside namespace lyx
6573
6574         * MenuBackend.C (expandToc2): adjust for lyx::toc
6575         (expandToc): ditto
6576
6577         * lyxfunc.C (dispatch): adjust for lyx::find
6578
6579         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6580         lyx::find instead. Reorganize a bit.
6581         (LyXReplace): rename to replace
6582         (LyXFind): rename to find
6583
6584         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6585         (dispatch): ditto
6586
6587 2003-07-26  André Pönitz  <poenitz@gmx.net>
6588
6589         * text.C (setHeightOfRow): restrict scope of temporary variable
6590
6591         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6592           code (never has been used?)
6593
6594 2003-07-27  Asger Alstrup  <alstrup@local>
6595
6596         * text.C (fill): Optimise algorithm to exploit that we can reuse
6597         the LyXFont for many characters.
6598         (setHeightOfRow): Same thing.
6599         (rowBreakPoint): Same thing.
6600
6601 2003-07-26  Asger Alstrup  <alstrup@local>
6602
6603         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6604
6605         * text.C (singleWidth): Spurious font copying in hot-spot
6606         singleWidth avoided. Reorder tests for arabic for efficiency.
6607
6608         * text.C (fill): handle empty paragraphs better.
6609
6610 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6611
6612         * ispell.C:
6613         * encoding.h: add includes
6614
6615         * lyxrc.C: remove reading of bind files
6616
6617         * lyx_main.C (init): setup bindings and menus only if we have a
6618         gui.
6619
6620         * kbmap.C (read): new method. Do the actual reading of bind
6621         files.
6622
6623         * converter.C (dvipdfm_options):
6624         * bufferparams.C:
6625         * lyxrc.C (read):
6626         (output): adapt PAPER_* enums.
6627
6628         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6629
6630         * bufferparams.h: remove paper-related enums from there
6631
6632         * paper.h: New file. A trivial header file to hold paper-related
6633         enums. It should later expand to contain many paper-related
6634         horrors access.
6635
6636         * lyxrc.C: declare extern displayTranslator
6637
6638 2003-07-27  José Matos  <jamatos@fep.up.pt>
6639
6640         * tabular.[Ch] (linuxdoc): add support for tables and figures
6641         (linuxdoc).
6642
6643 2003-07-27  José Matos  <jamatos@fep.up.pt>
6644
6645         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6646         consistency in both functions.
6647         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6648
6649 2003-07-26  Asger Alstrup  <alstrup@local>
6650
6651         * rowpainter.C (paintRows): Change algorithm to work directly on
6652         the insets rather than asking every character in the document
6653         whether its an inset.
6654
6655 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6656
6657         * buffer.C (openFileWrite): factorize some code
6658
6659 2003-07-26  Angus Leeming  <leeming@lyx.org>
6660
6661         * lyx_cb.C:
6662         * lyx_main.[Ch]: replace occurances of system_tempdir with
6663         os::getTmpDir().
6664
6665 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6666
6667         * rename Inset to InsetOld
6668
6669 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6670
6671         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6672         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6673         which I think is a bit clearer. EDIT is gone, since it was
6674         premature optimisation, and broken for mathed anyway.
6675         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6676         with cursor positioning in insets as well (math insets still do not
6677         work, but that's a different story anyway.) It mysteriously
6678         crashes sometimes with undo in the first paragraph, but I'm fairly
6679         confident that this is a compiler bug.
6680
6681 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6682
6683         * paragraph.C (Paragraph): adjust for new clone return type
6684         (operator==): ditto
6685         (copyIntoMinibuffer): ditto
6686
6687 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6688
6689         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6690         by not having a special case, and always doing a full rebreak of
6691         the document after undo.
6692
6693 2003-07-23  Angus Leeming  <leeming@lyx.org>
6694
6695         * factory.C (createInset): InsetExternal::setParams now takes a
6696         Buffer const * arg.
6697
6698 2003-07-23  Angus Leeming  <leeming@lyx.org>
6699
6700         * factory.C (createInset): changed interface to the external and
6701         graphics mailers' string2params functions.
6702
6703 2003-07-23  Angus Leeming  <leeming@lyx.org>
6704
6705         * factory.C (createInset): pass a
6706         Buffer const * parameter to InsetExternalMailer's string2params.
6707
6708 2003-07-22  John Levon  <levon@movementarian.org>
6709
6710         * Thesaurus.h: include the right aiksaurus header
6711
6712 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6713
6714         * MenuBackend.C (expand): check menu shortcuts unconditionally
6715
6716 2003-07-21  Angus Leeming  <leeming@lyx.org>
6717
6718         * factory.C (createInset): pass a
6719         buffer_path parameter to InsetGraphicsMailer's string2params.
6720
6721 2003-07-21  Angus Leeming  <leeming@lyx.org>
6722
6723         * BufferView_pimpl.C (buffer):
6724         * buffer.C (d-tor):
6725         * lyx_main.C (LyX):
6726         * lyxfunc.C (dispatch):
6727         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6728         rather than the grfx shortcut.
6729
6730 2003-07-21  André Pönitz  <poenitz@gmx.net>
6731
6732         * rowpainter.C: remove unused variables
6733
6734         * tabular_funcs.C:
6735         * tabular_funcs.h: move to tabular.C
6736         * Makefile.am: adjust
6737
6738         * tabular.[Ch]: basic optical cleaning
6739
6740         * author.h: pass references, not values
6741
6742 2003-07-18  André Pönitz  <poenitz@gmx.net>
6743
6744         * lyxtext.h:
6745         * metricsinfo.C:
6746         * metricsinfo.h:
6747         * rowpainter.C:
6748         * text.C:
6749         * text2.C:
6750         * text3.C: two-phase drawing for InsetText and InsetTabular
6751         some float -> int changes.
6752
6753 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6754
6755         * lyx_main.C: fix the fix
6756
6757 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6758
6759         * lyx_main.C: fix a crash in batch mode if no files specified
6760         * converter.C: ws
6761
6762 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6763
6764         * format.[Ch] (papersize): moved to BufferParams
6765         * converter.[Ch] (dvips_options): moved to BufferParams
6766         (dvipdfm_options): moved to anon namespace
6767         * bufferparams.[Ch]: added above functions.
6768
6769 2003-07-17  André Pönitz  <poenitz@gmx.net>
6770
6771         * lyxtext.h:
6772         * rowpainter.C:
6773         * text2.C: don't call inset->update() anymore
6774
6775         * metricsinfo.[Ch]: add convenience constructor
6776
6777 2003-07-16  André Pönitz  <poenitz@gmx.net>
6778
6779         * lyxcursor.[Ch]:
6780         * lyxfunc.[Ch]:
6781         * text.C:
6782         * text2.C: replace the LyXCursor::irow_ member with
6783          on-demand computation of the value
6784
6785 2003-07-16  John Levon  <levon@movementarian.org>
6786
6787         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6788
6789 2003-07-15  André Pönitz  <poenitz@gmx.net>
6790
6791         * text.C:
6792         * text2.C: remove no more needed refresh_row
6793
6794 2003-07-15  André Pönitz  <poenitz@gmx.net>
6795
6796         * lyxtext.h:
6797         * rowpainter.C:
6798         * text2.C:
6799         * text3.C: refresh_status tristate -> need_update bool
6800
6801 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6802
6803         * lyxtext.h (init): remove reinit argument (act as if always true)
6804         * text2.C: adjust to that
6805
6806 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6807
6808         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6809         * text3.C: use it to delete selections in some cases
6810         (bugs 441, 673, 702, 954).
6811
6812 2003-07-14  André Pönitz  <poenitz@gmx.net>
6813
6814         * rowpainter.[Ch]: reduce interface
6815
6816 2003-07-14  André Pönitz  <poenitz@gmx.net>
6817
6818         * BufferView_pimpl.C:
6819         * text2.C: adjust after removing unused BufferView * argument
6820
6821 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6822
6823         * text2.C (init): fix a crash fired on resize
6824
6825 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6826
6827         * buffer.[Ch]: added new closing signal
6828         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6829         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6830         BufferView::Pimpl via the closing the signal
6831
6832 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6833
6834         * buffer.[Ch]: take out all bv-related from buffer
6835         * BufferView.C:
6836         * BufferView_pimpl.[Ch]: connect to new signals
6837         * CutAndPaste.C: removed useless asserts
6838         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6839         * lyxvc.[Ch]:
6840         * vc-backend.[Ch]:
6841         * lyxfunc.C: moved view-related funciontality from vc here
6842         * paragraph.C: removed outdated comments
6843         * text.C: ws
6844
6845 2003-07-10  André Pönitz  <poenitz@gmx.net>
6846
6847         * BufferView_pimpl.C:
6848         * tabular.h:
6849         * tabular_funcs.C:
6850         * text.C:
6851         * text2.C: remove InsetText::InnerCache, clean up consequences
6852
6853 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6854
6855         * ispell.C: fix two typos in error messages
6856
6857 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6858
6859         * Extend Note inset to other forms of annotation like Comment
6860         and Greyedout. Right button click gives dialog.
6861
6862         Files modified or added (+):
6863
6864         * insetnote.[Ch]
6865         * FormNote.[Ch]      +
6866         * ControlNote.[Ch]   +
6867         * form_note.fd       +
6868         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6869         frontends/controllers
6870         * xforms/Dialogs.C
6871         * factory.C
6872
6873 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6874
6875         * aspell.C: add missing namespace lyx::support
6876
6877 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6878
6879         * BufferView.[Ch] (newFile): Add
6880         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6881         * LaTeX.[Ch] (message): added this signal and use it
6882         * buffer.[Ch] (busy, message): added these signals and use them
6883         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6884         * converter.C:
6885         * exporter.C:
6886         * format.C:
6887         * importer.C: use buffer signals instead of direct bv calling
6888         * lyx_cb.[Ch] (ShowMessage): removed
6889         * lyx_main.C:
6890         * lyxfunc.C:
6891         * paragraph_funcs.C:
6892         * text2.C: use buffer signals
6893
6894 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6895
6896         * introduce namespace lyx::graphics
6897
6898 2003-07-02  André Pönitz  <poenitz@gmx.net>
6899
6900         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6901
6902 2003-07-01  André Pönitz  <poenitz@gmx.net>
6903
6904         * text.C:
6905         * text2.C:
6906         * text3.C:
6907         * text_funcs.[Ch]:
6908         * textcursor.h:
6909         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6910           text*.C to text_func.C
6911
6912 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6913
6914         * introduce namespace lyx::support
6915
6916 2003-06-30  André Pönitz  <poenitz@gmx.net>
6917
6918         * Chktex.C:
6919         * funcrequest.C:
6920         * lyxtext.h:
6921         * text.C: re-enable --with-included-string
6922
6923 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6924
6925         * textcursor.C: add <config.h>
6926
6927         * text.C (getWord): remove const from word_location arg
6928
6929         * lyxvc.C (getLogFile): fix const type order
6930
6931         * lyxtext.h: remove const from word_location arg, add arg name
6932
6933         * lyxlayout.h: currect type on labeltype.
6934
6935         * importer.C: correct \file
6936
6937         * converter.C (intToFormat): use std:: on ret val, ws changes
6938
6939         * bufferlist.h: correct \file
6940
6941         * buffer.C (makeLinuxDocFile): fix const type order
6942         (makeDocBookFile): ditto
6943         (fillWithBibKeys): use std:: on stdlib args.
6944
6945         * CutAndPaste.C: fix authors.
6946         (availableSelections): use std:: on return vector
6947
6948 2003-06-27  André Pönitz  <poenitz@gmx.net>
6949
6950         * BufferView_pimpl.C:
6951         * bufferview_funcs.C:
6952         * lyxcursor.C:
6953         * lyxcursor.h:
6954         * lyxfunc.C:
6955         * lyxtext.h:
6956         * rowpainter.C:
6957         * text.C:
6958         * text2.C:
6959         * text3.C: remove LyXCursor::row_ member
6960
6961         * lyxtext.h:
6962         * text.C: rename fullRebreak() to partialRebreak() and implement
6963           a fullRebreak() that really bereks fully
6964
6965         * textcursor.h: new struct for cursor-related data
6966
6967 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6968
6969         * lyx_main.C (LyX): get full path of document loaded on the
6970         command line
6971
6972 2003-06-26  André Pönitz  <poenitz@gmx.net>
6973
6974         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6975           remove unused/broken operator>,<,>=.
6976
6977         *       text.C: remove only use of broken operator<= in an Assert().
6978
6979 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6980
6981         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6982         moved errorlist_.clear to showErrorList
6983
6984 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6985
6986         * converter.C (scanLog, runLaTeX):
6987         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6988         move the bv->showErrorList call to the callers
6989         * lyxfunc.C: i.e. here...
6990         * text2.C: and here
6991         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6992         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6993         namespace, the second to...
6994         * buffer_funcs (BufferFormat, parseErrors): added
6995         * errorlist.C (ErrorList(TeXErrors const &)): removed
6996
6997 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6998
6999         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7000
7001 2003-06-24  "Garst R. Reese" <reese@isn.net>
7002
7003         * debug.C: fix typo
7004
7005 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7006
7007         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7008
7009         * version.C.in: change docversion to 1.4
7010
7011 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7012
7013         * buffer.C: fix a bug just introduced
7014
7015 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7016
7017         * buffer.[Ch]: added the parseError signal and use it, removed
7018         sgmlError
7019         * BufferView.[Ch] (addError): moved to ...
7020         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7021         to the Buffer::parseError signal to catch (guess what) parse errors
7022         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7023
7024 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7025
7026         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7027         ability to create a buffer and to return an existing one from
7028         the list. Moved these functions to...
7029         * buffer_funcs.[Ch]: added
7030         * BufferView.[Ch] (loadLyXFile): added
7031         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7032         job removed from bufferlist::loadLyXFile.
7033         * buffer.C (setReadOnly): make it work without view
7034         (i.e added an if (users))
7035
7036 2003-06-19  Angus Leeming  <leeming@lyx.org>
7037
7038         * lfuns.h:
7039         * LyXAction.C (init):
7040         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7041         with LFUN_DIALOG_SHOW <name> <data>.
7042
7043 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7044
7045         * CutAndPaste.C (availableSelections): small compilation fix for
7046         ancient (gcc 2.9x) compilers
7047
7048 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7049
7050         * text3.C (cursorNext): add tmp var
7051
7052         * text2.C (updateCounters): for function calling out of for clause
7053         (replaceSelectionWithString): ditto
7054         (insertStringAsParagraphs): ditto
7055         (getColumnNearX): add tmp var
7056         (setCursorFromCoordinates): add tmp var
7057         (cursorDownParagraph): add tmp var
7058         (deleteEmptyParagraphMechanism): add tmp var
7059
7060         * text.C (insertChar): add tmp var
7061
7062         * rowpainter.C (paintDepthBar): add tmp var
7063
7064         * CutAndPaste.C (availableSelections): potentially check all
7065         paragraphs in a cut to fill the shown strings.
7066
7067 2003-06-18  André Pönitz  <poenitz@gmx.net>
7068
7069         * kbmap.[Ch]: use vector<> instead of list<>
7070
7071 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7072
7073         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7074         pasteSelection with index
7075
7076         * text2.C (pasteSelection): modify, call pasteSelection with index
7077
7078         * paragraph.C (asString): reimplement version with no interval to
7079         call the one with interval.
7080
7081         * lyxtext.h: add index arg to pasteSelection
7082
7083         * MenuBackend.C (MenuItem): handle PasteRecent
7084         (Menu::read::Menutags): add md_pasterecent
7085         (read): handle it
7086         (expandPasteRecent): new function
7087         (expand): use it
7088
7089         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7090
7091         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7092         the limited stack
7093         (availableSelections): new function
7094
7095 2003-06-17  Angus Leeming  <leeming@lyx.org>
7096
7097         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7098
7099 2003-06-17  Angus Leeming  <leeming@lyx.org>
7100
7101         * lfuns.h:
7102         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7103
7104         * lyxfunc.C (dispatch): invoke it.
7105
7106 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7107
7108         * iterators.C (operator++, ParPosition): reintroduce some
7109         const_cast for the benefit of older compilers.
7110
7111 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7112
7113         * text3.C (dispatch): do not modify clipboard when doing
7114         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7115         LFUN_DELETE_SKIP on a selection selection
7116
7117 2003-06-16  André Pönitz  <poenitz@gmx.net>
7118
7119         * BufferView.C:
7120         * buffer.C:
7121         * buffer.h:
7122         * paragraph.C:
7123         * tabular.[Ch]: IU of clone() and getLabelList();
7124
7125 2003-06-13  André Pönitz  <poenitz@gmx.net>
7126
7127         * tabular.h: compactification
7128
7129 2003-06-12  André Pönitz  <poenitz@gmx.net>
7130
7131         * tabular.C:
7132         * tabular.h:
7133         * tabular_funcs.h: some renaming plus whitespace
7134
7135 2003-06-12  André Pönitz  <poenitz@gmx.net>
7136
7137         * BufferView.C:
7138         * BufferView_pimpl.C:
7139         * CutAndPaste.C:
7140         * buffer.C:
7141         * iterators.[Ch]:
7142         * lyxfunc.C:
7143         * text.C:
7144         * toc.C: Return a Paragraph & for ParIterator::operator*()
7145
7146 2003-06-11  John Levon  <levon@movementarian.org>
7147
7148         * lyx_main.C:
7149         * ToolbarBackend.h:
7150         * ToolbarBackend.C: add "Toolbars" section and
7151         put the flags there
7152
7153 2003-06-10  Angus Leeming  <leeming@lyx.org>
7154
7155         * lfuns.h:
7156         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7157
7158         * lyxfunc.C (dispatch): invoke it.
7159
7160 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7161
7162         * main.C: protect <ios> with HAVE_IOS
7163         (main): protect sync_with_stdio with HAVE_IOS
7164
7165 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7166
7167         * text2.C (cutSelection): adjust
7168         (pasteSelection): adjust
7169
7170         * messages.C: handle get of empty string
7171
7172         * main.C (main): use sync_with_stdio(false)
7173
7174         * lyxfunc.C (dispatch): adjust
7175
7176         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7177         (WriteAs): remove unneeded BufferView arg.
7178
7179         * bufferparams.h: use correct types on papersize, papersize2 and
7180         paperpackage.
7181
7182         * bufferparams.C (readToken): adjust for type
7183         (writeLaTeX): add missing cases to switch.
7184
7185         * bufferlist.C (quitWriteBuffer): adjust
7186         (close): adjust
7187
7188         * buffer.C (asciiParagraph): remove some commented code.
7189
7190         * CutAndPaste.C: remove current_view extern variable.
7191         (cutSelection): add BufferParams arg.
7192         (eraseSelection): add BufferParams arg.
7193         (pasteSelection): add Buffer const & arg
7194
7195 2003-06-07  John Levon  <levon@movementarian.org>
7196
7197         * buffer.C:
7198         * paragraph_funcs.C:
7199         * paragraph_pimpl.C:
7200         * text.C:
7201         * text2.C:
7202         * paragraph.h:
7203         * paragraph.C: allow InsetERT to freely space lines,
7204         and some consolidation of code
7205
7206 2003-06-06  José Matos  <jamatos@fep.up.pt>
7207
7208         * buffer.C (makeDocBookFile): fix bug #821
7209
7210 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7211
7212         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7213
7214 2003-06-04  Angus Leeming  <leeming@lyx.org>
7215
7216         * buffer.C: bump format to 224.
7217
7218 2003-06-05  André Pönitz  <poenitz@gmx.net>
7219
7220         * text2.C (redoParagraphs): remove two const_cast<>
7221
7222 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7223
7224         * ParagraphList.h: remove last remnants of NO_STD_LIST
7225
7226 2003-06-03  Angus Leeming  <leeming@lyx.org>
7227
7228         * factory.C (createInset): small change to the way InsetExternal's params
7229         are set.
7230
7231 2003-06-04  André Pönitz  <poenitz@gmx.net>
7232
7233         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7234
7235         * paragraph_pimpl.h:
7236         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7237
7238         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7239
7240         * undo_funcs.C: make some simple cases of undo work again
7241
7242 2003-06-03  John Levon  <levon@movementarian.org>
7243
7244         * ispell.C: HPUX doesn't have sys/select.h
7245         (from Albert Chin)
7246
7247 2003-06-03  John Levon  <levon@movementarian.org>
7248
7249         * CutAndPaste.C: update tabular and include inset
7250         buffer references
7251
7252         * buffer.h:
7253         * paragraph.h:
7254         * paragraph.C: remove owningBuffer(), don't pass Buffer
7255         to clone()
7256
7257         * factory.C: insetGraphicsParams changed
7258
7259 2003-06-02  John Levon  <levon@movementarian.org>
7260
7261         * LyXAction.C:
7262         * factory.C:
7263         * lfuns.h:
7264         * lyxfunc.C:
7265         * text3.C: remove insetparent
7266
7267 2003-06-02  John Levon  <levon@movementarian.org>
7268
7269         * buffer.h:
7270         * buffer.C: fix inset_iterator.end(), move out of line
7271         (bug 1149)
7272
7273 2003-06-01  John Levon  <levon@movementarian.org>
7274
7275         * text3.C: use a proper cut/paste when doing inset
7276         insert (from Jürgen Spitzmüller)
7277
7278 2003-06-01  John Levon  <levon@movementarian.org>
7279
7280         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7281
7282 2003-05-30  André Pönitz  <poenitz@gmx.net>
7283
7284         * rowpainter.C: unify second drawing phase
7285
7286 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7287
7288         * trans_mgr.C: remove one case of current_view
7289
7290         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7291
7292         * paragraph_funcs.h: remove paragraph.h include
7293
7294         * paragraph.h: delete NO_STD_LIST stuff
7295
7296         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7297
7298         * buffer.h: remove paragraph.h include
7299
7300         * ParagraphList.C: delete file
7301
7302         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7303
7304         * toc.C (getTocList): adjust
7305
7306         * paragraph_pimpl.C (validate): adjust
7307
7308         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7309
7310         * paragraph.C (Paragraph): adjust
7311         (getPositionOfInset): use const_iterator, adjust
7312         (bibitem): use const_iterator, adjust
7313         (setInsetOwner): adjust
7314
7315         * iterators.C (operator++): adjust
7316
7317         * InsetList.[Ch]: Replace selfmade iterator with standard
7318         vector::iterator also introduce const_iterator. Remove getPos,
7319         getInset and setInset from InsetTable. Adjust accordingly.
7320
7321         * BufferView.C (lockInset): adjust
7322         (ChangeInsets): adjust
7323
7324         * tabular.[Ch]: delete commented same_id functions
7325
7326 2003-05-28  John Levon  <levon@movementarian.org>
7327
7328         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7329
7330 2003-05-28  André Pönitz  <poenitz@gmx.net>
7331
7332         * metricsinfo.[Ch]: remove 'fullredraw' member
7333
7334 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7335
7336         * lyxtextclass.C (operator): remove caching.
7337
7338 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7339
7340         * text3.C: adjust
7341
7342         * text2.C (cursorBottom): adjust
7343         (setCounter): use ParagraphList::find, adjust
7344
7345         * text.C (workWidth): use ParagraphList::find, adjust
7346
7347         * lyxcursor.C (LyXCursor): adjust
7348
7349         * buffer.C (inset_iterator): adjust
7350
7351         * ParagraphList.h: make iterator(value_type) private, make
7352         ParagraphList a friend of iterator.
7353
7354         * ParagraphList.C (find): new function
7355
7356         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7357
7358 2003-05-27  André Pönitz  <poenitz@gmx.net>
7359
7360         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7361
7362 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7363
7364         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7365
7366 2003-05-26  John Levon  <levon@movementarian.org>
7367
7368         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7369
7370 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7371
7372         * remove same_id from function signatures, adjust.
7373
7374 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7375
7376         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7377
7378         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7379
7380         * paragraph.C (Paragraph): get rid of same_ids parameter
7381
7382         * ParagraphList.C (insert): adjust
7383         (push_back): adjust
7384
7385 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7386
7387         * paragraph_funcs.C (breakParagraph): adjust
7388         (breakParagraphConservative): adjust
7389
7390         * buffer.C (readParagraph): adjust
7391
7392         * ParagraphList.C (insert): take a reference instead of a pointer
7393         (insert): adjust
7394
7395         * paragraph.[Ch] (id): new function
7396
7397         * bufferlist.C (newFile): adjust
7398
7399         * ParagraphList.C (ParagraphList): adjust
7400         (assign): adjust
7401         (push_back): take a reference instead of a pointer.
7402
7403         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7404
7405         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7406         instead.
7407
7408         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7409         set else use old code.
7410
7411         * ParagraphList.C: remove all NO_NEXT code and only compile this
7412         code of NO_STD_LIST is set.
7413
7414 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7415
7416         * BufferView_pimpl.C:
7417         * TextCache.C:
7418         * TextCache.h:
7419         * bufferlist.C:
7420         * errorlist.h:
7421         * format.C:
7422         * format.h:
7423         * graph.C:
7424         * lyxfunc.C:
7425         * lyxrc.C:
7426         * graphics/GraphicsConverter.C:
7427         * graphics/PreviewLoader.C: header adjustment
7428
7429 2003-05-23  Angus Leeming  <leeming@lyx.org>
7430
7431         * LaTeXFeatures.[Ch] (useBabel): new method.
7432         * bufferparams.C (writeLaTeX): use it.
7433
7434 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7435
7436         * ParagraphList.h (set): remove unused function.
7437
7438 2003-05-23  André Pönitz  <poenitz@gmx.net>
7439
7440         * BufferView.C:
7441         * BufferView_pimpl.C:
7442         * buffer.C:
7443         * buffer.h:
7444         * lyxfunc.C:
7445         * undo_funcs.C: setUndo reworked
7446
7447         * iterators.[Ch]: add access to topmost ParagraphList
7448
7449         * lyxtext.[Ch] (workWidth): add a const
7450
7451 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7452
7453         * texrow.[Ch] (increasePos): remove function
7454         * exporter.C (export): removed unused var and outdated comment
7455
7456 2003-05-23  Angus Leeming  <leeming@lyx.org>
7457
7458         * latexrunparams.h: rename fragile as moving_arg.
7459         * paragraph.C (simpleTeXOnePar): ditto.
7460         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7461
7462 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7463
7464         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7465         (createUndo): ditto
7466         (textUndoOrRedo): comment out a currently unused var.
7467
7468         * paragraph.h (NO_NEXT): enable NO_NEXT
7469
7470         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7471
7472         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7473
7474         * exporter.C (Export): adjust for removeAutoInsets removal.
7475
7476         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7477
7478         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7479
7480         * BufferView.[Ch] (removeAutoInsets): delete function
7481
7482 2003-05-22  Angus Leeming  <leeming@lyx.org>
7483
7484         * latexrunparams.h: add a free_spacing variable.
7485
7486         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7487         to pass moving_arg, as the data is stored in runparams.fragile.
7488
7489         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7490         to Inset::latexOptional or to simpleTeXOnePar.
7491
7492         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7493         free_spacing arg to Inset::latexOptional.
7494
7495         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7496         free_spacing arg.
7497
7498 2003-05-22  Angus Leeming  <leeming@lyx.org>
7499
7500         * latexrunparams.h: add fragile and use_babel variables.
7501
7502         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7503         * buffer.C (makeLaTeXFile): store this returned value in
7504         runparams.use_babel, thus passing it to the inset::latex methods.
7505
7506         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7507         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7508
7509         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7510         longer has a fragile arg, as it is stored in runparams.fragile.
7511
7512         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7513         moving_arg parameter as the data is stored in runparams.fragile.
7514
7515         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7516         a fragile parameter as the data is stored in runparams.fragile.
7517
7518 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7519
7520         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7521
7522 2003-05-22  Angus Leeming  <leeming@lyx.org>
7523
7524         * latexrunparams.h: add a 'bool nice' which defaults to false.
7525
7526         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7527         now encapsulated within runparams.
7528
7529         * bufferlist.C (updateIncludedTeXfiles):
7530         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7531
7532 2003-05-22  Angus Leeming  <leeming@lyx.org>
7533
7534         * latexrunparams.h: new file containing struct LatexRunParams.
7535         * Makefile.am: add new file.
7536
7537         * LaTeX.[Ch] (c-tor, run):
7538         * buffer.[Ch] (makeLaTeXFile):
7539         * bufferlist.[Ch] (updateIncludedTeXfiles):
7540         * converter.C (convert, scanLog):
7541         * converter.[Ch] (runLaTeX):
7542         * exporter.C (Export):
7543         * paragraph.[Ch] (simpleTeXOnePar):
7544         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7545         * paragraph_funcs.[Ch] (latexParagraphs):
7546         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7547         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7548         pass around a LatexRunParams parameter.
7549
7550 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7551
7552         * paragraph.[Ch]: remove unused constructor
7553
7554         * ParagraphList.C (erase): new function, taking two iterators
7555
7556 2003-05-22  André Pönitz  <poenitz@gmx.net>
7557
7558         * undo_funcs.C: remove duplicated code
7559
7560         * iterator.[Ch]: operator=
7561
7562 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7563
7564         * tabular.C (SetMultiColumn): ws changes
7565
7566         * rowpainter.C (paintFirst): get rid of a ->previous
7567
7568         * lyx_cb.C (getPossibleLabel): parlist simplification
7569
7570         * BufferView.C (ChangeInsets): simplify slightly.
7571
7572 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7573
7574         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7575         * lfuns.h: new LFUN_SPACE
7576         * lyxfunc.C: protected space has a new lfun
7577         * paragraph_funcs.C: read new space insets
7578         * text3.C:
7579         * factory.C: handle new space insets
7580
7581 2003-05-22  André Pönitz  <poenitz@gmx.net>
7582
7583         * BufferView.C:
7584         * BufferView_pimpl.C:
7585         * buffer.[Ch]:
7586         * lyxfunc.C:
7587         * undo_funcs.C: return a ParIterator from getParFromID.
7588
7589         * iterators.[Ch]: add two const's
7590
7591 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7592
7593         * toc.C (getTocList): adjust
7594
7595         * iterators.[Ch]: rework for parlist
7596
7597         * buffer.C (par_iterator_begin): adjust
7598         (par_iterator_end): adjust
7599
7600         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7601
7602         * BufferView.C (removeAutoInsets): adjust
7603         (ChangeInsets): adjust
7604
7605 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7606
7607         * text.C (top_y): fix bug 1110
7608
7609 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7610
7611         * errorlist.[Ch]: added
7612         * buffer.C:
7613         * BufferView.[Ch]:
7614         * BufferView_pimpl.C:
7615         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7616         instead
7617
7618 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7619
7620         * Makefile.am: ensure that lyx is relinked upon changes to the
7621         various "convenience" libs.
7622
7623 2003-05-20  Angus Leeming  <leeming@lyx.org>
7624
7625         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7626         files are compiled in alphabetical order again.
7627
7628         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7629
7630 2003-05-19  Angus Leeming  <leeming@lyx.org>
7631
7632         * gettext.[Ch]: remove "char const * _(char const *)".
7633
7634 2003-05-19  André Pönitz  <poenitz@gmx.net>
7635
7636         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7637
7638         * Makefile.am:
7639         * BufferView.C:
7640         * DepTable.h:
7641         * LaTeXFeatures.C:
7642         * buffer.C:
7643         * lyxfont.C:
7644         * lyxlex.h:
7645         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7646
7647 2003-05-19  André Pönitz  <poenitz@gmx.net>
7648
7649         * buffer.C:
7650         * lyxlayout.[Ch]:
7651         * lyxtextclass.[Ch]:
7652         * paragraph.C:
7653         * paragraph_funcs.[Ch]:
7654         * text2.C:
7655         * text3.C: more insetenv work
7656
7657 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7658
7659         * ParagraphParameters.C (params2string): small bug fixed
7660
7661 2003-05-16  André Pönitz  <poenitz@gmx.net>
7662
7663         * debug.C:
7664         * bufferview_funcs.C: patch from Kornel Benko to prevent
7665           crash when _(...) is called twice in a statement
7666
7667 2003-05-16  André Pönitz  <poenitz@gmx.net>
7668
7669         * BufferView.C:
7670         * lyxfunc.C:
7671         * text.C:
7672         * text2.C:
7673         * text3.C:
7674         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7675
7676 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7677
7678         * lyx_main.C (init): remove spurious static_cast
7679
7680 2003-05-14  André Pönitz  <poenitz@gmx.net>
7681
7682         * BufferView.C: fix format string
7683
7684 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7685
7686         * BufferView.[Ch] (insertErrors): removed
7687         * BufferView.[Ch] (showErrorList): added
7688         * buffer.C (runChkTeX):
7689         * converter.C (scanLog): call showErrorList instead of inserterrors
7690
7691 2003-05-13  André Pönitz  <poenitz@gmx.net>
7692
7693         * BufferView_pimpl.C:
7694         * buffer.C:
7695         * bufferview_func.C:
7696         * MenuBackend.C:
7697         * lyxfunc.C:
7698         * lyxrc.C:
7699         * tex-accent.C:
7700         * text3.C:
7701         * toc.C:
7702         * tabular_funcs.h: tostr() from its own header
7703
7704         * ParagraphParameters.C:
7705         * ToolbarBackend.C:
7706         * bufferparams.C:
7707         * format.C:
7708         * lyxlex_pimpl.C:
7709         * text3.C: STRCONV()
7710
7711 2003-05-12  André Pönitz  <poenitz@gmx.net>
7712
7713         * BufferView.C:
7714         * BufferView_pimpl.C:
7715         * CutAndPaste.C:
7716         * LaTeX.C:
7717         * LaTeXFeatures.C:
7718         * ParagraphParameters.C:
7719         * buffer.C:
7720         * bufferlist.C:
7721         * bufferparams.C:
7722         * bufferview_funcs.C:
7723         * converter.C:
7724         * counters.C:
7725         * debug.C:
7726         * exporter.C:
7727         * format.C:
7728         * importer.C:
7729         * lyx_cb.C:
7730         * lyx_main.C:
7731         * lyxfont.C:
7732         * lyxfunc.C:
7733         * lyxvc.C:
7734         * paragraph.C:
7735         * paragraph_funcs.C:
7736         * tabular.C:
7737         * tabular_funcs.C:
7738         * text2.C:
7739         * text3.C:  boost::format -> bformat  all over the place
7740
7741
7742 2003-05-09  André Pönitz  <poenitz@gmx.net>
7743
7744         * LColor.[Ch]: Pimpl the #include <map> away
7745
7746 2003-05-09  John Levon  <levon@movementarian.org>
7747
7748         * bufferlist.C: never remove emergency saves
7749
7750 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7751
7752         * Makefile.am: better lib building
7753
7754 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7755
7756         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7757         instead.
7758         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7759         (simpleTeXSpecialChars): adjust
7760         (simpleTeXSpecialChars): adjust
7761         * paragraph.C (simpleTeXOnePar): adjust
7762         * buffer.C (makeLaTeXFile): adjust
7763
7764         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7765
7766         * text2.C (changeDepth): parlist cleanup
7767         (getColumnNearX): ditto
7768
7769         * rowpainter.C (getLabelFont): parlist cleanup
7770
7771         * bufferlist.C (newFile): parlist cleanup
7772
7773         * CutAndPaste.C (eraseSelection): parlist cleanup
7774
7775         * BufferView_pimpl.C (trackChanges): parlist cleanup
7776         (dispatch): ditto
7777
7778         * BufferView.C (lockInset): parlist cleanup.
7779         (ChangeInsets): ditto
7780
7781 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7782
7783         * CutAndPaste.h: Update file header.
7784
7785         * CutAndPaste.C: Update file header.
7786         Store the parts cut out of the Document in a limited_stack.
7787         (copySelection): adjust
7788         (pasteSelection): new function, takes the index in the limited stack.
7789         (nrOfParagraphs): adjust
7790         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7791         simplify error inset insertion.
7792         (checkPastePossible): adjust
7793
7794 2003-05-06  John Levon  <levon@movementarian.org>
7795
7796         * text2.C: don't cast wrap inset to float
7797
7798 2003-05-05  André Pönitz  <poenitz@gmx.net>
7799
7800         * iterator.C:
7801         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7802
7803         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7804           few naked Paragraph *.
7805
7806 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7807
7808         * bufferparams.C: Output warning if a document with missing
7809         TeX document class is loaded
7810         * exporter.C: Disable TeX exports if the document class is missing
7811         * lyxtextclass.C:
7812         * lyxtextclass.h:
7813         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7814         isTeXClassAvailable()
7815
7816 2003-05-03  John Levon  <levon@movementarian.org>
7817
7818         * BufferView.h:
7819         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7820         explicit cursor show/hide
7821
7822         * BufferView_pimpl.h:
7823         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7824         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7825
7826         * lyxfunc.C: hide cursor before dispatching.
7827
7828         * lyx_cb.C:
7829         * lyxfind.C:
7830         * text.C:
7831         * text3.C: remove explicit cursor hides
7832
7833 2003-05-02  André Pönitz  <poenitz@gmx.net>
7834
7835         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7836
7837         * undo_funcs.C:
7838         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7839           linked lists
7840
7841         * text2.C: tiny whitespace
7842
7843 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7844
7845         * undo_funcs.C: almost only ws changes.
7846
7847         * ParagraphList.C (splice): just return if pl is empty.
7848
7849 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7850
7851         * ParagraphList.C (splice): new function.
7852
7853         * CutAndPaste.C (pasteSelection): use it
7854
7855 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7856
7857         * CutAndPaste.C (pasteSelection): remove the last next and
7858         previous from this file.
7859
7860 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7861
7862         * CutAndPaste.C (pasteSelection): more clean up, user proper
7863         ParagraphList functions for pasteing.
7864
7865         * ParagraphList.C (insert): new function, three arg insert
7866
7867 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7868
7869         * ParagraphList.C (insert): new function, three arg insert
7870
7871         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7872         not on paragraphs.
7873
7874 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7875
7876         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7877
7878 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7879
7880         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7881
7882 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7883
7884         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7885         (copySelection): clean up a bit.
7886         (pasteSelection): use make_pair
7887
7888         * ParagraphList.C (ParagraphList): implement copy constructor
7889         (operator=): implement, base on copy constructor.
7890         (assign): new func
7891
7892         * paragraph.C (erase): return a bool
7893
7894         * paragraph_pimpl.C (erasePos): remove function, move contents...
7895         (erase): ... here. Return a bool.
7896         (erase): call erase instead of erasePos.
7897
7898 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7899
7900         * ParagraphList.h: define PitPosPair
7901         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7902         ParagraphList, fix a bug on pasting multiple pars
7903         * text2.C: change interface to C&P
7904
7905 2003-04-30  André Pönitz  <poenitz@gmx.net>
7906
7907         * undo_func.C: revert part of yesterday's patch 2
7908
7909 2003-04-30  John Levon  <levon@movementarian.org>
7910
7911         * LColor.C: s/tabular/table/
7912
7913 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7914
7915         * text3.C (dispatch): do not convert iterator -> pointer
7916         * undo_funcs.C (setCursorParUndo): ditto
7917         * text_funcs.C (transposeChars): ditto
7918
7919         * text2.C (setLayout): ws changes only
7920
7921         * text.C (breakParagraph): do not convert iterator -> pointer
7922         (insertChar): ditto
7923         (acceptChange): ditto
7924         (rejectChange): ditto
7925         (changeCase): ditto
7926         (Delete): ditto
7927         (backspace): ditto
7928
7929         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7930         pointer
7931
7932 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7933
7934         * text3.C (gotoInset): YABG (yet another bad getChar)
7935
7936 2003-04-29  André Pönitz  <poenitz@gmx.net>
7937
7938         * paragraph.h: make operator= private unimplemented as long as
7939           it is unusable
7940
7941         * ParagraphList.C: whitespace
7942
7943         * paragraph.[Ch]:
7944         * paragraph_pimpl.[Ch]:
7945         * paragraph_funcs.C:
7946         * CutAndPaste.C:
7947         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7948
7949         * text2.C:
7950           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7951
7952 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7953
7954         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7955         * paragraph.[Ch] (erase):
7956         * paragraph_pimpl.[Ch] (erase): change return type and value
7957         * text2.C (cutSelection): some rework
7958
7959 2003-04-28  John Levon  <levon@movementarian.org>
7960
7961         * bufferlist.C: changes for unsaved changes dialog
7962
7963 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7964
7965         * bufferlist.C (newFile): set language (messages_) for new
7966         documents also.
7967
7968         * buffer.C (readFile): ws changes only.
7969
7970 2003-04-28  André Pönitz  <poenitz@gmx.net>
7971
7972         * undo_funcs.C:
7973         * lyxfunc.C:
7974         * buffer.[Ch]:
7975         * BufferView_pimpl.C:
7976         * BufferView.C: getParFromID related ParagraphList::iterator changes
7977
7978 2003-04-28  André Pönitz  <poenitz@gmx.net>
7979
7980         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7981           Changes
7982
7983 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7984
7985         * messages.C: remove one more localedir class variable.
7986
7987 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7988
7989         * messages.C (getLocaleDir): singleton generation function
7990         (Pimpl): use it.
7991         (Messages): add a default constructor.
7992
7993         * main.C (main): do not setup localedir here, do not call
7994         gettext_init.
7995
7996         * gettext.C (_): use it.
7997         (gettext_init): delete funciton
7998
7999 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8000
8001         * gettext.C (getLyXMessages): new singleton generating function.
8002
8003         * buffer.C (updateDocLang): adjust
8004
8005         * Makefile.am (messages.o): add target
8006         (main.o): remove target
8007
8008 2003-04-27  John Levon  <levon@movementarian.org>
8009
8010         * bufferlist.C:
8011         * lyx_cb.C:
8012         * lyxfunc.C:
8013         * lyxvc.C: specify cancel button in Alert::prompt
8014
8015 2003-04-26  John Levon  <levon@movementarian.org>
8016
8017         * text3.C:
8018         * lyxfunc.C:
8019         * lfuns.h:
8020         * LyXAction.C: add LFUN_INSET_SETTINGS
8021
8022         * lyxfunc.C: don't enable tabular-feature when there's
8023         just any locking inset
8024
8025 2003-04-26  John Levon  <levon@movementarian.org>
8026
8027         * bufferlist.C: re-add Cancel to buffer close question
8028
8029         * lyxfunc.C: fix import UI a bit
8030
8031 2003-04-25  John Levon  <levon@movementarian.org>
8032
8033         * gettext.C: remove the broken asserts for now
8034
8035 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8036
8037         * messages.C: make case where setlocale cannot comply work better.
8038
8039         * buffer.C (updateDocLang): new function
8040         (changeLanguage): use it
8041         (readFile): use it
8042
8043         * text2.C (setCounter): use B_ a bit.
8044
8045         * lyxlayout.C (Read): be sure to trim the label strings.
8046
8047         * messages.C (Messages): fix typo in comment
8048
8049         * buffer.C (readFile): set message_ after file is loaded.
8050         (makeDocBookFile): remove double return
8051         (changeLanguage): reset message_ upon language change.
8052         (B_): new func, use this to get translated buffer strings.
8053
8054         * main.C: add myself and Jean Marc as authors.
8055
8056 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8057
8058         * messages.[hC]: pimplify Messages, and three different pimpls to be
8059         used in different circumstances.
8060
8061         * gettext.[Ch]: change for use with new message code.
8062
8063 2003-04-24 André Pönitz <poenitz@gmx.net>
8064
8065         * factory.C: support for eqref
8066
8067 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8068
8069         * messages.[Ch]: add missing char
8070
8071         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8072
8073         * messages.[Ch]: New files
8074
8075 2003-04-18  John Levon  <levon@movementarian.org>
8076
8077         * BufferView.h:
8078         * BufferView.C:
8079         * BufferView_pimpl.C:
8080         * lfuns.h:
8081         * LyXAction.C:
8082         * lyxtext.h:
8083         * text2.C: remove layout-copy/paste (bug 778)
8084
8085 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8086
8087         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8088
8089 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8090
8091         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8092         if they succeed. Act accordingly.
8093
8094 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8095
8096         * text2.C (setCharFont): adjust
8097         (setCounter): adjust
8098         (insertStringAsLines): adjust
8099
8100         * text.C (leftMargin): adjust
8101         (setHeightOfRow): adjust
8102
8103         * rowpainter.C (paintFirst): adjust
8104         (paintLast): adjust
8105
8106         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8107         (outerHook): ditto
8108         (isFirstInSequence): ditto
8109         (getEndLabel): ditto
8110         (outerFont): adjust
8111
8112         * paragraph.C (getParLanguage): comment out some hard stuff.
8113
8114         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8115         (sgmlError): ditto
8116         (simpleDocBookOnePar): ditto
8117         (makeDocBookFile): use ParagraphList::iterator
8118
8119         * CutAndPaste.C (pasteSelection): adjust
8120
8121 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8122
8123         * text2.C (getFont): adjust
8124         (getLayoutFont): adjust
8125         (getLabelFont): adjust
8126
8127         * paragraph_funcs.C (TeXOnePar): adjust
8128
8129         * buffer.C (simpleLinuxDocOnePar): adjust
8130         (simpleDocBookOnePar): adjust
8131
8132         * CutAndPaste.C (pasteSelection): adjust
8133
8134         * BufferView.C (getEncoding): adjust
8135
8136         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8137
8138 2003-04-16  John Levon  <levon@movementarian.org>
8139
8140         * lyxfind.C: use parlist stuff for search/changes
8141
8142 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8143
8144         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8145
8146         * text2.C (deleteEmptyParagraphMechanism): adjust
8147
8148         * text2.[Ch] (ownerParagraph): delete func (both of them
8149
8150 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8151
8152         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8153
8154 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8155
8156         * ParagraphList.C: prepare for NO_NEXT
8157
8158 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8159
8160         * text2.C (getFont): adjust
8161         (getLayoutFont): adjust
8162         (getLabelFont): adjust
8163
8164         * paragraph.C (getFont): adjust
8165         (getLabelFont): adjust
8166         (getLayoutFont): adjust
8167
8168         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8169
8170 2003-04-15  John Levon  <levon@movementarian.org>
8171
8172         From Angus Leeming
8173
8174         * lyx_main.C: handle Include in .ui files
8175
8176 2003-04-15  John Levon  <levon@movementarian.org>
8177
8178         * MenuBackend.C: make the doc files length shorter
8179
8180         * ToolbarBackend.h:
8181         * ToolbarBackend.C: handle toolbar placement flags,
8182         Minibuffer
8183
8184 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8185
8186         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8187         adjust
8188
8189         * paragraph_funcs.C (TeXOnePar): adjust
8190
8191         * paragraph.C (getLabelFont): add outerfont arg, adjust
8192         (getLayoutFont): ditto
8193         (simpleTeXOnePar): adjust
8194
8195         * paragraph_pimpl.C (realizeFont): delete func
8196
8197 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8198
8199         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8200         row argument, constify cur argument.
8201
8202 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8203
8204         * text2.C (getFont): adjust
8205         (getLayoutFont): adjust
8206         (getLabelFont): adjust
8207
8208         * paragraph_funcs.C (TeXOnePar): adjust
8209         (outerFont): new func...
8210         (realizeFont): ...moved out from here, changed this to facilitate
8211         transition
8212
8213         * paragraph.C (getFont): take outerfont as arg, adjust
8214         (simpleTeXOnePar): add outerfont arg, adjust
8215
8216         * buffer.C (simpleLinuxDocOnePar): adjust
8217         (simpleDocBookOnePar): adjust
8218
8219         * CutAndPaste.C (pasteSelection): adjust
8220
8221         * BufferView.C (getEncoding): adjust
8222
8223 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8224
8225         * text2.C (setCharFont): adjust
8226         (setCounter): adjust
8227
8228         * text.C (leftMargin): adjust
8229         (setHeightOfRow): adjust
8230
8231         * rowpainter.C (paintFirst): adjust
8232         (paintLast): adjust
8233
8234         * paragraph_pimpl.C (realizeFont): adjust
8235
8236         * paragraph.C (isFirstInSequence): move from here...
8237         * paragraph_funcs.C (isFirstInSequence): ...to here
8238
8239         * paragraph.C (outerHook): move from here...
8240         * paragraph_funcs.C (outerHook): ...to here
8241
8242         * paragraph.C (depthHook): move from here...
8243         * paragraph_funcs.C (depthHook): ...to here
8244
8245         * paragraph.C (getEndLabel): move from here...
8246         * paragraph_funcs.C (getEndLabel): ...to here
8247
8248         * text2.C (realizeFont): move from here...
8249         * paragraph_funcs.C (realizeFont): ...to here
8250
8251 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8252
8253         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8254
8255 2003-04-14  Angus Leeming  <leeming@lyx.org>
8256
8257         * LColor.[Ch]: scrap LColor mathcursor.
8258
8259 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8260
8261         * lyxlex.[Ch] (text): delete function
8262         * trans.C (Load): adjust
8263         * paragraph_funcs.C (readParToken): adjust
8264
8265 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8266
8267         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8268         vector<char> instead of a char[].
8269
8270         * lyxlex_pimpl.C (getString): adjust
8271         (next): adjust
8272         (lex): use getString
8273         (eatLine): adjust
8274         (nextToken): adjust
8275
8276         * lyxlex.C (text): use pimpl_->getString()
8277         (getBool): ditto
8278         (findToken): ditto
8279
8280 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8281
8282         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8283         (makeFontEntriesLayoutSpecific): temp var for par.size()
8284         (setLayout): temp var for ownerParagraphs().end()
8285         (fullRebreak): temp var for rows().end()
8286         (selectionAsString): temp var for boost::next(startpit), realize
8287         that the while really is a regular for loop.
8288         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8289         setCursor in one place.
8290         (setParagraph): temp vr for ownerParagraphs().end()
8291         (updateCounters): make the while loop a for loop
8292         (cutSelection): temp var for ownerParagraphs().end()
8293         (updateInset): make the do {} while() a regular for loop
8294         (getCursorX): use temp vars
8295         (setCurrentFont): use temp vars
8296         (getColumnNearX): use temp vars
8297
8298 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8299
8300         * text.C (transformChar): use temp var for getChar
8301         (computeBidiTables): use temp var for row->par()
8302         (fill): move temp vars for row->par() and pit->layout() earlier in
8303         the function.
8304         (labelFill): use temp var for row->par()
8305         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8306         asc and desc, realize that pit never changes and that firstpit is
8307         just a duplicate and not needed. Exchange rit->par() with pit in a
8308         lot of places.
8309         (breakAgain): use a temp var for boost::next(rit)
8310         (breakAgainOneRow): ditto
8311         (breakParagraph): use a temp var for rows().begin()
8312         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8313         (cursorRightOneWord): use temp var for cursor.par() and
8314         cursor.pos(), remove usage of tmpcursor.
8315         (cursorLeftOneWord): use temp var for cursor.par() and
8316         cursor.pos() only set cur at end of function.
8317
8318 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8319
8320         * text.C, text2.C: exchange all usage of Paragraph::next with
8321         boost::next(ParagraphList::iterator)
8322
8323         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8324
8325         * text2.C (cursorTop): simplify implementation
8326         (cursorBottom): ditto
8327         (setParagraph): use ParagraphList::iterator
8328         (setCurrentFont): adjust
8329         (getColumnNearX): adjust
8330         (cursorRight): adjust
8331         (cursorLeft): remove usage of Paragraph::previous
8332         (cursorUpParagraph): ditto
8333         (deleteEmptyParagraphMechanism): slight cleanup
8334
8335         * text.C (isBoundary): take a Paragraph const & instead of a
8336         pointer as arg.
8337         (addressBreakPoint): ditto
8338         (leftMargin): remove usage of Paragraph::previous.
8339         (setHeightOfRow): ditto
8340         (cursorLeftOneWord): ditto
8341         (selectNextWordToSpellcheck): ditto
8342         (Delete): ditto
8343         (backspace): ditto
8344         (breakParagraph): remove one usage of Paragraph::next
8345         (redoParagraph): ditto
8346         (acceptChange): ditto
8347         (insertChar): adjust
8348         (rowBreakPoint): adjust
8349
8350         * bufferview_funcs.C (toggleAndShow): adjust
8351
8352 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8353
8354         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8355         methods to access it.
8356         * lyxtext.h:
8357         * text.C: Added updateRowPositions to compute all row positions.
8358         Make top_y and getRowNearY() to use the cached y position
8359
8360 2003-04-11  John Levon  <levon@movementarian.org>
8361
8362         * text.C (rowBreakPoint): reintroduce the labelEnd
8363         checks, code copied from the row fill stuff. Deep voodoo.
8364
8365         * text.C (fill): add a comment and debugging for the
8366         next poor soul.
8367
8368 2003-04-11  John Levon  <levon@movementarian.org>
8369
8370         * text.C: make sure fullrow insets get wrapped to the next line,
8371         even when they're in a manual label
8372
8373 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8374
8375         * text2.C (insertParagraph): make it take ParagraphList::iterator
8376         as arg.
8377         (setLayout): make it return ParagraphList::iterator
8378         (redoParagraphs): ditto
8379         (setCounter): ditto
8380         (checkParagraph): ditto
8381
8382         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8383
8384         * text2.C: adjust several funcs.
8385         (realizeFont): take a ParagraphList::iterator as arg.
8386         (getLayoutFont): ditto
8387         (getLabelFont): ditto
8388         (setCharFont): ditto
8389
8390         * text.C: adjust several funcs.
8391
8392 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8393
8394         * text.C (selectNextWordToSpellcheck): don't accidentally
8395         skip insets
8396
8397 2003-04-10  John Levon  <levon@movementarian.org>
8398
8399         * ToolbarBackend.C (getIcon): special handling for
8400         LFUN_MATH_DELIM
8401
8402 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8403
8404         * text2.C (cursorRight): a getChar assert fixed
8405
8406 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8407
8408         * text2.C (getFont): change to take a ParagraphList::iterator
8409         instead of Paragraph*
8410         Adjust several functions.
8411
8412         * text.C (transformChar): change to take a ParagraphList::iterator
8413         instead of Paragraph*
8414         (singleWidth): ditto
8415         Adjust several functions.
8416
8417         * rowpainter.C: adjust several functions
8418         * rowpainter.h:store a ParagraphList::iterator and not a
8419         Paragraph&.
8420
8421
8422 2003-04-09  John Levon  <levon@movementarian.org>
8423
8424         * lyxfunc.C:
8425         * lfuns.h:
8426         * LyXAction.h:
8427         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8428         and the "help" bits as well
8429
8430 2003-04-09  John Levon  <levon@movementarian.org>
8431
8432         * ToolbarBackend.h:
8433         * ToolbarBackend.C: allow multiple toolbars
8434
8435 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8436
8437         * undo_funcs.C (setCursorParUndo): adjust
8438
8439         * text_funcs.C (transposeChars): adjust
8440
8441         * text3.C (gotoNextInset): adjust
8442         (dispatch): adjust
8443
8444         * text2.C (setLayout): adjust
8445         (changeDepth): adjust
8446         (setFont): adjust
8447         (redoParagraphs): adjust
8448         (selectionAsString): adjust
8449         (setParagraph): adjust
8450         (insertInset): adjust
8451         (cutSelection): adjust
8452         (copySelection): adjust
8453         (pasteSelection): adjust
8454         (insertStringAsLines): adjust
8455         (updateInset): adjust
8456         (setCursor): change to take a ParagraphList::iterator parameter
8457         (setCursorIntern): change to take a ParagraphList::iterator parameter
8458         (setCurrentFont): adjust
8459         (cursorLeft): adjust
8460         (cursorRight): adjust
8461         (deleteEmptyParagraphMechanism): adjust
8462
8463         * text.C (breakParagraph): adjust
8464         (insertChar): adjust
8465         (acceptChange): adjust
8466         (rejectChange): adjust
8467         (selectNextWordToSpellcheck): adjust
8468         (changeCase): adjust
8469         (Delete): adjust
8470         (backspace): adjust
8471
8472         * lyxfind.C (SearchForward): adjust
8473         (SearchBackward): adjust
8474         (nextChange): adjust
8475
8476         * lyxcursor.C (par): adjust
8477
8478         * lyxcursor.h: store a ParagraphList::iterator instead of a
8479         Paragraph*
8480
8481         * lyx_cb.C (getPossibleLabel): adjust
8482
8483         * bufferview_funcs.C (toggleAndShow): adjust
8484
8485         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8486         (dispatch): adjust
8487
8488         * BufferView.C (removeAutoInsets): adjust
8489         (lockedInsetStoreUndo): adjust
8490
8491 2003-04-09  John Levon  <levon@movementarian.org>
8492
8493         * ToolbarBackend.C: try icon without argument
8494         if with argument fails
8495
8496 2003-04-08  John Levon  <levon@movementarian.org>
8497
8498         * ToolbarBackend.h:
8499         * ToolbarBackend.C: add getIcon(), handle tooltip,
8500         and change from "Icon" to "Item".
8501
8502 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8503
8504         * BufferView.C (lockInset): another bad getchar crunched
8505
8506 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8507
8508         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8509         again)
8510
8511 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8512
8513         * lyxfind.C (searchForward, searchBackwards): bug 782
8514
8515 2003-04-07  John Levon  <levon@movementarian.org>
8516
8517         * paragraph.C: remove dead comment
8518
8519         * text.C: remove troublesome depth-fiddling code
8520         in leftMargin() and rightMargin() (bug 1017)
8521
8522         * text.C: fix breaking of rows in nested lists
8523         (bug 1004)
8524
8525         * text2.C (updateCounters): fix up depth values
8526         (bug 1013)
8527
8528 2003-04-07  John Levon  <levon@movementarian.org>
8529
8530         * BufferView_pimpl.C: clear message when doc finishes resizing,
8531         and after a mouse event
8532
8533         * lyxfunc.C: clear message after exiting inset
8534
8535 2003-04-07  John Levon  <levon@movementarian.org>
8536
8537         * bufferview_funcs.C: show math status not outside
8538         status in the statusbar
8539
8540 2003-04-07  John Levon  <levon@movementarian.org>
8541
8542         * lyxfunc.C: note status changed after a depth change
8543
8544 2003-04-04  Angus Leeming  <leeming@lyx.org>
8545
8546         * LaTeX.h: move AuxInfo operator==, != out of line.
8547         Remove LaTeX virtual destructor; nothing derives from it.
8548         Move operator()() out of public area and rename it startscript().
8549         Change protected for private.
8550
8551 2003-04-04  Angus Leeming  <leeming@lyx.org>
8552
8553         * lyxfunc.C:
8554         * text2.C: remove unneeded #includes.
8555
8556 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8557
8558         * text2.C (dEPM): fix the heigth of the next row
8559
8560 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8561
8562         * text.C: squashed an invalid getChar requester + some ws changes
8563
8564 2003-04-03  John Levon  <levon@movementarian.org>
8565
8566         * bufferview_funcs.h:
8567         * bufferview_funcs.C:
8568         * lyxfunc.C:
8569         * lyxtext.h:
8570         * text2.C: make getStatus work for the env depth lfuns
8571
8572 2003-04-03  John Levon  <levon@movementarian.org>
8573
8574         * bufferview_funcs.h:
8575         * bufferview_funcs.C:
8576         * lyxfunc.C:
8577         * lyxtext.h:
8578         * text2.C: parlistize decDepth(), by merging it with incDepth()
8579
8580 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8581
8582         * lyxrow.h: store a ParagraphList::iterator instead of a
8583         Paragraph* and adjust other class functions to suit.
8584
8585         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8586         above.
8587
8588 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8589
8590         * text2.C (setCursor): do not anchor to cursor row for the time being
8591
8592 2003-04-02  John Levon  <levon@movementarian.org>
8593
8594         * LyXAction.C:
8595         * lfuns.h:
8596         * lyx_main.C:
8597         * lyxtext.h:
8598         * text.C:
8599         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8600
8601 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8602
8603         * paragraph.h: make ParagraphList and ParagraphList::iterator
8604         friends of Paragraph.
8605
8606         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8607
8608         * ParagraphList.C: Use the private next_ and previous_ from
8609         Paragraph.
8610
8611 2003-04-01  John Levon  <levon@movementarian.org>
8612
8613         * ToolbarBackend.h:
8614         * ToolbarBackend.C:
8615         * Makefile.am: rename, remove defaults gunk
8616
8617         * MenuBackend.h:
8618         * MenuBackend.C: remove defaults gunk
8619
8620         * Languages.h:
8621         * Languages.C: remove defaults gunk
8622
8623         * lyx_main.h:
8624         * lyx_main.C: error out if files couldn't be found.
8625
8626 2003-04-02  John Levon  <levon@movementarian.org>
8627
8628         * text2.C: make incDepth() use parlist
8629
8630 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8631
8632         * undo_funcs.C (firstUndoParagraph): adjust
8633
8634         * text3.C (gotoInset): adjust
8635         (dispatch): adjust, and rewrite loop.
8636
8637         * text2.C (init): adjust, and rewrite loop.
8638         (redoParagraphs): adjust
8639         (updateInset): adjust, and rewrite loop.
8640         (deleteEmptyParagraphMechanism): adjust
8641
8642         * tabular.C (LyXTabular): adjust
8643         (SetMultiColumn): adjust
8644         (TeXRow): adjust
8645
8646         * lyxtext.[Ch] (ownerParagraph): delete function
8647         (ownerParagraphs): new function returns a ParagraphList.
8648
8649         * BufferView.C (removeAutoInsets): adjust
8650         (insertErrors): adjust
8651         (setCursorFromRow): adjust
8652
8653 2003-04-01  Angus Leeming  <leeming@lyx.org>
8654
8655         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8656         in the frontends.
8657
8658 2003-04-02  John Levon  <levon@movementarian.org>
8659
8660         * lyxtext.h:
8661         * text.C:
8662         * Makefile.am:
8663         * text_funcs.h:
8664         * text_funcs.C: make transposeChars a free function
8665
8666         * lyxrow_funcs.C: remove wrong comment
8667
8668 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8669
8670         * lyxtext.h: adjust
8671         * rowpainter.C: adjust
8672         * text.C: adjust
8673         * text2.C: adjust
8674         * text3.C: adjust
8675
8676         * lyxrow_funcs. [Ch]: new files
8677
8678         * lyxrow.[Ch]: remove next and previous pointers
8679         (next,previous): remove accessor functions
8680         (isParEnd): move to lyxrow_funcs
8681         (lastPos): move to lyxrow_funcs
8682         (nextRowIsAllInset): move to lyxrow_funcs
8683         (lastPrintablePos): move to lyxrow_funcs
8684         (numberOfSeparators): move to lyxrow_funcs
8685         (numberOfHfills): move to lyxrow_funcs
8686         (numberOfLabelHfills): move to lyxrow_funcs
8687         (hfillExpansion): move to lyxrow_funcs
8688
8689         * lyxfunc.C: adjust
8690
8691         * bufferview_funcs.C (toggleAndShow): adjust
8692
8693         * RowList.h: Remove class RowList from file leave just a
8694         std::list<Row>.
8695
8696         * RowList.C: delete file
8697
8698         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8699         and lyxrow_funcs.h
8700
8701 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8702
8703         * text3.C (cursorPrevious): adjust
8704         (cursorNext): adjust
8705         (dispatch): adjust
8706
8707         * text2.C (redoHeightOfParagraph): adjust
8708         (redoDrawingOfParagraph): adjust
8709         (setCursor): adjust
8710
8711         * text.C (breakParagraph): adjust
8712         (insertChar): adjust
8713         (backspace): adjust
8714
8715         * rowpainter.C (RowPainter): adjust
8716         (leftMargin): simplify and adjust
8717         (most rowpainter functions): adjust.
8718
8719         * rowpainter.h: store the row as RowList::iterator not as Row*
8720
8721         * lyxcursor.C (row): taka RowList::iterator as arg
8722         (irow): ditto
8723
8724         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8725         of Row*.
8726
8727 2003-04-01  Angus Leeming  <leeming@lyx.org>
8728
8729         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8730         stuff like bool Bool.
8731
8732 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8733
8734         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8735         rewrite a loop
8736
8737 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8738
8739         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8740         RowList::iterator.
8741
8742         * lyxtext.h (rows): drop one version and leve a const variant that
8743         returns a RowList::iterator.
8744
8745 2003-03-31  Angus Leeming  <leeming@lyx.org>
8746
8747         * text.C (fill): ensure that the signature is the same as that in the
8748         header file.
8749
8750 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8751
8752         * text2.C (redoParagraphs): adjust
8753         (updateCounters): adjust
8754         (checkParagraph): adjust
8755         (getColumnNearX): adjust and reformat a bit.
8756
8757         * text.C (top_y): adjust
8758         (workWidth): adjust
8759         (leftMargin): adjust
8760         (prepareToPrint): adjust
8761         (getRow): adjust
8762         (getRowNearY): adjust
8763
8764         * lyxtext.h: make rowlist_ mutable.
8765
8766         * RowList.h: add const_iterator
8767         * RowList.C: adjust for RowList::const_iterator.
8768
8769         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8770         adjust.
8771
8772 2003-03-31  John Levon  <levon@movementarian.org>
8773
8774         * lyxrc.h:
8775         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8776
8777         * lyx_main.C: set default fonts from using lyx_gui funcs
8778
8779         * exporter.C: pdf_mode moved from lyxrc
8780
8781         * lyx_cb.C:
8782         * lyxfunc.C: changes from above
8783
8784 2003-03-31  John Levon  <levon@movementarian.org>
8785
8786         * lyx_main.C: fix to the last fix
8787
8788 2003-03-31  John Levon  <levon@movementarian.org>
8789
8790         * bufferlist.C: "Load original" -> "Load Original"
8791
8792         * converter.C:
8793         * exporter.C:
8794         * importer.C:
8795         * lyx_main.C:
8796         * format.C: more Alert cleanups
8797
8798 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8799
8800         * text2.C (removeParagraph): make it take a RowList::iterator as
8801         arg, adjust.
8802         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8803         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8804
8805         * text.C (anchor_row): make it take a RowList::iterator as arg,
8806         adjust.
8807         (computeBidiTables): make it take a const reference to Row instead
8808         of Row pointer, adjust.
8809         (leftMargin): make it take a RowList::iterator as arg, adjust.
8810         (rowBreakPoint): adjust
8811         (breakAgainOneRow): make it take a RowList::iterator as arg,
8812         adjust.
8813         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8814
8815         * bufferview_funcs.C (toggleAndShow): adjust
8816
8817 2003-03-30  John Levon  <levon@movementarian.org>
8818
8819         * Makefile.am:
8820         * BoostFormat.h:
8821         * boost-inst.C: moved to support
8822
8823         * several files: changes as a result
8824
8825 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8826
8827         * text2.C (LyXText): adjust.
8828         (init): adjust
8829         (removeRow): make it take a RowList::iterator as arg, adjust.
8830         (fullRebreak): adjust
8831         (deleteEmptyParagraphMechanism): adjust
8832         (clearPaint): adjust
8833         (postPaint): adjust
8834
8835         * text.C (top_y): adjust
8836         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8837         (breakAgain): make it take a RowList::iterator as arg, adjust.
8838         (breakParagraph): adjust
8839         (insertChar): adjust
8840         (backspace): adjust
8841
8842         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8843         need_break_row, and refresh_row.
8844
8845         * text3.C (dispatch): adjust
8846
8847         * text2.C (checkParagraph): adjust
8848         (setCursor): adjust
8849         (setCursorFromCoordinates): adjust
8850
8851         * text.C (top_y): adjust
8852         (workWidth): adjust
8853         (getRow): make it return a RowList::iterator, adjust
8854         (getRowNearY): make it return a RowList::iterator, adjust
8855
8856         * text2.C (init): adjust
8857         (insertRow): remove function
8858         (insertParagraph): adjust
8859         (redoParagraphs): adjust
8860         (fullRebreak): adjust
8861         (updateCounters): adjust
8862
8863         * text.C (top_y): rewrite to use RowList iterators.
8864         (top_y): adjust
8865         (setHeightOfRow): rewrite to sue RowList iterators.
8866         (appendParagraph): adjust
8867         (breakAgain): adjust
8868         (breakAgainOneRow): adjust
8869         (breakParagraph): adjust
8870         (getRow): adjust
8871         (getRowNearY): adjust, and remove commented code.
8872
8873         * lyxtext.h (firstRow): delete function
8874         (lastRow): delete function
8875         (rows): new function (const and non-const versions.)
8876         (insertRow): delete function
8877
8878         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8879
8880 2003-03-29  John Levon  <levon@movementarian.org>
8881
8882         * BufferView_pimpl.C: always update scrollbar top
8883         because pasting text when we're anchored could mean we
8884         miss an update altogether
8885
8886 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8887
8888         * text2.C (init): use rowlist_.end() and not 0.
8889         (insertRow): change to take a RowList::iterator as arg, adjust
8890         for this.
8891         (insertParagraph): change to take a RowList::iterator as arg,
8892         adjust for this.
8893         (redoParagraphs): remove some debug msgs.
8894
8895         * text.C (appendParagraph): change to take a RowList::iterator
8896         arg, adjust for this.
8897         (breakAgain): add an assert
8898         (breakAgainOneRow): ditto
8899
8900 2003-03-29  John Levon  <levon@movementarian.org>
8901
8902         * text2.C: do not clear selection after inc/decDepth
8903         (bug 550)
8904
8905 2003-03-29  John Levon  <levon@movementarian.org>
8906
8907         * BufferView.C:
8908         * buffer.C: fix broken strerrors according to Lars
8909
8910 2003-03-29  John Levon  <levon@movementarian.org>
8911
8912         * converters.C: more Alert cleanups
8913
8914 2003-03-29  John Levon  <levon@movementarian.org>
8915
8916         * bufferview_funcs.C: remove pointless Alert
8917
8918         * buffer.C: fix confusing error message when
8919         a template is chmoded 000
8920
8921 2003-03-29  John Levon  <levon@movementarian.org>
8922
8923         * BufferView.C:
8924         * BufferView.h:
8925         * BufferView_pimpl.C: Alert fixes
8926
8927         * Makefile.am:
8928         * tabular.C:
8929         * tabular-old.C: remove unused table compat reading
8930
8931 2003-03-29  John Levon  <levon@movementarian.org>
8932
8933         * BufferView.C:
8934         * buffer.C:
8935         * lyx_cb.h:
8936         * lyx_cb.C: more Alert cleanups
8937
8938         * lyxfunc.C: don't allow chktex if not latex document
8939
8940 2003-03-29  John Levon  <levon@movementarian.org>
8941
8942         * lyx_cb.C:
8943         * BufferView.C:
8944         * buffer.C: warnings pushed down from support/,
8945         kill err_alert
8946
8947 2003-03-29  John Levon  <levon@movementarian.org>
8948
8949         * lyxfunc.C: safety check for C-r (revert)
8950
8951 2003-03-29  John Levon  <levon@movementarian.org>
8952
8953         * bufferlist.h:
8954         * bufferlist.C: several UI fixes using Alert::prompt.
8955         Fix the pointless looping quit code. Fix stupid revert
8956         behaviour (bug 938)
8957
8958         * lyxvc.h:
8959         * lyxvc.C:
8960         * lyx_cb.C: use Alert::prompt
8961
8962         * lyx_main.C: remove a silly question
8963
8964         * lyxfunc.C: remove a couple of silly questions,
8965         use Alert::prompt
8966
8967 2003-03-28  John Levon  <levon@movementarian.org>
8968
8969         * text2.C: fix bug 974 (End on empty par)
8970
8971 2003-03-28  John Levon  <levon@movementarian.org>
8972
8973         * BufferView_pimpl.C:
8974         * LyXAction.C:
8975         * lfuns.h: remove do-nothing math greek lfuns
8976
8977 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8978
8979         * lyxgluelength.h (isValidGlueLength): add default arg on
8980         parameter 2. Remove default arg from friend in class.
8981
8982         * lyxlength.h (isValidLength): add default arg on parameter 2.
8983         Remove default arg from friend in class.
8984
8985         * text2.C (LyXText): adjust, initialize refresh_row.
8986         (init): adjust
8987         (removeRow): adjust
8988         (insertRow): adjust
8989         (insertParagraph): adjst
8990         (redoParagraphs): adjust
8991         (fullRebreak): adjust
8992         (updateCounters): adjust
8993         (deleteEmptyParagraphMechanism): first attempt at fixing a
8994         crashing bug.
8995
8996         * text.C (top_y): adjust
8997         (setHeightOfRow): adjust
8998         (getRow): adjust
8999         (getRowNearY): adjust
9000
9001         * lyxtext.h: include RowList.h
9002         (~LyXText): not needed anymore, deleted.
9003         (firstRow): modify for RowList
9004         (lastRow): new function
9005         Delete firstrow and lastrow class variables, add a Rowlist
9006         rowlist_ class variable.
9007
9008         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9009         paragraph is empty.
9010
9011         * RowList.C (insert): fix case where it == begin().
9012
9013 2003-03-26  Angus Leeming  <leeming@lyx.org>
9014
9015         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9016         the thesaurus dialog.
9017
9018 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9019
9020         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9021
9022         * RowList.[Ch]: new files
9023
9024         * ParagraphList.C (erase): handle the case where it == begin
9025         correctly.
9026
9027 2003-03-25  John Levon  <levon@movementarian.org>
9028
9029         * Makefile.am:
9030         * aspell_local.h:
9031         * aspell.C: add new aspell support
9032
9033         * lyxrc.h:
9034         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9035         have it accessible.
9036
9037 2003-03-25  Angus Leeming  <leeming@lyx.org>
9038
9039         * lfuns.h:
9040         * LyXAction.C (init): new LFUN_INSET_INSERT.
9041
9042         * BufferView_pimpl.C (dispatch): split out part of the
9043         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9044
9045         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9046         LFUN_INSET_APPLY.
9047
9048 2003-03-25  Angus Leeming  <leeming@lyx.org>
9049
9050         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9051
9052 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9053
9054         * text2.C:
9055         * text3.C: remove useless row->height(0)
9056
9057 2003-03-25  John Levon  <levon@movementarian.org>
9058
9059         * lyxtext.h:
9060         * text2.C:
9061         * text3.C: rename the refreshing stuff to better names
9062
9063 2003-03-24  John Levon  <levon@movementarian.org>
9064
9065         * BufferView_pimpl.h:
9066         * BufferView_pimpl.C: update layout choice on a mouse
9067         press/release
9068
9069 2003-03-23  John Levon  <levon@movementarian.org>
9070
9071         * Makefile.am: fix commandtags.h reference
9072
9073 2003-03-22  John Levon  <levon@movementarian.org>
9074
9075         * BufferView_pimpl.C:
9076         * lyxtext.h:
9077         * rowpainter.C:
9078         * rowpainter.h:
9079         * text.C:
9080         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9081
9082 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9083
9084         * lyxtext.h:
9085         * text.C: take the rtl methods out of line
9086
9087 2003-03-21 André Pönitz <poenitz@gmx.net>
9088
9089         * metricsinfo.[Ch]: new files containing structures to be passed around
9090         during the two-phase-drawing...
9091
9092 2003-03-21 André Pönitz <poenitz@gmx.net>
9093
9094         * lyxtextclass.C: read 'environment' tag.
9095
9096 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9097
9098         * text2.C (removeRow): fix bug 964
9099
9100 2003-03-20  John Levon  <levon@movementarian.org>
9101
9102         * rowpainter.C:
9103         * text.C:
9104         * text2.C: paint cleanups. Inset::update() dropped font
9105         parameter
9106
9107 2003-03-19  John Levon  <levon@movementarian.org>
9108
9109         * lyxfunc.C: only fitcursor/markDirty if available()
9110
9111 2003-03-19  John Levon  <levon@movementarian.org>
9112
9113         * commandtags.h: rename to ...
9114
9115         * lfuns.h: ... this, and renumber / cleanup
9116
9117 2003-03-19  John Levon  <levon@movementarian.org>
9118
9119         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9120         fit the cursor after an lfun
9121
9122         * BufferView.h:
9123         * BufferView.C:
9124         * BufferView_pimpl.h:
9125         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9126
9127         * LyXAction.C: layout-character should have ReadOnly
9128
9129         * ParagraphParameters.C:
9130         * buffer.C:
9131         * bufferview_funcs.C:
9132         * lyx_cb.C:
9133         * lyxfind.C:
9134         * lyxtext.h:
9135         * text.C:
9136         * text2.C:
9137         * text3.C:
9138         * undo_funcs.C: changes from above
9139
9140 2003-03-18  John Levon  <levon@movementarian.org>
9141
9142         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9143         remove it from update()
9144
9145         * lyxfunc.C: update layout choice after an lfun
9146
9147         * text3.C: remove extra updateLayoutChoice()s
9148
9149 2003-03-18  John Levon  <levon@movementarian.org>
9150
9151         * text.C: top_y change means full repaint, fix
9152         a drawing bug with cursor movement
9153
9154 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9155
9156         * lyxtext.h:
9157         * text.C:
9158         * text2.C: anchor row on setCursor
9159
9160 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9161
9162         * lyxtext.h: remove almost all mutable keywords
9163         * text.C:
9164         * text2.C:
9165         * text3.C: remove const keywords accordingly
9166
9167 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9168
9169         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9170         anon namespace
9171         (TeXEnvironment): ditto
9172         (TeXOnePar): ditto
9173
9174 2003-03-17  John Levon  <levon@movementarian.org>
9175
9176         * text.C (rowBreakPoint): remove attempt to fix displayed
9177         math insets inside a manual label
9178
9179 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9180
9181         * lyxtext.h: remove BufferView* as first arg from almost all class
9182         functions.
9183         * other files: adjust.
9184
9185 2003-03-17  John Levon  <levon@movementarian.org>
9186
9187         * lyxtext.h:
9188         * undo_funcs.C:
9189         * text2.C: more paint cleanups
9190
9191         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9192
9193         * rowpainter.h:
9194         * rowpainter.C: remove "smart" background painting code
9195
9196 2003-03-16  John Levon  <levon@movementarian.org>
9197
9198         * lyxtext.h:
9199         * text.C:
9200         * text2.C:
9201         * text3.C: add helper functions for setting refresh_row/y
9202
9203 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9204
9205         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9206         newline inset which *can* get inserted in the pass_thru layouts.
9207         This is primarily for literate documents.
9208
9209 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9210
9211         * buffer.C: increment LYX_FORMAT to 223
9212
9213 2003-03-14 André Pönitz <poenitz@gmx.net>
9214
9215         * textclass.h: prepare for environment handling, ws changes
9216         * lyxlayout.C: read latexheader and latexfooter tags
9217
9218 2003-03-14  John Levon  <levon@movementarian.org>
9219
9220         * text2.C: rewrite ::status() a bit
9221
9222 2003-03-13  John Levon  <levon@movementarian.org>
9223
9224         * lyxtext.h: add some docs
9225
9226 2003-03-13  John Levon  <levon@movementarian.org>
9227
9228         * lyxtext.h:
9229         * text.C:
9230         * text2.C:
9231         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9232
9233 2003-03-13  John Levon  <levon@movementarian.org>
9234
9235         * text3.C: fix appendix redrawing
9236
9237 2003-03-13  John Levon  <levon@movementarian.org>
9238
9239         * text.C (setHeightOfRow):
9240         * rowpainter.h:
9241         * rowpainter.C: make appendix mark have the text
9242           "Appendix" so the user knows what it is
9243
9244         * LColor.h:
9245         * LColor.C: s/appendixline/appendix/ from above
9246
9247 2003-03-13  John Levon  <levon@movementarian.org>
9248
9249         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9250
9251         * text.C: fix a getChar(pos) bug properly
9252
9253 2003-03-13  Angus Leeming  <leeming@lyx.org>
9254
9255         * commandtags.h:
9256         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9257         Probably only temporary. Let's see how things pan out.
9258
9259         * BufferView.C (unlockInset):
9260         * BufferView_pimpl.C (fitCursor):
9261         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9262
9263         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9264         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9265
9266         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9267         new functions that convert ParagraphParameters to and from a string.
9268
9269         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9270         BufferView::Pimpl's dispatch.
9271         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9272
9273 2003-03-13 André Pönitz <poenitz@gmx.net>
9274
9275         * lyxfunc.C:
9276         * text3.C:
9277         * factory.C: make it aware of InsetEnv
9278
9279 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9280
9281         * text2.C (setCursor): never ask for one past last
9282         (setCursor): add some debugging messages.
9283
9284         * text.C (singleWidth): never ask for one past last
9285         (singleWidth): ditto
9286         (leftMargin): ditto
9287         (rightMargin): ditto
9288         (rowBreakPoint): ditto
9289         (setHeightOfRow): ditto
9290         (prepareToPrint): ditto
9291
9292         * rowpainter.C (paintBackground): never ask for one past last
9293         (paintText): never ask for one past last
9294
9295         * paragraph_pimpl.C (getChar): make the assert stricter, never
9296         allow the one past last pos to be taken
9297
9298         * paragraph.C (getChar): ws changes only
9299
9300         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9301         (numberOfSeparators): ditto
9302         (numberOfHfills): ditto
9303
9304 2003-03-12  John Levon  <levon@movementarian.org>
9305
9306         * author.h:
9307         * author.C:
9308         * bufferparams.h:
9309         * bufferparams.C:
9310         * paragraph_funcs.C: fix per-buffer authorlists
9311
9312 2003-03-12  John Levon  <levon@movementarian.org>
9313
9314         * text.C: fix newline in right address
9315
9316 2003-03-12  Angus Leeming  <leeming@lyx.org>
9317
9318         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9319         duplicate those in LyXFunc::dispatch.
9320
9321         * commandtags.h:
9322         * LyXAction.C:
9323         * ToolbarDefaults.C:
9324         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9325         Add LFUN_FONTFREE_UPDATE.
9326
9327         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9328         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9329
9330         * bufferview_func.[Ch]: several new functions to facilliate
9331         transfer of data to and from the character dialog.
9332
9333 2003-03-12  John Levon  <levon@movementarian.org>
9334
9335         * buffer.C:
9336         * paragraph.h:
9337         * paragraph.C:
9338         * paragraph_funcs.C:
9339         * paragraph_pimpl.C:
9340         * sgml.C:
9341         * tabular.C:
9342         * text.C:
9343         * text3.C: remove META_NEWLINE in favour of an inset
9344
9345         * rowpainter.h:
9346         * rowpainter.C: remove paintNewline (done by inset)
9347
9348 2003-03-12  John Levon  <levon@movementarian.org>
9349
9350         * paragraph_pimpl.C: complain about bad getChar()s
9351         for a while at least
9352
9353 2003-03-12  John Levon  <levon@movementarian.org>
9354
9355         * buffer.h:
9356         * buffer.C: move paragraph read into a separate function,
9357         a little renaming to reflect that.
9358
9359         * bufferparams.h:
9360         * bufferparams.C: remove the author_ids map, not necessary now
9361
9362         * factory.h:
9363         * factory.C: moved Buffer::readInset to here
9364
9365         * paragraph_funcs.h:
9366         * paragraph_funcs.C: readParagraph free function moved from
9367         buffer.C
9368
9369         * tabular.C: name change
9370
9371 2003-03-12  John Levon  <levon@movementarian.org>
9372
9373         * buffer.C:
9374         * ParagraphParameters.C: move par params input to
9375         a read() method
9376
9377         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9378         behave like a normal read from the stream wrt reading
9379         a line vs. a \\token
9380
9381 2003-03-12  John Levon  <levon@movementarian.org>
9382
9383         * paragraph.C:
9384         * ParagraphParameters.h:
9385         * ParagraphParameters.C: move output code to a
9386         ::write() method
9387
9388 2003-03-12  John Levon  <levon@movementarian.org>
9389
9390         * BufferView.C (insertLyXFile):
9391         * buffer.h:
9392         * buffer.C:
9393         * tabular.C: use a parlist iterator for creating the
9394           document.
9395
9396 2003-03-12  John Levon  <levon@movementarian.org>
9397
9398         * buffer.C: make current_change static local not
9399           static file-scope
9400
9401 2003-03-12  John Levon  <levon@movementarian.org>
9402
9403         * buffer.C: fix insertStringAsLines for change tracking
9404
9405 2003-03-12  John Levon  <levon@movementarian.org>
9406
9407         * BufferView.C:
9408         * tabular.C:
9409         * buffer.h:
9410         * buffer.C:
9411         * bufferparams.h:
9412         * bufferparams.C: move author list into params. Rename some
9413           functions. Move the header reading into a separate token
9414           loop. Move the header token reading into BufferParams.
9415
9416 2003-03-12  John Levon  <levon@movementarian.org>
9417
9418         * changes.C: put debug inside lyxerr.debugging() checks
9419
9420 2003-03-11 André Pönitz <poenitz@gmx.net>
9421
9422         * factory.C: make it aware of InsetHFill
9423
9424 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9425
9426         * buffer.C (latexParagraphs): move function from here...
9427         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9428         args.
9429
9430 2003-03-10  Angus Leeming  <leeming@lyx.org>
9431
9432         * LyXAction.C (init): fix bug in poplating array with multiple entries
9433         with the same LFUN (spotted by JMarc).
9434
9435 2003-03-10  John Levon  <levon@movementarian.org>
9436
9437         * text.C:
9438         * text2.C: move getColumnNearX() near its
9439         only call site
9440
9441 2003-03-10  John Levon  <levon@movementarian.org>
9442
9443         * text.C: fix break before a minipage
9444
9445 2003-03-10  John Levon  <levon@movementarian.org>
9446
9447         * text.C: fix the last commit
9448
9449 2003-03-09  John Levon  <levon@movementarian.org>
9450
9451         * lyxtext.h:
9452         * text.C:
9453         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9454         bug 365 (don't break before insets unless needed). Don't
9455         return a value > last under any circumstances.
9456
9457 2003-03-09  Angus Leeming  <leeming@lyx.org>
9458
9459         * BufferView_pimpl.C (trackChanges, dispatch): call
9460         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9461
9462 2003-03-09  Angus Leeming  <leeming@lyx.org>
9463
9464         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9465         than Dialogs::showAboutlyx().
9466
9467 2003-03-09  Angus Leeming  <leeming@lyx.org>
9468
9469         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9470         than Dialogs::showTabularCreate().
9471
9472 2003-03-09  John Levon  <levon@movementarian.org>
9473
9474         * lyxtext.h:
9475         * text.C:
9476         * text2.C: 3rd arg to nextBreakPoint was always the same.
9477           Use references.
9478
9479 2003-03-08  John Levon  <levon@movementarian.org>
9480
9481         * lyxrow.C:
9482         * paragraph.C:
9483         * paragraph.h:
9484         * rowpainter.C:
9485         * text.C:
9486         * text2.C: Remove the "main" bit from the "main body"
9487           notion.
9488
9489 2003-03-08  John Levon  <levon@movementarian.org>
9490
9491         * text.C (leftMargin): The left margin of an empty
9492         manual label paragraph should not include the label width
9493         string length.
9494
9495         * text.C (prepareToPrint): don't attempt to measure hfills
9496         for empty manual label paragraphs - the answer should be 0
9497
9498 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9499
9500         * CutAndPaste.C: remove commented code and reindent.
9501
9502 2003-03-08  John Levon  <levon@movementarian.org>
9503
9504         * lyxfunc.h:
9505         * lyxfunc.C: move reloadBuffer()
9506
9507         * BufferView.h:
9508         * BufferView.C: to here
9509
9510         * lyxvc.C: add comment
9511
9512         * vc-backend.h:
9513         * vc-backend.C: call bv->reload() to avoid
9514           getStatus() check on MENURELOAD
9515
9516 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9517
9518         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9519         to an old format .dep file.
9520
9521 2003-03-07  Angus Leeming  <leeming@lyx.org>
9522
9523         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9524         when the LFUN_MOUSE_RELEASE should have been handled by
9525         inset->localDispatch.
9526
9527 2003-03-07  Angus Leeming  <leeming@lyx.org>
9528
9529         * BufferView_pimpl.C (dispatch):
9530         * LyXAction.C (init):
9531         * ToolbarDefaults.C (init):
9532         * commandtags.h:
9533         * lyxfunc.C (getStatus):
9534         remove LFUN_INSET_GRAPHICS.
9535
9536         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9537
9538 2003-03-07  Angus Leeming  <leeming@lyx.org>
9539
9540         * commandtags.h:
9541         * LyXAction.C (init):
9542         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9543
9544         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9545
9546         * commandtags.h:
9547         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9548
9549         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9550         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9551
9552 2003-03-07  Angus Leeming  <leeming@lyx.org>
9553
9554         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9555         remove "ert".
9556
9557 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9558
9559         * ParagraphList.C (front): new function
9560         (back): implement
9561
9562 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9563
9564         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9565         and top_row_offset_. removed var first_y.
9566         * text.C (top_y):
9567         * text2.C (LyXText, removeRow):
9568         * text3.C:
9569         * BufferView_pimpl.C:
9570         use these methods instead of using first_y
9571
9572 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9573
9574         * text2.C (pasteSelection): adjust for checkPastePossible
9575
9576         * CutAndPaste.C: remove Paragraph * buf and replace with
9577         ParagraphList paragraphs.
9578         (DeleteBuffer): delete
9579         (cutSelection): change the tc type to textclass_type
9580         (copySelection): change the tc type to textclass_type
9581         (copySelection): adjust for ParagraphList
9582         (pasteSelection): change the tc type to textclass_type
9583         (pasteSelection): adjust for Paragraphlist
9584         (nrOfParagraphs): simplify for ParagraphList
9585         (checkPastePossible): simplify for ParagraphList
9586         (checkPastePossible): remove unused arg
9587
9588         * ParagraphList.C (insert): handle the case where there are no
9589         paragraphs yet.
9590
9591         * CutAndPaste.h: make CutAndPaste a namespace.
9592
9593         * text3.C (dispatch): adjust
9594
9595         * text.C (breakParagraph): add a ParagraphList as arg
9596
9597         * paragraph_funcs.C (breakParagraph): change to take a
9598         BufferParams and a ParagraphList as args.
9599         (breakParagraphConservative): ditto
9600         (mergeParagraph): ditto
9601         (TeXDeeper): add a ParagraphList arg
9602         (TeXEnvironment): ditto
9603         (TeXOnePar): ditto
9604
9605         * buffer.C (readLyXformat2): adjust
9606         (insertStringAsLines): adjust
9607         (latexParagraphs): adjust
9608
9609         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9610         (cutSelection): adjust
9611         (pasteSelection): adjust
9612
9613         * BufferView_pimpl.C (insertInset): adjust
9614
9615 2003-03-05  Angus Leeming  <leeming@lyx.org>
9616
9617         * commandtags.h:
9618         * LyXAction.C (init):
9619         * BufferView_pimpl.C (dispatch):
9620         * lyxfunc.C (getStatus):
9621         remove LFUN_CHILD_INSERT.
9622
9623         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9624
9625 2003-03-05  Angus Leeming  <leeming@lyx.org>
9626
9627         * commandtags.h:
9628         * LyXAction.C (init):
9629         * src/factory.C (createInset):
9630         * lyxfunc.C (getStatus):
9631         * text3.C (dispatch):
9632         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9633
9634         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9635
9636 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9637
9638         * ParagraphList.C (insert): handle insert right before end()
9639         (erase): fix cases where it can be first or last paragraph.
9640
9641 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9642
9643         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9644         Paragraph::next and Paragraph::previous
9645         (TeXOnePar): ditto
9646
9647         * text.C (breakParagraph): adjust
9648
9649         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9650         BufferParams& as arg.
9651         (breakParagraph): use ParagraphList::insert
9652         (breakParagraphConservative): take a Buffer* instead of a
9653         BufferParams& as arg.
9654         (breakParagraphConservative): use ParagraphList::insert.
9655
9656         * buffer.C (insertStringAsLines): un-const it
9657         (insertStringAsLines): adjust
9658
9659         * ParagraphList.C (insert): new function
9660
9661         * CutAndPaste.C (pasteSelection): adjust
9662
9663         * text.C (backspace): adjust
9664
9665         * tabular.C (SetMultiColumn): adjust
9666
9667         * CutAndPaste.C (cutSelection): adjust
9668         (pasteSelection): adjust
9669
9670         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9671         Buffer const * as arg
9672
9673         * ParagraphList.C (erase): new function
9674         * paragraph_funcs.C (mergeParagraph): use it
9675         (mergeParagraph): make it take a Buffer* instead of a
9676         BufferParams* as arg
9677
9678         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9679         as arg
9680         (breakParagraphConservative): ditto
9681
9682         * paragraph.h: remove the breakParagraph friend
9683
9684         * paragraph.C (eraseIntern): new function
9685         (setChange): new function
9686
9687         * paragraph_funcs.C (mergeParagraph): make it take a
9688         ParagraphList::iterator instead of a Paragraph *, adjust
9689         accordingly.
9690
9691         * paragraph.h: move an #endif so that the change tracking stuff
9692         also works in the NO_NEXT case.
9693
9694 2003-03-04  Angus Leeming  <leeming@lyx.org>
9695
9696         * commandtags.h:
9697         * LyXAction.C: new LFUN_INSET_MODIFY.
9698
9699         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9700         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9701
9702 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9703
9704         * several files: ws changes only
9705
9706         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9707         (TeXEnvironment): ditto
9708         (TeXDeeper): ditto
9709
9710         * buffer.C (makeLaTeXFile): adjust
9711         (latexParagraphs): make it take ParagraphList::iterator as args
9712
9713 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9714
9715         * buffer.C (latexParagraphs): adjust
9716
9717         * paragraph.C (TeXOnePar): move function...
9718         (optArgInset): move function...
9719         (TeXEnvironment): move function...
9720         * paragraph_pimpl.C (TeXDeeper): move function...
9721         * paragraph_funcs.C: ...here
9722
9723         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9724
9725 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9726
9727         * buffer.C (readInset): remove compability code for old Figure and
9728         InsetInfo insets
9729
9730 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9731
9732         * buffer.C: ws changes
9733         (readInset):
9734
9735         * BufferView_pimpl.C: ditto
9736         * author.C: ditto
9737         * buffer.h: ditto
9738         * bufferlist.h: ditto
9739         * changes.h: ditto
9740         * lyxfunc.C: ditto
9741
9742 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9743
9744         * converter.[Ch]: split into itself +
9745         * graph.[Ch]
9746         * format.[Ch]
9747         * Makefile.am: += graph.[Ch] + format.[Ch]
9748         * MenuBackend.C
9749         * buffer.C
9750         * exporter.C
9751         * importer.C
9752         * lyx_main.C
9753         * lyxfunc.C
9754         * lyxrc.C: added #include "format.h"
9755
9756 2003-02-27  Angus Leeming  <leeming@lyx.org>
9757
9758         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9759           a label.
9760
9761         * factory.C (createInset): add "label" to the factory.
9762
9763         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9764           string and do no more.
9765
9766 2003-02-27  Angus Leeming  <leeming@lyx.org>
9767
9768         * commandtags.h:
9769         * LyXAction.C (init):
9770         * factory.C (createInset):
9771         * BufferView_pimpl.C (dispatch):
9772           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9773
9774         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9775
9776         * lyxfunc.C (dispatch):
9777         * text3.C (dispatch): pass name to params2string.
9778
9779 2003-02-26  Angus Leeming  <leeming@lyx.org>
9780
9781         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9782           blocks together.
9783           Rearrange the ~includes. Strip out the unnecessary ones.
9784
9785         * factory.C (createInset): reformat.
9786           create new insets for the various LFUN_XYZ_APPLY lfuns.
9787
9788 2003-02-26  John Levon  <levon@movementarian.org>
9789
9790         * lyxrow.h:
9791         * lyxrow.C: add isParStart,isParEnd helpers
9792
9793         * paragraph.h: make isInserted/DeletedText take refs
9794
9795         * paragraph_funcs.h:
9796         * paragraph_funcs.C: remove #if 0'd code
9797
9798         * lyxtext.h:
9799         * text3.C:
9800         * text2.C:
9801         * text.C: use lyxrow helpers above.
9802           Move draw and paint routines to RowPainter.
9803           Make several methods use refs not pointers.
9804           Make backgroundColor() const.
9805           Add markChangeInDraw(), isInInset().
9806           Merge changeRegionCase into changeCase.
9807           Make workWidth() shouldn't-happen code into an Assert.
9808
9809         * rowpainter.h:
9810         * rowpainter.C: new class for painting a row.
9811
9812         * vspace.h:
9813         * vspace.C: make inPixels take a ref
9814
9815 2003-02-26  Angus Leeming  <leeming@lyx.org>
9816
9817         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9818         LFUN_REF_APPLY.
9819
9820 2003-02-25  John Levon  <levon@movementarian.org>
9821
9822         * ispell.C: give the forked command a more accurate name
9823
9824 2003-02-22  John Levon  <levon@movementarian.org>
9825
9826         * toc.h:
9827         * toc.C: make TocItem store an id not a Paragraph *
9828           (bug #913)
9829
9830 2003-02-21  Angus Leeming  <leeming@lyx.org>
9831
9832         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9833           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9834           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9835           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9836           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9837           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9838
9839         * BufferView_pimpl.C (dispatch):
9840         * LyXAction.C (init):
9841         * factory.C (createInset):
9842         * lyxfunc.C (getStatus, dispatch):
9843         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9844
9845 2003-02-21  Angus Leeming  <leeming@lyx.org>
9846
9847         * BufferView_pimpl.C (MenuInsertLyXFile):
9848         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9849         * lyxfunc.C (menuNew, open, doImport):
9850           no longer pass a LyXView & to fileDlg.
9851
9852 2003-02-21  Angus Leeming  <leeming@lyx.org>
9853
9854         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9855         * LyXAction.C: change, BIBKEY to BIBITEM.
9856         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9857         Change InsetBibKey to InsetBibitem.
9858         Change BIBKEY_CODE to BIBITEM_CODE.
9859         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9860         * factory.C: replace insetbib.h with insetbibitem.h.
9861         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9862         * paragraph.C: replace insetbib.h with insetbibitem.h.
9863         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9864         Change bibkey() to bibitem().
9865         * text.C: remove insetbib.h.
9866         * text2.C: replace insetbib.h with insetbibitem.h.
9867         change bibkey() to bibitem().
9868         * text3.C: remove insetbib.h.
9869         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9870
9871 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9872
9873         * lyxrc.C (output): enclose user email in quotes (in case there are
9874         several words)
9875
9876 2003-02-18  John Levon  <levon@movementarian.org>
9877
9878         * buffer.h: add std::
9879
9880 2003-02-17  John Levon  <levon@movementarian.org>
9881
9882         * SpellBase.h:
9883         * ispell.h:
9884         * ispell.C:
9885         * pspell.h:
9886         * pspell.C: reworking. Especially in ispell, a large
9887           number of clean ups and bug fixes.
9888
9889         * lyxfunc.C: fix revert to behave sensibly
9890
9891 2003-02-17 André Pönitz <poenitz@gmx.net>
9892
9893         * LyXAction.C:
9894         * commandtags.h: new LFUN_INSERT_BIBKEY
9895
9896         * layout.h:
9897         * lyxlayout.C:
9898         * buffer.C:
9899         * factory.C:
9900         * text.C:
9901         * text2.C:
9902         * text3.C:
9903         * paragraph.[Ch]:
9904         * paragraph_func.C: remove special bibkey handling
9905
9906 2003-02-17  John Levon  <levon@movementarian.org>
9907
9908         * text.C (Delete): fix case where delete at the end of
9909           the very first paragraph would not merge the pars
9910
9911 2003-02-17  John Levon  <levon@movementarian.org>
9912
9913         * lyxrow.C: fix lastPrintablePos()
9914
9915 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9916
9917         * bufferparams.C (writeLaTeX): add a std:here
9918
9919         * buffer.C: and remove a using directive there
9920
9921 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9922
9923         * buffer.C (makeLaTeXFile): move the code that generates the
9924           preamble...
9925
9926         * bufferparams.C (writeLaTeX): ... in this new method
9927
9928         * LaTeXFeatures.C (getEncodingSet): make const
9929           (getLanguages): make const
9930
9931         * MenuBackend.C (binding): returns the binding associated to this
9932           action
9933           (add): sets the status of each item by calling getStatus. Adds
9934           some intelligence.
9935           (read): add support for OptSubMenu
9936           (expand): remove extra separator at the end of expanded menu
9937
9938 2003-02-15  John Levon  <levon@movementarian.org>
9939
9940         * BufferView.C:
9941         * BufferView_pimpl.C:
9942         * bufferlist.h:
9943         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9944           inset code that had no actual effect. Remove unneeded status
9945           code.
9946
9947 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9948
9949         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9950           in preamble
9951
9952 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9953
9954         * text.C (drawLengthMarker): also draw an arrow marker for
9955           symbolic lengths (medskip...)
9956
9957 2003-02-14  John Levon  <levon@movementarian.org>
9958
9959         * tabular.h:
9960         * tabular.C: better method names
9961
9962 2003-02-14  John Levon  <levon@movementarian.org>
9963
9964         * BufferView_pimpl.C:
9965         * bufferlist.C:
9966         * buffer.C:
9967         * converter.C:
9968         * lyx_cb.C:
9969         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9970           it's a more accurate name. Remove some pointless uses.
9971
9972 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9973
9974         * text2.C (LyXText): change order of initilizers to shut off
9975           warnings
9976
9977 2003-02-14  John Levon  <levon@movementarian.org>
9978
9979         * buffer.C: use ParIterator for getParFromID()
9980
9981         * paragraph.h:
9982         * paragraph.C:
9983         * paragraph_pimpl.h:
9984         * paragraph_pimpl.C: remove unused getParFromID()
9985
9986 2003-02-14  John Levon  <levon@movementarian.org>
9987
9988         * buffer.C: remove some very old #if 0'd parse code
9989
9990 2003-02-13  John Levon  <levon@movementarian.org>
9991
9992         * text.h:
9993         * text.C:
9994         * text2.C: move hfillExpansion(), numberOfSeparators(),
9995           rowLast(), rowLastPrintable(), numberofHfills(),
9996           numberOfLabelHfills() ...
9997
9998         * lyxrow.h:
9999         * lyxrow.C: ... to member functions here.
10000
10001         * paragraph.h:
10002         * paragraph.C:
10003         * lyxtext.h:
10004         * text.C: remove LyXText::beginningOfMainBody(), and call
10005           p->beginningOfMainBody() directly. Move the check for
10006           LABEL_MANUAL into the latter.
10007
10008         * text.h:
10009         * text.C:
10010         * text2.C:
10011         * vspace.C:
10012         * BufferView.h:
10013         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10014
10015         * text.h:
10016         * text.C:
10017         * text2.C:
10018         * text3.C:
10019         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10020           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10021
10022 2003-02-13  John Levon  <levon@movementarian.org>
10023
10024         * CutAndPaste.C: remove debug
10025
10026 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10027
10028         * paragraph.C (asString): remove two unused variables
10029
10030         * lyxtextclass.C (readTitleType):
10031           (Read):
10032           (LyXTextClass): handle new members titletype_ and titlename_
10033
10034         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10035
10036 2003-02-09  John Levon  <levon@movementarian.org>
10037
10038         * buffer.h:
10039         * buffer.C: replace hand-coded list with a map for the dep clean
10040
10041 2003-02-08  John Levon  <levon@movementarian.org>
10042
10043         * LaTeX.C: consolidate code into showRunMessage() helper
10044
10045 2003-02-08  John Levon  <levon@movementarian.org>
10046
10047         * lyxfind.C:
10048         * lyxtext.h:
10049         * text2.C:
10050         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10051           and pass the size in explicitly
10052
10053         * BufferView_pimpl.h:
10054         * BufferView_pimpl.C:
10055         * BufferView.h:
10056         * BufferView.C: add getCurrentChange()
10057
10058         * BufferView_pimpl.h:
10059         * BufferView_pimpl.C: handle change lfuns
10060
10061         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10062           for changes. Mark pasted paragraphs as new.
10063
10064         * support/lyxtime.h:
10065         * support/lyxtime.C:
10066         * DepTable.C: abstract time_t as lyx::time_type
10067
10068         * LColor.h:
10069         * LColor.C: add colours for new text, deleted text, changebars
10070
10071         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10072           package use "usenames" option.
10073
10074         * commandtags.h:
10075         * lyxfunc.C:
10076         * LyXAction.C: add change lfuns
10077
10078         * Makefile.am:
10079         * author.h:
10080         * author.C: author handling
10081
10082         * buffer.h:
10083         * buffer.C: add a per-buffer author list, with first entry as
10084           current author. Handle new .lyx tokens for change tracking. Output
10085           author list to .lyx file. Output dvipost stuff to .tex preamble.
10086           Bump lyx format to 222.
10087
10088         * bufferlist.h:
10089         * bufferlist.C: add setCurrentAuthor() to reset current author details
10090           in all buffers.
10091
10092         * bufferparams.h:
10093         * bufferparams.C: add param for tracking
10094
10095         * bufferview_funcs.C: output change info in minibuffer
10096
10097         * Makefile.am:
10098         * changes.h:
10099         * changes.C: add change-tracking structure
10100
10101         * debug.h:
10102         * debug.C: add CHANGES debug flag
10103
10104         * lyxfind.h:
10105         * lyxfind.C: add code for finding the next change piece
10106
10107         * lyxrc.h:
10108         * lyxrc.C: add user_name and user_email
10109
10110         * lyxrow.h:
10111         * lyxrow.C: add a metric for the top of the text line
10112
10113         * lyxtext.h:
10114         * text.C: implement accept/rejectChange()
10115
10116         * lyxtext.h:
10117         * text.C: paint changebars. Paint new/deleted text in the chosen
10118         colours. Strike through deleted text.
10119
10120         * paragraph.h:
10121         * paragraph.C:
10122         * paragraph_pimpl.h:
10123         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10124           in the current change to the insert functions. Rework erase to
10125           mark text as deleted, adding an eraseIntern() and a range-based
10126           erase(). Implement per-paragraph change lookup and
10127           accept/reject.
10128
10129         * paragraph_funcs.C: Fixup paste for change tracking.
10130
10131         * tabular.C: mark added row/columns as new.
10132
10133         * text.C: fix rowLast() to never return -1. Don't allow
10134           spellchecking of deleted text. Track transpose changes. Don't
10135           allow paragraph break or merge where appropriate.
10136
10137         * text2.C: leave cursor at end of selection after a cut.
10138
10139 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10140
10141         * text.C (getLengthMarkerHeight):
10142         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10143         visible on screen too.
10144
10145 2003-02-07  John Levon  <levon@movementarian.org>
10146
10147         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10148
10149 2003-02-05  Angus Leeming  <leeming@lyx.org>
10150
10151         * lyxserver.C (read_ready): revert my patch of 11 September last year
10152         as it sends PC cpu through the roof. Presumably this means that
10153         the lyxserver will no longer run on an Alpha...
10154
10155 2003-01-30  Angus Leeming  <leeming@lyx.org>
10156
10157         * factory.C (createInset): create an InsetCommandParam of type "index"
10158         and use it to 'do the right thing'.
10159
10160         * text2.C (getStringToIndex): ensure that cursor position is always
10161         reset to the reset_cursor position.
10162
10163 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10164
10165         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10166         disabled.
10167
10168 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10169
10170         * bufferview.C:
10171         * lyxcb.C:
10172         * lyxfunc.C: Output messages with identical spelling, punctuation,
10173         and spaces
10174
10175 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10176
10177         * MenuBackend.C (expandFormats): List only viewable export formats
10178         in "View" menu
10179
10180         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10181         message
10182
10183         * lyxfunc.C (getStatus): Make sure that formats other than
10184         "fax" can also be disabled
10185
10186 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10187
10188         * text3.C (dispatch): put the lfuns that insert insets in 3
10189         groups, and call doInsertInset with appropriate arguments.
10190         (doInsertInset): new function, that creates an inset and inserts
10191         it according to some boolean parameters.
10192
10193 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10194
10195         * buffer.C (readFile): remember to pass on 'par' when calling
10196         readFile recursively.
10197
10198 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10199
10200         * MenuBackend.C (expandFormats): add "..." to import formats.
10201
10202 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10203
10204         * paragraph.C (asString): Remove XForms RTL hacks.
10205
10206 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10207         * buffer.C: fix typo
10208
10209 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10210
10211         * Makefile.am (LIBS): delete var
10212         (lyx_LDADD): add @LIBS@ here instead.
10213
10214 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10215
10216         * Clarify the meaning of "wheel mouse jump"
10217
10218 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10219
10220         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10221         tabular in a float
10222
10223 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10224
10225         * importer.C (Loaders): do not preallocate 3 elements in the
10226         vector, since one ends up with 6 elements otherwise
10227
10228 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10229
10230         * DepTable.C (write): write the file name as last element of the
10231         .dep file (because it may contain spaces)
10232         (read): read info in the right order
10233
10234 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10235
10236         * paragraph_pimpl.C (simpleTeXBlanks):
10237         (simpleTeXSpecialChars):
10238         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10239
10240         * tabular.C (latex): add some missing case statements. Reindent.
10241
10242         * MenuBackend.C (expandToc): remove unused variable.
10243
10244 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10245
10246         * LColor.C:
10247         * LaTeX.C:
10248         * LyXAction.C:
10249         * MenuBackend.C:
10250         * buffer.C:
10251         * exporter.C:
10252         * lyxfunc.C:
10253         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10254         and the like.
10255
10256 2003-01-05  John Levon  <levon@movementarian.org>
10257
10258         * BufferView.h:
10259         * BufferView.C: add getEncoding()
10260
10261         * kbsequence.h:
10262         * kbsequence.C: do not store last keypress
10263
10264         * lyxfunc.h:
10265         * lyxfunc.C: store last keypress here instead. Pass encoding
10266           to getISOEncoded()
10267
10268 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10269
10270         * lyx_main.C (init): remove annoying error message when following
10271         symbolic links (bug #780)
10272
10273 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10274
10275         * text.C (insertChar):
10276         * lyxrc.C (getDescription): remove extra spaces
10277
10278 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10279
10280         * lyxrc.C (getDescription): remove extra spaces
10281
10282 2002-12-20  John Levon  <levon@movementarian.org>
10283
10284         * text3.C: hack fix for page up/down across tall rows
10285
10286 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10287
10288         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10289         not been invoked
10290
10291 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10292
10293         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10294         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10295         thesaurus is not compiled in
10296
10297 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10298
10299         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10300
10301 2002-12-16  Angus Leeming  <leeming@lyx.org>
10302
10303         * lyxrc.[Ch]:
10304         * lyx_main.C (init): remove override_x_deadkeys stuff.
10305
10306 2002-12-12  John Levon  <levon@movementarian.org>
10307
10308         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10309           insert. Only remove shift modifier under strict
10310           circumstances.
10311
10312 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10313
10314         * MenuBackend.C (expandToc): fix crash.
10315
10316 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10317
10318         * MenuBackend.C (expandToc): gettext on float names.
10319
10320 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10321
10322         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10323         implement bool empty() [bug 490]
10324
10325 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10326
10327         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10328
10329 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10330
10331         * several files: ws changes
10332
10333 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10334
10335         * text2.C (setCounter): clean up a bit, use boost.format.
10336         (updateCounters): initialize par upon declaration.
10337
10338         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10339         if the layout exists. We do not just store the layout any more.
10340         (SwitchLayoutsBetweenClasses): use boost.format
10341
10342 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10343
10344         * converter.C (convert): if from and to files are the same, use a
10345         temporary files as intermediary
10346
10347 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10348
10349         * commandtags.h:
10350         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10351
10352 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10353
10354         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10355
10356 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10357
10358         * tabular.C (asciiPrintCell): use string(size, char) instead of
10359         explicit loop.
10360
10361         * sgml.C (openTag): fix order of arguments to string constructor
10362         (closeTag): ditto
10363
10364         * lyxfunc.C (dispatch): use boost.format
10365
10366         * lots of files: change "c" -> 'c'
10367
10368 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10369
10370         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10371
10372 2002-11-25  Angus Leeming  <leeming@lyx.org>
10373
10374         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10375
10376         * lyx_main.C (init): compile fix.
10377
10378 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10379
10380         * lyx_cb.C (start): boost.formatify
10381         do not include <iostream>
10382
10383         * lengthcommon.C: ws only
10384
10385         * boost-inst.C,BoostFormat.h: add more explict instantations
10386
10387 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10388
10389         * lots of files: handle USE_BOOST_FORMAT
10390
10391 2002-11-21  John Levon  <levon@movementarian.org>
10392
10393         * pspell.C: fix compile
10394
10395 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10396
10397         * lyxfunc.C (dispatch): use boost::format
10398         (open): ditto
10399         (doImport): ditto
10400
10401         * lyxfont.C (stateText): use boost::format
10402
10403         * lyx_main.C (LyX): use boost::format
10404         (init): ditto
10405         (queryUserLyXDir): ditto
10406         (readRcFile): ditto
10407         (parse_dbg): ditto
10408         (typedef boost::function): use the recommened syntax.
10409
10410         * importer.C (Import): use boost::format
10411
10412         * debug.C (showLevel): use boost::format
10413
10414         * converter.C (view): use boost::format
10415         (convert): ditto
10416         (move): ditto
10417         (scanLog): ditto
10418
10419         * bufferview_funcs.C (currentState): use boost::format
10420
10421         * bufferlist.C (emergencyWrite): use boost::format
10422
10423         * buffer.C (readLyXformat2): use boost::format
10424         (parseSingleLyXformat2Token): ditto
10425
10426         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10427
10428         * LaTeX.C (run): use boost::format
10429
10430         * Chktex.C (scanLogFile): use boost::format
10431
10432         * BufferView_pimpl.C (savePosition): use boost::format
10433         (restorePosition): ditto
10434         (MenuInsertLyXFile): ditto
10435
10436         * BoostFormat.h: help file for explicit instation.
10437
10438 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10439
10440         * tabular.C (latex): Support for block alignment in fixed width
10441         columns.
10442
10443 2002-11-17  John Levon  <levon@movementarian.org>
10444
10445         * BufferView_pimpl.C:
10446         * lyx_cb.C:
10447         * lyxfunc.C: split filedialog into open/save
10448
10449 2002-11-08  Juergen Vigna  <jug@sad.it>
10450
10451         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10452         by my last patch (hopefully).
10453
10454 2002-11-08  John Levon  <levon@movementarian.org>
10455
10456         * iterators.h:
10457         * iterators.C:
10458         * buffer.h:
10459         * buffer.C:
10460         * paragraph.h:
10461         * paragraph.C:
10462         * toc.h:
10463         * toc.C: ParConstIterator, and use it (from Lars)
10464
10465 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10466
10467         * lyxtextclass.[Ch]: revise and add doxygen comments
10468
10469 2002-11-07  John Levon  <levon@movementarian.org>
10470
10471         * text.C: fix progress value for spellchecker
10472
10473         * toc.C: fix navigate menu for insetwrap inside minipage
10474
10475         * paragraph_funcs.C: added FIXME for suspect code
10476
10477 2002-11-07  John Levon  <levon@movementarian.org>
10478
10479         * BufferView_pimpl.C: fix redrawing of insets
10480           on buffer switch
10481
10482 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10483
10484         * text2.C (updateCounters): fix bug 668
10485
10486 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10487
10488         * text3.C (dispatch): Do not make the buffer dirty when moving the
10489         cursor.
10490
10491 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10492
10493         * vc-backend.C: STRCONV
10494         (scanMaster): ditto
10495
10496         * text2.C (setCounter): STRCONV
10497
10498         * paragraph.C (asString): STRCONV
10499
10500         * lyxlength.C (asString): STRCONV
10501         (asLatexString): ditto
10502
10503         * lyxgluelength.C (asString): STRCONV
10504         (asLatexString): ditto
10505
10506         * lyxfunc.C (dispatch): STRCONV
10507         (open): ditto
10508
10509         * lyxfont.C (stateText): STRCONV
10510
10511         * importer.C (Import): STRCONV
10512
10513         * counters.C (labelItem): STRCONV
10514         (numberLabel): ditto
10515         (numberLabel): remove unused ostringstream o
10516
10517         * chset.C: STRCONV
10518         (loadFile): ditto
10519
10520         * bufferview_funcs.C (currentState): STRCONV
10521
10522         * buffer.C (readFile): STRCONV
10523         (asciiParagraph): ditto
10524         (makeLaTeXFile): ditto
10525
10526         * Spacing.C (writeEnvirBegin): STRCONV
10527
10528         * LaTeXFeatures.C (getLanguages): STRCONV
10529         (getPackages): ditto
10530         (getMacros): ditto
10531         (getBabelOptions): ditto
10532         (getTClassPreamble): ditto
10533         (getLyXSGMLEntities): ditto
10534         (getIncludedFiles): ditto
10535
10536         * LaTeX.C: STRCONV
10537         (run): ditto
10538         (scanAuxFile): ditto
10539         (deplog): ditto
10540
10541         * LString.h: add the STRCONV macros
10542
10543         * BufferView_pimpl.C (savePosition): STRCONV
10544         (restorePosition): ditto
10545         (MenuInsertLyXFile): ditto
10546
10547         * vc-backend.C (scanMaster): change from submatch[...] to
10548         submatch.str(...)
10549
10550         * funcrequest.C: include config.h
10551
10552         * factory.C: include config.h
10553
10554         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10555
10556         * box.C: include config.h
10557
10558         * LaTeX.C (scanAuxFile): change from submatch[...] to
10559         submatch.str(...)
10560         (deplog): ditto
10561
10562 2002-10-25  Angus Leeming  <leeming@lyx.org>
10563
10564         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10565
10566         * ispell.[Ch] (setError): new method.
10567         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10568         Use setError() insetead of goto END.
10569
10570         * lyx_cb.C (AutoSave): move out child process into new class
10571         AutoSaveBuffer.
10572
10573 2002-10-30  John Levon  <levon@movementarian.org>
10574
10575         * text3.C: make start appendix undoable
10576
10577 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10578
10579         * lyxlength.C (inPixels): Fix returned value.
10580
10581         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10582         environment.
10583
10584 2002-10-24  Angus Leeming  <leeming@lyx.org>
10585
10586         * lyxgluelength.h: no need to forward declare BufferParams
10587         or BufferView, so don't.
10588
10589 2002-10-21  John Levon  <levon@movementarian.org>
10590
10591         * BufferView.C: menuUndo ->undo, redo
10592
10593         * BufferView.h: document, remove dead, make some methods private
10594
10595         * paragraph_funcs.h:
10596         * paragraph_funcs.C:
10597         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10598
10599         * buffer.h:
10600         * buffer.C:
10601         * sgml.h:
10602         * sgml.C: move sgml open/close tag into sgml.C
10603
10604         * bufferview_funcs.h: unused prototype
10605
10606         * lyxfunc.h:
10607         * lyxfunc.C: remove unused
10608
10609         * lyxtext.h:
10610         * text.C: remove unused
10611
10612 2002-10-21  John Levon  <levon@movementarian.org>
10613
10614         * BufferView.h:
10615         * BufferView.C:
10616         * BufferView_pimpl.h:
10617         * BufferView_pimpl.C: fix mouse wheel handling based on
10618           patch from Darren Freeman
10619
10620 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10621
10622         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10623
10624 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10625
10626         * lyxlength.C (inPixels): Fix hanfling of negative length.
10627         Fix LyXLength::MU case.
10628
10629 2002-10-16  John Levon  <levon@movementarian.org>
10630
10631         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10632
10633 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10634
10635         * converter.C (view): add support for $$i (file name) and $$p
10636         (file path) for the viewer command. If $$i is not specified, then
10637         it is appended to the command (for compatibility with old syntax)
10638
10639 2002-10-14  Juergen Vigna  <jug@sad.it>
10640
10641         * undo_funcs.C (textHandleUndo): alter the order in which the
10642         new undopar is added to the LyXText, as we have to set first
10643         the right prev/next and then add it as otherwise the rebuild of
10644         LyXText is not correct. Also reset the cursor to the right paragraph,
10645         with this IMO we could remove the hack in "redoParagraphs()".
10646
10647 2002-10-09  Angus Leeming  <leeming@lyx.org>
10648
10649         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10650         to turn off an optimisation if a new inset is to be inserted.
10651
10652 2002-10-11 André Pönitz <poenitz@gmx.net>
10653
10654         * lyxtext.h: make some functions public to allow access
10655         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10656
10657 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10658
10659         * text3.C (dispatch): when changing layout, avoid an infinite loop
10660         [bug #652]
10661
10662 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10663
10664         * lyxrc.C (read): treat a viewer or converter command of "none" as
10665         if it were empty.
10666
10667         * MenuBackend.C (expandFormats): for an update, also allow the
10668         formats that are not viewable
10669
10670         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10671         script if it is newer than the lyxrc.defaults in user directory
10672
10673 2002-10-07 André Pönitz <poenitz@gmx.net>
10674
10675         * text.C: Vitaly Lipatov's small i18n fix
10676
10677 2002-09-25  Angus Leeming  <leeming@lyx.org>
10678
10679         * ispell.h: doxygen fix.
10680
10681 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10682
10683         * buffer.h (readFile): Add a new argument to the method, to allow
10684         reading of old-format templates.
10685
10686 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10687
10688         * toc.C (getTocList): Get TOC from InsetWrap.
10689
10690 2002-09-16  John Levon  <levon@movementarian.org>
10691
10692         * lyxfunc.C: check tabular for cut/copy too
10693
10694 2002-09-12  John Levon  <levon@movementarian.org>
10695
10696         * LyXAction.C: tidy
10697
10698         * factory.h:
10699         * factory.C: add header
10700
10701         * paragraph_funcs.h:
10702         * paragraph_funcs.C: cleanup
10703
10704 2002-09-11  John Levon  <levon@movementarian.org>
10705
10706         * PrinterParams.h: odd/even default to true
10707
10708 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10709
10710         * PrinterParams.h: update printer parameters for new xforms dialog
10711
10712 2002-09-11  Angus Leeming  <leeming@lyx.org>
10713
10714         * lyxserver.C (read_ready): re-write to make it more transparent
10715         and to make it work in coherent fashion under Tru64 Unix.
10716
10717 2002-09-11  André Pönitz <poenitz@gmx.net>
10718
10719         * commandtags.h:
10720         * LyXAction.C:
10721         * text3.C: implement LFUN_WORDSEL
10722
10723 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10724
10725         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10726         make floatlist_ a boost::shared_ptr<FloatList>
10727
10728         * lyxtextclass.C: include FloatList.h
10729         (LyXTextClass): initialize floatlist_
10730         (TextClassTags): add TC_NOFLOAT
10731         (Read): match "nofloat" to TC_NOFLOAT and use it.
10732         (readFloat): modify call to floatlist_
10733         (floats): ditto
10734         (floats): ditto
10735
10736         * FloatList.[Ch] (FloatList): remove commented out float
10737         initialization.
10738         (erase): new function
10739
10740 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10741
10742         * MenuBackend.C (expandToc): fix crash when there is no document
10743         open
10744
10745 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10746
10747         * many files: Add insetwrap.
10748
10749 2002-09-09  John Levon  <levon@movementarian.org>
10750
10751         * text2.C: remove confusing and awkward depth wraparound
10752
10753 2002-09-09  John Levon  <levon@movementarian.org>
10754
10755         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10756
10757         * buffer.h:
10758         * buffer.C: remove getIncludeonlyList()
10759
10760         * paragraph.C:
10761         * lyxfunc.C: remove headers
10762
10763 2002-09-09  Juergen Vigna  <jug@sad.it>
10764
10765         * text.C (getColumnNearX): fix form Michael this is most
10766         probably a cut&paste bug.
10767
10768 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10769
10770         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10771
10772         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10773         references, ws changes.
10774
10775         * text2.C (init): update counters after init
10776         (insertParagraph): no need to set counter on idividual paragraphs.
10777         (setCounter): access the counters object in the textclass object
10778         on in the buffer object.
10779         (updateCounters): ditto
10780
10781         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10782         shared_ptr<Counters> to avoid loading counters.h in all
10783         compilation units.
10784         (LyXTextClass): initialize ctrs_
10785         (TextClassTags): add TC_COUNTER, and ...
10786         (Read): use it here.
10787         (CounterTags): new tags
10788         (readCounter): new function
10789         (counters): new funtion
10790         (defaultLayoutName): return a const reference
10791
10792         * counters.C (Counters): remove contructor
10793         (newCounter): remove a couple of unneeded statements.
10794         (newCounter): simplify a bit.
10795         (numberLabel): some small formatting changes.
10796
10797         * buffer.[Ch]: remove all traces of counters, move the Counters
10798         object to the LyXTextClass.
10799
10800 2002-09-06  Alain Castera  <castera@in2p3.fr>
10801
10802         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10803         package to set the horizontal alignment on fixed width columns.
10804
10805         * lyx_sty.C:
10806         * lyx_sty.h: added tabularnewline macro def.
10807
10808         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10809
10810 2002-09-06  John Levon  <levon@movementarian.org>
10811
10812         * LyXAction.C: tooltips for sub/superscript
10813
10814         * MenuBackend.C: a bit more verbose
10815
10816         * lyxfunc.C: tiny clean
10817
10818         * undo_funcs.C: document undo_frozen
10819
10820 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10821
10822         * counters.C (Counters): add missing algorithm counter.
10823
10824         * text2.C (setCounter): lookup the counter with layouts latexname
10825         instead of by section number.
10826         (setCounter): use a hackish way to lookup the correct enum
10827         counter.
10828         a float name->type change
10829         reset enum couners with counter name directly instead of depth value.
10830
10831         * counters.C (Counters): remove the push_backs, change to use the
10832         float type not the float name.
10833         (labelItem): remove unused string, float name->type change
10834
10835         * counters.h: don't include vector, loose the enums and sects vectors
10836
10837 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10838
10839         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10840         (Read): add float->TC_FLOAT to textclassTags
10841         (Read): and handle it in the switch
10842         (readFloat): new function
10843
10844         * FloatList.C (FloatList): comment out the hardcoded float
10845         definitions.
10846
10847         * lyxlayout.h: ws change.
10848
10849 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10850
10851         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10852
10853 2002-09-03  Angus Leeming  <leeming@lyx.org>
10854
10855         * BufferView_pimpl.h: qualified name is not allowed in member
10856         declaration: WorkArea & Pimpl::workarea() const;
10857
10858         * factory.C: added using std::endl directive.
10859
10860         * text3.C: added using std::find and std::vector directives.
10861
10862 2002-08-29  André Pönitz <poenitz@gmx.net>
10863
10864         * lyxtext.h:
10865         * text2.C: remove unused member number_of_rows
10866
10867         * Makefile.am:
10868         * BufferView2.C: remove file, move contents to...
10869         * BufferView.C: ... here
10870
10871         * BufferView_pimpl.C:
10872         * factory.C: move more inset creation to factory
10873
10874         * vspace.C: avoid direct usage of LyXText, ws changes
10875
10876         * BufferView.[Ch]:
10877                 don't provide direct access to WorkArea, use two simple
10878                 acessors haveSelction() and workHeight() instead
10879
10880
10881 2002-08-29  John Levon  <levon@movementarian.org>
10882
10883         * BufferView_pimpl.C (dispatch): do not continue when
10884           no buffer
10885
10886 2002-08-28  André Pönitz <poenitz@gmx.net>
10887
10888         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10889
10890         * BufferView.h:
10891         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10892
10893 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10894
10895         * buffer.C: increment LYX_FORMAT to 221
10896
10897         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10898         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10899
10900         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10901
10902         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10903
10904 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10905
10906         * factory.C (createInset): use LyXTextClass::floats
10907
10908         * MenuBackend.C (expandFloatListInsert):
10909         (expandFloatInsert):
10910         (expandToc):
10911
10912         * text2.C (setCounter):
10913
10914         * LaTeXFeatures.C (useFloat):
10915         (getFloatDefinitions):
10916
10917         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10918
10919         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10920         floatlist_, with accessor floats().
10921
10922         * FloatList.h: remove global FloatList
10923
10924 2002-08-26  André Pönitz <poenitz@gmx.net>
10925
10926         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10927
10928         * BufferView.h:
10929         * BufferView2.C:
10930         * BufferView_pimpl.C:
10931         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10932
10933 2002-08-25  John Levon  <levon@movementarian.org>
10934
10935         * LyXAction.C: fix margin note description
10936
10937 2002-08-24  John Levon  <levon@movementarian.org>
10938
10939         * buffer.C:
10940         * bufferlist.C:
10941         * bufferview_funcs.C:
10942         * lyxfont.C:
10943         * undo_funcs.C: cleanups
10944
10945         * lyxfunc.C: disable CUT/COPY when no selection
10946
10947 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10948
10949         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10950         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10951
10952         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10953         Add backward compatibility to "mono", "gray" and "no".
10954
10955 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10956
10957         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10958         (and file_format >= 200).
10959
10960 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10961
10962         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10963
10964 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10965
10966         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10967
10968 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10969
10970         * BufferView_pimpl.C:
10971         * LyXAction.C:
10972         * buffer.C:
10973         * commandtags.h:
10974         * lyxfunc.C:
10975         * paragraph.[Ch]:
10976         * text2.C:
10977         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10978         inset and code to make it  work with the paragraph code. The inset
10979         can be anywhere in the paragraph, but will only do the expected
10980         thing in LaTeX if the layout file contains the parameter line
10981                         OptionalArgs    1
10982         (or more generally, a nonzero value) for that layout.
10983
10984 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10985
10986         * paragraph.h: remove the declaration of undefined counters class
10987         function.
10988
10989 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10990
10991         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10992         Dr. Richard Hawkins.
10993
10994 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10995
10996         * paragraph_funcs.h: remove some unneeded includes
10997
10998         * text.C (backspace): pasteParagraph now in global scipe
10999
11000         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11001         (pasteSelection): ditto
11002
11003         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11004         * paragraph_funcs.C (pasteParagraph): ... here
11005
11006 2002-08-20  André Pönitz <poenitz@gmx.net>
11007
11008         * commandtags.h: new LFUNs for swapping/copying table row/colums
11009
11010         * LyXAction.C:
11011         * lyxfunc.C: support for new lfuns
11012
11013 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11014
11015         * tabular.C:
11016         * buffer.[Ch]: remove NO_COMPABILITY stuff
11017
11018 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11019
11020         * boost.C (throw_exception): new file, with helper function for
11021         boost compiled without exceptions.
11022
11023         * paragraph.h:
11024         * lyxlength.C:
11025         * buffer.C:
11026         * ParameterStruct.h:
11027         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11028
11029         * bufferlist.C (emergencyWriteAll): use boost bind
11030
11031         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11032
11033         * text.C: include paragraph_funcs.h
11034         (breakParagraph): breakParagraph is now in global scope
11035
11036         * paragraph_funcs.[Ch]: new files
11037
11038         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11039         global scope
11040
11041         * buffer.C: include paragraph_funcs.h
11042         (insertStringAsLines): breakParagraph is now in global scope
11043
11044         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11045         paragraph_funcs.C
11046
11047         * CutAndPaste.C: include paragraph_funcs.h
11048         (cutSelection): breakParagraphConservative is now in global scope
11049         (pasteSelection): ditto
11050
11051         * buffer.h: declare oprator== and operator!= for
11052         Buffer::inset_iterator
11053
11054         * bufferlist.C (emergencyWrite): don't use fmt(...)
11055
11056         * text3.C: add using std::endl
11057
11058         * BufferView.C (moveCursorUpdate): remove default arg
11059
11060 2002-08-20  André Pönitz <poenitz@gmx.net>
11061
11062         * buffer.[Ch]: move inline functions to .C
11063
11064         * BufferView2.C:
11065         * BufferView_pimpl.C:
11066         * text.C:
11067         * buffer.[Ch]: use improved inset_iterator
11068
11069         * buffer.C:
11070         * paragraph.[Ch]: write one paragraph at a time
11071
11072 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11073
11074         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11075         style if style is not specified.
11076
11077 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11078
11079         * text2.C (setCounter): when searching for right label for a
11080         caption, make sure to recurse to parent insets (so that a caption
11081         in a minipage in a figure float works) (bug #568)
11082
11083 2002-08-20  André Pönitz <poenitz@gmx.net>
11084
11085         * text3.C: new file for LyXText::dispatch() and helpers
11086
11087         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11088
11089         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11090
11091 2002-08-19  André Pönitz <poenitz@gmx.net>
11092
11093         * lyxtext.h:
11094         * text.C: new LyXText::dispatch()
11095
11096         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11097
11098 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11099
11100         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11101
11102         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11103         Hebrew text.
11104
11105 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11106
11107         * Makefile.am: use $(variables) instead of @substitutions@
11108
11109 2002-08-15  André Pönitz <poenitz@gmx.net>
11110
11111         * lyxfunc.C:
11112         * BufferView_pimpl.C: streamlining mathed <-> outer world
11113         interaction
11114
11115         * commandtags.h:
11116         * LyXAction.C: remove unused LFUN_MATH
11117
11118 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11119
11120         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11121
11122 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11123
11124         * paragraph.C (Paragraph): reformat a bit
11125         (cutIntoMinibuffer): use builtin InsetList function instad of
11126         doing it manually.
11127         (getInset): ditto
11128
11129         * buffer.C: include boost/bind.hpp, add using std::for_each
11130         (writeFileAscii): use ParagraphList iterators
11131         (validate): use for_each for validate traversal of paragraphs
11132         (getBibkeyList): use ParagraphList iterators
11133         (resizeInsets): use for_each to resizeInsetsLyXText for all
11134         paragraphs.
11135         (getParFromID): use ParagraphList iterators
11136
11137         * BufferView2.C (lockInset): use paragraph list and iterators
11138
11139 2002-08-14  John Levon  <levon@movementarian.org>
11140
11141         * lyxserver.C: remove spurious xforms include
11142
11143 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11144
11145         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11146
11147 2002-08-13  André Pönitz <poenitz@gmx.net>
11148
11149         * LyXAction.[Ch]:
11150         * lyxfunc.C: further cleaning
11151
11152 2002-08-13  André Pönitz <poenitz@gmx.net>
11153
11154         * funcrequest.h: new constructor
11155
11156         * funcrequest.C: move stuff here from .h
11157
11158         * Makefile.am:
11159         * BufferView_pimpl.C:
11160         * LyXAction.C:
11161         * toc.C:
11162         * lyxfunc.C: subsequent changes
11163
11164         * lyxfunc.h: new view() member function
11165
11166         * lyxfunc.C: subsequent changes
11167
11168 2002-08-13  Angus Leeming  <leeming@lyx.org>
11169
11170         * BufferView2.C:
11171         * BufferView_pimpl.C:
11172         * buffer.C:
11173         * converter.C:
11174         * importer.C:
11175         * lyxfunc.C:
11176         * lyxvc.C:
11177         * toc.C:
11178         * vc-backend.C:
11179         changes due to the changed LyXView interface that now returns references
11180         to member variables not pointers.
11181
11182 2002-08-13  Angus Leeming  <leeming@lyx.org>
11183
11184         * WordLangTuple (word, lang_code): return references to strings,
11185         not strings.
11186
11187         * BufferView.h:
11188         * SpellBase.h:
11189         * lyxtext.h: forward-declare WordLangTuple.
11190
11191         * BufferView2.C:
11192         * ispell.C:
11193         * pspell.C:
11194         * text.C: #include "WordLangTuple.h".
11195
11196         * lyxtext.h:
11197         * text.C: (selectNextWordToSpellcheck): constify return type.
11198
11199 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11200
11201         * buffer.C:
11202         * buffer.h:
11203         * lyxtext.h:
11204         * paragraph.C:
11205         * paragraph_pimpl.h:
11206         * text.C:
11207         * text2.C:
11208         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11209         suggested by Angus.
11210         Made updateCounter always count from start of buffer, and removed
11211         second argument (par).
11212         Reverted floats number display to '#'. Perhaps I'll try again when the
11213         code base is sanitized a bit.
11214
11215 2002-08-12  Angus Leeming  <leeming@lyx.org>
11216
11217         * buffer.[Ch] (getLabelList): constify.
11218
11219 2002-08-07  André Pönitz <poenitz@gmx.net>
11220
11221         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11222
11223         * funcrequest.h: extension to keep mouse (x,y) position
11224
11225 2002-08-12  Juergen Vigna  <jug@sad.it>
11226
11227         * BufferView2.C (insertErrors): forbid undo when inserting error
11228         insets.
11229
11230         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11231
11232 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11233
11234         * ParagraphList.[Ch]: new files
11235
11236         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11237
11238         * BufferView2.C (lockInset): ParagraphList changes
11239         * toc.C: ditto
11240         * text2.C: ditto
11241         * bufferlist.C: ditto
11242         * buffer.h: ditto
11243         * buffer.C: ditto
11244
11245 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11246
11247         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11248         unused class variable counter_,
11249
11250         * paragraph.[Ch] (getFirstCounter): delete unused function
11251
11252         * counters.C: include LAssert.h
11253         (reset): add a new function with no arg, change other version to
11254         not have def. arg and to not allow empty arg.
11255
11256         * text2.C (setCounter): remove empty arg from call to Counters::reset
11257
11258 2002-08-11  John Levon  <levon@movementarian.org>
11259
11260         * Makefile.am: add WordLangTuple.h
11261
11262 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11263
11264         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11265         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11266
11267         * insets/insettext.C: InsetList changes
11268
11269         * graphics/GraphicsSupport.C (operator()): InsetList changes
11270
11271         * toc.C (getTocList): InsetList changes
11272
11273         * paragraph_pimpl.[Ch]: InsetList changes
11274
11275         * paragraph.[Ch]: InsetList changes
11276
11277         * buffer.C (inset_iterator): InsetList changes
11278         (setParagraph): ditto
11279         * buffer.h (inset_iterator): ditto
11280         * iterators.C (operator++): ditto
11281         * iterators.h: ditto
11282
11283         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11284
11285         * InsetList.[Ch]: new files, most InsetList handling moved out of
11286         paragraph.C.
11287
11288         * BufferView2.C (removeAutoInsets): InsetList changes
11289         (lockInset): ditto
11290         (ChangeInsets): ditto
11291
11292 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11293
11294         * paragraph_pimpl.h (empty): new function
11295
11296         * paragraph.[Ch] (empty): new function
11297
11298         * other files: use the new Paragraph::empty function
11299
11300 2002-08-09  John Levon  <levon@movementarian.org>
11301
11302         * lyxtext.h: remove unused refresh_height
11303
11304 2002-08-09  John Levon  <levon@movementarian.org>
11305
11306         * Makefile.am:
11307         * sgml.h:
11308         * sgml.C:
11309         * buffer.C:
11310         * paragraph.h:
11311         * paragraph.C: move sgml char escaping out of paragraph
11312
11313         * paragraph.h:
11314         * paragraph.C: remove id setter
11315
11316         * buffer.C:
11317         * paragraph.C:
11318         * paragraph_pimpl.C: remove dead tex_code_break_column
11319
11320         * bufferview_funcs.C: small cleanup
11321
11322         * lyxfunc.C: remove dead proto
11323
11324         * lyxtext.h: make some stuff private. Remove some dead stuff.
11325
11326         * lyxgluelength.C: make as[LyX]String() readable
11327
11328 2002-08-08  John Levon  <levon@movementarian.org>
11329
11330         * LyXAction.h:
11331         * LyXAction.C:
11332         * MenuBackend.C:
11333         * ToolbarDefaults.C:
11334         * lyxfunc.C:
11335         * lyxrc.C:
11336         * toc.C: lyxaction cleanup
11337
11338 2002-08-08  John Levon  <levon@movementarian.org>
11339
11340         * BufferView2.C: small cleanup
11341
11342         * lyxfind.h:
11343         * lyxfind.C: move unnecessary header into the .C
11344
11345 2002-08-08  John Levon  <levon@movementarian.org>
11346
11347         * funcrequest.h: just tedious nonsense
11348
11349         * lyx_main.h:
11350         * lyx_main.C: cleanups
11351
11352         * buffer.C:
11353         * vspace.C: remove dead header lyx_main.h
11354
11355 2002-08-07  Angus Leeming  <leeming@lyx.org>
11356
11357         * Paragraph.[Ch]:
11358         * paragraph_pimpl.h:
11359         Forward declare class Counters in paragraph.h by moving the ctrs member
11360         variable into Paragraph::Pimpl.
11361         (counters): new method, returning a reference to pimpl_->ctrs.
11362
11363         * text2.C: ensuing changes.
11364
11365 2002-08-07  John Levon  <levon@movementarian.org>
11366
11367         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11368
11369         * BufferView_pimpl.C: announce X selection on double/triple
11370           click
11371
11372         * lyx_main.C: use correct bool in batch dispatch
11373
11374         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11375
11376 2002-08-07  André Pönitz <poenitz@gmx.net>
11377
11378         * funcrequest.h: new class to wrap a kb_action and its argument
11379
11380         * BufferView.[Ch]:
11381         * BufferView_pimpl[Ch]:
11382         * LaTeX.C:
11383         * LyXAction.[Ch]:
11384         * lyxfunc.[Ch]:
11385         * lyxrc.C: subsequent changes
11386
11387
11388 2002-08-07  John Levon  <levon@movementarian.org>
11389
11390         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11391           document options change.
11392
11393 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11394
11395         * counters.[Ch]
11396         * text2.C
11397         * paragraph.[Ch]
11398         * makefile.am: move counters functionality over from
11399         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11400
11401 2002-08-06  John Levon  <levon@movementarian.org>
11402
11403         * WordLangTuple.h: new file for word + language code tuple
11404
11405         * SpellBase.h:
11406         * pspell.h:
11407         * pspell.C:
11408         * ispell.h:
11409         * ispell.C:
11410         * lyxtext.h:
11411         * text.C:
11412         * text2.C:
11413         * BufferView.h:
11414         * BufferView2.C: use WordLangTuple
11415
11416         * layout.h:
11417         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11418
11419 2002-08-06  John Levon  <levon@movementarian.org>
11420
11421         * lyx_main.C: fix cmdline batch handling
11422
11423 2002-08-06  André Pönitz <poenitz@gmx.net>
11424
11425         * lyxrc.C: set default for show_banner to true
11426
11427 2002-08-06  John Levon  <levon@movementarian.org>
11428
11429         * pspell.C: fix a crash, and allow new aspell to work
11430
11431 2002-08-06  John Levon  <levon@movementarian.org>
11432
11433         * lyxfunc.C:
11434         * kbmap.C: small cleanup
11435
11436         * vspace.h:
11437         * vspace.C: add const
11438
11439 2002-08-05  John Levon  <levon@movementarian.org>
11440
11441         * LyXAction.C: back to tabular-insert
11442
11443 2002-08-04  John Levon  <levon@movementarian.org>
11444
11445         * BufferView.h:
11446         * BufferView.C: cosmetic change
11447
11448         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11449
11450         * bufferlist.C:
11451         * buffer.h:
11452         * buffer.C:
11453         * lyxcb.h:
11454         * lyxcb.C:
11455         * lyxserver.C:
11456         * lyxvc.C:
11457         * vc-backend.C:
11458         * BufferView2.C: purge all "Lyx" not "LyX" strings
11459
11460         * lyxcursor.h:
11461         * lyxcursor.C: attempt to add some documentation
11462
11463         * lyxfunc.C:
11464         * commandtags.h:
11465         * LyXAction.C:
11466         * ToolbarDefaults.C:
11467         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11468           merge with LFUN_TABULAR_INSERT
11469
11470         * Makefile.am:
11471         * SpellBase.h:
11472         * ispell.h:
11473         * ispell.C:
11474         * pspell.h:
11475         * pspell.C: split up i/pspell implementations into separate
11476           files, many cleanups
11477
11478         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11479
11480         * text2.C: some cleanup
11481
11482         * lyxfunc.C: don't check for isp_command == "none" any more, it
11483           didn't make any sense
11484
11485 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11486
11487         * counters.[Ch]
11488         * text2.C
11489         * paragraph.[Ch]
11490         * makefile.am: move counters functionality over
11491         from text2.C/paragraph.[Ch] to counters.[Ch], and
11492         make proper C++.
11493 2002-08-02  John Levon  <levon@movementarian.org>
11494
11495         * buffer.C: s/lyxconvert/lyx2lyx/
11496
11497 2002-08-02  Angus Leeming  <leeming@lyx.org>
11498
11499         * lyxlex.C: revert John's change as it breaks reading of the user
11500         preamble.
11501
11502 2002-08-02  Angus Leeming  <leeming@lyx.org>
11503
11504         * importer.C (Import):
11505         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11506         changes due to LyXView::view() now returning a boost::shared_ptr.
11507
11508 2002-08-02  John Levon  <levon@movementarian.org>
11509
11510         * lyxlex.C: small cleanup
11511
11512 2002-08-02  John Levon  <levon@movementarian.org>
11513
11514         * text2.C (status): small cleanup, no logic change
11515
11516 2002-08-01  John Levon  <levon@movementarian.org>
11517
11518         * buffer.h:
11519         * buffer.C (writeFile): don't output alerts, caller
11520           handles this
11521
11522         * bufferlist.C:
11523         * lyx_cb.C: from above
11524
11525         * lyxfunc.C: allow to open non-existent files
11526
11527 2002-07-31  John Levon  <levon@movementarian.org>
11528
11529         * lyxserver.C: don't let incidental errors get
11530           in the way (errno)
11531
11532 2002-07-30  John Levon  <levon@movementarian.org>
11533
11534         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11535
11536 2002-07-30  John Levon  <levon@movementarian.org>
11537
11538         * lyxserver.h:
11539         * lyxserver.C: remove I/O callback too
11540
11541 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11542
11543         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11544         log.
11545
11546 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11547
11548         * many files: strip,frontStrip -> trim,ltrim,rtrim
11549
11550 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11551
11552         * PrinterParams.h: remove extern containsOnly, and include
11553         support/lstrings.h instead.
11554
11555         * LaTeX.C (scanAuxFile): modify because of strip changes
11556         (deplog): ditto
11557         * buffer.C (makeLaTeXFile): ditto
11558         * bufferparams.C (writeFile): ditt
11559         * lyxfont.C (stateText): ditto
11560         * lyxserver.C (read_ready): ditto
11561         * vc-backend.C (scanMaster): ditto
11562
11563         * BufferView_pimpl.h: ws changes
11564
11565         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11566
11567 2002-07-26  André Pönitz <poenitz@gmx.net>
11568
11569         * kb_sequence.C: remove unnedred usings
11570
11571 2002-07-26  Juergen Vigna  <jug@sad.it>
11572
11573         * lyxfind.C (LyXReplace): we have to check better if the returned
11574         text is not of theLockingInset()->getLockingInset().
11575
11576 2002-07-25  Juergen Vigna  <jug@sad.it>
11577
11578         * lyxfind.C (LyXReplace): don't replace if we don't get the
11579         right LyXText.
11580
11581         * undo_funcs.C (createUndo): remove debugging code.
11582
11583 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11584
11585         * buffer.C (parseSingleLyXformat2Token): Use default placement
11586         when reading old floats.
11587
11588         * FloatList.C (FloatList): Change the default placement of figure
11589         and tables to "tbp".
11590
11591 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11592
11593         * MenuBackend.C: using std::max
11594
11595 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11596
11597         * MenuBackend.C (expandToc):
11598         (expandToc2): code moved from xforms menu frontend. It is now
11599         generic and TOCs are transparent to menu frontends.
11600
11601 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11602
11603         * toc.C (getTocList): protect against buf=0
11604
11605         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11606         Menu as first parameter. Now, this calls itself recursively to
11607         expand a whole tree (this will be useful for TOC handling)
11608         (expandFloatInsert): remove 'wide' version of floats
11609
11610         * MenuBackend.h (submenuname): returns the name of the submenu.
11611         (submenu): returns the submenu itself, provided it has been
11612         created by MenuBackend::expand
11613
11614 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11615
11616         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11617         insets which have noFontChange == true. (bug #172)
11618
11619 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11620
11621         * BufferView_pimpl.C: add connection objects and use them...
11622         (Pimpl): here.
11623
11624 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11625
11626         * MenuBackend.C (expandLastfiles):
11627         (expandDocuments):
11628         (expandFormats):
11629         (expandFloatListInsert):
11630         (expandFloatInsert):
11631         (expand): split expand in parts
11632
11633 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11634
11635         * lyx_gui.C: use lyx_gui::exit()
11636
11637 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11638
11639         * LyXAction.C: show the failing pseudo action
11640
11641 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11642
11643         * buffer.C (readFile): Run the lyxconvert script in order to read
11644         old files.
11645
11646 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11647
11648         * LyXAction.C:
11649         * commandtags.h:
11650         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11651
11652 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11653
11654         * LyXAction.C:
11655         * commandtags.h:
11656         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11657
11658 2002-07-22  Herbert Voss  <voss@lyx.org>
11659
11660         * lengthcommon.C:
11661         * lyxlength.[Ch]: add support for the vertical lengths
11662
11663 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11664
11665         * toc.[Ch]: std:: fixes
11666
11667 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11668
11669         * lyxrc.C: do not include lyx_main.h
11670
11671         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11672         for layouts
11673
11674         * lyxrc.C:
11675         * encoding.C:
11676         * bufferlist.C:
11677         * BufferView2.C: include "lyxlex.h"
11678
11679         * tabular.h:
11680         * bufferparams.h: do not #include "lyxlex.h"
11681
11682         * lyxtextclasslist.C (Add): remove method
11683         (classlist): renamed to classlist_
11684
11685         * paragraph_pimpl.C:
11686         * paragraph.C:
11687         * text2.C:
11688         * CutAndPaste.C:
11689         * bufferview_funcs.C:
11690         * bufferlist.C:
11691         * text.C:
11692         * LaTeXFeatures.C:
11693         * buffer.C:
11694         * toc.C (getTocList): use BufferParams::getLyXTextClass
11695
11696         * toc.C (getTocList): use InsetFloat::addToToc
11697
11698         * toc.[Ch]: new files, containing helper functions to handle table
11699         of contents
11700
11701         * lyxfunc.C (dispatch): no need to remove spaces around command
11702         given as a string
11703         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11704         first command of the sequence; it is not very clever, but I do not
11705         have a better idea, actually
11706
11707         * LyXAction.C (LookupFunc): make sure to remove space at the
11708         beginning and end of the command
11709
11710 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11711
11712         * MenuBackend.C (getMenubar): new method: return the menubar of
11713         this menu set
11714         (read): treat differently reading of menu and menubar (in
11715         particular, the menubar has no name now)
11716         (Menu::menubar): remove
11717
11718         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11719         saving is finished
11720
11721 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11722
11723         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11724         a bibitem inset in a RTL paragraph.
11725
11726 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11727
11728         * paragraph_pimpl.C: constify
11729
11730         * BufferView_pimpl.C:
11731         * LaTeX.C:
11732         * lyxfunc.C: fix dispatch in a nicer way
11733
11734 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11735
11736         * lyxfunc.C (dispatch):
11737         * BufferView_pimpl.C:
11738         * BufferView_pimpl.h:
11739         * BufferView.C:
11740         * BufferView.h: rename Dispatch() to dispatch()
11741
11742         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11743
11744         * lyxlayout.C (Read): honor DependsOn tag
11745
11746         * lyxlayout.[Ch] (depends_on): new method
11747
11748         * version.C.in: update lyx_docversion
11749
11750         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11751
11752         * paragraph.C (validate): remove from here...
11753         * paragraph_pimpl.C (validate): ... and move here
11754         (isTextAt): make it const
11755
11756         * buffer.C (getLists): ws cleanup
11757
11758 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11759
11760         * language.C (read): Use iso8859-1 encoding in latex_lang
11761         (this prevents LyX from crashing when using iso10646-1 encoding).
11762
11763 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11764
11765         * text2.C (toggleInset): if cursor is inside an inset, close the
11766         inset and leave cursor _after_ it
11767
11768 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11769
11770         * lyxfunc.C: move minibuffer completion handling out of here
11771
11772 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11773
11774         * BufferView_pimpl.C:
11775         * LaTeX.C: fix dispatch calls
11776
11777 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11778
11779         * text.C (drawChars): Fix Arabic text rendering.
11780
11781 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11782
11783         * LyXAction.C:
11784         * commandtags.h:
11785         * lyxfunc.C: remove message-push/pop
11786
11787         * lyxserver.C:
11788         * lyxfunc.h:
11789         * lyxfunc.C: rationalise some code by removing verboseDispatch
11790           in favour of a bool argument to dispatch()
11791
11792 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11793
11794         * lyx_main.C (init): make sure to read symlinks as absolute paths
11795
11796 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11797
11798         * lyxfunc.h:
11799         * lyxfunc.C: no need for commandshortcut to be a member
11800
11801 2002-07-15  André Pönitz <poenitz@gmx.net>
11802
11803         * converter.C: add support for $$s (scripts from lib/scripts dir)
11804         * lyx_main.C: white space
11805
11806 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11807
11808         * bufferlist.C:
11809         * lyxrc.h:
11810         * lyxrc.C: remove second exit confirmation
11811
11812 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11813
11814         * BufferView.h:
11815         * BufferView.C:
11816         * BufferView2.C:
11817         * BufferView_pimpl.h:
11818         * BufferView_pimpl.C:
11819         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11820
11821 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11822
11823         * MenuBackend.C (expand): add numeric shortcuts to document menu
11824
11825         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11826
11827 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11828
11829         * lyxfont.C (setLyXFamily):
11830         (setLyXSeries):
11831         (setLyXShape):
11832         (setLyXSize):
11833         (setLyXMisc):
11834         (lyxRead):
11835         * debug.C (value):
11836         * buffer.C (asciiParagraph): use ascii_lowercase
11837
11838 2002-07-15  Mike Fabian  <mfabian@suse.de>
11839
11840         * lyxlex_pimpl.C (search_kw):
11841         * lyxlex.C (getLongString):
11842         * converter.h (operator<):
11843         * converter.C (operator<):
11844         * buffer.C (parseSingleLyXformat2Token):
11845         (asciiParagraph):
11846         * ToolbarDefaults.C (read):
11847         * MenuBackend.C (checkShortcuts):
11848         (read):
11849         * LColor.C (getFromGUIName):
11850         (getFromLyXName): use the compare_ascii_no_case instead of
11851         compare_no_case, because in turkish, 'i' is not the lowercase
11852         version of 'I', and thus turkish locale breaks parsing of tags.
11853
11854 2002-07-16  Angus Leeming  <leeming@lyx.org>
11855
11856         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11857         now takes a Buffer const & argument.
11858
11859 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11860
11861         * BufferView.C (resize): check there's a buffer to resize
11862
11863 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11864
11865         * lyxfunc.C: remove dead code
11866
11867         * lyxserver.h:
11868         * lyxserver.C: use lyx_guii::set_read_callback
11869
11870 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11871
11872         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11873         an inset in a RTL paragraph.
11874
11875 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11876
11877         * lyxfunc.C: repaint after a font size update
11878
11879 2002-07-15  André Pönitz <poenitz@gmx.net>
11880
11881         * lyxlength.C: inBP should be able to return negative values
11882
11883 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11884
11885         * lyxfunc.C: use lyx_gui::update_fonts()
11886
11887 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11888
11889         * lyxfunc.C: use lyx_gui::update_color()
11890
11891 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11892
11893         * bufferlist.C:
11894         * lyxfunc.h:
11895         * lyxfunc.C:
11896         * lyxrc.h:
11897         * lyxrc.C: remove file->new asks for name option, and let
11898           buffer-new take an argument
11899
11900 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11901
11902         * BufferView_pimpl.C: remove unneeded extra repaint()
11903
11904 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11905
11906         * LyXAction.C: allow command-sequence with NoBuffer
11907
11908         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11909
11910 2002-07-10  Angus Leeming  <leeming@lyx.org>
11911
11912         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11913
11914 2002-07-09  Angus Leeming  <leeming@lyx.org>
11915
11916         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11917
11918 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11919
11920         * lengthcommon.h: whitespace
11921
11922         * lyxfunc.C: update scrollbar after goto paragraph
11923
11924         * lyxtext.h: factor out page break drawing, and fix it so
11925           page break/added space paints as selected nicely
11926
11927 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11928
11929         * BufferView_pimpl.C: add FIXMEs, clean up a little
11930
11931 2002-07-09  André Pönitz <poenitz@gmx.net>
11932
11933         * lyxfont.[Ch]: support for wasy symbols
11934
11935 2002-07-08  André Pönitz <poenitz@gmx.net>
11936
11937         * BufferView_pimpl.C: apply John's patch for #93.
11938
11939 2002-07-05  Angus Leeming  <leeming@lyx.org>
11940
11941         * BufferView_pimpl.C (buffer): generate previews if desired.
11942
11943         * LColor.h: add "preview" to the color enum.
11944
11945         * LColor.C (LColor): add a corresponding entry to the items array.
11946
11947         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11948         with this buffer.
11949
11950 2002-07-05  Angus Leeming  <leeming@lyx.org>
11951
11952         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11953         The body of the code is now in the method that is passed an ostream &
11954         rather than a file name.
11955         Pass an additional only_preamble parameter, useful for the forthcoming
11956         preview stuff.
11957
11958 2002-07-03  André Pönitz <poenitz@gmx.net>
11959
11960         * lyxfunc.C: simplify getStatus() a bit for math stuff
11961
11962 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11963
11964         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11965
11966 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11967
11968         * text.C (changeRegionCase): do not change case of all the
11969         document when region ends at paragraph end (bug #461)
11970
11971 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11972
11973         * paragraph.C (startTeXParParams):
11974         (endTeXParParams): add \protect when necessary
11975
11976 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11977
11978         * BufferView_pimpl.C (workAreaExpose): remove warning
11979
11980 2002-06-27  Angus Leeming  <leeming@lyx.org>
11981
11982         * Makefile.am: add lyxlayout_ptr_fwd.h.
11983
11984 2002-06-26  André Pönitz <poenitz@gmx.net>
11985
11986         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11987
11988 2002-06-25  Angus Leeming  <leeming@lyx.org>
11989
11990         * lyxfunc.C (dispatch): Comment out the call to
11991         grfx::GCache::changeDisplay. The method no longer exists now that the
11992         pixmap generation part of the graphics loader has been moved into
11993         InsetGraphics.
11994
11995 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11996
11997         * text2.C: layout as layout
11998
11999         * text.C: layout as layout
12000
12001         * tabular.C (OldFormatRead): layout as layout
12002
12003         * paragraph_pimpl.C (TeXDeeper): layout as layout
12004         (realizeFont): layout as layout
12005
12006         * paragraph.C (writeFile): layout as layout
12007         (validate): layout as layout
12008         (getFont): layout as layout
12009         (getLabelFont): layout as layout
12010         (getLayoutFont): layout as layout
12011         (breakParagraph): layout as layout
12012         (stripLeadingSpaces): layout as layout
12013         (getEndLabel): layout as layout
12014         (getMaxDepthAfter): layout as layout
12015         (applyLayout): layout as layout
12016         (TeXOnePar): layout as layout
12017         (simpleTeXOnePar): layout as layout
12018         (TeXEnvironment): layout as layout
12019         (layout): layout as layout
12020         (layout): layout as layout
12021
12022         * lyxtextclass.C (compare_name): new functor to work with
12023         shared_ptr, layout as layout
12024         (Read): layout as layout
12025         (hasLayout): layout as layout
12026         (operator): layout as layout
12027         (delete_layout): layout as layout
12028         (defaultLayout): layout as layout
12029
12030         * lyxlayout_ptr_fwd.h: new file
12031
12032         * lyxlayout.C (Read): layout as layout
12033
12034         * lyx_cb.C (MenuInsertLabel): layout as layout
12035
12036         * bufferlist.C (newFile): layout as layout
12037
12038         * buffer.C (readLyXformat2): layout as layout
12039         (parseSingleLyXformat2Token): layout as layout
12040         (insertStringAsLines): layout as layout
12041         (asciiParagraph): layout as layout
12042         (latexParagraphs): layout as layout
12043         (makeLinuxDocFile): layout as layout
12044         (simpleLinuxDocOnePar): layout as layout
12045         (makeDocBookFile): layout as layout
12046         (simpleDocBookOnePar): layout as layout
12047         (getLists): layout as layout
12048
12049         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12050
12051         * CutAndPaste.C (cutSelection): layout as layout
12052         (pasteSelection): layout as layout
12053         (SwitchLayoutsBetweenClasses): layout as layout
12054
12055         * BufferView_pimpl.C (Dispatch): layout as layout
12056         (smartQuote): layout as layout
12057
12058         * BufferView2.C (unlockInset): layout as layout
12059
12060 2002-06-24  André Pönitz <poenitz@gmx.net>
12061
12062         * lyxfunc.C: fix #487
12063
12064 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12065
12066         * lyxrc.h:
12067         * lyxrc.C:
12068         * lyxfunc.C: remove display_shortcuts, show_banner
12069
12070 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12071
12072         * Buffer_pimpl.C: oops, update on resize
12073
12074 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12075
12076         * buffer.C:
12077         * converter.C:
12078         * exporter.C:
12079         * lyxfunc.C:
12080         * BufferView.h:
12081         * BufferView.C: use repaint()
12082
12083         * BufferView_pimpl.h:
12084         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12085           as it's a clearer description. Remove superfluous
12086           redraws.
12087
12088 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12089
12090         * text.C: fix bug 488. Not ideal, but getting
12091           getWord() to work properly for the insets that
12092           matter is more difficult ...
12093
12094 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12095
12096         * BufferView_pimpl.C:
12097         * LyXAction.C:
12098         * commandtags.h:
12099         * lyxfunc.C: remove the six million index lyxfuncs to just
12100           one, and DTRT (bug 458)
12101
12102 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12103
12104         * BufferView.h:
12105         * BufferView.C:
12106         * BufferView_pimpl.h:
12107         * BufferView_pimpl.C: clean up resize() stuff,
12108           and unnecessary updateScreen()s
12109
12110 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12111
12112         * BufferView.h:
12113         * BufferView.C:
12114         * BufferView_pimpl.h:
12115         * BufferView_pimpl.C:
12116         * lyxfind.h:
12117         * lyxfind.C:
12118         * minibuffer.C: remove focus management of workarea,
12119           not needed. Use screen's greyOut()
12120
12121 2002-06-17  Herbert Voss  <voss@lyx.org>
12122
12123         * converter.C: (convert) do not post a message, when converting
12124         fails, let the calling function decide what to do in this case
12125
12126 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12127
12128         * lyxfunc.C: tidy up a little
12129
12130 2002-06-16    <alstrup@diku.dk>
12131
12132         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12133         Got rid of FORMS_H_LOCATION include. Now we are
12134         GUII.
12135
12136 2002-06-15  LyX Development team  <lyx@rilke>
12137
12138         * buffer.[Ch] (sgmlOpenTag):
12139         (sgmlCloseTag): Added support for avoiding pernicious mixed
12140         content. Return number of lines written.
12141
12142         (makeLinuxDocFile):
12143         (makeDocBookFile): Fixed calls to sgml*Tag.
12144         Simple white space clean.
12145
12146         (simpleDocBookOnePar): Simple white space clean.
12147
12148         * tabular.[Ch] (docBook): Renamed to docbook and got another
12149         argument to related with the pernicious mixed content.
12150
12151         (docbookRow): Fixed calls for docbook inset method.
12152
12153 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12154
12155         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12156         so it's X11 independent.
12157
12158         * kb*.[Ch]: ditto.
12159
12160         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12161
12162 2002-06-15  Lyx Development team  <lyx@electronia>
12163
12164         * intl.h: Renamed getTrans to getTransManager.
12165
12166 2002-06-14  Angus Leeming  <leeming@lyx.org>
12167
12168         * Makefile.am: nuke forgotten stl_string_fwd.h.
12169
12170 2002-06-12  Angus Leeming  <leeming@lyx.org>
12171
12172         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12173
12174 2002-06-13  Angus Leeming  <leeming@lyx.org>
12175
12176         * LaTeX.C:
12177         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12178
12179 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12180
12181         * kbmap.C (getiso): add support for cyrillic and greek
12182
12183 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12184
12185         * BufferView.h:
12186         * BufferView.C:
12187         * BufferView_pimpl.h:
12188         * BufferView_pimpl.C: move bogus scrolling logic
12189           to xforms
12190
12191 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12192
12193         * lyxfunc.C:
12194         * BufferView_pimpl.C: view->resize() change
12195
12196 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12197
12198         * BufferView_pimpl.C: topCursorVisible
12199           prototype change
12200
12201 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12202
12203         * Makefile.am:
12204         * lyx_gui.h:
12205         * lyx_gui.C: move to frontends/
12206
12207         * main.C:
12208         * lyx_main.h:
12209         * lyx_main.C: changes from above
12210
12211 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12212
12213         * intl.C:
12214         * intl.h:
12215         * kbmap.C:
12216         * kbsequence.C:
12217         * lyx_cb.C:
12218         * lyx_main.C: minor tidy
12219
12220 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12221
12222         * BufferView_pimpl.h:
12223         * BufferView_pimpl.C:
12224         * BufferView.h:
12225         * BufferView.C: make painter() const,
12226           remove dead code
12227
12228         * BufferView2.C: use screen() accessor
12229
12230         * lyx_main.h:
12231         * lyx_main.C: some minor cleanup
12232
12233 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12234
12235         * BufferView_pimpl.h:
12236         * BufferView_pimpl.C: remove enter/leaveView,
12237           use workHeight()
12238
12239 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12240
12241         * BufferView.h:
12242         * BufferView.C:
12243         * BufferView2.C:
12244         * BufferView_pimpl.h:
12245         * BufferView_pimpl.C: only construct screen once,
12246           rename
12247
12248         * lyxrc.C: remove pointless comment
12249
12250 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12251
12252         * BufferView.h:
12253         * BufferView.C: remove active() and belowMouse()
12254
12255         * BufferView_pimpl.h:
12256         * BufferView_pimpl.C: use workarea() not workarea_,
12257           and make it use a scoped_ptr instead
12258
12259 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12260
12261         * lyx_gui.C: add debug message on BadWindow
12262
12263 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12264
12265         * sp_spell.C: fdopen is not part of the C++ standard.
12266
12267         * paragraph.C (InsetIterator): use >= instead of ==
12268
12269 2002-06-07  Angus Leeming  <leeming@lyx.org>
12270
12271         Fixes needed to compile with Compaq cxx 6.5.
12272         * BufferView_pimpl.C:
12273         * DepTable.C:
12274         * buffer.C:
12275         * converter.C:
12276         * encoding.C:
12277         * lyx_gui.C:
12278         * lyx_main.C:
12279         * lyxtextclasslist.C:
12280         * minibuffer.C:
12281         * sp_spell.C:
12282         * tabular_funcs.C:
12283         * vc-backend.C:
12284         all c-library variables have been moved into namespace std. Wrap
12285         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12286
12287         * lyxlength.C:
12288         * tabular-old.C:
12289         * tabular.C:
12290         Add a using std::abs declaration.
12291
12292         * kbmap.h (modifier_pair):
12293         * paragraph.h (InsetTable, InsetList):
12294         * lyxfont.h (FontBits):
12295         type definition made public.
12296
12297         * bufferlist.C (emergencyWriteAll): the compiler complains that
12298         there is more than one possible lyx::class_fun template to choose from.
12299         I re-named the void specialisation as lyx::void_class_fun.
12300
12301         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12302
12303         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12304         the compiler is is unable to find tostr in write_attribute.
12305
12306 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12307
12308         * buffer.C (sgmlError): hide #warning
12309
12310 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12311
12312         * xtl/*: get rid of xtl, which is not in use anyway
12313
12314         * LyXAction.C (init):
12315         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12316         were unimplemented xtl experimentation
12317
12318 2002-06-04  André Pönitz <poenitz@gmx.net>
12319
12320         * lyxfunc.C: disable array operation on simple formulae
12321
12322 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12323
12324         * converter.C: constify a bit
12325
12326 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12327
12328         * lyx_gui.C: check xforms version correctly
12329
12330 2002-04-30  Herbert Voss  <voss@lyx.org>
12331
12332         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12333         "keep" option
12334
12335 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12336
12337         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12338           attempt to register it with a VCS)
12339
12340 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12341
12342         * lyx_main.C (init): honor variables LYX_DIR_13x and
12343         LYX_USERDIR_13x
12344
12345 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12346
12347         * buffer.h:
12348         * buffer.C:
12349         * lyx_main.C: fix a crash on bad command line,
12350           and give a useful exit status on error
12351
12352         * lyxfunc.C (doImport): allow -i lyx to work
12353
12354 2002-03-30  André Pönitz <poenitz@gmx.net>
12355
12356         * lyxfunc.C: mathed font changes
12357
12358 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12359
12360         * LaTeX.C:
12361         * importer.h:
12362         * importer.C:
12363         * lyx_sty.h:
12364         * lyx_sty.C:
12365         * lyxlex.C:
12366         * lyxrow.h:
12367         * lyxtext.h:
12368         * paragraph.h:
12369         * paragraph.C:
12370         * texrow.h:
12371         * texrow.C:
12372         * text.C:
12373         * trans_mgr.h: srcdocs, and some minor cleanups
12374
12375 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12376
12377         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12378         call getFont all the time)
12379
12380 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12381
12382         * switch from SigC signals to boost::signals
12383
12384 2002-05-29  André Pönitz <poenitz@gmx.net>
12385
12386         * paragraph_pimpl.C (getChar): don't call size() too often...
12387
12388 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12389
12390         * paragraph_pimpl.C (insertChar): do not try to update tables when
12391         appending (pos == size())
12392
12393         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12394         in order to reduce drastically the number of comparisons needed to
12395         parse a large document
12396
12397 2002-05-29  André Pönitz <poenitz@gmx.net>
12398
12399         * text.C:
12400         * text2.C:
12401         * lyxtextclass.C:
12402         * sp_pspell.h:
12403         * textclasslist.[Ch]:
12404         * sp_ispell.h: whitespace change
12405
12406 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12407
12408         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12409         lyxaction directly now.
12410
12411 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12412
12413         * trans.C:
12414         * lyxfont.C:
12415         * lyxvc.C: remove unused headers
12416
12417 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12418
12419         * Makefile.am:
12420         * buffer.h:
12421         * undostack.h:
12422         * undostack.C:
12423         * undo_funcs.h:
12424         * undo_funcs.C: some cleanups. Use shared_ptr
12425           and a template for the undo stacks.
12426
12427 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12428
12429         * BufferView_pimpl.h:
12430         * BufferView_pimpl.C:
12431         * kbmap.h:
12432         * kbmap.C:
12433         * kbsequence.h:
12434         * kbsequence.C:
12435         * lyxfunc.h:
12436         * lyxfunc.C:
12437         * text2.C: use key_state/mouse_state
12438
12439 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12440
12441         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12442         and LSubstring
12443
12444         * chset.C: change include order
12445         (loadFile): use boost regex and get rid of LRegex and LSubstring
12446
12447         * Makefile.am (BOOST_LIBS): new variable
12448         (lyx_LDADD): use it
12449
12450         * LaTeX.C: change include order.
12451         (scanAuxFile): use boost regex and get rid of LRegex and
12452         LSubstring
12453         (deplog): ditto
12454
12455 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12456
12457         * ColorHandler.h:
12458         * ColorHandler.C:
12459         * FontInfo.h:
12460         * FontInfo.C: moved to frontends/xforms/
12461
12462         * FontLoader.h:
12463         * FontLoader.C: moved into frontends for GUIIzation
12464
12465         * Makefile.am:
12466         * lyx_gui.C:
12467         * lyxfont.C:
12468         * lyxfunc.C: changes from above
12469
12470 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12471
12472         * LColor.C: remove spurious X include
12473
12474         * BufferView_pimpl.C:
12475         * Makefile.am:
12476         * font.h:
12477         * font.C:
12478         * text.C:
12479         * text2.C: move font metrics to frontends/
12480
12481 2002-05-24  Juergen Vigna  <jug@sad.it>
12482
12483         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12484         setting the undo_cursor.
12485
12486         * ParagraphParameters.h: include local includes first.
12487
12488 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12489
12490         * BufferView_pimpl.C:
12491         * BufferView_pimpl.h:
12492         * Makefile.am:
12493         * WorkArea.h:
12494         * WorkArea.C:
12495         * screen.C: move WorkArea into frontends/
12496
12497         * lyxscreen.h:
12498         * screen.C:
12499         * text.C:
12500         * BufferView.C:
12501         * BufferView2.C: move LyXScreen into frontends/
12502
12503         * lyxlookup.h:
12504         * lyxlookup.C:
12505         * lyx_gui.C: move lyxlookup into frontends/xforms/
12506
12507 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12508
12509         * BufferView2.C:
12510         * BufferView_pimpl.C:
12511         * FontLoader.C:
12512         * LyXView.h:
12513         * LyXView.C:
12514         * Makefile.am:
12515         * WorkArea.C:
12516         * XFormsView.h:
12517         * XFormsView.C:
12518         * buffer.C:
12519         * bufferlist.C:
12520         * bufferview_funcs.C:
12521         * converter.C:
12522         * importer.C:
12523         * lyx_cb.C:
12524         * lyx_gui.C:
12525         * lyx_main.C:
12526         * lyx_find.C:
12527         * lyxfunc.C:
12528         * lyxvc.C:
12529         * minibuffer.C:
12530         * text.C:
12531         * text2.C:
12532         * trans.C:
12533         * vc-backend.C: move LyX/XFormsView into frontends/
12534
12535 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12536
12537         * Makefile.am:
12538         * PainterBase.C:
12539         * PainterBase.h:
12540         * Painter.C:
12541         * Painter.h:
12542         * WorkArea.C:
12543         * WorkArea.h:
12544         * screen.C:
12545         * tabular.C:
12546         * text.C:
12547         * text2.C: move Painter to frontends/
12548
12549 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12550
12551         * buffer.C: comment out some some code that depend upon lyx_format
12552         < 220
12553
12554         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12555         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12556
12557         * buffer.h (NO_COMPABILITY): turn off compability
12558
12559         * ColorHandler.C: include scoped_array.hpp
12560
12561         * font.C: Use more specific smart_ptr header.
12562         * Painter.C: ditto
12563         * gettext.C: ditto
12564         * ShareContainer.h: ditto
12565         * lyx_main.h: ditto
12566         * kbmap.h: ditto
12567         * FontInfo.h: ditto
12568         * BufferView_pimpl.h: ditto
12569         * ColorHandler.h: ditto
12570
12571         * kbmap.C (defkey): change call to shared_ptr::reset
12572
12573 2002-05-21  Juergen Vigna  <jug@sad.it>
12574
12575         * buffer.C (insertErtContents): fix to insert ert asis if it is
12576         non empty. Skip it completely if it contains only whitespaces.
12577
12578 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12579
12580         * BufferView_pimpl.C:
12581         * BufferView2.C: clear selection on paste (bug 393)
12582
12583 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12584
12585         * DepTable.C: include ctime
12586
12587 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12588
12589         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12590
12591 2002-05-14  Juergen Vigna  <jug@sad.it>
12592
12593         * text.C (breakParagraph): fixed function to honor the keepempty
12594         layout in the right maner and also to permit the right breaking
12595         algorithm on empty or non empyt keepempty paragraphs.
12596
12597         * paragraph.C (breakParagraph): we have to check also if the par
12598         is really empty (!size()) for isempty otherwise we do the wrong
12599         paragraph break.
12600
12601 2002-05-10  Juergen Vigna  <jug@sad.it>
12602
12603         * buffer.[Ch] : The following are only changes to the ert
12604         compatibility read reading old LaTeX layout and font stuff and
12605         convert it to ERTInsets.
12606
12607         * buffer.h: added isErtInset().
12608
12609         * buffer.C (struct ErtComp): add a fromlayout bool to check
12610         if we're inside a LaTeX layout.
12611         (isErtInset): new helper function.
12612         (insertErtContents): look for other ert insets before this one
12613         and insert the contents there, so that we don't have subsequent
12614         ERT insets with nothing between them. This way we create only one
12615         inset with multiple paragraphs. Also check if we don't insert only
12616         spaces ' ' as they are ignored anyway afterwards in the .tex file
12617         so if we have only spaces we will ignore this latex part in the
12618         new file.
12619         (parseSingleLyXformat2Token \\layout): better compatibility when
12620         reading layout-latex stuff.
12621         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12622         language tag.
12623         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12624         stuff after reading the inset only get the information back from
12625         the stack.
12626
12627 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12628
12629         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12630
12631         * LaTeXFeatures.C (getBabelOptions): New method.
12632
12633 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12634
12635         * BufferView_pimpl.C (Dispatch): work around missing argument for
12636         'layout'
12637
12638 2002-05-08  Juergen Vigna  <jug@sad.it>
12639
12640         * text.C (leftMargin): handle paragraph leftindent.
12641
12642         * paragraph.C (writeFile): write the new \\leftindent tag.
12643         (validate): handle leftindent code.
12644         (TeXEnvironment): handle paragraphleftindent code again.
12645
12646         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12647
12648         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12649         for paragrap_extra indent code and new token \\leftindent.
12650         (latexParagraphs): handle the leftindent as environment.
12651
12652         * ParameterStruct.h: added leftindent support.
12653
12654         * ParagraphParameters.C (leftIndent): added support functions for
12655         the paragraph left indent.
12656
12657         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12658         more appropriate.
12659
12660 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12661
12662         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12663         inside insetERT.
12664
12665         * text.C (computeBidiTables): No bidi in insetERT.
12666
12667         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12668         in RTL documents.
12669
12670 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12671
12672         * version.C.in: pre 5
12673
12674 2002-05-02  José Matos  <jamatos@fep.up.pt>
12675         * buffer.C (makeDocBookFile): white space changes, add newline to
12676         command styles.
12677         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12678
12679         * tabular.C (docBook): fix typo.
12680
12681 2002-05-03  Juergen Vigna  <jug@sad.it>
12682
12683         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12684         change in LyXText as we can not be sure it was not freed.
12685         (drawOneRow): remove unused code.
12686
12687         * text.C (drawInset): redo the calculation of the need_break_row as
12688         it could have a row which was already freed.
12689         (draw): look at the return value of drawInset and return false if
12690         it also returned false.
12691         (paintRowText): look at the return value of draw and return false if
12692         it also returned false.
12693
12694         * lyxtext.h: added bool return type to drawInset() and draw() so that
12695         if we have a change in the row so that the rowbreak has to be redone
12696         we abort drawing as it will be called again.
12697
12698 2002-05-02  Juergen Vigna  <jug@sad.it>
12699
12700         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12701         a change in the maintext also if we're inside an inset.
12702         (Dispatch): set the cursor again after a break line and after the
12703         screen has been updated as it could be we're in a different row.
12704
12705         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12706         to set the cursor behind the pargraph with > size().
12707         (setCursor): check also for the same paragraph when checking where
12708         to put the cursor if we have a NFR inset.
12709
12710         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12711         parts of layout read further up as it still was in the wrong
12712         position.
12713
12714 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12715
12716         * screen.C (drawFromTo): change sine fullRebreak always return
12717         true.
12718
12719         * buffer.C (parseSingleLyXformat2Token): reindent some
12720
12721         * BufferView_pimpl.C (update): change since fullRebreak always
12722         return true.
12723         (Dispatch): git rid of the last hardcoded "Standard"s.
12724
12725 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12726
12727         * text2.[Ch] (fullRebreak): make it return void now that we always
12728         returned true.
12729
12730 2002-04-30  Juergen Vigna  <jug@sad.it>
12731
12732         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12733         ert compatibility check for "latex" layout.
12734
12735 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12736
12737         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12738         minipages: use col% instead of p%, and also use the current font.
12739         (makeLaTeXFile): Fix use babel condition.
12740         (parseSingleLyXformat2Token): Correct font when reading old floats.
12741
12742 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12743
12744         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12745         inserting list of floats.
12746
12747 2002-04-25  Herbert Voss  <voss@lyx.org>
12748
12749         * MenuBackend.C (expand): don't add the graphics extensions to the
12750         export menu
12751
12752 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12753
12754         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12755         non-existing layout, do not complain if it was the default layout
12756         of the original class (bug #342)
12757
12758 2002-04-24  Juergen Vigna  <jug@sad.it>
12759
12760         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12761         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12762
12763 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12764
12765         * buffer.C (getBibkeyList): If using \bibliography, return the
12766         option field with the reference itself. Enables us to provide natbib
12767         support when using \bibliography.
12768
12769 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12770
12771         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12772
12773         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12774         natbib is provided by the LaTeX class.
12775
12776 2002-04-23  Juergen Vigna  <jug@sad.it>
12777
12778         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12779         Wakeup functions.
12780
12781         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12782
12783 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12784
12785         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12786
12787         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12788         ensuremath around textordmasculine, textordfeminine and
12789         textdegree.
12790
12791 2002-04-19  Juergen Vigna  <jug@sad.it>
12792
12793         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12794         reinitializing the buffer otherwise row-dimensions may be wrong.
12795         (update): reset also the selection cursors if they do exits otherwise
12796         their x/y positions may be wrong.
12797
12798         * text2.C (cursorDown): don't enter the inset if we came from a row
12799         above and are one row over the inset.
12800
12801         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12802         really leaving an inset.
12803
12804 2002-04-18  Juergen Vigna  <jug@sad.it>
12805
12806         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12807         of the selected paragraph does not have the selected layout also if
12808         the last one had!
12809
12810         * text2.C (setLayout): fixed bug which did not change last selected
12811         paragraph.
12812
12813         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12814         changed the read and substituted \\end_float with \\end_inset!
12815
12816         * BufferView_pimpl.C (cursorPrevious):
12817         (cursorNext): fixed to make it work with rows heigher than the work
12818         area without moving the cursor only the draw of the row.
12819         (workAreaMotionNotify): fix jumping over high rows.
12820
12821 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12822
12823         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12824         Ressler.
12825
12826 2002-04-16  Juergen Vigna  <jug@sad.it>
12827
12828         * text2.C (setCursor): set also the irow().
12829         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12830         (cursorUp):
12831         (cursorDown): support for locking an inset if the x_fix value goes
12832         inside it. That way I can transverse insets too with cursor up/down.
12833
12834         * lyxrow.h: added irow helper function same as other (i) functions.
12835
12836         * BufferView_pimpl.C (cursorPrevious):
12837         (cursorNext): fixed for insets!
12838
12839 2002-04-15  Juergen Vigna  <jug@sad.it>
12840
12841         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12842         position otherwise it is wrong in some cases.
12843
12844         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12845         inside the inset before the call.
12846
12847 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12848
12849         * buffer.[Ch] (getBibkeyList): make it const.
12850
12851 2002-04-12  Juergen Vigna  <jug@sad.it>
12852
12853         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12854
12855         * text2.C (getCursorX): new helper function
12856         (setCursor): compute also ix_
12857         (setCursorFromCoordinates): set also ix.
12858
12859         * lyxcursor.h: added ix_ and helper functions.
12860
12861         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12862
12863         * buffer.C (insertStringAsLines): dont break paragraph if the this
12864         paragraph is inside an inset which does not permit it!
12865
12866         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12867         also with no chars on this paragraph.
12868         (paintRowText): only paint stuff if it's inside the workarea!
12869
12870         * paragraph.C (breakParagraph): honor keepempty flag and break the
12871         paragraph always below not above.
12872
12873         * BufferView2.C (unlockInset): update the paragraph layout on inset
12874         unlock as we changed paragraph in such a case.
12875
12876         * lyxfind.C (LyXFind): clear the former selection if not found!
12877
12878         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12879         again called in insertChar().
12880
12881         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12882         an inset which uses the whole row!
12883         (rightMargin): ditto.
12884         (insertChar): force a rebreak if we inserted an inset!
12885
12886 2002-03-28  Herbert Voss  <voss@lyx.org>
12887
12888         * lyxlength.[Ch]: add inBP() to get the right PS-point
12889         units (BigPoint). With inPixels we have rounding errors
12890
12891 2002-04-11  Juergen Vigna  <jug@sad.it>
12892
12893         * text2.C (setCursorFromCoordinates): set iy to the right value.
12894         (setCursor): add check if row->previous exists!
12895
12896         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12897         an old float_type as this was the case in the old code!
12898
12899         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12900
12901         * BufferView2.C (showLockedInsetCursor): use iy
12902         (fitLockedInsetCursor): ditto
12903
12904         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12905         locked insets as there we have the right value now.
12906
12907         * lyxcursor.C: added iy_ variable and iy functions to set to the
12908         baseline of cursor-y of the locked inset.
12909
12910         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12911         (setCursor): fixed for insets which need a full row.
12912
12913         * text.C (rowLastPrintable): don't ignore the last space when before
12914         an inset which needs a full row.
12915         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12916         as last character of a row when before a inset which needs a full row.
12917
12918 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12919
12920         * version.C.in: update date
12921
12922         * text2.C (fullRebreak): try to always return true and see what
12923         happens...
12924
12925 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12926
12927         * MenuBackend.C (expand): use Floating::listName
12928
12929         * FloatList.C (FloatList): add listName argument to the built-in
12930         floats
12931
12932         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12933         text associated with the float.
12934
12935 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12936
12937         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12938
12939 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12940
12941         * ShareContainer.h: add a couple of missing typenames.
12942
12943 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12944
12945         * lyxrc.C (getDescription): use _() correctly rather than N_().
12946
12947 2002-03-28  Herbert Voss  <voss@lyx.org>
12948
12949         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12950         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12951
12952 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12953
12954         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12955         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12956
12957 2002-03-29  Juergen Vigna  <jug@sad.it>
12958
12959         * lyxfunc.C (dispatch): add a missing fitCursor call.
12960
12961         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12962         it was scrolled by a cursor move, so return the bool status.
12963
12964         * BufferView.C (fitCursor): return the bool flag also to the outside
12965         world as this is needed.
12966
12967         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12968
12969         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12970         call the edit() as it is not needed (and wrong) IMO.
12971         (workAreaButtonPress): set the screen_first variable before evt.
12972         unlock the inset as this may change screen_first and then we have
12973         a wrong y position for the click!
12974
12975 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12976
12977         * MenuBackend.C (expand): another translation that I missed
12978
12979 2002-03-28  Juergen Vigna  <jug@sad.it>
12980
12981         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12982
12983         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12984
12985 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12986
12987         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12988
12989         * MenuBackend.C (expand): fix export/view/update when there is no
12990         document open.
12991
12992 2002-03-27  Herbert Voss  <voss@lyx.org>
12993
12994         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12995         and text%
12996
12997 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12998
12999         * bufferview_funcs.C (currentState): only show paragraph number
13000         for is DEVEL_VERSION is set.
13001
13002         * lyxfunc.C (dispatch): put warning in INFO channel
13003
13004         * MenuBackend.C (expand): translate the name of floats
13005
13006         * FloatList.C (FloatList): mark the float names for translation
13007
13008         * converter.C (convert): use LibScriptSearch
13009
13010 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13011
13012         * MenuBackend.C (defaults): fix default menu (we might as well get
13013         rid of it...)
13014
13015 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13016
13017         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13018         directory.
13019
13020 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13021
13022         * lyxvc.C: reorder includes.
13023
13024 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13025
13026         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13027           properly
13028
13029 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13030
13031         * CutAndPaste.C: change layouts earlier on paste
13032           to avoid crashing when calling getFont()
13033
13034 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13035
13036         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13037         irritating #error.
13038
13039 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13040
13041         * WorkArea.C: remove 'Pending' debug message.
13042
13043         * most files: ws cleanup
13044
13045         * buffer.[Ch]: ws changes
13046
13047         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13048
13049 2002-03-21  Juergen Vigna  <jug@sad.it>
13050
13051         * tabular.C (SetMultiColumn): collapse also the contents of the
13052         cells and set the last border right. Added a Buffer const * param.
13053
13054 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13055
13056         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13057         linking or not.
13058
13059 2002-03-19  Juergen Vigna  <jug@sad.it>
13060
13061         * text2.C (clearSelection): reset also xsel_cache.
13062
13063         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13064         where it needs to be called (John tells us to do so too :)
13065         (selectionLost): reset sel_cache.
13066
13067         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13068
13069 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13070
13071         * text2.C (setCursorIntern): put debuging code in INSETS channel
13072
13073 2002-03-19  André Pönitz <poenitz@gmx.net>
13074
13075         * lyxfunc.C: tiny whitespace change
13076
13077 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13078
13079         * ToolbarDefaults.C (init):
13080         * LyXAction.C (init):
13081         * commandtags.h:
13082         * BufferView_pimpl.C (Dispatch):
13083         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13084
13085 2002-03-19  Allan Rae  <rae@lyx.org>
13086
13087         * exporter.C (Export): removeAutoInsets before doing anything else.
13088         While I've just introduced a dependency on BufferView this really is
13089         the best place to clean the buffer otherwise you need to cleanup in
13090         a dozen places before calling export or cleanup in a dozen functions
13091         that export calls.
13092
13093         * converter.C (runLaTeX):
13094         (scanLog): Better handling of removeAutoInsets and screen updates.
13095
13096         * lyxfunc.C (dispatch): small whitespace changes
13097
13098 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13099
13100         * WorkArea.C (C_WorkAreaEvent): return a value.
13101         (event_cb): return 1 if we handled the event, 0 otherwise.
13102
13103         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13104
13105 2002-03-18  Juergen Vigna  <jug@sad.it>
13106
13107         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13108         (GetAdditionalWidth): ditto.
13109         (RightLine): ditto.
13110         (LeftLine): ditto.
13111
13112         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13113         inset if we're there actually (probably not used right now but this
13114         is the direction to go for unifying code).
13115         (paste): disable code to clear the selection.
13116
13117         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13118         inside an InsetText and move the check further up as it is in the
13119         wrong place.
13120
13121         * text2.C (pasteSelection): set a selection over the pasted text.
13122
13123 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13124
13125         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13126         and libgraphics to build on Cygwin.
13127
13128 2002-03-15  Juergen Vigna  <jug@sad.it>
13129
13130         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13131         inserting an Inset into the paragraph. I know this is not the best
13132         fix but we already use current_view in CutAndPaste so we will remove
13133         all of it's using at the same time.
13134
13135         * buffer.C (sgmlError): deactivated function till it is rewritten in
13136         the right mode, now it can create problems.
13137
13138         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13139         before accessing it.
13140
13141 2002-03-14  Juergen Vigna  <jug@sad.it>
13142
13143         * undo_funcs.C (textHandleUndo): do the right thing when updating
13144         the inset after the undo/redo.
13145
13146         * text2.C (setCursor): just some testcode for #44 not ready yet.
13147
13148         * undo_funcs.C (textHandleUndo): set the next() and previous()
13149         pointers of the paragraph to 0 before deleting otherwise we have
13150         problems with the Paragraph::[destructor].
13151
13152         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13153         on a paragraph insertion.
13154
13155 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13156
13157         * buffer.C (asciiParagraph): use += operator for char append to
13158         string.
13159
13160         * paragraph.C (getFontSettings): compare >= not just >
13161         (highestFontInRange): ditto
13162         (setFont): ditto
13163
13164 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13165
13166         * paragraph.C: change several algorithm to be more appripriate for
13167         the problem domain. This is lookip in FontList and in the InsetList.
13168
13169 2002-03-13  André Pönitz <poenitz@gmx.net>
13170
13171         * commandtags.h:
13172         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13173
13174 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13175
13176         * commandtags.h:
13177         * LyXAction.C:
13178         * lyxfunc.C:
13179         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13180
13181 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13182
13183         * Painter.C (display): anon helper function, adjust code for this
13184         change.
13185         (pixmap): remove function.
13186
13187         * Painter.h: remove private display variable.
13188
13189         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13190
13191 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13192
13193         * WorkArea.[Ch]: remove figinset_canvas cruft.
13194
13195 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13196
13197         * lyxtextclass.C (operator): add one item cache optimization.
13198
13199         * bufferlist.h: doxy changes
13200
13201         * bufferlist.C: ws changes
13202
13203         * DepTable.[Ch] (ext_exist): place const in the right spot.
13204
13205         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13206         call resizeInsets.
13207         (workAreaExpose): call resizeInsets when the with BufferView changes.
13208         (Dispatch): adjust for protectedBlank removal
13209         (specialChar): call updateInset if the insert went ok.
13210
13211         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13212         specialChar instead.
13213
13214         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13215
13216         * BufferView.h: doxy change
13217
13218         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13219
13220         * lyxtextclass.C (operator[]): remove non-const version
13221         (defaultLayout): remove non-const version
13222
13223 2002-03-12  Juergen Vigna  <jug@sad.it>
13224
13225         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13226         did resize the LyXText too.
13227
13228         * buffer.C (readLyXformat2): set layout information on newly allocated
13229         paragraphs.
13230
13231         * tabular.C (OldFormatRead): set layout information on the paragraph.
13232
13233 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13234
13235         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13236
13237 2002-03-11  Juergen Vigna  <jug@sad.it>
13238
13239         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13240         plainly wrong.
13241         (resizeCurrentBuffer): force also the insets to resize themselfes.
13242         (moveCursorUpdate): fixed up for InsetText.
13243
13244 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13245
13246         * commandtags.h:
13247         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13248         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13249         value of Dialogs::tooltipsEnabled().
13250         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13251
13252 2002-03-08  Juergen Vigna  <jug@sad.it>
13253
13254         * BufferView_pimpl.C (updateInset): update inset inside inset also
13255         if it isn't inside theLockingInset().
13256
13257 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13258
13259         * buffer.C (asciiParagraph): redo some of the word and line length
13260         handling.
13261         (getLists): look for Caption instead of caption.
13262
13263 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13264
13265         * buffer.C (Buffer): initialize niceFile to true
13266         (makeLaTeXFile):
13267         (makeLinuxDocFile):
13268         (makeDocBookFile): make sure niceFile is true on exit
13269
13270 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13271
13272         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13273
13274 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13275
13276         * LyXSendto.C: remove.
13277         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13278         * lyx_gui.C: remove now-redundant comment.
13279         * ColorHandler.h: remove forward declaration of class WorkArea.
13280         * lyxfunc.C: remove #include "WorkArea.h".
13281
13282 2002-03-07  Juergen Vigna  <jug@sad.it>
13283
13284         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13285         got moved away with the DEPM and also set the inset_owner always
13286         right which before could have been omitted.
13287
13288 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13289
13290         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13291         wanted layout is not found.
13292
13293 2002-03-07  Juergen Vigna  <jug@sad.it>
13294
13295         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13296
13297 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13298
13299         * paragraph.C (breakParagraph): use default layout not layout of
13300         prev paragraph.
13301         (Paragraph): clear ParagraphParameters.
13302
13303 2002-03-06  Juergen Vigna  <jug@sad.it>
13304
13305         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13306         otherwise it would not be a valid lenght. Fixed a special case in
13307         the minipage compatibility read where we end the document with a
13308         minipage.
13309
13310         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13311         was set as it could be 0 for InsetTexts first entry.
13312
13313 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13314
13315         * paragraph.C (writeFile): if layout is empty write out
13316         defaultLayoutName().
13317
13318         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13319         file without named layout we set layout to defaultLayoutName().
13320
13321 2002-03-06  Juergen Vigna  <jug@sad.it>
13322
13323         * CutAndPaste.C (copySelection): set layout for new paragraph.
13324
13325         * text.C (prepareToPrint): leave ERT inset left aligned
13326         (leftMargin): don't indent paragraphs inside ERT insets
13327
13328 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13329
13330         * paragraph.C (breakParagraph): dont call clear do the work manually
13331
13332         * paragraph.[Ch] (clear): remove function
13333
13334 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13335
13336         * paragraph.C (Paragraph): dont call clear, the work has already
13337         been done.
13338
13339         * lyxtextclass.C (operator): assert if n is empty
13340
13341         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13342         work manually instead.
13343
13344 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13345
13346         * BufferView_pimpl.C: protect selectionLost against text == 0
13347
13348 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13349
13350         * text.C (breakParagraph): fix a setting layout to '0' problem.
13351
13352 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13353
13354         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13355         final location of file, for the included files, and graphics.
13356
13357 2002-03-05  Juergen Vigna  <jug@sad.it>
13358
13359         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13360
13361 2002-03-04  Juergen Vigna  <jug@sad.it>
13362
13363         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13364
13365         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13366         last column of multicolumn cells.
13367         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13368
13369 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13370
13371         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13372         file if it doesn't go to a temporary file.
13373
13374         * buffer.C (sgmlOpenTag):
13375         (sgmlCloseTag):  remove extra newline insertion.
13376
13377 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13378
13379         * text.C (getRowNearY): comment out debug msg
13380
13381 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13382
13383         * text2.C: first -> first_y
13384
13385         * text.C (getRowNearY): add some attemts at a possible
13386         optimization, not working.
13387
13388         * tabular.[Ch]: add BufferParams to several function so that newly
13389         created paragraph can be initialized to he default layotu for the
13390         buffers textclass.
13391
13392         * tabular-old.C (ReadOld): add buf->params to call of Init
13393
13394         * screen.C: rename text->first to text->first_y
13395
13396         * paragraph.C (breakParagraph): always set layout in the broken
13397         paragraph
13398
13399         * lyxtextclass.C (Read): remove lowercase
13400         (hasLayout): ditto
13401         (operator): ditto
13402         (delete_layout): ditto
13403
13404         * lyxtext.h: rename first -> first_y
13405
13406         * lyxlayout.C (Read): remove lowercase
13407         (name): ditto
13408         (setName): ditto
13409         (obsoleted_by): ditto
13410
13411         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13412
13413         * buffer.C (insertErtContents): add params are to InsetERT
13414         (parseSingleLyXformat2Token): add code to check if a paragraphs
13415         layout really exist.
13416         (parseSingleLyXformat2Token): add params to several inset
13417         constructors
13418         (asciiParagraph): remove lowercase, do the layout comparisons with
13419         no_case
13420
13421         * BufferView_pimpl.C (cursorNext): first -> first_y
13422         (resizeCurrentBuffer): first -> first_y
13423         (updateScrollbar): first -> first_y
13424         (scrollCB): first -> first_y
13425         (workAreaMotionNotify): first -> first_y
13426         (workAreaButtonPress): first -> first_y
13427         (checkInsetHit): first -> first_y
13428         (cursorPrevious): first -> first_y
13429         (cursorNext): first -> first_y
13430         (Dispatch): add buffer_->params to severl inset contructors
13431
13432 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13433
13434         * lyxlayout.C (Read): remove some debug info that I forgot.
13435
13436         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13437         clean up the code slightly.
13438         (makeLinuxDocFile): ditto
13439         (makeDocBookFile): ditto
13440
13441         * text2.C: layout as string
13442
13443         * text.C: layout as string
13444
13445         * paragraph_pimpl.C: layout as string
13446
13447         * paragraph.[Ch]: layout as string
13448
13449         * lyxtextclasslist.[Ch]: layout as string
13450
13451         * lyxtextclass.[Ch]: layout as string
13452
13453         * lyxtext.h: layout as string
13454
13455         * lyxlayout.[Ch]: layout as string
13456
13457         * lyx_cb.C: layout as string
13458
13459         * bufferview_funcs.C: layout as string
13460
13461         * bufferparams.C: layout as string
13462
13463         * buffer.C: layout as string
13464
13465         * LyXView.[Ch]: layout as string
13466
13467         * LaTeXFeatures.[Ch]: layout as string
13468
13469         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13470
13471         * BufferView_pimpl.C: change current_layout to string, remove
13472         lyx::layout_type.
13473         (Dispatch):
13474         (smartQuote):
13475         (insertInset):
13476         (workAreaButtonRelease): layout as string
13477
13478         * BufferView2.C (unlockInset): adjust
13479
13480         * vspace.C (asLatexCommand): use an explict temp variable.
13481
13482 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13483
13484         * Makefile.am: use FRONTEND_*
13485
13486 2002-03-01  Juergen Vigna  <jug@sad.it>
13487
13488         * tabular.C (SetWidthOfMulticolCell): changed to something better
13489         I hope but still work in progress.
13490         (recalculateMulticolumnsOfColumn): renamed function from
13491         recalculateMulticolCells as it is more appropriate now.
13492         (SetWidthOfCell): calculate multicols better.
13493
13494 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13495
13496         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13497
13498         * lyxfunc.C (processKeySym): print sequence also if it is
13499         `deleted' (complete)
13500
13501         * kbsequence.C (print): print sequence even if it is deleted
13502         (complete would be a better word, actually).
13503
13504         * lyxfunc.C (dispatch): print complete options after a prefix key
13505
13506         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13507
13508 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13509
13510         * text2.C (setCharFont): eliminate setCharFont code duplication.
13511
13512 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13513
13514         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13515         LFUN_TABULAR_FEATURE (bug #177)
13516
13517 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13518
13519         * Makefile.am: remove figure.h
13520
13521 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13522
13523         * Bufferview_pimpl.C:
13524         * CutAndPasteC:
13525         * LaTeX.C:
13526         * LyXSendto.C:
13527         * buffer.C:
13528         * bufferlist.C:
13529         * converter.C:
13530         * language.C:
13531         * lyxfunc.C:
13532         * lyxvc.C:
13533         * paragraph.C:
13534         * text.C:
13535         * text2.C: remove #include "lyx_gui_misc.h".
13536
13537         * LaTeX.C: added #include <cstdio>
13538
13539 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13540
13541         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13542         that the paragraph following this one can have.
13543
13544         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13545
13546         * vspace.C (asLatexCommand): fix bogus gcc warning
13547
13548         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13549
13550 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13551
13552         * text2.C (setLayout): get rid of redundant code
13553
13554 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13555
13556         * text2.C (incDepth): make sure depth cannot be increased beyond
13557         reasonable values.
13558
13559 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13560
13561         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13562         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13563
13564         * PainterBase.h (image):
13565         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13566         a LyXImage const *.
13567
13568 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13569
13570         * BufferView.C:
13571         * BufferView.h:
13572         * BufferView_pimpl.C:
13573         * BufferView_pimpl.h:
13574         * LaTeXFeatures.C:
13575         * LyXAction.C:
13576         * LyXView.C:
13577         * Makefile.am:
13578         * UpdateList.h:
13579         * UpdateList.C:
13580         * buffer.C:
13581         * figure.h:
13582         * figureForm.C:
13583         * figureForm.h:
13584         * figure_form.C:
13585         * figure_form.h:
13586         * lyx_cb.C:
13587         * lyx_gui.C:
13588         * lyx_gui_misc.C:
13589         * lyxfunc.C:
13590         * sp_base.h:
13591         * sp_ispell.h:
13592         * sp_pspell.h:
13593         * sp_spell.C: remove fig inset, and the crap house of
13594           cards that follows it
13595
13596 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13597
13598         * Makefile.am:
13599         * lyxserver.C:
13600         * os2_defines.h:
13601         * os2_errortable.h:
13602         * nt_defines.h: move .h into support/
13603
13604         * vms_defines.h: remove
13605
13606         * WorkArea.C: add space in debug output
13607
13608         * text2.C:
13609         * paragraph.C:
13610         * buffer.C: add WITH_WARNINGS
13611
13612         * vc-backend.h:
13613         * vc-backend.C:
13614         * bufferlist.C: s/retrive/retrieve/, add docs
13615
13616         * vspace.h:
13617         * vspace.C:
13618         * kbmap.h:
13619         * lyxlength.h:
13620         * lyxgluelength.h:
13621         * length_common.h:
13622         * chset.h:
13623         * chset.C: add docs
13624
13625         * lyxgui.C: add ID to X error handler
13626
13627         * lyxtestclass.c: fix typo
13628
13629 2002-02-26  Juergen Vigna  <jug@sad.it>
13630
13631         * tabular_funcs.C (write_attribute): changed so that some default
13632         attributes are not written at all.
13633         (getTokenValue): set default values before trying to read the
13634         value so we have the return value always set as default if we don't
13635         find the token we search for.
13636
13637         * tabular.C (Write): write bools as bools not as strings!
13638
13639 2002-02-22  Juergen Vigna  <jug@sad.it>
13640
13641         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13642         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13643
13644         * text.C (leftMargin): don't add an indent for paragraphs inside
13645         tabular cells (fix #208).
13646
13647 2002-02-21  José Matos  <jamatos@fep.up.pt>
13648
13649         * tabular.C (docBook): fixed support for long tables.
13650
13651 2002-02-20  Juergen Vigna  <jug@sad.it>
13652
13653         * text2.C (getFont): get the drawing font of the Inset if this
13654         paragraph is inside an inset (only important for InsetERT for now).
13655
13656         * buffer.C (insertErtContents): use new lanugage params in ERT
13657         constructor.
13658
13659         * CutAndPaste.C: commenting out seemingly uneeded code.
13660
13661 2002-02-19  Allan Rae  <rae@lyx.org>
13662
13663         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13664         Iterators might be simple to use but they also get invalidated.
13665         (removeAutoInsets): renamed saved cursor tracking variables and added
13666         some comments to clarify what everything does.
13667
13668 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13669
13670         * Chktex.C:
13671         * LaTeX.C:
13672         * LyXSendto.C:
13673         * converter.C:
13674         * lyx_cb.C:
13675         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13676         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13677
13678         * lyxfunc.C:
13679         * vc-backend.h: remove #include "support/syscall.h"
13680
13681         * LaTeX.C:
13682         * LyXSendto.C:
13683         * converter.C: rearrange #includes in Lars' approved fashion.
13684
13685         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13686         forward declare class Timeout in the header file.
13687
13688         * XFormsView.C: changes due to the above.
13689
13690         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13691         similar to LyXView.
13692
13693         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13694         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13695
13696 2002-02-18  José Matos  <jamatos@fep.up.pt>
13697
13698         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13699         insets contents.
13700
13701 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13702
13703         * a lot of small ws changes
13704         * add a lot of using std::XXX
13705         * use std construcs some places where approp.
13706         * use some exisint stuff from lyxfunctional where approp.
13707         * Make file changes to use partial linking (lets test this now...)
13708
13709 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13710
13711         * Chktex.C:
13712         * buffer.C:
13713         remove #include "support/syscontr.h" as it's redundant. Always has been.
13714
13715         * Chktex.C:
13716         * LaTeX.C:
13717         * LyXSendto.C:
13718         * converter.C:
13719         * lyx_cb.C:
13720         * vc-backend.C:
13721         change Systemcalls::System to Systemcalls::Wait and
13722         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13723         No change of functionality, just reflects the stripped down Systemcalls
13724         class.
13725
13726 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13727
13728         * debug.[Ch]: add a GRAPHICS type to the enum.
13729
13730 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13731
13732         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13733
13734         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13735         there is an inset.
13736
13737 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13738
13739         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13740         match the changes below.
13741
13742         * text2.C (toggleInset): if there is not editable inset at cursor
13743         position, try to see if cursor is _inside_ a collapsable inset
13744         and close it.
13745
13746 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13747
13748         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13749         document menu has a nice checkbox
13750
13751 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13752
13753         * lyxlength.C (asLatexString): change PW to output as percent of
13754         \textwidth.
13755
13756         * lengthcommon.C: change '%' to 't%'
13757
13758         * lyxfunc.C (dispatch): a few comments from Martin
13759
13760 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13761
13762         * WorkArea.h:
13763         * WorkArea.C:
13764         * BufferView_pimpl.h:
13765         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13766           the X selection.
13767
13768 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13769
13770         * vspace.C (inPixels): fix compiler warning
13771
13772 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13773
13774         * lyxfunc.C (getStatus): fix status message for disabled commands.
13775
13776 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13777
13778         * BufferView_pimpl.C: fix crash on close buffer
13779         during selection (#227)
13780
13781 2002-01-27  Herbert Voss  <voss@lyx.org>
13782
13783         * buffer.C: link old Figure to new graphic inset
13784
13785 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13786
13787         * FontLoader.C (getFontinfo): Change the latex font names in order
13788         to match the names of type1inst.
13789
13790 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13791
13792         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13793
13794         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13795         (extchanged): ditto
13796         (ext_exist): ditto
13797         (remove_files_with_extension): ditto
13798         (remove_file): ditto
13799         (write): ditto
13800
13801         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13802         document is smaller than the work area height. Do not initialize
13803         static variables to 0.
13804
13805 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13806
13807         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13808
13809         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13810         LFUN_LAYOUT_PARAGRAPHS.
13811
13812         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13813         tabular. It is possible to provide a possible cell, which will
13814         typically be the actcell from the corresponding insettabular
13815
13816         * lyxfunc.C (getStatus): small cleanup; disable
13817         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13818         true
13819
13820 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13821
13822         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13823
13824         * paragraph.C (startTeXParParams):
13825         (endTeXParParams): new methods. The LaTeX code to
13826         start/end paragraph formatting
13827         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13828         empty (fixes bug #200)
13829
13830         * vspace.C (inPixels): adapt to the change below
13831         (inPixels): [later] more cleanups (remove unused variables)
13832
13833         * lyxlength.C (inPixels): change to use a width and a height as
13834         parameter.
13835
13836 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13837
13838         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13839         Replaced with \paperwidth
13840
13841         * DepTable.C (insert): add std:: qualifier
13842
13843 2002-01-18  Allan Rae  <rae@lyx.org>
13844
13845         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13846         updated also?
13847
13848         * text.C (drawInset): Turned out I didn't know enough about how
13849         rebreaking worked.  This fixes most of the redraw problems.  I see
13850         an occasional cursor trail when a line is broken now and the cursor
13851         placement can seem out by a few pixels also after a rebreak.
13852
13853 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13854
13855         * buffer.C (parseSingleLyXformat2Token): update because minipage
13856         width is now a LyXLength
13857
13858         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13859
13860         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13861         math insets
13862
13863 2002-01-17  Juergen Vigna  <jug@sad.it>
13864
13865         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13866
13867         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13868         is set correctly and the inset is updated correctly.
13869
13870 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13871
13872         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13873         the beginning of the loop.
13874
13875 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13876
13877         * lyxrc.C: improve help for use_scalable_fonts
13878
13879 2002-01-17  Allan Rae  <rae@lyx.org>
13880
13881         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13882
13883 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13884
13885         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13886         make sure to set their inset_owner to the right value (bug #171)
13887
13888 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13889
13890         * DepTable.h
13891         * DepTable.C: Implement mtime checking to reduce time spent doing
13892         CRCs.
13893
13894 2002-01-16  Juergen Vigna  <jug@sad.it>
13895
13896         * tabular.C (GetAdditionalHeight): one of error fixed.
13897
13898         * lyxrc.C (output): small fix in writing use_pspell.
13899
13900 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13901
13902         * sp_base.h: #include LString.h
13903
13904 2002-01-16  Allan Rae  <rae@lyx.org>
13905
13906         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13907         Can someone check this please?
13908
13909         * text.C (drawInset): It was possible that p.row would be removed by
13910         breakAgainOneRow upsetting a few other settings.  There may be another
13911         small tweak possible by setting need_break_row = 0 when p.row has been
13912         removed but I don't know enough about the logic here.
13913
13914 2002-01-15  Allan Rae  <rae@lyx.org>
13915
13916         * text.C (insertChar): removed conditional truism.
13917
13918         * BufferView2.C (removeAutoInsets): More tweaks.
13919         cur_par_prev could be a stray pointer.  Check for trailing empty line
13920         in case last line was cur_par and only had an error inset on it.
13921
13922 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13923
13924         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13925         absolute
13926
13927         * vc-backend.C (most methods):
13928         * exporter.C (Export):
13929         * converter.C (convert):
13930         (runLaTeX):
13931         * LyXSendto.C (SendtoApplyCB):
13932         * lyxfunc.C (dispatch):
13933         (menuNew):
13934         (open):
13935         (doImport):
13936         * lyx_cb.C (AutoSave):
13937         (InsertAsciiFile):
13938         * BufferView_pimpl.C (MenuInsertLyXFile):
13939         * buffer.C (runChktex): use Buffer::filePath().
13940
13941         * buffer.h: rename filename to filename_; rename filepath to
13942         filepath_ and make it private
13943         (filePath): new method
13944
13945         * buffer.C (writeFile): use fileName()
13946         (getLatexName):
13947
13948         * lyx_main.C (init): fix starting  of LyX when the binary is a
13949         link from so,ewhere else.
13950
13951         * minibuffer.C: include <cctype> for isprint
13952
13953 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13954
13955         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13956         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13957         name clash with InsetCollapsable's width function.
13958
13959 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13960
13961         * lastfiles.C: include <iterator>
13962
13963 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13964
13965         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13966         std::count.
13967
13968         * buffer.C (makeLaTeXFile): ditto.
13969         Also make loop operation more transparent.
13970
13971 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13972
13973         * ToolbarDefaults.C: remove trailing comma closing namespace.
13974
13975         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13976
13977         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13978         as in WorkArea.
13979
13980         * trans.C (Load): comment out unused variable, allowed.
13981
13982 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13983
13984         * minibuffer.[Ch] (append_char): new method to recieve input from the
13985         drop-down completion browser. If a key was pressed, then recieve this
13986         char and append it to the existing string.
13987         (peek_event): modify the positioning data passed to the completion
13988         browser so that it can be placed above the minibuffer rather than below.
13989 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13990
13991         * LyXAction.C (init): alloe error-next for readonly documents.
13992
13993         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13994         count.
13995
13996 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13997
13998         * bufferlist.C (readFile): create the buffer _after_ checking that
13999         the file exists.
14000
14001         * lyxfunc.C (verboseDispatch): fix handling of arguments
14002
14003         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14004
14005         * lyxrc.C: use string::erase() instead of initializing to "".
14006
14007
14008 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14009
14010         * BufferView_pimpl.h:
14011         * BufferView_pimpl.C:
14012         * WorkArea.h:
14013         * WorkArea.C:
14014         * text2.C: tell X when we have made a selection for copying
14015
14016 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14017
14018         * BufferView_pimpl.C (MenuInsertLyXFile):
14019         * lyxfunc.C (menuNew):
14020         (open):
14021         (doImport): add shortcuts to directory buttons
14022
14023         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14024         open a float)
14025
14026         * lyxfunc.C (setStatusMessage):
14027         (getStatusMessage): new methods
14028         (getStatus):use setStatusMessage instead of setErrorMessage
14029         (dispatch): when function is disabled, set error message here
14030         [instead of in getStatus previously]
14031
14032         * BufferView_pimpl.C (workAreaButtonRelease): update
14033         toolbar/menubar here too.
14034
14035 2002-01-13  Allan Rae  <rae@lyx.org>
14036
14037         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14038         Now seems indestructible.  Remaining task is to audit all other
14039         code affected by deleteEmptyParagraphMechanism.  One small quirk
14040         left is that an empty document with an error in the preamble can
14041         be made to report an error but no error box appears.  I don't know
14042         where it goes.
14043         (removeAutoInsets): Improved comments.
14044
14045 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14046
14047         * Thesaurus.h:
14048         * Thesaurus.C: update for Aiksaurus 0.14
14049
14050 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14051
14052         * text2.C (firstParagraph): removed member function, all uses
14053         replaces with ownerParagraph
14054         (redoParagraphs): here
14055         (updateInset): here
14056         (toggleAppendix): here
14057         * BufferView2.C (insertErrors): here
14058         (setCursorFromRow): here
14059
14060 2002-01-13  Allan Rae  <rae@lyx.org>
14061
14062         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14063         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14064         There is still a way to segfault this although you may have to do this
14065         multiple times: Have an InsetERT with an unknown command in it.
14066         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14067         <down-arrow>, <Enter> again, View->DVI, BANG!
14068
14069         * text2.C (setCursor):
14070         (deleteEmptyParagraphMechanism):
14071         * lyxtext.h (setCursor):
14072         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14073         Making use of the return value may help fix other bugs.
14074
14075 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14076
14077         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14078
14079         * LyXView.C (updateMenubar): call MenuBar::update here
14080         (updateToolbar): but not here
14081         (showState): do not update toolbar/menubar
14082
14083         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14084         should need to care about that.
14085
14086         * lyxfunc.C (verboseDispatch): simplify a bit
14087         (getStatus): have a version which takes a pseudoaction, and
14088         another which requires a (kb_action,string).
14089
14090         * LyXAction.C (retrieveActionArg): make it work also when action
14091         is not a pseudo-action.
14092         (getActionName): simplify a bit
14093         (helpText):
14094
14095 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14096
14097         * lyxfunc.C (verboseDispatch): new families of methods with
14098         several ways to specify a command and a bool to indicate whether
14099         the command name and shortcut should be displayed in minibuffer
14100         (eventually, we could extend that to a finer bitmask like
14101         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14102         (dispatch): the pristine dispatch command which just, well,
14103         dispatchs! Note it still sets its result to minibuffer; I'm not
14104         sure we want that.
14105
14106         * lyxfunc.h: remove setHintMessage
14107
14108         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14109
14110 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14111
14112         * BufferView_pimpl.C (specialChar): delete new inset if we have
14113         not been able to insert it.
14114
14115         * kbmap.C: revert to using int instead of kb_action, since all we
14116         are dealing with is pseudo-actions.
14117
14118         * LyXAction.C (searchActionArg): change to return int instead of
14119         kb_action, since the result is a pseudoaction.
14120
14121 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14122
14123         * buffer.C (insertErtContents): Fix (partially) the font bug.
14124
14125 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14126
14127         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14128         as the other one is broken on my machine!
14129
14130 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14131
14132         * commandtags.h:
14133         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14134
14135 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14136
14137         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14138         reflect their actual use. Provide compatibility code for older lyxrc
14139         files.
14140
14141         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14142         FL_NORMAL_STYLE.
14143         change names of popup font variables in line with the changes to lyxrc.C
14144
14145 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14146
14147         * buffer.C (asciiParagraph): avoid outputing a word twice after
14148         an inset.
14149
14150         * lyxrc.C (getDescription): document that document_path and
14151         template_path can be empty.
14152
14153 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14154
14155         * LaTeXFeatures.C (getMacros):
14156         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14157
14158         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14159
14160         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14161         getPackages.
14162         (getPackages): rename feature "floats" to "float". Use an array to
14163         iterate over 'simple' features (i.e. just a \usepackage). Add
14164         handling of "amsmath" (renamed from "amsstyle").
14165
14166 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14167
14168         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14169         features list.
14170
14171 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14172
14173         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14174         FuncStaus::FuncStatus & FuncStaus::some_method().
14175
14176 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14177
14178         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14179         of the func_satus stuff. Edited and massaged in various ways by
14180         JMarc.
14181
14182         * lyxfunc.C (getStatus): use FuncStatus
14183
14184 2002-01-08  Juergen Vigna  <jug@sad.it>
14185
14186         * text.C (nextBreakPoint): use function Inset::isChar().
14187
14188         * paragraph.C (TeXOnePar): use function
14189         Inset::forceDefaultParagraphs.
14190
14191         * buffer.C (latexParagraphs): use function
14192         Inset::forceDefaultParagraphs.
14193
14194 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14195
14196         * lyx_gui.C (init): set the style of the menu popups to
14197         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14198
14199 2002-01-07  Juergen Vigna  <jug@sad.it>
14200
14201         * text.C (setHeightOfRow): small fix
14202         (prepareToPrint): don't look at alignment if we don't have the place
14203         for doing it.
14204
14205 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14206
14207         * box.C: New file. Move the Box methods and functions out of box.h,
14208         following Lars' suggestion.
14209
14210 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14211
14212         * box.h: #include "support/LOstream.h", needed for inlined function.
14213
14214         * lyxtextclass.C:
14215         * lyxtextclasslist.C: added some using std declarations.
14216
14217 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14218
14219         * box.h: make signed dimensions to allow insets wider than
14220           the screen (bug #162)
14221
14222         * BufferView_pimpl.C: add some insetHit debug
14223
14224 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14225
14226         * vc-backend.C: add FIXME
14227
14228 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14229
14230         * lyxfunc.C (getStatus): enable code for showing math font status
14231         in toolbar/menu.
14232
14233 2002-01-07  Juergen Vigna  <jug@sad.it>
14234
14235         * text.C (nextBreakPoint): removed debug output not needed anymore.
14236
14237 2002-01-06  Juergen Vigna  <jug@sad.it>
14238
14239         * text.C (nextBreakPoint): fixed up this function we had this bug
14240         since ever but now hopefully we break row better.
14241         (insertChar): we have to check if an inset is the next char as it
14242         could now happen that a large inset is causing a break.
14243
14244 2002-01-05  Juergen Vigna  <jug@sad.it>
14245
14246         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14247         if it doesn't like to be drawed.
14248
14249 2002-01-04  Juergen Vigna  <jug@sad.it>
14250
14251         * BufferView2.C (lockInset): forgot to set a cursor.
14252
14253         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14254
14255 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14256
14257         * FormMathsPanel.C:
14258         * FormMathsPanel.h
14259         * MathsSymbols.C:
14260         * form_maths_panel.C:
14261         * form_maths_panel.h:
14262         * form_maths_panel.fd: implemented sub- and super- buttons in math
14263         panel.
14264
14265         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14266         (or ^ space) to be used as in TeX (req'd by Andr�.
14267
14268         * lyxfunc.C: Allow ^ and _ again to be used both as
14269         super/subscript (mathed) and as themselves (in text).
14270
14271 2002-01-03  Allan Rae  <rae@lyx.org>
14272
14273         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14274         "LyX" or the filename of the current buffer if it has one.  This is a
14275         modified form of John Levon's patch.
14276
14277         * XFormsView.C (setWindowTitle): also set icon title.
14278
14279         * LyXView.h (setWindowTitle): signature changed.
14280         * XFormsView.h (setWindowTitle): ditto.
14281
14282 2002-01-02  Juergen Vigna  <jug@sad.it>
14283
14284         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14285
14286 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14287
14288         * screen.C (topCursorVisible): introduce a temp var for
14289         text->cursor.row(), handle the case where this row is null. (kindo
14290         hachish)
14291
14292         * text2.C (setCursor): add a couple of asserts.
14293
14294         * paragraph.h (inset_iterator): add -> operator
14295
14296         * paragraph.[Ch] (autoDeleteInsets): remove member function
14297
14298         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14299         cursor pos correctly and handle inset deletion by itself.
14300         (insertErrors): move iterator declaration out of for expression
14301
14302         * lyxtextclass.C: add <algorithm>
14303
14304         * Makefile.am: added the new files to sources, removed layout.C
14305
14306         * layout.C: removed file
14307
14308         * layout.h: remove LYX_DUMMY_LAYOUT
14309
14310         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14311         layout.
14312
14313         * lyxlayout.[Ch]:
14314         * lyxtextclass.[Ch]:
14315         * lyxtextclasslist.[Ch]: new files
14316
14317         * include order changes to a lot of files, also changes because of
14318         the six new files.
14319
14320 2001-12-27  Juergen Vigna  <jug@sad.it>
14321
14322         * buffer.C (asciiParagraph): more fixes.
14323
14324         * tabular.C (ascii): make ascii export support export of only the
14325         data separated by a column-delimiter.
14326         (ascii): better support for ascii export.
14327
14328         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14329
14330 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14331
14332         * tabular_funcs.C: use a "using std::getline" instead of the
14333         previous fix from Angus (necessary for cxx + lyxstring)
14334
14335 2001-12-24  Juergen Vigna  <jug@sad.it>
14336
14337         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14338
14339         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14340         problems. First check a minipage also if we have some ert-contents
14341         (not only on par->size(), second set the right depth of the paragraph
14342         on the relink to the root-paragraph-list!
14343
14344         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14345         which then did not anymore update the main paragraphs on undo/redo!
14346
14347 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14348
14349         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14350         code. Support all font-changing funcs (even those which are not in
14351         menu currently). Support for reporting font settings in
14352         mathed (disabled until Andre provides a function on mathed's side).
14353
14354         * func_status.h (toggle): small helper function to set toggle
14355         state on a flag.
14356
14357 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14358
14359         * tabular_funcs.C: getline -> std::getline
14360
14361 2001-12-21  Juergen Vigna  <jug@sad.it>
14362
14363         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14364         accessed and could be 0 (I couldn't generate this but it seems
14365         Michael could!).
14366
14367 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14368
14369         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14370         * tabular_funcs.h: here and include iosfwd
14371
14372 2001-12-20  Juergen Vigna  <jug@sad.it>
14373
14374         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14375         inside inset but undo_par was.
14376
14377 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14378
14379         * Thesaurus.C: always include <config.h> in sources.
14380
14381         * Painter.h:
14382         * lyxlookup.h:
14383         * box.h: do not include <config.h> in header files
14384
14385         * text.C (paintLastRow): remove unused variable
14386
14387         * text.C (transformChar):
14388         (insertChar):
14389         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14390
14391         * Painter.C (text):
14392         * font.C (width): rewrite to use uppercase() instead of
14393         islower/toupper.
14394
14395         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14396
14397 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14398
14399         * lyxfind.C: clean up of find failure position change
14400
14401 2001-12-20  Juergen Vigna  <jug@sad.it>
14402
14403         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14404
14405         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14406         (TeXRow): added to LaTeX a single tabular row.
14407         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14408         (Latex): simplified and finally good LT-h/f support.
14409         (various_functions): just small adaptions for LT-h/f support.
14410
14411         * tabular_funcs.[hC]: added and moved here all not classfunctions
14412         of LyXTabular.
14413
14414 2001-12-19  Juergen Vigna  <jug@sad.it>
14415
14416         * tabular.[Ch]: better support for longtabular options (not finished
14417         yet!)
14418
14419 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14420
14421         * text.C (paintLastRow): use the label font instead of the font of
14422         the last character to compute the size of *_BOX. This makes more
14423         sense and avoids a crash with empty paragraphs.
14424         Use Painter::rectangle to draw EMPTY_BOX.
14425
14426 2001-12-19  Juergen Vigna  <jug@sad.it>
14427
14428         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14429         the paragraphs if the replaced paragraph is not the first one!
14430         Tried to delete not used paragraphs but does not work yet so for
14431         now it's inside #ifdef's and by default off!
14432
14433 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14434
14435         * MenuBackend.C: include "lyx_main.h" instead of declaring
14436         lastfiles (actually was declared as LastFiles* instead of a
14437         scoped_ptr).
14438
14439 2001-12-17  Juergen Vigna  <jug@sad.it>
14440
14441         * tabular.C (AppendColumn): applied John's fix
14442
14443 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14444
14445         * BufferView.h:
14446         * BufferView.C:
14447         * BufferView_pimpl.h:
14448         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14449
14450         * Makefile.am:
14451         * box.h: new start of class for above
14452
14453         * lyxfunc.C: ignore space-only minibuffer dispatches.
14454           Show the command name when it doesn't exist
14455
14456         * minibuffer.C: don't add empty lines to the history
14457
14458         * minibuffer.C: add a space on dropdown completion
14459
14460 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14461
14462         * text.C: fix line above/below drawing in insets
14463
14464 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14465
14466         * lyxlength.C (LyXLength): Initialize private variables.
14467
14468 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14469
14470         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14471         when inserting error insets.
14472
14473 2001-12-13  Juergen Vigna  <jug@sad.it>
14474
14475         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14476         actually sometimes the before-paragraph.
14477         (setUndo): don't clear the redostack if we're not actually undoing!
14478
14479 2001-12-06  Juergen Vigna  <jug@sad.it>
14480
14481         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14482         and fixed redoing of main paragraph, so we can use it now ;)
14483
14484         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14485
14486 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14487
14488         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14489         Juergen's request
14490
14491 2001-12-13  André Pönitz <poenitz@gmx.net>
14492
14493         * undostack.[Ch]:
14494         * undo_func.C: minor cleanup
14495
14496 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14497
14498         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14499         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14500         font in urw-fonts package which is marked as -urw-fontspecific and
14501         does not work (incidentally, changing the encoding in the
14502         fonts.dir of this package to -adobe-fontspecific fixes the
14503         problem).
14504
14505         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14506         is a crash when undoing first paragraph (Juergen, please take a
14507         look). THis does not mean the undo fix is wrong, just that it
14508         uncovers problems.
14509
14510         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14511         the (Paragraph*) version when needed instead of duplicating the
14512         code.
14513
14514         * text.C (workWidth): use Inset::parOwner to find out where the
14515         inset has been inserted. This is a huge performance gain for large
14516         documents with lots of insets. If Inset::parOwner is not set, fall
14517         back on the brute force method
14518
14519         * paragraph_pimpl.C (insertInset):
14520         * paragraph.C (Paragraph):
14521         (cutIntoMinibuffer): set parOwner of insets when
14522         inserting/removing them
14523
14524         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14525
14526 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14527
14528         * commandtags.h:
14529         * LyXAction.C:
14530         * lyx_main.C:
14531         * lyxfunc.C:
14532         * mathed/formulabase.C:
14533         * mathed/math_cursor.[Ch]:
14534         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14535
14536
14537 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14538
14539         * lyxlength.[Ch] (operator!=): new function
14540
14541 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14542
14543         * text.C (workWidth): use Inset::parOwner to find out where the
14544         inset has been inserted. This is a huge performance gain for large
14545         documents with lots of insets. If Inset::parOwner is not set, fall
14546         back on the brute force method
14547
14548         * paragraph_pimpl.C (insertInset):
14549         * paragraph.C (Paragraph):
14550         (cutIntoMinibuffer): set parOwner of insets when
14551         inserting/removing them
14552
14553         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14554
14555 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14556
14557         * tabular-old.C (getTokenValue):
14558         * tabular.C (getTokenValue):
14559         (write_attribute): new versions for LyXLength
14560         (everywhere): adjust the use of widths
14561
14562         * tabular.h: change the type of widths from string to LyXLength
14563
14564 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14565
14566         * paragraph.C: fixed missing line number count when exporting
14567         Environments to LaTeX file
14568
14569         * buffer.C: added informational message for checking line numbers.
14570
14571 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14572
14573         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14574         paragraph, do the 'double space' part, but not the 'empty
14575         paragraph' one.
14576
14577         * text.C (workWidth): small optimization
14578         (getLengthMarkerHeight): use minimal size for negative lengths.
14579
14580 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14581
14582         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14583
14584         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14585
14586 2001-12-11  André Pönitz <poenitz@gmx.net>
14587
14588         * FontLoader.C:
14589         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14590
14591 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14592
14593         * text2.C: keep selection on a setFont()
14594
14595 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14596
14597         * lyx_cb.C: another bv->text misuse, from insert label
14598
14599 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14600
14601         * kbsequence.h:
14602         * kbsequence.C: re-instate nmodifier mask
14603
14604 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14605
14606         * lyx_main.h: make lyxGUI private.
14607
14608 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14609
14610         * lyxfind.C: place the cursor correctly on failed search
14611
14612 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14613
14614         * text.C (getLengthMarkerHeight): for small heights, the arrows
14615         are not always on top/bottom of the text
14616         (drawLengthMarker): smaller arrows; take the left margin in
14617         account; draw also vfills.
14618         (paintFirstRow):
14619         (paintLastRow): remove special code for vfill and standard spaces,
14620         since everything is handled in drawLengthMarker now.
14621
14622 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14623
14624         * buffer.C (insertErtContents): try to handle font and language
14625         interaction a bit better.g
14626
14627         * ColorHandler.C (updateColor): change the hash to cover the whole
14628         LColor enum, ws cleanup
14629         (getGCLinepars): ditto
14630         (getGCLinepars): only lookup in the linecache once.
14631
14632 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14633
14634         * iterators.C (operator++): Make the iterator more robust
14635
14636         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14637         (John's patch)
14638         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14639
14640 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14641
14642         * lyxtext.h:
14643         * text.C: better added space drawing
14644
14645 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14646
14647         * LyXView.C:
14648         * BufferView2.C: fix layout combo update on inset unlock
14649
14650 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14651
14652         * Makefile.am: don't compile unused files
14653
14654 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14655
14656         * lyxfunc.C:
14657         * commandtags.h:
14658         * LyXAction.C: remove old LFUN_LAYOUTNO
14659
14660 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14661
14662         * paragraph_pimpl.h:
14663         * paragraph_pimpl.C: isTextAt() doesn't need font param
14664
14665 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14666
14667         * lyxlex.h:
14668         * lyxlex.C: little cleanup
14669
14670 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14671
14672         * BufferView_pimpl.C: fix insertAscii for insets
14673
14674 2001-12-05  Juergen Vigna  <jug@sad.it>
14675
14676         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14677         set the right font on the "multi" paragraph paste!
14678
14679 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14680
14681         * trans_decl.h:
14682         * trans_mgr.[Ch]:
14683         * trans.[Ch]:
14684         * lyxgluelength.C:
14685         * lyxlength.C: remove out-commented code.
14686
14687         * BufferView_pimpl:
14688         * CutAndPaste.C:
14689         * DepTable.C:
14690         * buffer.C:
14691         * chset.C:
14692         * lastfiles.C:
14693         * lyxlex.C:
14694         * lyxlex_pimpl.C:
14695         * lyxserver.C:
14696         * screen.C:
14697         * tabular-old.C:
14698         * tabular.C:
14699         * text.C:
14700         * trans_mgr.C:
14701         * vc-backend.C: change "while(" to "while ("
14702
14703         * lyxlength.[Ch]: add zero function to check if length is zero or
14704         not
14705         * lyxgluelength.C: use it
14706
14707 2001-12-05  Allan Rae  <rae@lyx.org>
14708
14709         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14710         Works for 2.95.3, from what I understand of Garst's reports this should
14711         work for other g++ versions.  We're screwed if the abs(int) definition
14712         changed between bugfix releases of gcc.
14713
14714 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14715
14716         * text.C: fix chapter label offset !
14717
14718 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14719
14720         * lyxtext.h:
14721         * text.C: fix hfill at end of line, clean up
14722
14723 2001-12-04  Juergen Vigna  <jug@sad.it>
14724
14725         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14726         that we force an update of the inset and it's owners if neccessary.
14727
14728 2001-12-03  Juergen Vigna  <jug@sad.it>
14729
14730         * text.C (rowLast): simplified code
14731
14732 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14733
14734         * lyxfunc.C: fix show options on timeout
14735
14736 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14737
14738         * screen.C (topCursorVisible): scroll half a page when the cursor
14739         reached top of bottom of screen
14740
14741 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14742
14743         * minibuffer.C: deactivate on loss of focus
14744
14745 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14746
14747         * vspace.[Ch] (operator!=): add operator.
14748
14749 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14750
14751         * BufferView_pimpl.C: refuse to open an inset when
14752         there's a selection.
14753
14754 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14755
14756         * BufferView_pimpl.C: allow to click on RHS of full row insets
14757
14758 2001-11-30  Juergen Vigna  <jug@sad.it>
14759
14760         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14761         insets for undo reasons.
14762
14763 2001-11-28  André Pönitz <poenitz@gmx.net>
14764
14765         * vspace.[Ch]: cosmetical changes
14766
14767 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14768
14769         * LyXAction.h:
14770         * LyXAction.C:
14771         * lyxfunc.h:
14772         * lyxfunc.C:
14773         * kbmap.h:
14774         * kbmap.C:
14775         * lyxrc.C:
14776         * kbsequence.h:
14777         * kbsequence.C: part re-write of old kb code
14778
14779         * Painter.C:
14780         * WorkArea.C: remove Lgb_bug_find_hack
14781
14782 2001-11-30  José Matos <jamatos@fep.up.pt>
14783
14784         * buffer.C (makeDocBookFile): add a comment to point a hack.
14785         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14786         Fixed a double write of labels.
14787
14788 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14789
14790         * LaTeX.C:
14791         * LaTeX.h Fixed bug in LaTeX class where it would not
14792         re-run latex if no depfiles were changed, but the .dvi was removed.
14793
14794 2001-11-28  André Pönitz <poenitz@gmx.net>
14795
14796         * all the files from the change on 2001/11/26:
14797         use lyx::layout_type instead of LyXTextClass::size_type
14798         use lyx::textclass_type instead of LyXTextClassList::size_type
14799
14800 2001-11-29  Juergen Vigna  <jug@sad.it>
14801
14802         * text.C: added support for paragraph::isFreeSpacing()
14803
14804         * buffer.C: same as above
14805
14806         * paragraph.h: inserted isFreeSpacing() function to enable
14807         FreeSpacing inside InsetERT.
14808
14809         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14810         of the paragraph's in the cut/copy buffer to 0!
14811
14812         * text2.C (removeRow): remove the assert as it can!
14813
14814         * lyxtext.h: added helper function firstRow returning firstrow and
14815         made firstrow private again.
14816
14817         * BufferView2.C (lockInset): don't relock if we're already locked!
14818
14819         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14820         the only paragraph.
14821         (removeRow): added Assert::(firstrow)
14822
14823         * debug.C: forgot to add INSETTEXT here.
14824
14825 2001-11-28  Juergen Vigna  <jug@sad.it>
14826
14827         * sp_spell.C (initialize): changed error text to more general
14828         spellchecker command use (not only ispell!)
14829
14830         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14831
14832         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14833
14834 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14835
14836         * vspace.C: initialise lyxgluelength on failure
14837
14838 2001-11-28  Allan Rae  <rae@lyx.org>
14839
14840         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14841         declaration & definition that looks like a function declaration.
14842
14843 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14844
14845         * BufferView2.C (copy):
14846         (copyEnvironment): do not clear the selection when doing a copy.
14847
14848         * text.C (paintFirstRow): compilation fix
14849
14850 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14851
14852         * tabular.C (Latex): correct line count when writing latex.
14853
14854 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14855
14856         * paragraph_pimpl.h:
14857         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14858           bug a bit
14859
14860 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14861
14862         * text.C:
14863         * LColor.h:
14864         * LColor.C: change vfillline->added_space
14865
14866         * text.C: add markers and text for added space
14867
14868         * vspace.C: fix comment
14869
14870 2001-11-28  André Pönitz <poenitz@gmx.net>
14871
14872         * paragraph.C: whitespace changes
14873         * all the other files from the change on 2001/11/26:
14874         change *::pos_type into lyx::pos_type
14875
14876 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14877
14878         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14879         language of the document when inserting error insets.
14880
14881 2001-11-26  André Pönitz <poenitz@gmx.net>
14882
14883         * BufferView_pimpl.[Ch]:
14884         *       CutAndPaste.C:
14885         * buffer.[Ch]:
14886         * lyxcursor.[Ch]:
14887         * lyxfind.C:
14888         * lyxfunc.C:
14889         * lyxrow.[Ch]:
14890         * paragraph.[Ch]:
14891         * paragraph_pimpl.[Ch]:
14892         * sp_spell.C:
14893         * text.C:
14894         * text2.C: reduce header dependencies, introduce type for positions
14895
14896 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14897
14898         * <various>: change to use Alert.h
14899
14900 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14901
14902         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14903         when encountering an unknown token.
14904         (readLyXformat2): Show an error message if there were unknown tokens.
14905
14906 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14907
14908         * BufferView2.C:
14909         * BufferView_pimpl.C:
14910         * buffer.C:
14911         * paragraph.h:
14912         * text.C:
14913         * text2.C: use par->isInset()
14914
14915 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14916
14917         * paragraph_pimpl.h:
14918         * paragraph_pimpl.C: cleanup
14919
14920 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14921
14922         * text2.C (removeRow):
14923         * text.C (setHeightOfRow): remove useless (and costly) call to
14924         getRow.
14925
14926 2001-11-20  Allan Rae  <rae@lyx.org>
14927
14928         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14929         Now need Inset*::checkInsertChar() to return true for appropriate
14930         cases so that the characters in the minibuffer will actually be
14931         inserted.
14932
14933 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14934
14935         * text.C: change the order of the includes.
14936         (workWidth): initialize it at once.
14937         (workWidth): make maxw unsigned
14938         (setHeightOfRow): remove unused variable (inset)
14939         (selectSelectedWord): remove unused variable (inset)
14940         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14941
14942 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14943
14944         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14945         server is not running.
14946         (openConnection):
14947         (closeConnection): add debug info when server is disabled.
14948
14949         * ColorHandler.C (getGCForeground): send debug message to GUI
14950         channel.
14951
14952         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14953
14954         * kbmap.C (bind): modify because return conventions of
14955         kb_sequence::parse have changed.
14956
14957         * kbsequence.C (parse): only ignore spaces and not any stupid
14958         control character. This avoids tests like s[i] <= ' ', which are
14959         guaranteed to fail with 8bit characters and signed chars.
14960         Change return code to string::npos when there have been no error
14961         (0 was a bad idea when error is at first character)
14962
14963 2001-11-14  José Matos  <jamatos@fep.up.pt>
14964
14965         * buffer.h:
14966         * buffer.C (simpleDocBookOnePar): removed unused argument.
14967
14968 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14969
14970         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14971         insets which are part of a word. Paragraph::isLetter takes care of
14972         that now. Use Paragraph::isInset to identify insets.
14973         (selectSelectedWord): do not test for hyphenation break.
14974
14975         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14976         that protected spaces are considered as spaces.
14977
14978         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14979         Inset::isLetter.
14980
14981 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14982
14983         * lyxserver.h:
14984         * lyxserver.C: fix it. and small cleanup.
14985
14986 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14987
14988         * BufferView_pimpl.C: use inline helpers
14989
14990         * LaTeXFeatures.h:
14991         * LaTeXFeatures.C: fix typos
14992
14993         * Spacing.h:
14994         * Spacing.C: move spacing_string into class
14995
14996         * ToolbarDefaults.C: move stuff into namespace anon
14997
14998         * layout.h: update enum
14999
15000         * lyxfunc.C: use better debug
15001
15002         * minibuffer.h: fix typo
15003
15004         * debug.h:
15005         * debug.C:
15006         * WorkArea.C: add and use Debug::WORKAREA
15007
15008         * lyxtext.h:
15009         * text.C:
15010         * text2.C: code re-organisation, inline helpers
15011
15012 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15013
15014         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15015         std::vector.empty().
15016
15017 2001-11-09  Allan Rae  <rae@lyx.org>
15018
15019         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15020         '\n's after tables.  Tabular and ERT inset work now makes this no
15021         longer necessary.
15022
15023 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15024
15025         * minibuffer.h:
15026         * minibuffer.C: fix crash, improve drop-down completion
15027
15028 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15029
15030         * lyxserver.h:
15031         * lyxserver.C: invalidate fd's when doing endPipe()
15032
15033 2001-11-08  José Matos  <jamatos@fep.up.pt>
15034
15035         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15036         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15037
15038         * paragraph.h:
15039         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15040
15041 2001-11-07  José Matos  <jamatos@fep.up.pt>
15042
15043         * buffer.h:
15044         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15045         const qualifier.
15046
15047         * buffer.C (sgmlOpenTag):
15048         * buffer.C (sgmlCloseTag): removed debug info.
15049
15050         * buffer.h (sgmlOpenTag):
15051         * buffer.h (sgmlCloseTag): made public.
15052
15053 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15054
15055         * buffer.C (saveParamsAsDefaults):
15056         * lyx_cb.C (MenuLayoutSave): remove
15057
15058         * LyXAction.C (init):
15059         * commandtags.h:
15060         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15061
15062 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15063
15064         * buffer.C (setPaperStuff): removed from here...
15065
15066         * bufferparams.C (setPaperStuff): ... and moved there.
15067
15068 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15069
15070         * minibuffer.h:
15071         * minibuffer.C:
15072         * XFormsView.C: add support for drop-down completion
15073
15074 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15075
15076         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15077         commands.
15078
15079 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15080
15081         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15082         disabled.
15083
15084 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15085
15086         * lyx_main.C: change ref to known bugs
15087
15088 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15089
15090         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15091         to work around older babel problems.
15092
15093 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15094
15095         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15096
15097 2001-10-24  Juergen Vigna  <jug@sad.it>
15098
15099         * tabular-old.C (ReadOld): below variable changes reflected.
15100
15101         * tabular.[Ch]: added ltType struct for longtable header/footer
15102         defines and changed all instances where they are used. Added
15103         future support for double top/bottom rows.
15104
15105 2001-10-24  José Matos  <jamatos@fep.up.pt>
15106
15107         * buffer.h (docbookHandleCaption):
15108         * buffer.C (docbookHandleCaption): removed unused function.
15109         (makeDocBookFile): moved docbook supported version to v4.1.
15110
15111 2001-10-24  José Matos  <jamatos@fep.up.pt>
15112
15113         * tabular.h:
15114         * tabular.C (docbookRow): new function to export docbook code of a row.
15115         (DocBook): now honors the longtable flags.
15116
15117 2001-10-23  José Matos  <jamatos@fep.up.pt>
15118
15119         * LaTeXFeatures.h:
15120         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15121         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15122
15123         * buffer.C (makeLinuxDocFile):
15124         (makeDocBookFile): reworked the preamble, more clean, and with
15125         support for lyx defined entities. Changed the document declaration
15126         to be more XML friendly.
15127
15128         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15129         if we need to output XML that should be done with a filter.
15130
15131 2001-10-22  Juergen Vigna  <jug@sad.it>
15132
15133         * sp_pspell.h (class PSpell): add alive function needed in the
15134         controller to see if the spellchecker could be started.
15135
15136 2001-10-22  Juergen Vigna  <jug@sad.it>
15137
15138         * buffer.C (insertStringAsLines): modify the font for inserting
15139         chars in certain conditions by calling checkInsertChar(font).
15140
15141 2001-10-19  Juergen Vigna  <jug@sad.it>
15142
15143         * text.C (workWidth): use getRow instead of wrong algorithm.
15144         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15145
15146 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15147
15148         * lyxserver.h:
15149         * lyxserver.C:
15150         * lyx_main.h:
15151         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15152
15153 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15154
15155         * text.C (workWidth): do not search for the exact row when
15156         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15157         optimization for big documents.
15158
15159 2001-10-18  Juergen Vigna  <jug@sad.it>
15160
15161         * text.C (workWidth): new function with added Inset * parameter.
15162
15163 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15164
15165         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15166
15167         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15168         change return type of getColumnNearX.
15169
15170
15171         * text.C (changeRegionCase): use uppercase/lowercase instead of
15172         toupper/tolower.
15173         (leftMargin):
15174         (rightMargin): simplify code by factoring out the uses of
15175         textclasslist.
15176         (labelFill):
15177         (numberOfHfills):
15178         (setHeightOfRow):
15179         (appendParagraph): use Paragraph::size_type
15180
15181 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15182
15183         * vspace.C (asLatexString): add a missing break
15184
15185 2001-10-15  Herbert Voss  <voss@perce.de>
15186
15187         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15188
15189 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15190
15191         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15192         is not available.
15193
15194 2001-10-10  André Pönitz <poenitz@gmx.net>
15195
15196         * lyxfunc.C: removed greek_kb_flag.
15197
15198 2001-10-10  Herbert Voss  <voss@perce.de>
15199
15200         * lyx_main.C: delete global string help_lyxdir.
15201
15202 2001-10-09  Herbert Voss  <voss@perce.de>
15203
15204         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15205
15206         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15207
15208         * lyx_main.C: added global string help_lyxdir.
15209
15210         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15211
15212 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15213
15214         * lyxrc.C (set_font_norm_type): support iso8859-4
15215
15216 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15217
15218         * LaTeX.C (deplog): add another regex for MikTeX
15219
15220 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15221
15222         * lyxrc.C (set_font_norm_type): support iso8859-3
15223
15224 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15225
15226         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15227
15228         * LaTeXFeatures.C: remove special case of french and index
15229
15230         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15231         before \begin{document}). This solves several incompatibilities.
15232
15233 2001-10-03  Garst Reese  <reese@isn.net>
15234
15235         * lyx_cb.C: change CheckTex error msg.
15236
15237 2001-10-03  José Matos  <jamatos@fep.up.pt>
15238
15239         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15240
15241 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15242
15243         * .cvsignore: update
15244
15245         * lyx_main.C (commandLineVersionInfo): use new style version info.
15246
15247         * buffer.C (writeFile):
15248         (makeLaTeXFile):
15249         (makeLinuxDocFile):
15250         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15251
15252         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15253
15254         * version.h: update to use stuff in version.C
15255
15256         * version.C.in: new file. Contains version information determined
15257         at compile time. This is a merging of version.h and
15258         version_info.h.in.
15259
15260 2001-10-03  Juergen Vigna  <jug@sad.it>
15261
15262         * BufferView_pimpl.C (update): don't change "dirty" status in
15263         updateInset call.
15264
15265 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15266
15267         * WorkArea.C (c-tor): re-position version string slightly.
15268
15269 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15270
15271         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15272         revert to previous code.
15273
15274         WorkArea.[Ch]: (show, destroySplash): methods removed.
15275
15276         WorkArea.C: rework code so that it's an amalgam of the codes before and
15277         after the splash screen was moved to WorkArea.
15278
15279 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15280
15281         * lyxrc.C (read):
15282         * vspace.C (inPixels):
15283         (lyx_advance):
15284         * kbmap.C (bind):
15285         * buffer.C (insertStringAsLines):
15286         (asciiParagraph): fix types to be large enough
15287
15288         * lyxlex_pimpl.h: change member status from short to int
15289
15290         * layout.h: fix type of endlabeltype
15291
15292         * kbmap.C (bind):
15293         * kbsequence.C (parse): change return type to string::size_type
15294
15295         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15296         variable
15297
15298         * Bullet.C (bulletSize):
15299         (bulletEntry): do not use short ints as parameters
15300
15301         * BufferView2.C (insertLyXFile): change a char to an int.
15302
15303         * WorkArea.C (WorkArea): remove unneeded floats in computation
15304
15305 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15306
15307         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15308
15309         * paragraph.C (asString): Do not ignore newline/hfill chars when
15310         copying to the clipboard.
15311
15312 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15313
15314         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15315         after a multi-line inset.
15316
15317 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15318
15319         * paragraph.C (validate): Set NeedLyXFootnoteCode
15320
15321 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15322
15323         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15324         and decrease-error to decrease.
15325
15326 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15327
15328         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15329         it more readable (should be equivalent)
15330
15331 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15332
15333         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15334
15335 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15336
15337         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15338         of a cursor (row, etc.) after a character has been deleted
15339         (deleteEmptyParagraphMechanism): call the method above on _all_
15340         cursors held by the LyXText when a double space has been
15341         detected/deleted.
15342
15343 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15344
15345         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15346         pixmap.
15347         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15348
15349         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15350         background. Use greyOut() and the new show() methods to toggle between
15351         the foreground and background. Add code to remove the splash after
15352         its initial showing.
15353
15354         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15355         (create_forms): no longer call Dialogs::showSplash.
15356
15357 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15358
15359         * .cvsignore: add version_info.h
15360
15361 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15362
15363         * version_info.h.in: new file
15364
15365         * Makefile.am: add version_info.h.in
15366
15367         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15368         version_info.h instead of VERSION_INFO
15369
15370 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15371
15372         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15373         The ERT inset now returns string().
15374
15375 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15376
15377         * lyxtext.h, text.C (selectNextWord): renamed as
15378         selectNextWordToSpellcheck.
15379
15380         * text.C (selectNextWordToSpellcheck): Modified to not select
15381         words inside an ERT inset.
15382
15383 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15384
15385         * lyx_cb.C (MenuLayoutSave): change a bit the question
15386
15387         * sp_base.h: include <sys/types.h>
15388
15389 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15390
15391         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15392
15393 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15394
15395         * several files: fix typos in user-visible strings
15396
15397 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15398
15399         * text2.C (pasteSelection): do not set the selection, since it
15400         will be cleared later. Actually, the intent was to fix the way the
15401         selection was set, but I figured rmoving the code was just as good.
15402
15403 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15404
15405         * FontLoader.C (available): Check if font is available without
15406         loading the font.
15407
15408 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15409
15410         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15411
15412 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15413
15414         * lyxrc.[Ch]: added display_graphics variable and associated code.
15415
15416 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15417
15418         * bufferparams.C (hasClassDefaults): new method. Returns true if
15419         the buffer parameters correspond to known class defaults
15420
15421 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15422
15423         * XFormsView.C (show): set minimum size to the main window.
15424
15425 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15426
15427         * text2.C (copySelection):
15428         (cutSelection):
15429         * lyxfind.C (LyXReplace):
15430         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15431         LyXText::selectionAsString.
15432
15433         * paragraph.C (asString): add "label" argument to the second form
15434
15435         * text2.C (selectionAsString): add "label" argument and pass it to
15436         Paragraph::asString.
15437
15438 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15439
15440         * lyx_main.C (commandLineHelp): remove version information
15441
15442 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15443
15444         * lyx_main.C: add -version commandline option
15445
15446 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15447
15448         * paragraph.h: make the optional constructor arg required instead.
15449         some modifications to other files because of this.
15450
15451         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15452
15453         * lyxserver.C (C_LyXComm_callback): make it static
15454
15455         * lyx_main.C (error_handler): make it static
15456
15457         * lyx_gui.C (LyX_XErrHandler): make it static
15458
15459         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15460
15461         * WorkArea.C: make the extern "C" methods static.
15462
15463         * Makefile.am (lyx_LDADD): simplify
15464
15465 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15466
15467         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15468         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15469
15470         * LyXAction.C (init):
15471         * lyxfunc.C (dispatch): associated code removal.
15472
15473 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15474
15475         * lyxfont.h (isSymbolFont): shut off warning
15476
15477         * text.C (setHeightOfRow):
15478         (getVisibleRow): fix crash with empty paragraphs which have a
15479         bottom line
15480
15481 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15482
15483         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15484         code.
15485
15486 2001-09-04  José Matos  <jamatos@fep.up.pt>
15487         * buffer.C
15488         * buffer.h
15489         * tabular.C (docbook): rename docBook method to docbook.
15490
15491 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15492
15493         * Makefile.am: add dependencies to main.o.
15494
15495 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15496
15497         * FontLoader.C (available): Return false if !lyxrc.use_gui
15498
15499 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15500
15501         * FontInfo.C (query):
15502         * converter.C (view):
15503         * importer.C (Import):
15504         * exporter.C (Export): Can not -> cannot.
15505
15506 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15507
15508         * BufferView_pimpl.C: allow to create index inset even if
15509           string is empty
15510
15511 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15512
15513         * buffer.C (getLists): replace boost::tie code with an explicit pair
15514         as boost::tie can break some compilers.
15515
15516         * iterators.h: Added a std:: declaration to the return type of
15517         ParIterator::size.
15518
15519 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15520
15521         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15522           case.
15523
15524 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15525
15526         * iterators.[Ch]: New files. Provide paragraph iterators.
15527
15528         * buffer.C (changeLanguage): Use paragraph iterators.
15529         (isMultiLingual): ditto
15530
15531         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15532
15533 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15534
15535         * FontLoader.C: Support for cmr font.
15536
15537 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15538
15539         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15540         (available): New method.
15541
15542         * FontInfo.C (getFontname): Use scalable fonts even when
15543         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15544         found.
15545
15546 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15547
15548         * converter.C (Formats::view): reverted! Incorrect fix.
15549
15550 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15551
15552         * converter.C (Formats::view): only output the -paper option
15553         if the dvi viewer is xdvi, thereby fixing bug #233429.
15554
15555 2001-08-23  Herbert Voss  <voss@perce>
15556
15557         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15558
15559 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15560
15561         * Spacing.h (Spacing): Set space to Default on in the default
15562         constructor.
15563
15564 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15565
15566         * vc-backend.h (RCS::versionString): add RCS to version
15567         (CVS::versionString): add CVS to version
15568
15569         * vc-backend.C (scanMaster): do not add CVS to version.
15570         (scanMaster): do not add RCS to version
15571
15572         * lyxvc.C (versionString): new method
15573
15574         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15575
15576 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15577
15578         * Spacing.C (set): initialize fval
15579
15580 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15581
15582         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15583         " or \.
15584
15585 2001-08-16  Juergen Vigna  <jug@sad.it>
15586
15587         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15588
15589 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15590
15591         * BufferView_pimpl.C:
15592         * figureForm.C:
15593         * lyxtext.h:
15594         * text2.C: setParagraph takes linespacing now
15595
15596 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15597
15598         * LyxAction.C: add internal LFUN_CITATION_INSERT
15599
15600         * LyXView.C: actually apply fix
15601
15602         * bufferlist.C: fix open non-existent file
15603
15604         * lyxfind.C: fix indentation
15605
15606         * lyxfunc.C: remove unneeded assert, fix typo
15607
15608 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15609
15610         * MenuBackend.C: use "Floatname List"
15611
15612 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15613
15614         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15615         when converting LaTeX layout to insetERT.
15616         Generate a non-collapsed float when reading old float
15617
15618 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15619
15620         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15621         ERT insets.
15622
15623 2001-08-13  Juergen Vigna  <jug@sad.it>
15624
15625         * text.C (fill): return 0 instead of 20 as this seems to be the more
15626         correct value.
15627
15628 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15629
15630         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15631         lyxrc.font_norm.
15632
15633 2001-08-13  Juergen Vigna  <jug@sad.it>
15634
15635         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15636         casesensitive off.
15637         (SearchBackward): comment out the unlocking of the inset_owner this
15638         should not be needed!
15639
15640 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15641
15642         * Many files: Remove inherit_language, and add latex_language
15643
15644         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15645         collapsible insets.
15646
15647 2001-08-10  Juergen Vigna  <jug@sad.it>
15648
15649         * text.C (prepareToPrint): fixed hfill-width in draw!
15650
15651         * BufferView2.C (selectLastWord): save the selection cursor as this
15652         now is cleared in the function LyXText::clearSelection!
15653
15654 2001-08-08  Juergen Vigna  <jug@sad.it>
15655
15656         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15657         BACKSPACE type functions.
15658
15659         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15660         is only cutted from the document but not put in the cut-buffer, where
15661         still the old stuff should be.
15662
15663         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15664
15665         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15666
15667         * tabular.C (SetWidthOfCell): fixed special case where the width
15668         was not updated!
15669         (LeftLine): handle '|' in align_special.
15670         (RightLine): ditto
15671         (LeftAlreadyDrawed): ditto
15672         (SetWidthOfCell): ditto
15673
15674 2001-08-07  Juergen Vigna  <jug@sad.it>
15675
15676         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15677
15678 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15679
15680         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15681         * lyxlex.[hC]: ditto
15682
15683 2001-08-06  Juergen Vigna  <jug@sad.it>
15684
15685         * text.C (getVisibleRow): fix up row clearing a bit.
15686
15687 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15688
15689         * minibuffer.C: make sure the X server sees the changes in the input.
15690
15691 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15692
15693         * paragraph.C (getFont): split into...
15694         (getLabelFont): this
15695         (getLayoutFont): and this
15696         * paragraph_pimpl.C (realizeFont): calling this
15697
15698         * text2.C (getFont): split into...
15699         (getLayoutFont): this
15700         (getLabelFont): and this
15701         (realizeFont): all three calling this
15702
15703         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15704         files where used.
15705
15706 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15707
15708         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15709
15710 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15711
15712         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15713         layouts from the Quote inset insertion.
15714
15715 2001-08-03  Juergen Vigna  <jug@sad.it>
15716
15717         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15718
15719         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15720         only if status not is already CHANGED_IN_DRAW (second level).
15721
15722         * text.C (draw): don't set the need_break_row when inside an
15723         InsetText LyXText.
15724
15725 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15726
15727         * buffer.C (parseSingleLyXformat2Token): handle more latex
15728         conversion cases.
15729
15730         * bufferview_funcs.[hC]: change function names to
15731         begin with small char, adjust other files.
15732
15733 2001-08-02  André Pönitz <poenitz@gmx.net>
15734
15735         * lyxfunc.C:
15736         BufferView_pimpl.C: remove broken special code for math-greek
15737
15738 2001-08-02  Juergen Vigna  <jug@sad.it>
15739
15740         * BufferView_pimpl.C (update): redone this function so that we
15741         update the text again if there was a CHANGE_IN_DRAW.
15742
15743         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15744         (drawFromTo): added a new internal bool which is used by draw() and
15745         redraw() function.
15746         (general): some cursor drawing problems fixed.
15747
15748 2001-08-01  Juergen Vigna  <jug@sad.it>
15749
15750         * lyxfind.C (LyXFind): fixed
15751         (SearchForward): ditto
15752         (SearchBackward): ditto
15753
15754         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15755         spurius drawing of the cursor in the main area.
15756
15757         * text2.C (status): small fix which could lead to a segfault!
15758         (clearSelection): remove unneeded BufferView param.
15759
15760 2001-08-01  André Pönitz <poenitz@gmx.net>
15761
15762         * lyxfunc.C: small change due to changed mathed interface
15763
15764 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15765
15766         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15767
15768 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15769
15770         * lyxfunc.c: fail gracefully if file doesn't exist
15771
15772         * LyXSendto.C:
15773         * buffer.C:
15774         * lyxfunc.C:
15775         * BufferView_pimpl.C: IsDirWriteable() proto changed
15776
15777         * LyXView.C: fix updateWindowTitle() to store the last title
15778
15779 2001-07-31  Juergen Vigna  <jug@sad.it>
15780
15781         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15782         the font (wrong since using of Paragraph::highestFontInRange).
15783
15784         * paragraph.C (highestFontInRange): added a default_size parameter.
15785
15786         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15787         (setHeightOfRow): reformat
15788
15789 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15790
15791         * converter.[hC] + affected files: move to (inital-char)lowercase
15792         function names.
15793
15794         * ParagraphParameters.C (ParagraphParameters): remove commented code
15795
15796         * PainterBase.[Ch]: remove commented code
15797
15798         * LaTeXFeatures.h: add "bool floats" for float.sty
15799
15800         * LaTeXFeatures.C (LaTeXFeatures): init floats
15801         (require): handle float
15802         (getPackages): do it with floats
15803
15804 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15805
15806         * BufferView_pimpl.C (Dispatch): improve handling of
15807         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15808
15809         * commandtags.h: #include lyxfont.h here temporarily to avoid
15810         keybinding bug.
15811
15812         * bufferlist.h: include LString.h here.
15813
15814 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15815
15816         * text2.C (getStringToIndex): new method.
15817
15818 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15819
15820         * *: Reduced header file dependencies all over.
15821
15822 2001-07-30  Baruch Even  <baruch@lyx.org>
15823
15824         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15825
15826 2001-07-29  Baruch Even  <baruch@lyx.org>
15827
15828         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15829
15830 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15831
15832         * ParameterStruct.h (endif): add a default constructor to make
15833         sure that all variables is initialized.
15834
15835         * ParagraphParameters.C (ParagraphParameters): adjust
15836
15837 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15838
15839         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15840         index; also, check that there is something to index, and that it
15841         does not span over several paragraphs.
15842         (doubleClick): use WHOLE_WORD_STRICT for double click.
15843
15844         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15845
15846         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15847         scheme.
15848
15849 2001-07-26  Baruch Even  <baruch@lyx.org>
15850
15851         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15852         an InsetFig figure, backwards compatible reading of old figure code.
15853
15854 2001-07-27  Juergen Vigna  <jug@sad.it>
15855
15856         * text2.C: font.realize function adaption.
15857
15858         * text.C (draw): add a warnings lyxerr text if needed.
15859
15860         * layout.C: font.realize function adaption.
15861
15862         * language.C: add inherit_language and implement it's handlings
15863
15864         * bufferview_funcs.C (StyleReset): remove language parameter from
15865         font creation (should be language_inherit now).
15866
15867         * bufferparams.C (writeFile): handle ignore_language.
15868
15869         * paragraph.C (getFontSettings): the language has to be resolved
15870         otherwise we have problems in LyXFont!
15871
15872         * lyxfont.C (lyxWriteChanges): added document_language parameter
15873         (update): removed unneeded language parameter
15874
15875         * paragraph.C (validate): fixed wrong output of color-package when
15876         using interface colors for certain fonts in certain environments,
15877         which should not seen as that on the final output.
15878
15879 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15880
15881         * BufferView_pimpl.C:
15882         * Thesaurus.h:
15883         * Thesaurus.C:
15884         * Makefile.am:
15885         * commandtags.h:
15886         * LyXAction.C: add thesaurus support
15887
15888         * lyxfind.h:
15889         * lyxfind.C: add "once" parameter, for thesaurus, to not
15890           move to the next match
15891
15892 2001-07-26  Juergen Vigna  <jug@sad.it>
15893
15894         * lyxfont.C (realize): honor ignore_language too!
15895         (resolved): ditto.
15896
15897         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15898
15899         * text.C (draw): one place more for ignore_language to not draw
15900         itself!
15901
15902 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15903
15904         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15905
15906 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15907
15908         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15909         the minipage conversion problem.
15910
15911 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15912
15913         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15914         insert an inset.
15915
15916 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15917
15918         * BufferView.h: don't forward declare WorkArea
15919
15920         * BufferView.C: don't include WorkArea.h
15921
15922 2001-07-25  André Pönitz <poenitz@gmx.net>
15923
15924         * commandtags.h:
15925         * LyXAction.C:
15926         * lyxfunc.C:  new LFUN 'math-space'
15927
15928         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15929
15930 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15931
15932         * text2.C (toggleInset): call open/close
15933
15934 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15935
15936         * lyxfunc.C (dispatch): add debug for the disabled case
15937
15938         * font.C (buttonText): make similar to rectText
15939
15940         * buffer.C (readInset): comment out parsing of insetlist and
15941         insttheorem
15942
15943         * PainterBase.C (rectText): small correction
15944
15945         * BufferView_pimpl.C: comment out insettheorem and insetlist
15946         * LyXAction.C: ditto
15947         * commandtags.h: ditto
15948
15949 2001-07-24  Juergen Vigna  <jug@sad.it>
15950
15951         * text.C (draw): honor the ignore_language.
15952
15953         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15954
15955 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15956
15957         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15958         char inset.
15959
15960 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15961
15962         * lyxtext.h: remove unused (and unimplemented) methods
15963
15964 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15965
15966         * text.C (getVisibleRow): honor background color
15967
15968         * PainterBase.h:
15969         * Painter.h: remove default color argument for fillRectangle
15970
15971         * text.C (backgroundColor): new method
15972
15973 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15974
15975         * text.C (getVisibleRow): adjust
15976
15977         * font.[Ch] (rectText): new method, metrics
15978         (buttonText): new method, metrics
15979
15980         * PainterBase.[hC]: make rectText and buttonText always draw and take
15981         fewer paramteres.
15982
15983 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15984
15985         * ToolbarDefaults.C (read):
15986         * MenuBackend.C (read): allow escaping in all strings
15987
15988         * BufferView_pimpl.C (insertAndEditInset): new method.
15989         (Dispatch): use insertAndEditInset whenever appropriate.
15990
15991         * BufferView_pimpl.C (insertNote): removed
15992
15993         * BufferView_pimpl.C (smartQuote): new method, moved from
15994         BufferView; if an insetquote cannot be inserted, insert a '"'
15995         character instead.
15996
15997         * BufferView2.C: remove insertCorrectQuote();
15998
15999         * lyxfunc.C (getStatus): Add support for all remaingin
16000         inset-insert lfuns.
16001
16002         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16003
16004         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16005         command (necessary to pass " as parameter of self-insert.
16006
16007         * text.C (selectWordWhenUnderCursor):
16008         (selectWord): add word_location parameter
16009         (selectWordWhenUnderCursor): same + remove special code for word
16010         boundary.
16011         (selectNextWord): use kind() to guess type of insetspecialchar,
16012         not latex().
16013
16014         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16015         (insertErtContents): create ert insets as collapsed.
16016         (readInset): better compatibility code for Info inset.
16017
16018 2001-07-20  Juergen Vigna  <jug@sad.it>
16019
16020         * lyxfunc.C (dispatch): use always LyXFind now!
16021
16022         * text2.C (init): add a reinit flag so that the LyXText can be
16023         reinited instead of deleted and reallocated (used in InsetText).
16024
16025         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16026
16027         * text.C: ditto
16028
16029         * text2.C: ditto
16030
16031 2001-07-18  Juergen Vigna  <jug@sad.it>
16032
16033         * text.C (selectNextWord): handle insets inside inset by calling
16034         always the bv->text functions so that we can go up the_locking_inset!
16035
16036         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16037         in strange locations when inside an inset!
16038
16039         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16040         handling to include insets.
16041
16042         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16043
16044 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16045
16046         * LyXAction.C (init):
16047         * commandtags.h:
16048         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16049         LIGATURE_BREAK, since the name is so stupid.
16050
16051 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16052
16053         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16054         InsetInfos.
16055
16056         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16057
16058         * sp_form.[Ch]: remove.
16059
16060         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16061
16062         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16063         InsetInfo.
16064
16065         * src/buffer.C (readInset): ditto.
16066
16067 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16068
16069         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16070         menuSeparator(), endOfSentenceDot(), ldots() and
16071         hyphenationPoint(), which are therefore removed.
16072         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16073
16074         * LyXAction.C (init):
16075         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16076
16077         * paragraph.C (getWord): removed.
16078
16079         * BufferView_pimpl.C (Dispatch): use last word or selection for
16080         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16081
16082         * lyx_main.C (queryUserLyXDir): do not ask before creating
16083         user_dir, except if it has been named explicitely.
16084
16085 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16086
16087         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16088         a document of zero size.
16089
16090 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16091
16092         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16093         approriately in the c-tor and in require().
16094         (getPackages): output the appropriate LaTeX for natbib support.
16095
16096         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16097         variables "use_natbib" and "use_numerical_citations" when reading the
16098         LyX file.
16099         (readInset): read the various natbib cite commands.
16100         (validate): white-space change.
16101
16102         * bufferparams.[Ch]: new variables "bool use_natbib" and
16103         "bool use_numerical_citations".
16104         (writeFile): output them in the LyX file.
16105
16106 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16107
16108         * lyxfunc.C (getStatus): add support for all the inset insertion
16109         commands.
16110
16111         * text2.C (insertInset):
16112         * paragraph.C (insetAllowed):
16113         * BufferView_pimpl.C (insertInset): update to take in account the
16114         renaming of insertInsetAllowed
16115
16116         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16117
16118         * text2.C (getInset): new method. returns inset at cursor position.
16119
16120         * BufferView_pimpl.C (Dispatch): changes because of this.
16121
16122         * LyXAction.C (init): rename open-stuff to inset-toggle.
16123
16124         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16125
16126         * text2.C (toggleInset): renamed from openStuff; use
16127         Inset::open().
16128
16129 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16130
16131         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16132
16133         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16134
16135 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16136
16137         * buffer.C (readLyXformat2): Add filename to the error dialog
16138
16139 2001-07-18  Juergen Vigna  <jug@sad.it>
16140
16141         * tabular.C (GetCellNumber): put an assert here instead of the check!
16142
16143 2001-07-17  Juergen Vigna  <jug@sad.it>
16144
16145         * BufferView_pimpl.C (toggleSelection): adapted too.
16146
16147         * text.C (selectNextWord): adapted for use with insets.
16148         (selectSelectedWord): ditto
16149
16150 2001-07-17  Juergen Vigna  <jug@sad.it>
16151
16152         * sp_spell.C (PSpell): fix initialitation order.
16153
16154 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16155
16156         * paragraph.C: spacing
16157
16158 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16159
16160         * sp_spell.C: repair language selection for pspell
16161
16162 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16163
16164         * lyxfunc.h: change more methods to begin with lower char.
16165
16166 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16167
16168         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16169         for unknown layouts.
16170
16171 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16172
16173         * buffer.C (readLyXformat2): Generate an error dialog if there are
16174         unknown layouts.
16175
16176 2001-07-16  Juergen Vigna  <jug@sad.it>
16177
16178         * sp_spell.C: always compile ISpell part.
16179
16180         * lyxrc.C: added use_pspell entry and it's handling.
16181
16182 2001-07-13  Juergen Vigna  <jug@sad.it>
16183
16184         * sp_spell.C: removed double includes.
16185
16186 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16187
16188         Consistent use of Lsstream.h:
16189         * Lsstream.h: added using std::stringstream for consistencies sake.
16190
16191         * buffer.C: removed using std::stringstream
16192
16193         * lyxfont.C (stateText):
16194         * paragraph.C (asString):
16195         * text.C (selectNextWord, selectSelectedWord):
16196         * text2.C (setCounter):
16197         * vspace.C (asString, asLatexString):
16198         std::ostringstream -> ostringstream.
16199
16200 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16201
16202         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16203         * commandtags.h: add LFUN_HELP_ABOUTLYX
16204         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16205
16206 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16207
16208         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16209         cursorToggle()
16210         * lyx_gui_misc.C: remove spellchecker
16211         * lyxfunc.C: showSpellchecker
16212         * sp_base.h: added
16213         * sp_ispell.h: added
16214         * sp_pspell.h: added
16215         * sp_spell.C: added
16216         * sp_form.[Ch]: removed
16217         * spellchecker.[Ch]: removed
16218
16219 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16220
16221         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16222         is set.
16223         (simpleTeXSpecialChars): Simply print the input character without
16224         any special translation if pass_thru is set.
16225
16226         * layout.h: Added bool pass_thru to layout class for being able to
16227         implement pass through of a paragraph for Literate Programming.
16228
16229         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16230         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16231         * layout.C (Read): add "passthru" to list of layout tags and add
16232         code to set the pass_thru boolean when it is read.
16233
16234 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16235
16236         * trans_decl.h: remove allowed from KmodInfo
16237
16238         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16239         remove allowed code
16240         (Load): adjust
16241
16242         * paragraph_pimpl.C (erase): use boost::prior
16243
16244         * Painter.C (text): use data() instead of c_str() when length is
16245         also provided.
16246         * WorkArea.C (putClipboard): ditto
16247         * font.h (width): ditto
16248
16249         * BufferView2.C: use it-> instead of (*it). for iterators
16250         * texrow.C: ditto
16251         * paragraph_pimpl.C: ditto
16252         * paragraph.C: ditto
16253         * minibuffer.C: ditto
16254         * language.C: ditto
16255         * kbmap.C: ditto
16256         * encoding.C: ditto
16257         * counters.C: ditto
16258         * converter.C: ditto
16259         * chset.C: ditto
16260         * Variables.C: ditto
16261         * TextCache.C: ditto
16262         * MenuBackend.C: ditto
16263         * LyXAction.C: ditto
16264         * LColor.C: ditto
16265         * FloatList.C: ditto
16266         * DepTable.C: ditto
16267         * ColorHandler.C (LyXColorHandler): ditto
16268
16269 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16270
16271         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16272
16273         * text2.C (openStuff): reintroduce this method (which had been
16274         nuked in NEW_INSETS frenzy).
16275
16276         * lyxfunc.C (Dispatch): when an action has not been handled, use
16277         its name in the error message, not its number.
16278
16279         * paragraph.C (inInset): change method name to begin with lowercase.
16280
16281         * undo_funcs.C:
16282         * text2.C: updates because of this.
16283
16284 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16285
16286         * ToolbarDefaults.C (add): add spaces in error message
16287
16288 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16289
16290         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16291         (readLyXformat2): rename return_par to first_par, use lyxlex's
16292         pushToken and remove the manual push handling.
16293         (parseSingleLyXformat2Token): add another ert comp. variable:
16294         in_tabular, rename return_par to first_par. handle newlines better
16295
16296 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16297
16298         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16299
16300 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16301
16302         * text2.C (getParFromID): removed
16303
16304         * buffer.C (getParFromID): new method moved form lyxtext.
16305         * BufferView2.C (insertErrors): adjust
16306         (setCursorFromRow): adjust
16307         * BufferView_pimpl.C (restorePosition): adjust
16308         * lyxfunc.C (Dispatch): adjust
16309         * undo_funcs.C (textUndo): adjust
16310         (textRedo): adjust
16311         (textHandleUndo): adjust
16312         (textHandleUndo): adjust
16313
16314 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16315
16316         * buffer.C: up' the LYX_FORMAT
16317
16318         * lyxfont.h: turn NO_LATEX on as default
16319
16320         * buffer.C (insertErtContents): new methods of tex style compability.
16321         (parseSingleLyXformat2Token): use it several places.
16322         * tabular.C (OldFormatRead): and here
16323
16324 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16325
16326         * text2.C: remove some commented code.
16327         reindent file.
16328
16329         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16330         * trans.C: changes because of the above.
16331
16332 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16333
16334         * text2.C (setCounter): Fix counters bug with bibliography layout.
16335
16336 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16337
16338         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16339         own member functions
16340         (simpleTeXSpecialChars): ditto
16341
16342 2001-07-06  Juergen Vigna  <jug@sad.it>
16343
16344         * a lot of files: changed the access to LyXText::status and the
16345         call of undo-functions.
16346
16347         * undo.[Ch]: added a inset_id to the undo informations.
16348
16349         * undo_funcs.[Ch]: added and moved here all undo functions.
16350
16351         * lyxtext.h: give the status enum a weight, made status_ a private
16352         variable and made accessor functions for it, removed the whole bunch
16353         of undo-functions as they are now in their own file, make some
16354         functions publically available. Added function ownerParagraph with
16355         int parameter.
16356
16357         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16358         made InInset() a const function, added getParFromID() function.
16359
16360         * buffer.[Ch]: added const version for inset_iterator functions,
16361         added getInsetFromID() function.
16362
16363         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16364         changed undo functions for new version.
16365
16366 2001-07-05  Juergen Vigna  <jug@sad.it>
16367
16368         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16369         unknow mechanism does not call the proper constructor but only this
16370         one also if I request the other!?
16371
16372 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16373
16374         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16375
16376         * text2.C (LyXText): use initialization lists.
16377
16378         * lyxtext.h (Selection): initialize set_ and mark_
16379         (init): remove method
16380
16381 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16382
16383         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16384
16385 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16386
16387         * screen.[Ch]: change method names to begin with lowercase
16388
16389         * BufferView_pimpl.C (updateScrollbar): simplify further and
16390         hopefully make it a bit faster.
16391
16392 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16393
16394         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16395         calling directly xforms functions.
16396
16397         * Painter.C (Painter):
16398         * lyx_cb.C (MenuWrite):
16399         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16400         fl_display.
16401
16402         * lyx_gui.C: remove bogus guiruntime extern declaration.
16403
16404 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16405
16406         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16407         in NEW_INSETS
16408         (redoDrawingOfParagraph): ditto
16409         (redoParagraphs): ditto
16410         (cutSelection): don't create a object for CutAndPaste use the
16411         static method directly
16412         (pasteSelection): ditto
16413
16414         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16415         LyXview (+ rename)
16416
16417 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16418
16419         * modifications to some other files because of this.
16420
16421         * Makefile.am (lyx_SOURCES): add XFormsView
16422
16423         * XFormsView.[Ch]: new files
16424
16425         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16426         the main window. Move the gui dependent stuff to XFormsView
16427
16428 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16429
16430         * tabular.C (GetCellInset): update cur_cell also in the row/col
16431         version of this function.
16432
16433         * lyxfunc.C: no need to include figure_form.h here.
16434
16435         * FontLoader.h:
16436         * lyxfunc.h:
16437         * lyxscreen.h:
16438         * text2.C:
16439         * lyxvc.C: no need to include forms.h here.
16440
16441 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16442
16443         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16444
16445         * lyxfunc.C (Dispatch):
16446         * Spacing.C (set):
16447         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16448         constructor argument.
16449
16450 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16451
16452         * paragraph.C (Paragraph): dont't clear, and just set layout.
16453         (makeSameLayout): use params's copy contructor.
16454
16455         * ParagraphParameters.[Ch] (makeSame): delete method
16456
16457 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16458
16459         * Variables.[Ch]: fix indentation, rename set to isSet
16460
16461 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16462
16463         * lyxfunc.C (Dispatch): fix typo
16464
16465 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16466
16467         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16468         upper_bound.
16469
16470         * bufferlist.C: include assert.h for emergencyWrite().
16471
16472 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16473
16474         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16475           give up at last (bug #425202) !
16476
16477 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16478
16479         * lyx_gui_misc.C:
16480         * sp_form.h:
16481         * sp_form.C:
16482         * spellchecker.h:
16483         * spellchecker.C: strip spellchecker options and bring up
16484           preferences tab instead
16485
16486 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16487
16488         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16489         the istringstream constructor
16490
16491 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16492
16493         * paragraph.C (getLayout): fix return value
16494
16495         * paragraph.h: do not declare getLayout as inline.
16496
16497         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16498
16499 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16500
16501         * lyxcursor.h (operator<): new func
16502         (operator>): new func
16503         (operator>=): new func
16504         (operator<=): new func
16505
16506         * text.C (changeCase): use selection.start and selection.end
16507         (changeRegionCase): require from to be <= to. Require par to be a
16508         valid paragraph.
16509
16510         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16511
16512 2001-06-27  Juergen Vigna  <jug@sad.it>
16513
16514         * text.C (cursorLeftOneWord): changed to return the cursor and added
16515         overlay with BufferView * parameter which calls this one.
16516         (getWord): added
16517         (selectWord): use new getWord function.
16518         (changeCase): renamed from changeWordCase as and extended to work
16519         also on selections.
16520
16521         * lyxtext.h: added enum word_location
16522
16523         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16524         changeCase as this operates now also on selections.
16525
16526 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16527
16528         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16529
16530         * many files: send debug output to Debug::INFO instead of
16531         Debug::ANY.
16532
16533         * converter.C (View):
16534         (Convert):
16535         (Move): send debug output to Debug::FILES instead of console.
16536
16537 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16538
16539         * lyxfunc.C (getStatus): use func_status
16540
16541         * func_status.h: new header, describing the results of
16542         LyXFunc::getStatus;
16543
16544         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16545         LFUN_MATH_HALIGN.
16546
16547 2001-06-25  The LyX Project  <jug@sad.it>
16548
16549         * buffer.C (sgmlOpenTag):
16550         (sgmlCloseTag):
16551         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16552
16553 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16554
16555         * text2.C: remove some dead code
16556
16557         * tabular.C (GetCellInset): store the last cell checked (gotten)
16558
16559         * tabular.h: add the helper for the speedup
16560
16561         * lyxtext.h: remove some dead code
16562
16563 2001-06-26  The LyX Project  <Asger>
16564
16565         * paragraph.C: Change export to LaTeX of alignment to
16566         \begin{center} and family for better roundtrip work with reLyX.
16567
16568         * Tune the math drawing a bit.
16569
16570 2001-06-25  The LyX Project  <Asger>
16571
16572         * LColor.C (LColor): New color for math background. New color
16573         for buttons.
16574
16575 2001-06-25  The LyX Project  <jug@sad.it>
16576
16577         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16578
16579         * lyxfunc.C (Open):
16580         * bufferlist.C (newFile): do not restrict to files ending with
16581         .lyx
16582
16583         * BufferView_pimpl.C (MenuInsertLyXFile):
16584
16585 2001-06-24  The LyX Project  <jug@sad.it>
16586
16587         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16588         of compare_no_case
16589
16590 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16591
16592         * lyxtext.h: rename most methods to begin with a small char.
16593         Lots of changes because of this.
16594
16595         * paragraph.C (Paragraph): do not call fitToSize
16596         (erase): call Pimpl::erase
16597         (insertChar): call Pimpl::insertChar
16598         (insertInset): call Pipl::insertInset
16599         (breakParagraph): do not call fitToSize
16600         (breakParagraphConservative): do not call fitToSize
16601         (fitToSize): remove method
16602
16603         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16604
16605 2001-06-24  The LyX Project  <Asger>
16606
16607         * Fix Qt compilation^2
16608
16609 2001-06-24  The LyX Project  <jug@sad.it>
16610
16611         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16612         depthHook(getDepth()-1).
16613
16614         * paragraph.h:
16615         * ParagraphParameters.h:
16616         * ParameterStruct.h: change type of depth to unsigned int ==
16617         depth_type. Many adaptations to other files before of that.
16618
16619 2001-06-24  The LyX Project  <Asger>
16620
16621         * Fix Qt compilation.
16622
16623 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16624
16625         * paragraph.h: renamed several methods to begin with small letter.
16626         several changes to many parts of the code because of this.
16627
16628 2001-06-23  The LyX Project  <jug@sad.it>
16629
16630         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16631         rewritten to discard all double spaces when KeepEmpty is off
16632         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16633         to only handle newlines but not fiddle with spaces and friends.
16634
16635         * lyxfunc.C (MenuNew): when doing 'new from template', use
16636         template_path as default directory
16637
16638 2001-06-23  The LyX Project  <Asger>
16639
16640         * Clean-up of header file includes all over
16641         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16642
16643 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16644
16645         * paragraph.h: renamed from lyxparagraph.h
16646
16647 2001-06-23  Asger  <lyx@violet.home.sad.it>
16648
16649         * Buffer.h: Removed Buffer::resize
16650         * BufferList.h: Removed BufferList::resize
16651         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16652         the document lazily when we change the width, or the font settings.
16653
16654 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16655
16656         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16657
16658 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16659
16660         * buffer.h: remove out of date comment
16661
16662 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16663
16664         * lyxscreen.h:
16665         * screen.C: fix "theoretical" GC leak
16666
16667 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16668
16669         * LaTeX.C (scanAuxFile):
16670         (deplog): remove trailing \r when reading stream (useful under
16671         win32)
16672
16673 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16674
16675         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16676         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16677         and BufferView::theLockingInset(Inset*), so should use them and not
16678         access bv_->text->the_locking_inset directly.
16679
16680         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16681
16682 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16683
16684         * Makefile.am:
16685         * tex-defs.h: remove old unused file
16686
16687 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16688
16689         * BufferView_pimpl.C: fix typo, remove minibuffer message
16690           when buffer has loaded
16691
16692 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16693
16694         * lyxfunc.C (Dispatch): use stringstream
16695         (MenuNew): use stringstream
16696         (Open): use stringstream
16697
16698         * importer.C (Import): use stringstream
16699
16700         * bufferview_funcs.C (CurrentState): use stringstream
16701
16702         * LaTeX.C (run): use stringstream
16703
16704         * BufferView_pimpl.C (savePosition): use stringstream
16705         (restorePosition): use stringstream
16706         (MenuInsertLyXFile): use stringstream
16707
16708 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16709
16710         * BufferView.C:
16711         * Bullet.C:
16712         * ColorHandler.C:
16713         * FontInfo.C:
16714         * FontLoader.C:
16715         * LColor.C:
16716         * LaTeXFeatures.C:
16717         * Painter.C:
16718         * gettext.C:
16719         * lyx_gui_misc.C:
16720         * lyxserver.C:
16721         * vspace.C: removed // -*- C++ -*- as first line.
16722
16723         * lyxfind.h:
16724         * version.h: added // -*- C++ -*- as first line.
16725
16726 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16727
16728         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16729
16730         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16731         of string
16732
16733 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16734
16735         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16736         of floats.
16737
16738 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16739
16740         * gettext.C: include LString.h even when --disable-nls is on.
16741
16742 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16743
16744         * converter.h (Get): changed argument type from int to
16745         FormatList::size_type to avoid unnecessary conversion.
16746
16747         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16748         before using it.
16749
16750 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16751
16752         * gettext.h: include LString.h even when --disable-nls is on.
16753
16754 2001-06-07  Juergen Vigna  <jug@sad.it>
16755
16756         * text.C (BreakAgain): subst spaces with tabs.
16757
16758         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16759         (resizeInsetsLyXText): set force on resizeLyXText.
16760
16761 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16762
16763         * gettext.h (gettext_init):
16764         (locale_init): use a real definition instead of a macro
16765
16766 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16767
16768         * Bufferview_pimpl.C:
16769         * LColor.h:
16770         * LColor.C: further lcolor tidies
16771
16772 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16773
16774         * BufferView_pimpl.C (updateScrollbar): simplify.
16775
16776         * BufferView2.C: don't include insets/insetinfo.h, change
16777         prototype for insertInset and call the Pimpl version. let
16778         updateInset call Pimpl version.
16779
16780         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16781         gotoInset to BufferView::Pimpl
16782
16783 2001-06-01  Juergen Vigna  <jug@sad.it>
16784
16785         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16786         inside a LockingInset (is the update needed at all?).
16787
16788 2001-05-31  Juergen Vigna  <jug@sad.it>
16789
16790         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16791         here not the old one otherwise how should we compare it afterwards
16792         if it's the same!
16793
16794 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16795
16796         * lyxfont.C:
16797         * tabular.C:
16798         * tabular-old.C:
16799         * FontInfo.C: bring C functions into global namespace when
16800         necessary
16801
16802 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16803
16804         * LString.h: make sure config.h has been loaded before LString.h.
16805
16806         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16807         (one for each char read by EatLine!).
16808
16809         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16810         variables.
16811
16812 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16813
16814         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16815         to the same as the par we break from
16816
16817 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16818
16819         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16820
16821         * MenuBackend.C (expand): also create menu entries for wide
16822         versions of the floats.
16823
16824         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16825
16826         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16827
16828         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16829         frontends/Makefile.am
16830
16831         * text2.C: adjust
16832         * text.C: adjust
16833
16834
16835         * tabular.C (getTokenValue): add std::
16836
16837         * tabular-old.C (getTokenValue): add std::
16838         (getTokenValue): ditto
16839         (getTokenValue): ditto
16840
16841         * screen.C (ToggleSelection): adjust
16842
16843         * lyxtext.h: put selection cursors inside a Selection struct.
16844
16845         * lyxfunc.C (moveCursorUpdate): adjust
16846
16847         * lyxfont.C (latexWriteStartChanges): add std::
16848
16849         * lyxfind.C: adjust
16850
16851         * font.h: delete with(char const *, LyXFont const &)
16852
16853         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16854
16855         * FontInfo.C (getFontname): add std::
16856
16857         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16858         (workAreaButtonPress): adjust
16859         (tripleClick): adjust
16860         (update): adjust
16861         (moveCursorUpdate): adjust
16862         (Dispatch): adjust
16863
16864         * BufferView2.C (gotoInset): adjust
16865
16866 2001-05-30  Juergen Vigna  <jug@sad.it>
16867
16868         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16869         to check pspell I add this as default as I now have new pspell
16870         libraries and they seem to use this.
16871
16872 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16873
16874         * text2.C (CutSelection): make the cursor valid before the call to
16875         ClearSelection.
16876
16877 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16878
16879         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16880         relied on 0 terminated strings and other horrors. Bug found due to
16881         the new assert in lyxstring!
16882
16883         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16884         KP_ keys.
16885
16886 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16887
16888         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16889         to latinkeys.bind.
16890
16891         * lyxfunc.C (processKeySym): change method of getting to the
16892         self-insert char.
16893
16894         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16895         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16896         * BufferView_pimpl.[Ch]: here as private methods.
16897
16898 2001-05-28  Juergen Vigna  <jug@sad.it>
16899
16900         * text.C (SetHeightOfRow): added the update() call again as it is
16901         needed to initialize inset dimensions!
16902
16903 2001-05-16  Juergen Vigna  <jug@sad.it>
16904
16905         * text2.C (SetCharFont): Add new function with BufferView * and
16906         bool toggleall parameters for setting insets internal fonts.
16907         (SetFont): Freeze the undo as we may change fonts in Insets and
16908         all this change should be inside only one Undo!
16909
16910         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16911         setting font's in insets as for them we have the SetFont function!
16912
16913 2001-05-15  Juergen Vigna  <jug@sad.it>
16914
16915         * text2.C (ClearSelection): to be sure we REALLY don't have any
16916         selection anymore!
16917
16918         * tabular.C (TeXCellPreamble): fixed the left border problem for
16919         multicolumn cells.
16920
16921 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16922
16923         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16924         dependancy file
16925
16926 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16927
16928         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16929         LFUN_BREAKPARAGRAPH.
16930
16931         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16932         help test to "internal only", similar for LFUN_INSERT_URL
16933
16934         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16935         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16936         auto_region_delete and deadkeys.
16937
16938 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16939
16940         * LColor.h:
16941         * LColor.C: remove some dead entries, tidy a little
16942
16943 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16944
16945         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16946         commented code.
16947         (Dispatch): implement LFUN_ESCAPE
16948
16949         * commandtags.h: add LFUN_ESCAPE
16950
16951         * LyXAction.C (init): add entry for LFUN_ESCAPE
16952
16953         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16954         Remove commented code.
16955         (insertNote): moved here
16956         (open_new_inset): moved here
16957
16958         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16959         BufferView_pimpl
16960
16961 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16962
16963         * kbmap.C (findbinding): clean it up and make it work correctly.
16964
16965         * lyx_main.C (init): do not pass argc and argv as parameters
16966
16967 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16968
16969         * buffer.C: fix path for OS/2 & Win32
16970
16971         * lyx_gui.C:
16972         * lyx_main:
16973         * lyx_main.C: Added os:: class.
16974
16975         * os2_defines.h: update
16976
16977 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16978
16979         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16980         better by trying again with reduced state.
16981
16982 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16983
16984         * lyxrc.C (read): print error about invalid key sequence only when
16985         debugging (because not all latinX keysyms are known to some X
16986         servers)
16987
16988         * kbsequence.C (getiso): add a few std:: qualifiers
16989         (getiso): comment out extra return statement.
16990
16991 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16992
16993         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16994         handling.
16995         (Dispatch): enhance the accent inset a bit. (not perfect)
16996
16997 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16998
16999         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17000
17001 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17002
17003         * bufferlist.C (emergencyWrite): fix assert() call
17004
17005 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17006
17007         * text.C (InsertChar): Added trivial patch to only send the "you
17008         can not do multiple spaces this way" message once during a
17009         session.
17010
17011 2001-05-08  Baruch Even  <baruch@lyx.org>
17012
17013         * Makefile.am: Changed order of libraries to get LyX to link properly
17014         with the gnome frontend.
17015
17016 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17017
17018         * LaTeXFeatures.h: add a std:: qualifier
17019
17020 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17021
17022         * paragraph.C (String): use stringstream
17023
17024 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17025
17026         * paragraph.C (writeFile): remove footflag arg
17027
17028         * buffer.C (makeLaTeXFile): use stringstream
17029         (latexParagraphs): remove footnot gurba
17030
17031         * LaTeXFeatures.C (getPackages): use stringstream
17032         (getMacros): likewise
17033         (getTClassPreamble): likewise
17034         (getFloatDefinitions): new method
17035
17036         * paragraph.C (writeFile): reindent
17037         (Erase): reindent
17038
17039         * WorkArea.h: revert the xpos + etc changes.
17040
17041         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17042
17043         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17044
17045         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17046         (pasteSelection): likewise
17047         * text2.C (CreateUndo): likewise
17048
17049 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17050
17051         * minibuffer.C (peek_event): temporarily reduce the functionality
17052         of the minibuffer (to allow args on lfuns)
17053
17054         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17055         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17056
17057         * buffer.C (readInset): add compability reading of old float
17058         lists, add reading of new style float list.
17059         (readInset): avoid reevaluation of inscmd.getCmdName()
17060         (getLists): reindent
17061
17062         * MenuBackend.C (MenuItem): implement parsing of
17063         md_floatlistinsert and md_floatinsert.
17064         (expand::LastFiles): move initalizaton of iterators out of loop,
17065         avoid reevaluation.
17066         (expand::Documents): introduce typdedef vector<string> Strings,
17067         and use it.
17068         (expand::ExportFormats): introduce typedef vector<Format const *>
17069         Formats, and use it.
17070         (expand): implement FloatListInsert and FloatInsert.
17071
17072         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17073         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17074         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17075
17076         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17077         handling.
17078         (Dispatch::LFUN_FLOAT_LIST): implement
17079
17080 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17081
17082         * LaTeX.C (run): Fix problem with --export code.
17083
17084 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17085
17086         * BufferView.[Ch] (workarea): removed.
17087         (getClipboard) new method; wrapper for workarea()->getClipboard()
17088
17089         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17090         bug.
17091
17092         * WorkArea.h (width, height, xpos, ypos): These methods all
17093         returned the dimensions of the work_area sub-area of WorkArea,
17094         resulting in a position error if the WorkArea were resized. Now
17095         return the dimensions of the entire WorkArea.
17096
17097         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17098
17099 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17100
17101         * LaTeX.C (deplog): correct the syntax of regex reg1
17102
17103 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17104
17105         * undo.C: remove !NEW_INSETS cruft
17106
17107 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17108
17109         * text2.C: remove !NEW_INSETS cruft
17110
17111         * text.C: remove !NEW_INSETS cruft
17112
17113         * tabular.C: remove !NEW_INSETS cruft
17114
17115         * spellchecker.C: remove !NEW_INSETS cruft
17116
17117         * lyxtext.h: remove !NEW_INSETS cruft
17118
17119         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17120
17121         * lyxfunc.C: remove !NEW_INSETS cruft
17122
17123         * lyxfind.C: remove !NEW_INSETS cruft
17124
17125         * lyx_cb.C: remove !NEW_INSETS cruft
17126
17127         * figureForm.C: remove  !NEW_INSETS cruft
17128
17129         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17130
17131         * buffer.[Ch]: remove !NEW_INSETS cruft
17132
17133         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17134
17135         * CutAndPaste.C: remove !NEW_INSETS cruft
17136
17137         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17138
17139         * BufferView2.C: remove !NEW_INSETS cruft
17140
17141         * BufferView.h: remove !NEW_INSETS cruft
17142
17143 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17144
17145         * Lsstream.h: include LString.h before the sstream headers to
17146         fix problem with gcc 2.95.3 and lyxstring
17147
17148 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17149
17150         * lyx_main.C: add using directives when needed for C functions
17151         declared in std:: namespace.
17152
17153 2001-04-27  Juergen Vigna  <jug@sad.it>
17154
17155         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17156         (SetHeightOfRow): comment out the update call should not be needed!
17157
17158 2001-04-13  Juergen Vigna  <jug@sad.it>
17159
17160         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17161         (LyXTabular): tried to minimize operator= operations (and realized
17162         hopfully Lars wish).
17163
17164 2001-04-27  Juergen Vigna  <jug@sad.it>
17165
17166         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17167
17168 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17169
17170         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17171
17172         * buffer.C (readInset): hack to make listof algorithm work
17173
17174         * BufferView_pimpl.C: hack to make listof algorithm work
17175
17176 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17177
17178         * LyXAction.C: removed all !NEW_INSETS cruft
17179         (init): moved lfun_item in method
17180
17181         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17182
17183 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17184
17185         * BufferView2.C (theLockingInset): white space.
17186
17187 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17188
17189         * minibuffer.C: include <iostream>
17190
17191         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17192
17193         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17194
17195         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17196
17197         * text.[Ch] (TransposeChars): new method
17198
17199 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17200
17201         * call message directly through LyXView instead of through LyXFunc
17202         * BufferView2.C: adjust
17203         * BufferView_pimpl.C: adjust
17204         * FontLoader.C: adjust
17205         * buffer.C: adjust
17206         * bufferview_funcs.C: adjust
17207         * converter.C: adjust
17208         * figureForm.C: adjust
17209         * importer.C: adjust
17210         * lyx_cb.C: adjust
17211         * lyx_gui_misc.C: adjust
17212         * lyxfunc.C: adjust
17213         * lyxvc.C: adjust
17214         * text2.C: adjust
17215         + more files in subdirs
17216
17217         * lyxparagraph.h (size): move up int file
17218         (GetLayout): ditto
17219
17220         * adjust all uses of Assert to lyx::Assert.
17221
17222         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17223         lyxfunctional in namespace lyx
17224         * layout.C (hasLayout): ditto
17225         (GetLayout): ditto
17226         (GetLayout): ditto
17227         (delete_layout): ditto
17228         (NumberOfClass): ditto
17229         * converter.C (GetFormat): ditto
17230         (GetNumber): ditto
17231         (Add): ditto
17232         (Delete): ditto
17233         (SetViewer): ditto
17234         * bufferlist.C (getFileNames): ditto
17235         (emergencyWriteAll): ditto
17236         (exists): ditto
17237         (getBuffer): ditto
17238         * MenuBackend.C (hasSubmenu): ditto
17239         (hasMenu): ditto
17240         (getMenu): ditto
17241         * BufferView_pimpl.C (getInsetByCode): ditto
17242
17243 2001-04-18  Juergen Vigna  <jug@sad.it>
17244
17245         * vspace.C (asLatexString): fixed the 100% problem.
17246
17247 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17248
17249         * lyxfunc.C (Dispatch):
17250         * minibuffer.C:
17251         * minibuffer.h: add a few std:: qualifiers
17252
17253 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17254
17255         * minibuffer.[Ch]: reimplement so that commands is initiated and
17256         run from lyxfunc, simplified som handling, and made the completion
17257         and history code for complete. wip.
17258
17259         * lyxfunc.C (processKeySym): call message
17260         (miniDispatch): new temporary method
17261         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17262         (LFUN_MESSAGE): implement
17263         (LFUN_MESSAGE_PUSH): implement
17264         (LFUN_MESSAGE_POP): implement
17265         (initMiniBuffer): the initial/defualt minibuffer message.
17266
17267         * lyxfont.[Ch]: inline some more getters
17268
17269         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17270
17271         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17272
17273         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17274         (AutoSave): use LFUN_MESSAGE
17275         (Reconfigure): ditto
17276
17277         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17278
17279         * figureForm.C: use LFUN_MESSAGE
17280
17281         * converter.C (runLaTeX): use LFUN_MESSAGE
17282
17283         * bufferview_funcs.C: use LFUN_MESSAGE
17284         (Melt): ditto
17285         (changeDepth): ditto
17286
17287         * bufferparams.h: use boost::
17288
17289         * bufferlist.h: inherit privately from noncopyable
17290
17291         * bufferlist.C (loadLyXFile): remove some commented code.
17292
17293         * buffer.C (runChktex): use LFUN_MESSAGE
17294
17295         * ShareContainer.h: inherit privately from noncopyable
17296
17297         * ParagraphParameters.[hC] (depth): inline it.
17298
17299         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17300         methods.
17301         (message): new method
17302         (messagePush): ditto
17303         (messagePop): ditto
17304         (show): init minibuffer
17305         (showState): direct call
17306
17307         * LaTeX.[Ch]: inherit privately from noncopyable
17308         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17309         instead of WriteStatus.
17310
17311         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17312
17313         * BufferView_pimpl.C (buffer): don't init minibuffer
17314         (workAreaButtonPress): use LFUN_MESSAGE
17315         (workAreaButtonRelease): ditto
17316         (savePosition): ditto
17317         (restorePosition): ditto
17318         (MenuInsertLyXFile): ditto
17319         (workAreaExpose): don't init minibuffer
17320         (update): remove commented code, simplify
17321
17322         * BufferView2.C (openStuff): use LFUN_MESSAGE
17323         (toggleFloat): ditto
17324         (menuUndo): ditto
17325         (menuRedo): ditto
17326         (copyEnvironment): ditto
17327         (pasteEnvironment): ditto
17328         (copy): ditto
17329         (cut): ditto
17330         (paste): ditto
17331         (gotoInset): ditto
17332         (updateInset): remove some commented code
17333
17334         * lastfiles.h: inherit privately from noncopyable
17335         * layout.h: ditto
17336         * lyx_gui.h: ditto
17337         * lyx_main.h: ditto
17338         * lyxlex.h: ditto
17339         * lyxlex_pimpl.h: ditto
17340
17341         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17342         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17343         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17344
17345         * LyXAction.h: inherit privately from noncopyable, add methods
17346         func_begin, func_end, returning iterators to the func map.
17347
17348         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17349         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17350         (func_begin): new method
17351         (func_end): new method
17352
17353         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17354         and not)
17355         (copySelection): ditto
17356         (pasteSelection): ditto
17357
17358         * BufferView.C: whitespace change
17359         * BufferView.h: inherit privately from noncopyable
17360
17361 2001-04-16  Allan Rae  <rae@lyx.org>
17362
17363         * tabular-old.C (l_getline):
17364         * spellchecker.C (sc_check_word):
17365         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17366         an unrecognised preprocessor directive.  So ensure they're wrapped.
17367
17368 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17369
17370         * src/exporter.C (Export): Give an error message when path to file
17371         contains spaces.
17372
17373 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17374
17375         * LaTeX.C (deplog): Always check that foundfile exists.
17376
17377 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17378
17379         * lyx_main.h:
17380         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17381
17382 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17383
17384         * tabular.[Ch] (getLabelList): implement new method
17385
17386         * minibuffer.h: comment ouf setTiimer
17387
17388         * minibuffer.C (ExecutingCB): constify res
17389         (peek_event): constify s
17390         (Set): constify ntext
17391         (Init): constify nicename
17392
17393         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17394
17395         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17396         (savePosition): use two params to Minibuffer::Set
17397         (restorePosition): ditto
17398
17399 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17400
17401         * lyx_main.C: include language.h
17402
17403         * Makefile.am (lyx_main.o): add language.h
17404
17405 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17406
17407         * exporter.C:
17408         * paragraph.C:
17409         * screen.C:
17410         * tabular.C:
17411         * CutAndPaste.C: include gettext.h
17412
17413         * lyxfont.h: remove old hack with ON and OFF.
17414
17415         * lyxparagraph.h:
17416         * lyxfont.h: do not include language.h...
17417
17418         * BufferView2.C:
17419         * LaTeXFeatures.C:
17420         * Painter.C:
17421         * bufferview_funcs.C:
17422         * font.C:
17423         * lyxfont.C:
17424         * text.C:
17425         * text2.C:
17426         * trans_mgr.C:
17427         * paragraph.C: ... but do it here instead
17428
17429 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17430
17431         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17432
17433         * tabular.C: small reformat
17434
17435         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17436         NEW_INSETS version
17437         (GetChar): ditto
17438         (BreakParagraph): ditto
17439         (SetOnlyLayout): ditto
17440         (SetLayout): ditto
17441
17442         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17443         with one arg less.
17444
17445         * lastfiles.C: removed most using decl, add std:: where needed
17446
17447         * buffer.C: ws changes
17448
17449         * MenuBackend.C (class compare_format): put into anon namespace
17450         (expand): constify label, names, action, action2
17451         (expand):
17452
17453         * text.C (SingleWidth): constify font
17454         (IsBoundary): constify rtl2
17455         (GetVisibleRow): constify ww
17456
17457         * LaTeX.C (deplog): constify logfile
17458
17459         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17460         start_x, end_x
17461         (workAreaExpose): constify widthChange, heightChange
17462
17463         * lyxrow.C (par): moved
17464         (height): moved
17465         (next): moved
17466         * lyxrow.h: as inlines here
17467
17468         * lyxfont.h (shape): moved from lyxfont.C
17469         (emph): moved from lyxfont.C
17470
17471         * lyxfont.C (LyXFont): use initialization list for all
17472         constructors
17473         (shape): move to lyxfont.h as inline
17474         (emph): move to lyxfont.h as inline
17475
17476
17477 2001-04-04  Juergen Vigna  <jug@sad.it>
17478
17479         * vspace.C: had to include stdio.h for use of sscanf
17480
17481 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17482
17483         * BufferView.h:
17484         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17485         independent of xforms.
17486
17487 2001-04-02  Juergen Vigna  <jug@sad.it>
17488
17489         * spellchecker.C: fixed namespace placing!
17490
17491 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17492
17493         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17494         the LyXParagraph * is 0.
17495
17496 2001-03-29  Juergen Vigna  <jug@sad.it>
17497
17498         * vspace.C: added support for %, c%, p%, l%.
17499         (stringFromUnit): added helper function.
17500         (asLatexString): changed to give right results for the %-values.
17501
17502         * buffer.C: convert the widthp in a width%.
17503
17504 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17505
17506         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17507         figureForm.[Ch].
17508
17509         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17510         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17511
17512         * lyx_cb.[Ch]: see above.
17513
17514         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17515         form1.[Ch].
17516
17517         * form1.[Ch]:
17518         * lyx.[Ch]: replaced by figure_form.[Ch].
17519
17520         * lyx_gui.C:
17521         * lyx_gui_misc.C:
17522         * lyxfunc.C: changed headers associated with above changes.
17523
17524 2001-03-27  Juergen Vigna  <jug@sad.it>
17525
17526         * BufferView_pimpl.C: set the temporary cursor right!
17527
17528 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17529
17530         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17531
17532 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17533
17534         * LString.h: removed "using std::getline"!
17535
17536         * BufferView_pimpl.C (Dispatch): changes due to changes in
17537         InsetInclude::Params.
17538
17539         * buffer.C (tag_name): removed redundant break statements as they were
17540         producing lots of warnings with my compiler.
17541
17542 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17543
17544         * LString.h: add "using std::getline" when using the real <string>.
17545
17546 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17547
17548         * buffer.C: removed bitset usage.
17549         PAR_TAG moved to an anonymous name space.
17550         (tag_name): new funtion, also in the anonymous namespace.
17551         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17552         (makeDocBookFile): clean code. Completed transition from string arrays
17553         to string vectors.
17554         (SimpleDocBookOnePar): code clean.
17555
17556 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17557
17558         * tabular.C: add some comments.
17559
17560 2001-03-22  Juergen Vigna  <jug@sad.it>
17561
17562         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17563         compatibility read a bit and fixed bug with minipage in different
17564         depth.
17565
17566 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17567
17568         * buffer.C (pop_tag): removed.
17569         (push_tag): removed.
17570         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17571         array replaced with vector. Added support for CDATA sections.
17572         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17573         at any nest level.
17574         (makeDocBookFile): XML conformant declaration of CDATA section,
17575         fixed bug related to <emphasis> in the first paragraph char.
17576         (sgmlOpenTag): exclude empty tags.
17577         (sgmlCloseTag): ditto.
17578
17579         * buffer.h (pop_tag): removed.
17580         (push_tag): removed.
17581
17582 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17583
17584         * language.h (Languages): added size_type and size().
17585
17586 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17587
17588         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17589         response on compability reading of minipages. One probliem is that
17590         the old usage of minipages was flertydig
17591
17592         * several files here and in subdirs: don't use static at file
17593         scope use anon namespaces instead.
17594
17595 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17596
17597         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17598         LaTeX output. This is necessary for Literate document
17599         processing.
17600
17601 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17602
17603         * buffer.C: insert hfill when needed.
17604
17605         * tabular.C (l_getline): use string::erase, small whitespace change.
17606
17607         * BufferView_pimpl.C: try the anon namespace.
17608         * WorkArea.C: ditto
17609
17610 2001-03-16  Juergen Vigna  <jug@sad.it>
17611
17612         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17613         otherwise it won't open options-dialogs.
17614
17615         * buffer.C: honor pextraWidth(p) on converting minipages.
17616
17617         * tabular.C (l_getline): changed the functions to strip trailing \r.
17618
17619 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17620
17621         * BufferView_pimpl.C:
17622         * minibuffer..C: added "using SigC::slot" declaration.
17623
17624 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17625
17626         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17627
17628         * text2.C: ditto
17629
17630         * text.C: ditto
17631
17632         * paragraph.C: ditto
17633
17634         * lyxtext.h: NO_PEXTRA
17635
17636         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17637
17638         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17639         * ParameterStruct.h: ditto
17640         * ParagraphParameters.h: ditto
17641         * lyxparagraph.h: ditto
17642
17643 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17644
17645         * buffer.C: add compability for minipage alignment.
17646         (latexParagraphs): remove unwanted pextra check.
17647
17648         * several files: remove CXX_WORKING_NAMESPACES
17649
17650         * buffer.C (pop_tag): tie is in namespace boost
17651
17652         * BufferView.h: noncopyable is in namespace boost
17653         * lyxlex.h: ditto
17654         * lyx_main.h: ditto
17655         * lyx_gui.h: ditto
17656         * layout.h: ditto
17657         * lastfiles.h: ditto
17658         * bufferlist.h: ditto
17659         * ShareContainer.h: ditto
17660         * LyXView.h: ditto
17661         * LyXAction.h: ditto
17662         * LaTeX.h: ditto
17663
17664 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17665
17666         * Merging changes from BRANCH_MVC back into HEAD.
17667
17668         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17669
17670 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17671
17672         * BufferView_pimpl.C: change from intl.C
17673
17674         * combox.h:
17675         * combox.C:
17676         * Makefile.am: move combox.*
17677
17678         * form1.h:
17679         * form1.C:
17680         * lyx_gui.C:
17681         * intl.h:
17682         * intl.C: remove dialog (covered by prefs)
17683
17684 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17685
17686         * lyxfunc.C (Dispatch): removed redundant break statement.
17687
17688 2001-03-14  Juergen Vigna  <jug@sad.it>
17689
17690         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17691
17692 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17693
17694         * buffer.C: add hack to fix compability reading of minipages.
17695
17696 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17697
17698         * buffer.C (getLists): Cleanup.
17699
17700 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17701
17702         * lyxfont.C (update): don't honor toggleall on font size.
17703
17704 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17705
17706         * bmtable.c:
17707         * bmtable.h:
17708         * Makefile.am: moved to frontends/xforms/
17709
17710         * lyx_gui_misc.C:
17711         * lyxfunc.C:
17712         * BufferView_pimpl.C: changes for moved mathpanel
17713
17714 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17715
17716         * gettext.h: fix gettext_init() in --disable-nls
17717
17718 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17719
17720         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17721
17722 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17723
17724         * lyx.C:
17725         * lyx.h: strip external form
17726
17727 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17728
17729         * BufferView_pimpl.C: add comment, destroySplash()
17730
17731 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17732
17733         * BufferView_pimpl.C:
17734         * LyXAction.C:
17735         * buffer.C:
17736         * commandtags.h:
17737         * lyxfunc.C: use re-worked insetinclude
17738
17739 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17740
17741         * buffer.C: add using std::stringstream.
17742
17743         * lyx_cb.C: readd using std::ios.
17744
17745         * buffer.C: add using std::map.
17746
17747         * BufferView_pimpl.C: add using std::vector.
17748
17749         * ShareContainer.h: add std:: to swap.
17750
17751         * buffer.h: add some typedefs
17752         * buffer.C (getLists): use them
17753         (getLists): renamed from getTocList.
17754         add a counter for the different float types and use it in the
17755         generated string.
17756         (getLists): use the same counter for the NEW_INSETS and the "non"
17757         NEW_INSETS
17758
17759         * lyx_cb.h: remove unused items, includes, using etc.
17760
17761         * ShareContainer.h: remove some commented code, add more comments
17762         and "documentation".
17763
17764 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17765
17766         * buffer.C (getTocList): make the list also when NEW_INSETS is
17767         defined.
17768
17769         * buffer.h: remove TocType
17770
17771         * buffer.C (getTocList): change to return a map<string,
17772         vector<TocItem> >, implement for dynamic number of list.
17773
17774         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17775         * text2.C (PasteSelection): adjust
17776         * CutAndPaste.C (pasteSelection): adjust
17777
17778         * FloatList.C (FloatList): update from the new_insets branch.
17779         * Floating.[Ch]: ditto
17780         * LaTeXFeatures.C: ditto
17781         * buffer.C: ditto
17782         * lyxlex_pimpl.C: ditto
17783
17784         * paragraph.C (Last): remove when NEW_INSETS is defined.
17785
17786         * other file: changes because of the above.
17787
17788 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17789
17790         * lyxparagraph.h: rename next to next_, previous to previous_,
17791         make them private for NEW_INSETS. Rename Next() to next(),
17792         Previous() to previous().
17793
17794         * other files: changes because of the above.
17795
17796 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17797
17798         * BufferView.h:
17799         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17800         problem.
17801
17802 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17803
17804         * main.C (main): pass lyx_localedir to gettext_init().
17805
17806         * gettext.h: remove locale_init and gettext_init macros
17807
17808         * gettext.C (locale_init): new function
17809         (gettext_init): new function
17810
17811         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17812         setlocale().
17813
17814 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17815
17816         * Moved credits to frontends:
17817         * credits.[Ch]: removed
17818         * credits_form.[Ch]: removed
17819         * lyx_gui_misc.C: remove credits stuff
17820         * Makefile.am:
17821
17822 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17823
17824         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17825
17826         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17827         unneeded destructor.
17828
17829         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17830         a standalone pointer again.
17831
17832         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17833
17834 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17835
17836         * Makefile.am:
17837         * filedlg.h:
17838         * filedlg.C:
17839         * LyXAction.C:
17840         * ToolbarDefaults.C:
17841         * bufferlist.C:
17842         * commandtags.h:
17843         * form1.C:
17844         * form1.h:
17845         * lyx_cb.C:
17846         * lyx_cb.h:
17847         * lyxfunc.h:
17848         * lyxfunc.C:
17849         * BufferView_pimpl.C: use new file dialog in GUII
17850
17851         * lyx_cb.h:
17852         * lyx_cb.C: remove LayoutsCB to Toolbar
17853
17854 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17855
17856         * ShareContainer.h (get): add std:: qualifier
17857
17858 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17859
17860         * ShareContainer.h: define a proper ShareContainer::value_type
17861         type (and use typename to please compaq cxx)
17862
17863 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17864
17865         * lyxparagraph.h: move serveral local vars to
17866         ParameterStruct/ParagraphParameters., use ShareContainer in
17867         FontTable., make vars in FontTable private and add getter and
17868         setter.
17869
17870         * paragraph.C: changes because of the above.
17871
17872         * lyxfont.h: remove copy constructor and copy assignment. (the
17873         default ones is ok), move number inside FontBits. move inlines to
17874         lyxfont.C
17875
17876         * lyxfont.C: add number to initializaton of statics, move several
17877         inlines here. constify several local vars. some whitespace
17878         cleanup. Dont hide outerscope variables.
17879
17880         * Spacing.h: add two new constructors to match the set methods.
17881
17882         * ShareContainer.h: new file, will perhaps be moved to support
17883
17884         * ParameterStruct.h: new file
17885
17886         * ParagraphParameters.h: new file
17887
17888         * ParagraphParameters.C: new file
17889
17890         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17891         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17892
17893         * BufferView_pimpl.C: ParagraphParameter changes.
17894         * buffer.C: Likewise.
17895         * bufferview_funcs.C: Likewise.
17896         * text.C: Likewise.
17897         * text2.C: Likewise.
17898
17899 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17900
17901         * lyxfind.C (LyXReplace): do not redefine default argument in
17902         implementation.
17903         (IsStringInText): ditto
17904         (SearchForward): ditto
17905         (SearchBackward): ditto
17906
17907 2001-03-06  Juergen Vigna  <jug@sad.it>
17908
17909         * lyxfind.C (IsStringInText): put parentes around expressions.
17910
17911 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17912
17913         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17914
17915 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17916
17917         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17918
17919         * stl_string_fwd.h: add comment
17920
17921         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17922
17923         * tabular.h:
17924         * tabular.C: remove unused DocBook methods
17925
17926         * intl.C:
17927         * language.C:
17928         * paragraph.C:
17929         * buffer.C:
17930         killed DO_USE_DEFAULT_LANGUAGE
17931
17932 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17933
17934         * lyx_gui.C: do not include language.h.
17935
17936         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17937         arguments in function implementation.
17938
17939 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17940
17941         * BufferView_pimpl.C: add <ctime>
17942
17943 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17944
17945         * BufferView_pimpl.C: add using std::find_if
17946
17947 2001-02-27  José Matos  <jamatos@fep.up.pt>
17948
17949         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17950         by OnlyPath.
17951
17952 2001-02-11  José Matos  <jamatos@fep.up.pt>
17953
17954         * buffer.C (makeDocBookFile): command styles now have a parameter as
17955         "title" by default.
17956
17957 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17958
17959         * layout_forms.[Ch]: removed
17960         * lyx_cb.[Ch]: out character
17961         * lyx_gui.C: out character
17962         * lyx_gui_misc.C: out character
17963         * bufferview_funcs.C: : out character,
17964         added toggleall as parameter in ToggleAndShow
17965
17966 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17967
17968         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17969
17970         * text2.C (SetCurrentFont): Disable number property at boundary.
17971
17972 2001-02-26  Juergen Vigna  <jug@sad.it>
17973
17974         * lyxfunc.C (getStatus): added a string argument override function so
17975         that this is correctly called from LyXFunc::Dispatch if it contains a
17976         do_not_use_argument which is used!
17977         (Dispatch): added check for "custom" export and call appropriate func.
17978
17979 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17980
17981         * lyxrc.C: Add language_command_local, language_use_babel and
17982         language_global_options.
17983
17984         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17985
17986         * buffer.C (makeLaTeXFile): Use language_use_babel and
17987         language_global_options.
17988
17989 2001-02-23  Juergen Vigna  <jug@sad.it>
17990
17991         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17992         which works with LyXText and putted it inside BufferView. Here now we
17993         only call for that part the BufferView::Dispatch() function.
17994
17995         * BufferView.C (Dispatch): added.
17996
17997         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17998         functions which needs to use a LyXText over from LyXFunc.
17999         (MenuInsertLyXFile): added
18000         (getInsetByCode): added
18001         (moveCursorUpdate): added
18002         (static TEXT): added
18003
18004 2001-02-22  Juergen Vigna  <jug@sad.it>
18005
18006         * BufferView_pimpl.C (update): call a status update to see if LyXText
18007         needs it.
18008
18009 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18010
18011         * vc-backend.C (revert): implement for CVS
18012         (getLog): implement for CVS
18013
18014 2001-02-20  Juergen Vigna  <jug@sad.it>
18015
18016         * text2.C (ClearSelection): added BufferView param for inset_owner call
18017
18018         * lyxfunc.C (TEXT): added this function and use it instead of
18019         directly owner->view()-text of getLyXText().
18020
18021 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18022
18023         * src/layout_forms.C: out preamble
18024         * src/layout_forms.h: out preamble
18025         * src/lyx_cb.C: out preamble
18026         * src/lyx_cb.h: out preamble
18027         * src/lyx_gui.C: out preamble
18028         * src/lyx_gui_misc.C: out preamble
18029         * src/lyxfunc.C: connect with guii preamble
18030
18031 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18032
18033         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18034
18035 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18036
18037         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18038         whether to run bibtex.
18039
18040 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18041
18042         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18043
18044 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18045
18046         * Makefile.am (lyx_SOURCES): removed bibforms.h
18047
18048         * vspace.h: doxygen
18049
18050         * text.C (GetVisibleRow): make several local vars const
18051
18052         * tabular.C: small cleanup.
18053
18054         * lyxserver.C (callback): use compare instead of strncmp
18055
18056         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18057         inlines to after class or to paragraph.C
18058
18059         * lyxfont.h: remove friend operator!=
18060
18061         * converter.h: move friend bool operator< to non friend and after
18062         class def.
18063
18064         * combox.h: small cleanup
18065
18066         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18067         to inlines after class def.
18068
18069         * buffer.C (pop_tag): use string operations instead of strcmp
18070
18071         * bmtable.c: doxygen, small cleanup
18072
18073         * LaTeX.h: remove friend operator==
18074
18075 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18076
18077         * screen.C:
18078         * lyxrc.[Ch]:
18079         * lyxfunc.C:
18080         * lyxfont.[Ch]:
18081         * lyx_cb.C:
18082         * intl.[Ch]:
18083         * commandtags.h:
18084         * buffer.C:
18085         * WorkArea.[Ch]:
18086         * LyXAction.C:
18087         * BufferView_pimpl.C:
18088         * BufferView.[Ch]: remove cruft
18089
18090 2001-02-14  Juergen Vigna  <jug@sad.it>
18091
18092         * lyxfunc.C: removed #if 0 unused code
18093
18094         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18095
18096         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18097
18098         * text2.C (SetSelection): added a BufferView * parameter
18099
18100 2001-02-13  Juergen Vigna  <jug@sad.it>
18101
18102         * lyxfunc.C (Dispatch): fixed protected blank problem.
18103         * BufferView2.C (protectedBlank): added LyxText * parameter.
18104
18105         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18106         (AppendColumn): same as above for column_info.
18107
18108         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18109         (moveCursorUpdate): use a LyXText param for support of InsetText.
18110
18111         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18112         (tripleClick): ditto
18113
18114         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18115
18116         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18117
18118         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18119
18120         * text2.C (SetSelection): set correct update status if inset_owner
18121         (ToggleFree): ditto
18122
18123 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18124
18125         * tabular.C: remove some commented code.
18126
18127 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18128
18129         * BufferView_pimpl.C: call hideSplash()
18130
18131         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18132
18133         * include_form.h:
18134         * bibforms.h: remove
18135
18136         * lyxfunc.C:
18137         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18138           add LFUN_CHILD_CREATE
18139
18140         * counters.h: fix tiny typo
18141
18142         * lyx_cb.C:
18143         * lyx.h:
18144         * lyx_gui.C:
18145         * lyx.C: move splash to frontends/xforms/
18146
18147         * lyx_gui_misc.C: move Include and Bibform to frontends
18148
18149         * lyxvc.h: clarify comment
18150
18151         * vspace.C: tiny housekeeping
18152
18153 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18154
18155         * text.C (PrepareToPrint): RTL Fix.
18156
18157         * paragraph.C (GetUChar): New method.
18158         (String):  Use GetUChar.
18159
18160         * buffer.C (asciiParagraph): Use GetUChar.
18161
18162 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18163
18164         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18165
18166 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18167
18168         * buffer.h:
18169         * buffer.C: rename to getLogName(), handle
18170           build log / latex log nicely
18171
18172 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18173
18174         * MenuBackend.C:
18175         * MenuBackend.h: remove support for reference menuitem type.
18176
18177 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18178
18179         * BufferView_pimpl.C: housekeeping
18180         * BufferView_pimpl.h:
18181         * LyXView.h:
18182         * Makefile.am:
18183         * Timeout.C:
18184         * Timeout.h:
18185         * minibuffer.h: move Timeout GUI-I
18186
18187 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18188
18189         * lyxrc.C (read): Update converters data-structures.
18190
18191 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18192
18193         * LaTeX.h (operator!=): add operator != for Aux_Info
18194
18195 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18196
18197         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18198
18199         * LaTeXLog.C: deleted, useful code moved to Buffer
18200
18201         * buffer.h:
18202         * buffer.C: new function getLatexLogName()
18203
18204         * lyx_gui_misc.C:
18205         * lyx_gui.C:
18206         * lyxvc.C:
18207         * lyxvc.h:
18208         * lyxfunc.C: use frontends for LaTeX and VC logs
18209
18210 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18211
18212         * LaTeX.h: yet another std:: that Allan forgot.
18213
18214         * Variables.C (set): renamed from isset(), because this clashes
18215         with some HP-UX macros (grr).
18216
18217 2001-02-06  Allan Rae  <rae@lyx.org>
18218
18219         * LaTeX.h: Another bug fix.  Missing std:: this time.
18220
18221 2001-02-04  Allan Rae  <rae@lyx.org>
18222
18223         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18224         floats problem. I've left it commented out because it's not quite
18225         correct.  It should also test that the current object is a table or
18226         figure inset.  But I haven't gotten around to figuring out how to do
18227         that.  I *think* it'll be something like: "table" == inset.type()
18228
18229         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18230         bool.
18231
18232 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18233
18234         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18235         all the citation/databases/styles in the auxilary file.
18236         (run): Rerun latex if there was a babel language error.
18237
18238 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18239
18240         * text.C (Backspace): Preserve the font when changing newline char
18241         with a space.
18242         (BreakParagraph): If the cursor is before a space, delete the space.
18243
18244         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18245
18246 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18247
18248         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18249         new argument (code).
18250         (ChangeCitationsIfUnique): New method.
18251
18252         * paragraph.C (GetPositionOfInset): Handle bibkey.
18253
18254 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18255
18256         * BufferView_pimpl.h: change type of Position::par_pos to
18257         LyXParagraph::size_type.
18258
18259 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18260
18261         * BufferView_pimpl.C (savePosition, restorePosition): Write
18262         messages to minibuffer.
18263
18264 2001-01-28  José Matos  <jamatos@fep.up.pt>
18265
18266         * buffer.C (makeDocBookFile): adds support for document language.
18267         A silly restriction on the name of LatexCommand types where removed.
18268         Added support for CDATA sections, allows to chars unescaped, used
18269         among others in code, to avoid escape < and >.
18270
18271 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18272
18273         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18274         saved positions instrad of a stack. Furthermore, a position is
18275         stored using paragraph id/paragraph position.
18276
18277         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18278         Remove LFUN_REF_BACK.
18279
18280 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18281
18282         * converter.C (dvipdfm_options): New method.
18283
18284 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18285
18286         * vspace.C (isValidLength): Fix for empty input string.
18287
18288 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18289
18290         * LyXAction.C (init): change description of LFUN_FIGURE to
18291         "Insert Graphics"
18292
18293 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18294
18295         * LaTeX.C: add using directive
18296
18297 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18298
18299         * MenuBackend.C (expand): Fix the sorting of the formats.
18300
18301 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18302
18303         * lyx_main.C: tiny error message fix
18304
18305 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18306
18307         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18308         calling fl_initialize(). This fixes the problem with ',' as
18309         decimal separator in text files.
18310
18311 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18312
18313         * trans.C (process): Fix the keymap bug.
18314
18315 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18316
18317         * LaTeX.C (scanAuxFiles): New method. Provides support for
18318         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18319         (scanLogFile) Scan for "run BibTeX" messages.
18320
18321         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18322         OT1 font encoding. Also, load the aecompl package if the ae
18323         package is loaded.
18324
18325         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18326
18327 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18328
18329         * texrow.C (increasePos): turn two error messages into debug
18330         messages.
18331
18332 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18333
18334         * LaTeX.C (scanAux): Handle the \@input macro.
18335         (runBibTeX): Use scanAux().
18336
18337         * language.C (latex_options_): New field.
18338
18339         * LaTeXFeatures.C (getMacros): Add language macros.
18340
18341         * buffer.C (makeLaTeXFile): Small fix.
18342
18343 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18344
18345         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18346
18347         * text2.C: add a using directive.
18348
18349 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18350
18351         * BufferView2.C:
18352         * lyx_gui_misc.h:
18353         * lyxfr1.C:
18354         * lyxfunc.C: kill LyXBell.
18355
18356 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18357
18358         * text.C (IsBoundary): Remove the error message
18359
18360         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18361
18362         * lyxrc.C (setDefaults): Correct initialization value for
18363         font_norm_type.
18364
18365 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18366
18367         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18368         gotoError().
18369
18370         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18371         and GotoNextNote().
18372
18373         * src/LyXAction.C: Added reference-next.
18374
18375         * text.C (InsertChar): Use contains instead of strchr.
18376
18377         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18378
18379 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18380
18381         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18382         alignment commands (when needed).
18383
18384         * text.C (InsertChar): Add ':' to number separator chars.