]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
98eb2957edb3dc57fa9246fece0f6c7d5c5e7456
[lyx.git] / src / ChangeLog
1 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
4         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
5         containg inset. If this does not work, the same command will be
6         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
7
8         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
9         a dispatch.
10
11 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
12
13         * lyxtextclass.C (Read): convert layout file if the format is wrong
14         * lyxtextclass.C (layout2layout): new, needed for the above
15
16 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
17
18         * messages.C: do not forget to include <cerrno>.
19
20 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
21
22         * dociterator.h (StableDocIterator): add access to pos().
23         * undo.C (samePar): new method to check if two
24         iterators are in the same paragraph
25         * undo.C (recordUndo): check for samePar instead of cell identity
26         (which includes pos() and is too strict) (fixes bug 2097)
27
28 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
29
30         * text.C (setCursorFromCoordinates): return a bool telling whether
31         dEPM triggered.
32
33         * text3.C (cursorPrevious): update if needed after
34         setCursorFromCoordinates (when dEPM triggered).
35
36         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
37         (otherwise the anchor may be completely wrong and make dEPM assert).
38
39 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
40
41         * buffer.C: version upgrade to 245.
42         * bufferparams.C: remove \quotes_times (bug 2090).
43         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
44         quotation marks as default.
45
46 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
47
48         * CutAndPaste.C (nrOfParagraphs): remove (unused)
49         * CutAndPaste.C (cutSelection): Remove debug message
50         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
51         undo information and only copy if this is a real cut
52         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
53         call
54         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
55         (bug 2059)
56         * CutAndPaste.C (eraseSelection): prevent cursor corruption
57         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
58         superflous cur.selection() setting
59         * CutAndPaste.[Ch] (grabSelection): take a const cursor
60         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
61
62 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
63
64         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
65         change anything.
66
67 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
68
69         * BufferView_pimpl.C: comment layout change
70
71 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
72
73         * LyXAction.C:
74         * lfuns.h:
75         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
76         by bibliography managers (bug 2071).
77
78 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
79
80         * BufferView_pimpl.C (update): choose arguments to update call so
81         that single-par update works most times
82         * text3.C (dispatch): carefully tune updating separately for
83         whole-screen and current-paragraph
84         * rowpainter.C (paintText): 1) replace painting by caching for
85         the two extra paragraphs, because we can;
86         2) suppress greying out of areas below/above drawn area in case of
87         single-par refresh
88         * lyxfunc.C (dispatch): remove superfluous update
89         * LyXAction.[Ch]: introduce SingleParUpdate
90
91 2005-10-05  Angus Leeming  <leeming@lyx.org>
92
93         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
94         always initialised before use.
95
96         * text.C (setHeightOfRow): squash warning about comparison
97         of signed and unsigned types.
98
99 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
100
101         * text.C (cursorX): two fixes involving RtL text drawing
102
103 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
104
105         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
106         items, not only large ones (part of bug 2057)
107
108 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
109
110         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
111         argument, use "newcommand".
112
113 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
114
115         * cursor.C (setSelection): do not open collapsable insets;
116         the insets do by themselves now (autoopen).
117
118 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
119
120         * buffer.C: format is up to 244.
121
122 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
123
124         * text.C (redoParagraph): fix calcultation of inset width wrt 
125         leftMargin (bug 1957).
126
127         * text3.C (dispatch): leave inset to the right when hitting ESC 
128         (bug 2034).
129
130 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
131
132         * text2.C: 
133         * text.C: 
134         * factory.C:
135         * messages.C: include <boost/current_function.hpp> 
136
137 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
140         when command is internal. (bug 1941)
141
142 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
143
144         * text2.C (cursorRight): do not honor boundary when at the end of
145         a paragraph. (bug 2010 again)
146
147 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
148
149         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
150
151 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
152
153         * rowpainter.C (paintText): fix RtL space width display bug (2029)
154
155 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
156
157         * text2.C (setCursor): remove the unused 'boundary' parameter for
158         the CursorSlice version; adapt the LCursor version.
159
160         * lyxrc.C (write): 
161         * paragraph_pimpl.C (markErased): 
162         * cursor.C (bruteFind2, bruteFond3): fix warnings.
163
164 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
165
166         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
167         as is already done for "chapter".
168
169 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
170
171         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
172         textclass; do not record undo if nothing is changed.
173
174 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
175
176         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
177
178 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
179
180         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
181
182 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
183
184         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
185         combox, it is necessary to search for the topmost paragraph in the
186         cursor stack (bug 1926)
187
188 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
189
190         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
191         end of paragraph. (bug 2010)
192
193 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
194
195         * text.C (leftMargin): check for inInset == 0
196
197 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
198
199         * text.C (leftMargin): test for insetbase's new neverIndent()
200         bool instead of listing each and every inset that does not
201         wish par indendation.
202
203 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
204
205         * buffer_funcs.C (setCounter): put the code to compute enum label
206         here (where it belongs).
207
208         * counters.C (enumLabel): move code to buffer_funcs.C.
209
210 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
211
212         * outputparams.[Ch]: store local_font instead of local_language
213         * paragraph.C (simpleTeXOnePar): adapt to the change above
214
215 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
216
217         * buffer_funcs.C:
218         * counters.[Ch]: clean up special code for Hebrew.
219
220 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
221
222         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
223         than 2.
224
225 2005-09-08  Angus Leeming  <leeming@lyx.org>
226
227         * ispell.C:
228         * lyxrc.C: correct grammar describing invocation of the
229         spellchecker.
230
231 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
232
233         * text.C (read): remove unused variable.
234         (readParToken): remove static Change variable (never good in
235         recursive settings...); add it as a parameter instead.
236
237         * paragraph_pimpl.C (acceptChange): make debug info conditional.
238
239         * metricsinfo.C (PainterInfo): add new member erased_.
240
241         * rowpainter.C (RowPainter): add erased_ member, initialized from
242         PainterInfo. 
243         (paintInset): pass erased_ to Inset::draw.
244
245         * lyxfunc.C (lookupChange): new function. Tells whether change 
246         tracking is disabled at a given postion.
247         (getStatus): disable some actions when in deleted text with change
248         tracking. 
249
250 2005-08-03  John Levon  <levon@movementarian.org>
251         
252         * tabular.C (appendColumn, setMultiColumn): adapt to change to
253         InsetText::clear().
254
255         * paragraph_pimpl.C (markErased): add bool argument and handle it.
256         Also make sure to mark insets recursively.
257         (rejectChange, erase): be recursive
258
259         * paragraph.C (markErased): add bool argument.
260 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
261
262         * lyxfind.C (findNextChange): tiny cleanup.
263
264         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
265         change tracking with the cursor in an inset; make sure the first
266         change is not skipped.
267
268 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
269
270         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
271         tabularStackDirty to work around bug 1919 (tabular needs
272         to know whether its own cell paste buffer or the one of 
273         texted is newer.
274         * CutAndPaste.C: mark tabular_stack_ clean after copy.
275
276 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
277
278         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
279
280 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
281
282         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
283         use old deleteion algorithm when changetracking is on.
284
285 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
286
287         * messages.C (get): add debug output.
288
289 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
290
291         * text.C (cursorX): fix bug 1965: cursor movement at
292         line end broken in RtL.
293         (drawSelection): fix bug 1970: drawing of single-line 
294         selection broken for RtL.
295
296 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
297
298         bug 465.
299
300         * dociterator.h (clear, push_back, pop_back): change from
301         protected to public.
302
303         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
304         and changed to just return the value of the item depth; take a
305         ParIterator as argument; take the itemdepth at outer nesting level
306         in account if necessary; cleanup and comment the code.
307         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
308         and changed to just return true if reset is needed; take a
309         ParIterator as argument; cleanup and comment the code.
310         (setCounter): adapt to above changes.
311
312 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
313
314         * text3.C (dispatch): make debug message optional
315
316 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
317
318         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
319         inset. (bug 1963)
320
321 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
322
323         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
324
325 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
326
327         * text.C (insertChar):
328         * text2.C (deleteEmptyParagraphMechanism): take care whether 
329         a blank has been deleted (in change tracking mode) (bug 1254).
330
331 2005-07-20  John Levon  <levon@movementarian.org>
332
333         * text2.C (insertStringAsLines): remove old dubious code,
334         fixing bug 1939.
335
336 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
337
338         * MenuBackend.C (expandToc): use Floating::listName() as title of
339         the floats submenus.
340
341 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
342
343         * toc.[Ch]: Do not use translatable strings (bug 1870).
344
345 2005-07-20  John Levon  <levon@movementarian.org>
346
347         * tabular.C: fix 1748 - setting multicolumn adds
348           left line to the first cell
349
350 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
351
352         bug 1920
353         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
354         pars in one go.
355
356 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
357
358         * messages.C: supress some lyxerr messages
359
360 2005-07-18  Juergen Vigna  <jug@lyx.org>
361
362         * text.C (drawSelection): honor boundary when asking for cursorX.
363
364 2005-07-17  José Matos  <jamatos@fc.up.pt>
365
366         * tabular.C (recalculateMulticolumns): fix handling of one column
367         tables.
368
369 2005-07-17  Juergen Vigna  <jug@lyx.org>
370
371         * text.C (Delete, backspace): fixed so that paragraph with the
372         same layout can be merged by Delete/Backspace.
373
374 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
375
376         * text.C (readParToken): fix spelling.
377
378 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
379
380         * text2.C: fix counter update for DEPM problem reported by
381         Georg Baum
382
383 2005-07-17  Juergen Vigna  <jug@lyx.org>
384
385         * BufferView_pimpl.C (setBuffer): save/restore the
386         cursor/selection when switching buffers
387
388         * buffer.h: 
389         * buffer.C (saveCursor): add saveDocumentIterators to save the
390         cursor when switching buffer.
391
392 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
393
394         * debug.C: fix typo
395         * buffer.C: clarify message
396         
397 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
398
399         * dociterator.C (DocIterator): fix initialization order
400
401 2005-07-17  Juergen Vigna  <jug@lyx.org>
402
403         * text2.C (cursorHome): 
404         * text.C (drawSelection, cursorX): 
405         * dociterator.C (textRow): add boundary to getRow() call
406
407         * paragraph.C (getRow): implementation of below
408
409         * paragraph.h: add parameter boundary for getRow() function
410
411 2005-07-17  José Matos  <jamatos@fc.up.pt>
412
413         * buffer.C:
414         * bufferparams.[Ch]:
415         * tex-strings.[Ch]: new file format, remove support for a4.sty,
416         a4wide.sty and a4widemargins.
417
418 2005-07-17  Juergen Vigna  <jug@lyx.org>
419
420         * text2.C (cursorLeft): fix one of error
421
422 2005-07-17  Juergen Vigna  <jug@lyx.org>
423
424         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
425                    cursorEnd):
426         more fixes for boundary handling
427
428         * text3.C (dispatch): don't reset cursor if boundary has changed
429         on cursor movement.
430
431 2005-07-16  Juergen Vigna  <jug@lyx.org>
432
433         * text2.C (getColumnNearX): hopefully got it right now,
434         check if we are on column 0 for special case.
435
436 2005-07-16  Juergen Vigna  <jug@lyx.org>
437
438         * text2.C (getColumnNearX): handle special case Newline Inset
439
440         * text.C (singleWidth): Just remove bogus check
441
442 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
443
444         * funcrequest.C (split): avoid reading uninitialized char c
445
446 2005-07-16  José Matos  <jamatos@fc.up.pt>
447
448         * buffer.C:
449         * converter.C:
450         * lyxrc.C:
451         * paper.h:
452         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
453         single papersize variable.
454
455 2005-07-16  Juergen Vigna  <jug@lyx.org>
456
457         * text3.C (dispatch): honor boundary when checking if a cursor
458         movement has been done
459
460         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
461         (setCursor, setCursorIntern): fix cursor movement with boundary
462
463 2005-07-16  Juergen Vigna  <jug@lyx.org>
464
465         * text.C (currentState): output the actual Boundary
466
467 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
468
469         * factory.C (createInset): fix bad logic for tabular creation
470
471 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
472
473         * lyx_main.C (init): change some reLyX reference to tex2lyx
474
475 2005-07-16  Juergen Vigna  <jug@lyx.org>
476
477         * dociterator.C (DocIterator): initialize boundary
478
479 2005-07-16  Juergen Vigna  <jug@lyx.org>
480
481         * text2.C (getColumnNearX): Consider rows without trailing blank.  
482
483 2005-07-16  André Pönitz  <poenitz@gmx.net>
484
485         * lyxfont.h: Change order of declarations to give the compiler
486         a better chance to inline things
487
488         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
489         questions on unsaved docs for better scritability
490
491 2005-07-16  André Pönitz  <poenitz@gmx.net>
492
493         * paragraph.h (getChar): remove asserts as the same kind of security
494         can be achieved by using a suitable standard library implementation
495         and the function was in the critical path (25.9% in profiler)
496
497 2005-07-16  Juergen Vigna  <jug@lyx.org>
498
499         * cursor.C (bruteFind2):
500         * bufferview_funcs.C (coordOffset): 
501         * text.C (cursorX,cursorY): Handle cursor position after last char
502         in row before a inset which uses a whole row.
503
504 2005-07-15  José Matos <jamatos@lyx.org>
505
506         * output_plaintext.[Ch] (writeFileAscii): control reference title
507         printing.
508         (asciiParagraph): noparbreak was already deal and was incorrectly
509         used.
510
511 2005-07-15  Juergen Vigna <jug@lyx.org>
512
513         * lyxfunc.C (dispatch): save and restore the cursor after a
514         textclass switch.
515
516 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
517
518         * text.C (backspace): bug 806 for empty keepempty paragraphs we
519         change the layout to default before letting DEPM do its thing.
520
521         * paragraph_funcs.C (breakParagraph): dont reset the layout on
522         keepEmpty paragraphs
523
524         * text.C (setCursorFromCoordinates): add a debug statement
525
526         * text2.C (getColumnNearX): bug 1825 make sure that we don't
527         return a pos that is not on the row
528
529         * output_latex.C (TeXDeeper): get rid of potential dereferencing
530         of past the end iterator
531
532 2005-07-14  André Pönitz  <poenitz@gmx.net>
533
534         * undo.C (recordUndoFullBuffer): implement undo for
535         textclass switches
536
537 2005-07-14  André Pönitz  <poenitz@gmx.net>
538
539         * cursor.C (setSelection): open insets when selection is set there
540         to avoid crashs with cold coord cache
541
542 2005-07-14  André Pönitz  <poenitz@gmx.net>
543
544         * trans_mgr.C (insert): move cursor to the right after inserting
545         a char.
546
547 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
548
549         * BufferView_pimpl.C (update): dampen some of the debug blabbering
550         * factory.C (readInset): ditto
551         * text.C, text2.C: ditto
552
553 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
554
555         * buffer.C: format incremented to 242. There is no file format per
556         se, but the "frenchb" language has been removed from lib/language
557         and has to be translated to "french" by lyx2lyx.
558
559 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
560
561         * cursor_slice.h, dociterator.h: add some documentation
562         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
563
564 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
565
566         * text.C (leftMargin): do not add identation to display() style
567         insets, because they are always centered (bug 1293).
568
569 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
570
571         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
572         formatted_time methods in support/lyxtime.
573
574 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
575
576         * toc.[Ch]: new method getGuiName, which is used by the frontends 
577         to set the toc combo (fixes bug 1870). Make TOC string translatable.
578
579 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
580
581         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
582         StableDocIterator const &)
583         * undo.C (recordUndo): use the above instead of cell.size() comparison
584         (fixes bug 1808; instructed by Andr�.
585
586 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
587
588         * cursor_slice.h: 
589         * dociterator.h: Fix the assert when copying rows/cols in math
590
591 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
592
593         * BufferView_pimpl.C:
594         * LyXAction.C:
595         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
596
597         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
598         (findInset): new functions, refactored from goto Inset that return 
599         the position of a certain inset without setting the buffer's cursor
600         (by Jean-Marc); 
601         (gotoInset): rewrite to call findInset and then set the cursor
602         (by Jean-Marc).
603
604 2005-06-16  Angus Leeming  <leeming@lyx.org>
605
606         * lyxrc.C (output, read): wrap all input and output of paths with
607         calls to os::internal_path and os::external_path, respectively.
608         (output): wrap bind_file inside quotes.
609
610         * format.C (view): enable the viewer to use the '$$s' placeholder.
611
612 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
613
614         * LColor.[Ch] (getFromLaTeXName): new
615
616 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
617
618         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
619
620 2005-06-14  Angus Leeming  <leeming@lyx.org>
621
622         * lyx_main.C (init): ensure that the LyX binary dir is the first
623         element in the PATH on non-POSIX builds.
624
625 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
626
627         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
628
629 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
630
631         * rowpainter.C (paintInset, paintHebrewComposeChar)
632         (paintArabicComposeChar, paintChars): add a LyXFont argument.
633         (paintChars): use getFontSpan to reduce calls to getFont to a
634         minimum; use Paragraph::lookupChange instead of isXXXText.
635         (paintForeignMark): rename LyXFont argument.
636         (paintFromPos): pass a LyXFont object to the various paintXXX
637         methods.
638
639         * FontIterator.C (FontIterator, operator++): use
640         Paragraph::getFontSpan
641
642         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
643         version that returns the font span as a pair.
644
645 2005-06-09  Angus Leeming  <leeming@lyx.org>
646
647         * converter.C (convert): Don't forget "outfile = real_outfile" as
648         the final step in a conversion where the input and output file names
649         are the same. Otherwise, future conversion steps won't work...
650
651 2005-06-09  Angus Leeming  <leeming@lyx.org>
652
653         * lyxsocket.C: remove stub code as it isn't needed by
654         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
655
656 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
657
658         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
659         effectively disabled -x
660
661 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
662
663         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
664         when it actually makes sense.
665
666 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
667
668         * BufferView_pimpl.C: revert to showCursor in connection with
669         Lars's front-end stack
670
671 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
672
673         * text.C (redoParagraph): move cursor right after a bibitem
674         has been inserted.
675
676         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
677
678 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
679
680         * buffer_funcs.C (bufferErrors): fix computation of the end of an
681         error range.
682
683 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
684
685         * BufferView.[Ch] (update):
686         * BufferView_pimpl.[Ch] (update, metrics):
687         * dimension.h (operator==):
688         * lyxfunc.C (dispatch):
689         * metricsinfo.h (ViewMetricsInfo):
690         * rowpainter.C (paintText):
691         * lyxtext.h:
692         * text.C (redoParagraph):
693         * text3.C (dispatch): Make LyX only repaint current paragraph in
694         case of character insert --> speedup. Also fix cursor draw
695         artifacts
696
697 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
698
699         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
700         avoid a crash (bug 1891)
701
702 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
703
704         Fix bug 1892:
705
706         * text2.C (getStringToIndex): constify cur argument.
707
708         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
709         argument has been given
710         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
711         try to invoke LFUN_INSET_APPLY).
712
713         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
714         if no inset was created by doInsertInset
715         (doInsertInset): return true if an inset has been inserted.
716
717 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
718
719         * vspace.C (asGUIName): new method. A version of the space
720         suitable for showing on screen.
721
722 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
723
724         * MenuBackend.C:
725         * lyxrc.C: rename "ASCII" to "Plain Text"
726
727 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
728
729         * buffer_funcs.C (expandLabel): take a Buffer as argument;
730         translate the labelstring.
731         (setCounter): translate labelstring as needed.
732
733         * output_docbook.C (makeCommand): fix expandLabel invokation
734
735 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
736
737         * BufferView.C: fix dialog title
738
739 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
740
741         * lyx_main.C (priv_exec): fix logic error with help from Angus
742         * lyx_main.C (parse_execute): set is_gui = false and remove now
743         obsolete comment about a segfault
744
745 2005-05-18  Angus Leeming  <leeming@lyx.org>
746
747         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
748
749 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
750
751         * tabular.[hC]: added setCellInset to fix tabular paste.
752
753 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
754
755         * buffer.C (save): check if destination is writable before trying
756         to copy a file
757
758 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
759
760         * BufferView_pimpl.C (update): fix processEvents -caused update
761         recursion bug
762
763 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
764
765         * buffer_funcs.C (setCounter): fix test for numbering of
766         environments.
767
768         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
769         depth correctly; use optional argument when it exists
770
771         * lyxtextclass.C: remove unused MaxCounterTags enum
772         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
773         (max_toclevel, min_toclevel): new methods.
774
775         * MenuBackend.C (expandToc2): fix case where depth is smaller than
776         the smallest depth in toc.
777
778         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
779         layouts that should not appear in a table of contents.
780
781 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
782
783         * cursor.h (undispatched, noUpdate): add comments from Andr�
784 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
785
786         * lfuns.h:
787         * LyXAction.C:
788         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
789
790 2005-05-07  André Pönitz  <poenitz@gmx.net>
791
792         * cursor.[Ch] (leaveInset): new function
793
794 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
795
796         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
797
798 2005-05-04  Angus Leeming  <leeming@lyx.org>
799
800         * lyxfunc.C (getStatus): disable the spell checker dialog if
801         none of USE_[AIP]SPELL are defined.
802
803 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
804
805         * tabular.C (setWidthOfCell): remove obsolete comment
806
807 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
808
809         * paragraph.C (bibitem):
810         * buffer_funcs.C (setCounter):
811         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
812
813 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
814
815         * text3.C (getStatus): immediately return after setOnOff
816
817         * rowpainter.C: fix drawing of appendix start
818
819 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
820
821         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
822         SwitchBetweenClasses and remove the unused return value.
823         Handle character styles, too
824
825 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
826
827         * factory.C (createInset): handle undefined character styles
828
829 2005-05-02  Angus Leeming  <leeming@lyx.org>
830
831         * buffer.C: protect the #include of utime.h with a preprocessor
832         guard.
833
834 2005-05-02  Angus Leeming  <leeming@lyx.org>
835
836         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
837         function so that auto-saving works, albeit in a blocking manner.
838
839         * Makefile.am: make compilation of the client sub directory, of
840         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
841         on conditionals set at configure time.
842
843         * SpellBase.[Ch]: no longer an abstract base class. Instead,
844         it can be compiled in its own right but has no-op functionality.
845
846         * aspell.C, pspell.C: remove preprocessor guards. The files should
847         be compiled only if the necessary functionality exists.
848
849         * lyxserver.C, lyxsocket.C: disable on Windows.
850
851 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
852
853         * text.C (leftMargin): Fix the parindent use bug (1764)
854         by dirty trick
855
856 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
857
858         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
859         argument.
860
861 2005-04-25  Angus Leeming  <leeming@lyx.org>
862
863         * Bidi.[Ch]:
864         * coordcache.[Ch]:
865         * ispell.C:
866         * lyxserver.C:
867         * mover.C:
868         * pch.h:
869         include <config.h> in .C files, not .h ones.
870         add licence blurb.
871         protect headers inside preprocessor guards.
872
873 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
874
875         * FuncStatus.h (StatusCodes): document
876
877 2005-04-21  André Pönitz  <poenitz@gmx.net>
878
879         * FuncStatus.h (enabled, onoff): document
880
881 2005-04-19  Angus Leeming  <leeming@lyx.org>
882
883         * BufferView_pimpl.C (cursorToggle): no longer test whether
884         any child processes have been reaped before calling
885         handleCompletedProcesses().
886
887 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
888
889         * text3.C (dispatch): fix, finally fix, the language problem in
890         new lyxtexts, without disabling on-the-fly font changes (Helge's
891         bug report)
892
893 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
894
895         * text3.C (dispatch): set cursor on double/triple click events
896         (bug 1811)
897
898 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
899
900         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
901         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
902
903         * rowpainter.C (paintFirst): simplify the code a little bit. In
904         particular, remove the test for secnumdepth.
905         * text.C (setHeightOfRow): only allocate space for chapter number
906         when updateCounters provided an actual label, instead of looking
907         at secnumdepth directly.
908
909         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
910
911         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
912         paragraphs when secnumdepth is large enough or, for environments,
913         when they are not the first in a sequence.
914
915 2005-04-17  Angus Leeming  <leeming@lyx.org>
916
917         * buffer.C (makeLaTeXFile): replace code to manipulate a path
918         containing space and '~' characters with a call to latex_path().
919
920 2005-04-17  Angus Leeming  <leeming@lyx.org>
921
922         * converter.C (convert): protect all args of convertDefault.sh
923         script with quotes.
924
925 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
926
927         * text3.C (dispatch): change the layout to "Caption" after inserting
928         a float.
929
930 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
931
932         * text3.C (dispatch): fix language problem in newly created
933         textinsets (and main text) in non-english docs
934
935 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
936
937         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
938         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
939         * text3.C (getStatus): disable LFUN_INSET_MODIFY
940
941 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
942
943         * lyxtext.h:
944         * text.C (metrics):
945         * text2.C (getFont):
946         * rowpainter.C (getFont): Fix metrics bug introduced by inset
947         fonts fix
948
949 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
950
951         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
952         output of \item arguments without trailing text.
953
954 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
955
956         * FontIterator.C (operator*): avoid a copy of the font.
957
958 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
959
960         * rowpainter.C (getFont): fix language bug from previous fix
961
962 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
963
964         * rowpainter.C (RowPainter, getFont): fix font inside inset
965         (bugs 1766, 1809)
966
967 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
968
969         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
970         preventing inserted font, deco, delim insets jumping to start of
971         surrounding inset.
972
973 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
974
975         * lyxfunc.C (dispatch): translate message before sending it to the
976         minibuffer.
977
978 2005-03-29  Angus Leeming  <leeming@lyx.org>
979
980         * lyx_main.C (priv_exec): call os::internal_path on each file passed
981         to LyX on the command line.
982
983 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
984
985         * vc-backend.C: use QuoteName to protect file names wherever
986         necessary.
987
988 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
989
990         * buffer.[Ch]:
991         * BranchList.h: fix bugs 1844,1845: document settings don't
992         stick
993
994 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
995
996         * lyxrc.C (setDefaults, read, output, getDescription): add support
997         for tex_allows_spaces.
998
999         * exporter.C (Export): allows files in directory containing spaces
1000         if tex_allows_spaces is true.
1001
1002         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1003         output it in double quotes.
1004
1005 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1006
1007         * rowpainter.C: use default text height for drawing change tracker
1008         strikeout lines.
1009
1010 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1011
1012         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1013
1014 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1015
1016         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1017         directory is missing.
1018
1019 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1020
1021         * text2.C: fixed the fix, extended to other case.
1022
1023 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1024
1025         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1026
1027 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1028
1029         * text2.C (cursorUp): get rid of a crash
1030         * text.C (x2pos): add an assert
1031
1032 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1033
1034         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1035
1036         * text3.C:
1037         * lyxfunc.C:
1038         * dociterator.C: include <boost/current_function.hpp>, which is
1039         needed when assertions are disabled.
1040
1041 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1042
1043         * text2.C: fix for stuck cursor when traversing two
1044         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1045
1046 2005-02-25  Andreas Vox  <avox@arcor.de>
1047
1048         * output_docbook.C (makeParagraph): suppress trailing newline
1049         after a run of paragraphs
1050
1051 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1052
1053         * paragraph.C: fix for confused change tracker when pasting
1054         text that begins with a lineseparator. [bug 1827]
1055         (setChange(0, Change::INSERTED);)
1056
1057         * paragraph_funcs.C: fix for lost changes on triple-paste
1058         in change tracking mode [bug 1827] (par.setChange()).
1059
1060 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1061
1062         * text2.C (updateCounters, setCounter, expandLabel): move to
1063         buffer_funcs.
1064
1065         * buffer_funcs.C (updateCounters): turn into a free standing
1066         function and add a buffer parameter. Remove dead code for tracking
1067         labelstring change.
1068         (setCounter): change into a free-standing function which gets a
1069         dociterator as argument. Use this iterator to fix captions in a
1070         simple way. When no float is found above the caption, use the
1071         labelstring of the caption layout as default.
1072
1073         * text.C (breakParagraph, backspace):
1074         * text2.C (init, setLayout, changeDepth):
1075         * text3.C (dispatch):
1076         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1077         updateCounters.
1078
1079         * dociterator.C (forwardPar): make it much faster by calling
1080         forwardPos() only when really necessary.
1081
1082         * output_docbook.C (makeCommand): adapt to expandLabel move.
1083
1084         * cursor.C: remove unused variable
1085
1086 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1087
1088         * paragraph_funcs.C: fix crash when pasting insets in change
1089         tracking mode [bug 1277] (honour change type in moveItem).
1090
1091 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1092
1093         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1094
1095 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1096
1097         * BufferView.C (setCursor): change to use a DocIterator.
1098         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1099         (putSelectionAt): adapt to BufferView::setCursor change.
1100
1101         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1102         moved here from LyXText and rewritten to use proper cursor
1103         methods. Fixes bug 1787, 616 and 835.
1104
1105         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1106         when inside an inset (part of bug 781).
1107         (dispatch): adapt to change of BufferView::setCursor.
1108         (getStatus, dispatch): handle LFUN_GOTOERROR,
1109         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1110
1111         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1112         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1113         * text3.C (gotoNextInset, gotoInset): removed.
1114
1115 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1116
1117         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1118
1119 2005-02-15  Angus Leeming  <leeming@lyx.org>
1120
1121         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1122         can be used meaningfully in a comparison.
1123
1124 2005-02-13  André Pönitz  <poenitz@gmx.net>
1125
1126         * bufferview_funcs.C (coordOffset): improve cursor drawing
1127
1128 2005-02-13  André Pönitz  <poenitz@gmx.net>
1129
1130         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1131         * Cursor.C (dispatch): use fixIfBroken
1132         * lyxfunc.C (getStatus): use fixIfBroken
1133
1134 2005-02-15  Angus Leeming  <leeming@lyx.org>
1135
1136         * lyx_main.C (error_handler):
1137         * lyxfunc.C:
1138         * lyxrc.C (setDefaults):
1139         s/GetEnv/getEnv/.
1140         #include "environment.h".
1141
1142         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1143
1144 2005-02-15  Angus Leeming  <leeming@lyx.org>
1145
1146         * lyxserver.C (startPipe): squash MSVC warning "local variable
1147         'fd' used without having been initialized".
1148
1149 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1150
1151         * BufferView_pimpl.C: revert accidental commit.
1152
1153 2005-02-14  André Pönitz  <poenitz@gmx.net>
1154
1155         * dociterator.[Ch]: new member forwardPosNoDescent(),
1156         which doesn't enter nested insets.
1157         * text2.C (setFont): use forwardPosNoDescent() instead
1158         of ForwardPos() (fixes crash on font change).
1159
1160 2005-02-13  Angus Leeming  <leeming@lyx.org>
1161
1162         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1163         only if lyxrc.path_prefix is not empty.
1164
1165 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1166
1167         * bufferparams.C (readGraphicsDriver): prevent crash
1168
1169 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1170
1171         * text2.C (setCounter): check for inInset() == 0
1172
1173 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1174
1175         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1176         but use update() to get correct screen display; use convert
1177         instead of istringstream.
1178         (getStatus): handle LFUN_GOTO_PARAGRAPH
1179
1180         * lyxfunc.C (dispatch, getStatus): do not handle
1181         LFUN_GOTO_PARAGRAPH here.
1182
1183 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1184
1185         * text3.C (dispatch): size() -> depth()
1186
1187         * text2.C: remove some debug output
1188
1189         * paragraph.C: ws changes only
1190
1191         * lyxfunc.C (getStatus): size() -> depth()
1192
1193         * dociterator.h (clear, push_back, pop_back, internalData,
1194         operator[], resize, empty): new functions
1195         Make StableDocIterator and operator== be friends. Don't inherit
1196         from std::vector use a privat class variable slices_ instead.
1197         Modify to fit.
1198
1199         * dociterator.C: update because of not inheriting from std::vector
1200         anymore. Call explictly to slices_ instead. Use depth() instead of
1201         size() and top() instead of back()
1202
1203         * cursor.C: chagne size() -> depth and back() -> top(). Also
1204         remove some direct operator[](i) calls in favour of foo[i]
1205         (getFont): remove some dead code
1206
1207         * bufferview_funcs.C (coordOffset): size() -> depth()
1208
1209         * buffer.C: ws changes only
1210
1211         * CutAndPaste.C (eraseSelection): back() -> top()
1212
1213         * BufferView_pimpl.C (selectionRequested): back() -> top()
1214
1215         * BufferView.C (setCursor): size() -> depth()
1216
1217 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1218
1219         * text3.C (cursorPrevious): return true if depm changed something
1220         (cursorNext): ditto
1221         (dispatch): rename sl to oldTopSlice, remove moving use the new
1222         NoUpdate func attrib instead. Make sure that needsUpdate is set
1223         for function that have NoUpdate, but where depm might have changed
1224         the buffer anyway.
1225
1226         * text2.C (cursorLeft): make us return true if depm changed
1227         something
1228         (cursorRight): ditto
1229         (cursorUpParagraph): ditto
1230         (curosrDownParagraph): ditto
1231         (cursorUp, cursorDown): ditto, make sure to read comments in code
1232         (deleteEmptyParagraphMechanism): remove an assert, also return
1233         true if just a single char was deleted.
1234
1235         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1236         cursor that we modify, to avoid modifying an active cursor before
1237         we call setCursor. This allows depm to run. Also return true if
1238         depm deleted something.
1239
1240         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1241         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1242         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1243         something was changed in the buffer because of them (ie. depm run)
1244
1245         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1246         debug messages. Make update by default be false. Make sure that
1247         the result of update is retained throught several calls down to
1248         dispatch.
1249
1250         * LyXAction.h: add a new func_attrib: NoUpdate
1251
1252         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1253         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1254         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1255         and LFUN_WORDLEFT
1256         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1257
1258 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1259
1260         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1261         bv_->owner(), bv_->buffer() by direct references to the private
1262         members.
1263         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1264         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1265         (fitCursor): center() is in BufferView::Pimpl.
1266         (getStatus, trackChanges, dispatch): no need for a temporary buf
1267         variable
1268         (fitCursor, workAreaDispatch): use workarea().workheight()
1269
1270 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1271
1272         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1273
1274 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1275
1276         * buffer.C: format up to 241.
1277         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1278         break if pasting into ERT
1279         * lyxfunc.C (getStatus): suppress mathpanel and
1280         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1281
1282 2005-02-01  Angus Leeming  <leeming@lyx.org>
1283
1284         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1285
1286 2005-02-01  Angus Leeming  <leeming@lyx.org>
1287
1288         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1289         calling fs::is_directory().
1290
1291 2005-01-31  Angus Leeming  <leeming@lyx.org>
1292
1293         * lyx_main.C (priv_exec): specify explicitly the relative location
1294         of the top level build directory when run in-place.
1295
1296 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1297
1298         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1299         LyXText containing the cursor, not the top-level one.
1300
1301         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1302         true.
1303         (insertStringAsLines): rename par to pit; use temporary variable
1304         par to hold a Paragraph; do not store par.layout() in a variable,
1305         since the pointer may die when breaking paragraphs; pass pars to
1306         breakParagraph() instead of Buffer::paragraphs().
1307
1308 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1309
1310         * lyxlex_pimpl.h: #include <fstream>.
1311
1312         * BufferView.[Ch] (getLyXText): add a const version.
1313
1314         * BufferView_pimpl.C: add debug aids.
1315
1316         * RowList_fwd.h:
1317         * buffer.h:
1318         * lyxrow.h:
1319         * paragraph_funcs.h: add commentary explaining what the class does.
1320
1321
1322         * coordcache.[Ch]: add lots of commentary.
1323         (startUpdating, doneUpdating): debug aids.
1324         (arrays, insets, parPos, getParPos): accessors to private data.
1325
1326         * cursor_slice.[Ch] (text): add a const version.
1327         * dociterator.[Ch] (text, innerText): add const versions.
1328
1329         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1330         bool.
1331
1332         * paragraph.C (getRow, pos2ros): add asserts.
1333
1334         * paragraph.h: add commentary. Lots of.
1335
1336         * paragraph.[Ch] (metrucs, draw): removed.
1337
1338         * cursor.C:
1339         * rowpainter.[Ch]: const-correct changes.
1340
1341         * text.C: various obvious clean-ups. Removal of ancient cruft.
1342         Bug fixes, even.
1343
1344 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1345
1346         * vc-backend.C (find_file): rewrite to use boost.filesystem
1347         (scanMaster): ditto
1348
1349         * main.C (main): set default name check for boost.filesystem to
1350         no check
1351
1352         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1353         (open): ditto
1354         (doImport): ditto
1355         (actOnUpdatedPrefs): ditto
1356
1357         * lyx_main.C (init): rewrite to use boost.filesystem
1358         (queryUserLyXDir): ditto
1359
1360         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1361         (getContentsOfAsciiFile): ditto
1362
1363         * lastfiles.C (readFile): rewrite to use boost.filesystem
1364
1365         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1366
1367         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1368         (loadLyXFile): ditto
1369
1370         * buffer.C (Buffer): adjust for destroydir
1371         (getLogName): rewrite to use boost.filesystem
1372         (setFileName): ditto
1373         (save): use fs::copy_file (from fs_extras)
1374
1375         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1376
1377         * LaTeX.C (run): rewrite to use boost.filesystem
1378         (scanAuxFiles): ditto
1379         (handleFoundFile): ditto
1380
1381 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1382
1383         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1384
1385         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1386
1387 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1388
1389         * lyxlayout.[Ch]: change some vars from float to double
1390
1391         * buffer.C (readFile): make a local var const
1392
1393         * Several files: use convert<> instead of atoi,strToXXX and friends
1394
1395 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1396
1397         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1398         holds the contents of packages.lst. New functions getAvailable
1399         and isAvailable to parse and check that list, resp.
1400
1401         * LyXAction.C:
1402         * lfuns.h:
1403         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1404
1405         * bufferparams.[Ch]: new param output_changes.
1406
1407         * Buffer.C: increase file format to 240.
1408         Use output_changes and isVailable.
1409
1410         * changes.[Ch]:
1411         * paragraph.C:
1412         * paragraph_pimpl.C: Use output_changes and isVailable.
1413
1414 2005-01-23  Angus Leeming  <leeming@lyx.org>
1415
1416         * output_latex.C: #include "insetbibitem.h", rather than
1417         forward declare function bibitemWidest.
1418
1419 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1420
1421         * lyx_main.C (init): make it compile on the Mac.
1422
1423 2005-01-20  Angus Leeming  <leeming@lyx.org>
1424
1425         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1426         (setLyXMisc): (char string literal) != (char string literal) is
1427         performing a comparison on the addresses. Convert one operand
1428         explicitly to string to guarantee expected behaviour.
1429         From MSVC warning.
1430
1431 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1432
1433         * buffer.C:
1434         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1435
1436         * output_plaintext.C: remove unneeded #include gzstream.h.
1437
1438 2005-01-20  Angus Leeming  <leeming@lyx.org>
1439
1440         * SpellBase.h: rename some of the elements of the Result enum.
1441
1442         * aspell_local.h:
1443         * ispell.h:
1444         * pspell.h:
1445         * aspell.C (check):
1446         * ispell.C (check):
1447         * pspell.C (check): ditto
1448
1449 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1450
1451         * buffer.C: add #include <fstream>.
1452
1453         * lyx_main.C (init): Compile fix.
1454
1455         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1456
1457 2005-01-20  Angus Leeming  <leeming@lyx.org>
1458
1459         * mover.h: change commentary to reflect the changed meaning of
1460         the $$s placeholder.
1461
1462 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1463
1464         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1465
1466         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1467
1468 2005-01-20  Angus Leeming  <leeming@lyx.org>
1469
1470         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1471         printing diagnostic data by not dereferecing an iterator past the
1472         end.
1473
1474 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1475
1476         * buffer.C (readHeader): use "&&" rather than "and".
1477
1478         * lyxserver.h (inPipeName, outPipeName): make these const.
1479
1480 2005-01-19  Angus Leeming  <leeming@lyx.org>
1481
1482         * lyx_main.C (error_handler, init): protect SIGHUP with
1483         #ifdef SIGHUP guards.
1484
1485 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1486
1487         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1488
1489 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1490
1491         * text.C (setHeightOfRow): add a margin at the top and bottom of
1492         the document (bug 1761)
1493
1494 2005-01-17  Angus Leeming  <leeming@lyx.org>
1495
1496         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1497         with "python ". Workaround for a brain-dead Windows.
1498
1499 2005-01-16  Angus Leeming  <leeming@lyx.org>
1500
1501         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1502         for MacOSX and Windows to use prependEnvPath.
1503         Strip out the hard-coded block to add elements to the PATH for
1504         MacOSX and replace it with a call to prependEnvPath using the
1505         contents of LyXRC::path_prefix.
1506         (queryUserLyXDir): strip out the code to run reconfigure, instead
1507         returning a boolean indicating the necessity to do so.
1508         (reconfigureUserLyXDir): contains the code to reconfigure the
1509         user support directory. Is now called after the various LyXRC data
1510         files have been read.
1511
1512         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1513
1514 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1515
1516         * converter.[Ch] (convert): take a new parameter try_default. Use
1517         a default converter (imagemagick) if try_default is true.
1518
1519 2005-01-13  Angus Leeming  <leeming@lyx.org>
1520
1521         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1522         os::cygwin_path_fix.
1523         (write): output LyXRC::cygwin_path_fix as necessary.
1524
1525 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1526
1527         * lyxrc.h:
1528         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1529
1530 2005-01-12  Angus Leeming  <leeming@lyx.org>
1531
1532         * lyx_main.C (init): set the PATH variable to include the
1533         directory containing the LyX binary when running on Mac or Windows.
1534
1535 2005-01-12  Angus Leeming  <leeming@lyx.org>
1536
1537         * lyx_main.C (init): remove cruft that purports to set the locale
1538         dir. It doesn't and is not needed anyway.
1539
1540 2005-01-10  Angus Leeming  <leeming@lyx.org>
1541
1542         * Makefile.am: remove the lyx_main.C special casing.
1543
1544         * BufferView_pimpl.C:
1545         * bufferlist.C:
1546         * exporter.C:
1547         * lyx_cb.C:
1548         * lyx_main.C:
1549         * lyxfunc.C:
1550         * messages.C: use support/package.h to provide the paths to the
1551         various directories used by LyX.
1552
1553 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1554
1555         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1556         layout if pasting into an empty paragraph)
1557
1558 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1559
1560         * tex-accent.C: add <string>
1561
1562 2005-01-06  José Matos  <jamatos@lyx.org>
1563
1564         * ParagraphParameters.C (write): put every parameter in its own line.
1565         * paragraph.C (write): reduce number of consecutive empty lines exported.
1566         * buffer.C (LYX_FORMAT): increase file format to 239.
1567
1568 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1569
1570         * everywhere: change support/tostr.h -> support/convert.h
1571
1572         * tabular.C: make all write_attributes templates, tostr -> convert
1573
1574         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1575         (emptyTag): and -> &&, and fix type for ret from getChar
1576         (getFirstWord): fix type for ret from getChar
1577         (onlyText): and -> &&
1578         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1579         getChar
1580
1581         * toc.C (goTo, action):
1582         * text3.C (dispatch):
1583         * text.C (currentState):
1584         * tex-accent.C (DoAccent):
1585         * sgml.C:
1586         * lyxrc.C:
1587         * lyxfunc.C (menuNew):
1588         * lyxfinc.C (replace):
1589         * counters.C (laberItem):
1590         * bufferview_funcs.C (font2string):
1591         * bufferparams.C (writeFile):
1592         * buffer.C (readFile):
1593         * Spacing.C (set):
1594         * MenuBackend.C: tostr -> convert
1595
1596         * LaTeX.C (runMessage): fix format
1597         (scanAuxFiles): tostr -> convert
1598
1599         * BufferView_pimpl.C (savePosition): fix format
1600         (restorePosition): ditto
1601         (dispatch): ditto
1602
1603 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1604
1605         * Spacing.[Ch]: New method getValueAsString().
1606
1607         * Spacing.[Ch]:
1608         * bufferparams.C:
1609         * ParagraphParameters.C:
1610         * lyxlayout.C:
1611         * text.C:
1612         * text3.C: store/read spacing value as string.
1613
1614         * rowpainter.C: change float value (spacing_val) to double.
1615
1616         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1617         broken custom document spacing).
1618
1619 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1620
1621         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1622         namespace, also more use of temp references and const
1623
1624         * cursor.[Ch] (getStatus): move to lyxfunc.C
1625
1626         * bufferparams.C: reformat slightly
1627
1628         * bufferview_funcs.C (font2string): constify arg
1629
1630         * changes.C:
1631         * converter.C:
1632         * counters.C:
1633         * bufferlist.C:
1634         * buffer_funcs.C: (many funcs): constify arg on function
1635         definitions, also make more local vars const, also add ASSERTS on
1636         pointer args.
1637
1638         * buffer.C (LYX_FORMAT): put const in correct place
1639         (many funcs): constify arg on function definitions, also make
1640         more local vars const
1641
1642         * aspell_local.h: remove "struct" from typdef setup
1643
1644         * aspell.C (check): make word_ok const
1645         (nextMiss): simplify slightly
1646         (error): ditto
1647
1648 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1649
1650         * lyxrc.[Ch]: store all float values as strings.
1651         use int (not float) for lyxrc.dpi.
1652
1653 2005-01-04  Angus Leeming  <leeming@lyx.org>
1654
1655         * lyx_cb.C (Reconfigure):
1656         * lyx_main.C (queryUserLyXDir):
1657         to run the <system_lyxdir>/configure correctly on Windows, prefix
1658         the path to the script with "sh " when generating the string that
1659         is passed to system().
1660
1661 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1662
1663         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1664
1665 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1666
1667         * lyxlength.C (asLatexString): get rid of setprecision
1668
1669 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1670
1671         * text2.C (setLayout): remove unused variable endpit.
1672         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1673
1674         * paragraph.C (onlyText): remove unused variable style.
1675
1676         * cursor.C (bruteFind): remove unused variables beg and end.
1677
1678         * Makefile.am (dist_noinset_DATA): not needed anymore
1679
1680         * cheaders/*: remove.
1681
1682 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1683
1684         * text3.C: fix LFUN_MATH_MODE.
1685
1686 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1687
1688         * buffer_funcs.C (countWords): new function. Counts words between
1689         two iterators.
1690
1691         * BufferView_pimpl.C (getStatus, dispatch): handle
1692         LFUN_WORDS_COUNT.
1693
1694         * LyXAction.C (init):
1695         * lfuns.h: add LFUN_WORDS_COUNT.
1696
1697 2004-12-19  Angus Leeming  <leeming@lyx.org>
1698
1699         * buffer.C (save): s/slashify_path/internal_path/.
1700
1701 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1702
1703         * lyxfind.C (findChange): do not search for end of pars, because
1704         the change tracker cannot handle this (fixes bug 1719).
1705
1706 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1707
1708         * paragraph.[Ch] (autoBreakRows): remove
1709
1710         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1711
1712         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1713         avoid using the paragraph one
1714
1715         * text2.C (LyXText, insertStringAsLines): adjust
1716
1717 2004-12-16  Angus Leeming  <leeming@lyx.org>
1718
1719         * bufferlist.C:
1720         * lyx_main.C:
1721         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1722
1723 2004-12-14  Angus Leeming  <leeming@lyx.org>
1724
1725         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1726
1727         * bufferlist.C (emergencyWrite):
1728         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1729         GetEnvPath("HOME").
1730
1731 2004-12-14  Angus Leeming  <leeming@lyx.org>
1732
1733         * main.C: (main): no longer pass pointers to os::init.
1734
1735 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1736
1737         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1738         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1739
1740 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1741
1742         * lyxfunc.C:
1743         * text3.C: remove selection_possible global flag
1744
1745 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1746
1747         * text2.C (getSelectionSpan): remove
1748         (changeDepth, changeDepthAllowed): adjust
1749
1750 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1751
1752         * Makefile.am (BOOST_LIBS): use boost variables
1753
1754 2004-12-03  José Matos  <jamatos@lyx.org>
1755
1756         * buffer.C: format up to 238.
1757
1758 2004-12-03  José Matos  <jamatos@lyx.org>
1759
1760         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1761
1762 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1763
1764         * cursor.C (goUpDown): remove call to idxUpDown2
1765
1766 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1767
1768         * tabular.[Ch]: use size_t-like types for cell, row and column
1769         indices
1770
1771 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1772
1773         * lyxfunc.C (getStatus): do not lose previous information when
1774         calling BufferView::getStatus; do not set a default "Command
1775         disabled" message at the beginning, but just before returning.
1776
1777 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1778
1779         * cursor.h (getStatus): add better comment from src/cursor.C
1780
1781 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1782
1783         * text3.C (getStatus): return false when the lfun is not handled
1784
1785 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1786
1787         * broken_headers.h: remove
1788
1789         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1790
1791 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1792
1793         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1794         offset_ref accessors
1795
1796         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1797         top_y_, merge fitcursor with update
1798         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1799         coord scheme
1800         (metrics): introduce
1801         (workAreaDispatch): adapt to new coord scheme
1802         (redoCurrentBuffer): remove
1803
1804         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1805
1806         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1807         CurStatus enum.
1808
1809         * coordcache.[Ch]: add paragraph cache and helpers
1810
1811         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1812         adjust everywhere
1813
1814         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1815         (targetX, setTargetX): introduce
1816
1817         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1818         baseline -> ascent, as the rest of lyx
1819
1820         * lyxtext.h: remove redoParagraphs, updateParPositions,
1821         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1822         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1823         have ascent/descent (ascent is ascent of first par)
1824
1825         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1826         step of BufferView
1827
1828         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1829
1830         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1831
1832         * pariterator.C: fix infinite loop introduced in par->pit renaming
1833
1834         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1835         in insets and LyXText, draw two off-screen paragraphs using
1836         NullPainter, and adapt to new coord scheme
1837
1838         * text.C:
1839         * text2.C:
1840         * text3.C: adapt lfun handlers to the new coord scheme, which
1841         means: there's only guaranteed coord information for onscreen pars
1842         plus one above and one below. This implies that one can do search
1843         from y coordinates in the range [-1,workHeight]
1844
1845 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1846
1847         * rename a lot of InsetOld to InsetBase
1848
1849 2004-11-25  Angus Leeming  <leeming@lyx.org>
1850
1851         * BufferView_pimpl.C:
1852         * lyx_cb.C:
1853         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1854
1855 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1856
1857         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1858         call BufferView::getStatus if LCursor::getStatus did nothing
1859         (setStatusMessage, getStatusMessage): removed.
1860
1861         * FuncStatus.C (message): new methods. Used to provide an error
1862         message indicating why a command is disabled.
1863         (clear, |=, FuncStatus): update for message.
1864
1865 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1866
1867         * lyxfunc.C (dispatch): always call sendDispatchMessage
1868
1869 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1870
1871         * BufferView.C:
1872         * BufferView_pimpl.C:
1873         * CutAndPaste.C:
1874         * FontIterator.C:
1875         * buffer.C:
1876         * cursor.C:
1877         * cursor_slice.[Ch]:
1878         * dociterator.[Ch]:
1879         * lyxfind.C:
1880         * paragraph_funcs.C:
1881         * pariterator.C:
1882         * rowpainter.C:
1883         * text.C:
1884         * text2.C:
1885         * text3.C:
1886         * undo.C: par->pit renaming
1887
1888 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1889
1890         * tabular.C (cellstruct): use initialization, store a shared_ptr
1891         to insettext instead of the insettext directly, adjust to fit.
1892         (operator=):  new function
1893         (swap): new function
1894         (rowstruct): use initialization
1895         (columnstruct): use initialization
1896         (ltType): use initialization
1897
1898
1899         * lyxlength.h (swap): new function
1900
1901         * LColor.[Ch] (operator=): use the common semantics
1902
1903 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1904
1905         * lyxfind.C (findNextChange): update the bufferview after setting
1906         the selection.
1907
1908 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1909
1910         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1911         number of InsetOptArgs has already been inserted.
1912
1913         * output_latex.C (latexOptArgInsets): new method. This outputs all
1914         the optarg insets, up to the limit defined in the layout file.
1915         (optArgInset): removed
1916         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1917
1918 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1919
1920         * paragraph.C (isLetter): remove special spellchecker-related
1921         code; return true also for digits
1922         (isWord, isKomma): remove
1923
1924         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1925         * lyxfind.C (MatchString()): use isLetter instead of isWord
1926
1927 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1928
1929         * pariterator.h (operatir=): comment out un-implemented member
1930         function.
1931
1932         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1933         static cast.
1934
1935 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1936
1937         * lyxfont.h: include LColor.h to satisfy concept checks.
1938
1939 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1940
1941         * pariterator.h: add typdefs for value_type, difference_type,
1942         pointer and reference to satisfy concept checks. Also add default
1943         constructor for same reason.
1944
1945         * pariterator.C (operator++): add post-increment operator to
1946         satisfy concept checks.
1947
1948         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1949         checks.
1950
1951         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1952
1953         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1954         checks. Also rename base_type to BaseType to follow naming
1955         standard better.
1956
1957         * FloatList.h: include Floating.h to satisfy concept checks.
1958
1959 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1960
1961         * lyxfunc.C (getStatus): when the origin of the request is menu or
1962         toolbar, and the LyXView does not have focus, do as if there was
1963         no buffer (bug 1720)
1964
1965         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1966         FuncRequest to individual entries of LFUN_SEQUENCE
1967
1968 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1969
1970         * output_latex.C (TeXOnePar): override runparams.moving_arg
1971         according to the needprotect value of the current paragraph (bug
1972         1739)
1973
1974         * paragraph.C (simpleTeXOnePar): no need to override
1975         runparams.moving_args here
1976
1977 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1978
1979         * vspace.C: fix off-by-one-error, related to fix #1682
1980
1981 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1982
1983         * lengthcommon.C: a more general fix for bug 1682
1984
1985 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1986
1987         * text.C (backspace): fix crash
1988
1989 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1990
1991         * format.[Ch] (getFormatFromFile): new method
1992         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1993
1994 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1995
1996         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1997
1998 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1999
2000         * lyxfunc.C (dispatch): remove the verbose argument
2001         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2002         instead
2003
2004         * kbmap.C (defkey): set the origin of func to KEYBOARD
2005
2006         * MenuBackend.C (MenuItem):
2007         * ToolbarBackend.C (add): set the origin of func to UI
2008
2009         * funcrequest.[Ch]: add origin member, which indicates which part
2010         of LyX requests an action
2011
2012 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2013
2014         * converter.C (move): don't lie in the error message
2015         * converter.h (isReachable, move): document
2016
2017 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2018
2019         * buffer.C: remove unused using lyx::support::atoi
2020         * paragraph_funcs.C: ditto
2021
2022 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2023
2024         * bufferlist.C (exists): use bind and equal_to instead of
2025         compare_memfun
2026         (getBuffer): ditto
2027         * lyxtextclasslist.C (NumberOfClass): ditto
2028
2029         * cursor.C (insert): use for_each instead of explicit for loop
2030
2031         * bufferlist.C (getFileNames): use std::transform and
2032         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2033
2034         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2035         for loop
2036
2037         * buffer.C (changeLanguage): use for_each instead of explicit for
2038         loop
2039         (hasParWithID): implement using getParFromID
2040
2041         * LaTeXFeatures.C: ws change only
2042
2043         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2044         to cleanup a bit.
2045
2046         * BufferView_pimpl.C (trackChanges): use for_each instead of
2047         expilicit for loop
2048
2049 2004-11-04  André Pönitz  <poenitz@gmx.net>
2050
2051         * undo.h:
2052         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2053
2054         * dociterator.C (asDocIterator): use hard assert again.
2055
2056 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2057
2058         * lyxlength.C (asLatexString): rewrite so that it does not use
2059         snprintf anymore
2060
2061 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2062
2063         * text3.C (specialChar, dispatch): make sure cursor moves to the
2064         right after inserting an inset
2065
2066 2004-11-02  José Matos  <jamatos@lyx.org>
2067
2068         * output_docbook.C (docbook):
2069         * paragraph.C (getID):
2070         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2071         garantee that the output is always legal.
2072
2073         * tabular.C (docbook):
2074         * outputprams.[Ch]: remove mixed contents.
2075
2076 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2077
2078         * text2.C (setCounter): prevent endless loop
2079
2080 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2081
2082         * exporter.C (copyFile): use the mover instead of support::copy()
2083         * exporter.C (Export): pass format and latex name to copyFile()
2084         * exporter.h (addExternalFile): document
2085         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2086
2087 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2088
2089         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2090
2091 2004-10-30  José Matos  <jamatos@lyx.org>
2092
2093         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2094         text and no inset or font change. This allows to use CDATA
2095         sections just for the whole paragraph.
2096
2097 2004-10-30  José Matos  <jamatos@lyx.org>
2098
2099         * paragraph.C (getFirstWord): remove unused variable.
2100
2101 2004-10-30  José Matos  <jamatos@lyx.org>
2102
2103         * paragraph.C (getFirstWord): the content should always be escaped
2104         there.
2105         (simpleDocBookOnePar):
2106         * output_docbook.C (makeEnvironment): replace reference to CDATA
2107         to style pass_thru.
2108
2109 2004-10-30  José Matos  <jamatos@lyx.org>
2110
2111         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2112
2113 2004-10-30  José Matos  <jamatos@lyx.org>
2114
2115         * output_docbook.C (makeParagraphs):
2116         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2117         standard paragraph has only a given type of content drop the wrapper.
2118
2119 2004-10-29  José Matos  <jamatos@lyx.org>
2120
2121         * output_docbook.C (makeEnvironment):
2122         * sgml.C (openTag):
2123         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2124
2125 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2126
2127         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2128         (cleanID): sanitize any id.
2129
2130 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2131
2132         * buffer.C, lyxlex_pimpl.C:
2133         * lyxlex_pimpl.C (setFile):
2134         s/getExtFromContents/getFormatFromContents/
2135
2136 2004-10-28  José Matos  <jamatos@lyx.org>
2137
2138         * output_docbook.C (makeEnvironment): move id to broadest possible
2139         scope.
2140
2141         * sgml.C (openTag): apply substitution of <> for all attributes.
2142
2143 2004-10-28  José Matos  <jamatos@lyx.org>
2144
2145         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2146         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2147         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2148
2149         * sgml.[Ch]: new version for open and closeTag for paragraph and
2150         for strings. Now they handle the ids of paragraphs.
2151
2152 2004-10-26  Angus Leeming  <leeming@lyx.org>
2153
2154         * Makefile.am: add mover.[Ch].
2155
2156         * converter.C (convert, move): use the new Movers to move external
2157         files to the temp directory.
2158
2159         * lyx_main.C (init): ensure that the global system_movers data
2160         is initialised.
2161
2162         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2163         preferences file.
2164
2165         * mover.[Ch]: new files, defining a Mover as a utility to move an
2166         external file between directories and, if necessary, manipulate this
2167         file using a helper script.
2168
2169 2004-10-25  José Matos  <jamatos@lyx.org>
2170
2171         * output_docbook.C (makeCommand): merge two if's that tested the
2172         same condition.
2173
2174 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2175
2176         * sgml.C (escapeString): fix warning in a better way
2177
2178 2004-10-25  José Matos  <jamatos@lyx.org>
2179
2180         * sgml.C (escapeString): import the require boosts header file for
2181         tie, and avoid a signed unsigned comparison.
2182
2183 2004-10-25  José Matos  <jamatos@lyx.org>
2184
2185         * sgml.h: add #include <string>
2186
2187 2004-10-25  José Matos  <jamatos@lyx.org>
2188
2189         * sgml.[Ch] (escapeString): new function to escape all the string.
2190
2191 2004-10-24  José Matos  <jamatos@lyx.org>
2192
2193         * paragraph.[Ch] (getFirstWord): new function to get the first
2194         word. Useful for description.
2195         (simpleDocBookOnePar): remove depth argument, add another that
2196         says where to start the paragraph.
2197
2198         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2199         use the new functions to fix cleanly the support for descriptions.
2200
2201 2004-10-24  José Matos  <jamatos@lyx.org>
2202
2203         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2204         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2205         * output_linuxdoc.C (linuxdocParagraphs):
2206         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2207         add buffer as argument.
2208
2209 2004-10-24  José Matos  <jamatos@lyx.org>
2210
2211         * output_docbook.C (makeEnvironment, searchEnvironment): place
2212         CDATA inside paragraphs and fix scope for listitems.
2213
2214 2004-10-24  José Matos  <jamatos@lyx.org>
2215
2216         * output_docbook.C: remove using statement for stack.
2217
2218 2004-10-23  José Matos  <jamatos@lyx.org>
2219
2220         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2221         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2222         docbook. The new scheme is recursive and makes use of iterators, the
2223         same as latex export works.
2224         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2225         directly with the paragraph contents. This code was moved up to
2226         output_docbook.C (docbookParagraphs).
2227         * sgml.C (openTag, closeTag): removed unneeded newlines.
2228         (closeEnvTags) removed.
2229
2230 2004-10-23  André Pönitz  <poenitz@gmx.net>
2231
2232         * undo.C (textUndoOrRedo):
2233         * dociterator.C (asDocIterator): work around crash
2234
2235         * cursor.C (getStatus): replace ASSERT by more verbose error message
2236           and manual correction of the problem. Should increase stability
2237           while providing more sensible information.
2238
2239 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2240
2241         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2242
2243         * bufferlist.C (previous, next): new methods
2244
2245         * lfuns.h:
2246         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2247
2248 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2249
2250         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2251         entities to preamble.
2252
2253 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2254
2255         * messages.C (Pimpl): strip off translation context information
2256
2257 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2258
2259         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2260         the cursor is correct (bug 1694)
2261
2262 2004-10-13  José Matos  <jamatos@lyx.org>
2263
2264         * output_docbook.C (docbookParagraphs): fix closing tags in the
2265         end of the document.
2266
2267 2004-10-09  José Matos  <jamatos@lyx.org>
2268
2269         * buffer.C: format up to 237.
2270         * bufferparams.C (write): use tostr to convert booleans to strings.
2271
2272 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2273
2274         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2275
2276 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2277
2278         * LaTeX.C: implement use of babel language in xindy.
2279
2280 2004-10-05  José Matos  <jamatos@lyx.org>
2281
2282         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2283         Add new translators to help reading and writing the lyx file.
2284
2285 2004-10-05  José Matos  <jamatos@lyx.org>
2286
2287         * ParagraphParameters.C (read):
2288         * text.C (readParToken): replace nexToken by more appropriate lex
2289         methods.
2290
2291 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2292
2293         * LaTeX.C (runMakeIndex):
2294         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2295         (usually 'makeindex') configurable.
2296
2297         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2298         with a variable rather than with a number.
2299
2300 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2301
2302         * output_latex.C (TeXOnePar): make sure font setting is the first
2303         thing that gets output (and the last at the end). Should fix bug
2304         1404.
2305
2306 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2307
2308         * pch.h: use proper signal include
2309
2310         * LaTeX.h: Use preferred calling of Boost.Signal
2311         * buffer.h: ditto
2312
2313 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2314
2315         * pch.h: dont include <boost/function/function0.hpp>
2316
2317         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2318
2319         * paragraph_pimpl.h: remove usage of ShareContainer
2320
2321         * paragraph_pimpl.C: remove initialization of ShareContainer.
2322
2323 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2324
2325         Fix bug #1666
2326
2327         * BufferView.C (putSelectionAt): change the semantics when
2328         backwards == true: now, this just swaps cursor and anchor wrt the
2329         forward case
2330
2331         * BufferView.h (putSelectionAt): add some documentation
2332
2333         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2334         make sure backwardChar is done at least once (to avoid getting
2335         stuck)
2336         (findNextChange): use putSelectionAt in the forward direction
2337         (operator()): use Paragraph::isWord
2338
2339 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2340
2341         * Spacing.C (set): c_str fix
2342
2343 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2344
2345         * lyx_cb.C (Reconfigure): quote the name of configure script in
2346         case it contains spaces
2347
2348 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2349
2350         * client: new dir
2351
2352         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2353         (BOOST_LIBS): use top_buildir when looking for the file
2354
2355 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2356
2357         * pch.h: do not use include boost/format.hpp, multiple symbols
2358                 will result (gcc bug)
2359
2360
2361 2004-08-23  José Matos  <jamatos@lyx.org>
2362
2363         * bufferparams.C (readToken): fix reading of the author field.
2364
2365 2004-08-20  José Matos  <jamatos@lyx.org>
2366
2367         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2368
2369 2004-08-20  José Matos  <jamatos@lyx.org>
2370
2371         * lyxlex.[Ch] (findToken): remove function.
2372
2373         * ParagraphParameters.C (findToken):
2374         * bufferparams.C (findToken): replace call for previous function
2375         with local copy. This local function has one more argument, the
2376         read string argument.
2377
2378 2004-08-16  José Matos  <jamatos@lyx.org>
2379
2380         * ParagraphParameters.C (write):
2381         * Spacing.C (writeFile):
2382         * bufferparams.C (writeLaTeX):
2383         * lyx_cb.C (Reconfigure):
2384         * paragraph.C (write):
2385         * tabular.C (write): remove unnecessary space at end of line.
2386
2387
2388 2004-08-16  José Matos  <jamatos@lyx.org>
2389
2390         * text.C (readParagraph): remove debug message.
2391
2392 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2393
2394         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2395         crash
2396
2397         * output_plaintext.C (asciiParagraph): set depth correctly
2398
2399         * outputparams.h: add member depth
2400
2401         * paragraph_funcs.C (ownerPar): remove.
2402
2403         * text2.C (setCounter): remove first_pit; comment out some
2404         non-working code that uses ownerPar
2405
2406         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2407         uses ownerPar
2408
2409 2004-08-16  José Matos  <jamatos@lyx.org>
2410
2411         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2412         For the same level of importance use the same chanel to report problems.
2413         (read): add code to deal with \begin_body and \end_body.
2414
2415
2416 2004-08-15  José Matos  <jamatos@lyx.org>
2417
2418         * lyxlex.C (getString): fix comment, buffer::readBody is now
2419         buffer:readDocument.
2420
2421         * tex-strings.C (string_papersize): Default -> default,
2422         Custom -> custom, for consistency with other options.
2423
2424 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2425
2426         * pch.h: new file
2427
2428         * Makefile.am: support pch
2429
2430 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2431
2432         * text.C (readParToken): remove the static LyXFont variable and
2433         pass it as a parameter instead. This fixes a nasty bug where an
2434         inset will be inserted with a bad font in some situations
2435         (readParagraph): adapt
2436
2437         * text2.C (setCounter): reduce number of calls to pars_[pit]
2438
2439         * text.C (singleWidth): add an assert, fix a test
2440
2441         * rowpainter.C (paintText): reduce number of calls to singleWidth
2442
2443         * paragraph.C (isHfill):
2444         (isNewline): ws only
2445
2446 2004-08-14  André Pönitz  <poenitz@gmx.net>
2447
2448         * text.C:
2449         * text2.C:
2450         * rowpainter.C:
2451         * lyxtext.h (several functions): use a Paragraph & argument
2452         instead of par_type
2453
2454 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2455
2456         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2457
2458         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2459
2460         * text.C (singleWidth): remove useless test
2461
2462 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2463
2464         * tabular.h: remove bogus comments
2465
2466         * tabular.C (getDescentOfRow):
2467         (isPartOfMultiColumn): add assertions
2468
2469         * lyxlength.C (inPixels): remove #warning
2470
2471 2004-08-14  André Pönitz  <poenitz@gmx.net>
2472
2473         * paragraph.h: inline getChar()
2474
2475         * BufferView.h: remove unused declarations
2476
2477 2004-08-14  José Matos  <jamatos@lyx.org>
2478
2479         * Buffer.[Ch] (readDocument): new name for old readBody.
2480         * Buffer.C: new file format, new keywords: \begin_document,
2481         \begin_header, \begin_body, \end_body.
2482
2483         * bufferparams.C (readToken): replace all calls to lex.nextToken
2484         by lex.next(). Do the same to eatLine except where really needed.
2485
2486         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2487         line when writing to the lyx file.
2488
2489         * output_plaintext.C (asciiParagraph): fix Bibliography style
2490         handling.
2491
2492         * text.C (read): fix end of file handling.
2493
2494 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2495
2496         * MenuBackend.C (Menu::operator[]): new method to access
2497         individual menu items
2498         (Menu::hasFunc): new method. search for an item that corresponds
2499         to a given func
2500         (MenuBackend::specialMenu): new method
2501         (MenuBackend::expand): if a special menu has been set, skip
2502         entries whose func() appears in this menu
2503
2504 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2505
2506         * text3.C: use Debug::DEBUG a bit more
2507
2508         * text.C (leftMargin): try to simplify a tiny bit change var x to
2509         l_margin. Dont output the wide margins always.
2510         (rightMargin): no margin in inner texts
2511
2512         * rowpainter.h (nestMargin): new func
2513         (changebarMargin): new func
2514         (rightMargin): new func
2515
2516         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2517         now functions.
2518         (paintLast): ditto
2519
2520         * factory.C (createInset): modify setDrawFrame
2521
2522         * cursor.C: use Debug::DEBUG a bit more
2523
2524 2004-08-14  André Pönitz  <poenitz@gmx.net>
2525
2526         * coordcache.[Ch]:
2527         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2528         cache for all insets in (at least partially) visible (top-level)
2529         paragraphs.
2530
2531         * BufferView_pimpl.C: reset external coord cache before every update.
2532         This means the coord cache only contains valid entries.
2533
2534 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2535
2536         bug 1096
2537         * BufferView_pimpl.C (getInsetByCode): move function out of class
2538         and change in to a template in anon namespace. Also fix to do what
2539         suits us better.
2540
2541 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2542
2543         bug 1305
2544         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2545         of char
2546         (breakParagraph): rename par to par_offset and use a local
2547         reference. Add code to keep the language over a rebreak.
2548         (breakParagraphConservative): rename par to par_offset, use a
2549         local reference
2550         (mergeParagraph): ditto
2551         (outerHook): ditto
2552         (isFirstInSequence): ditto
2553         (outerFont): rename pit to par_offset
2554
2555         * paragraph.C: ws change
2556         * paragraph.h: ditto
2557         * text3.C: ditto
2558         * text.C: ditto
2559
2560 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2561
2562         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2563         treatment for ']'
2564
2565         * paragraph.C (simpleTeXOnePar): when we have a \item with
2566         optional argument, enclose the argument with curly brackets (in
2567         case it contains a closing square bracket)
2568
2569         * text2.C (editXY):
2570         * text2.C (editXY):
2571         * text3.C (checkInsetHit): constify
2572
2573 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2574
2575         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2576         documents (bug 1629)
2577
2578 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2579
2580         Fix toggling of collapsable insets with the mouse (bug 1558)
2581
2582         * lyxfunc.C (dispatch): adapt to LCursor changes
2583
2584         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2585         make sure that dispatch is not invoked twice
2586
2587         * cursor.C (needsUpdate): new method
2588         (dispatch): return void
2589         (result): new method, to access the DispatchResult of the cursor.
2590
2591 2004-08-13  José Matos  <jamatos@lyx.org>
2592
2593         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2594
2595 2004-08-13  André Pönitz  <poenitz@gmx.net>
2596
2597         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2598
2599         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2600           multiple cells
2601
2602 2004-08-12  André Pönitz  <poenitz@gmx.net>
2603
2604         * text3.C: take out the 'cursor right' form insertInset and only
2605         do it in those places when it is really needed. Fixes crash on
2606         C-m...
2607
2608 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2609
2610         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2611
2612         * BufferView_pimpl.C (setBuffer): initialize the current font of
2613         the underlying LyXText
2614
2615 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2616
2617         * kbsequence.C (print): use UI native formatting for menu
2618         shortcuts
2619
2620         * text.C (insertChar): call Paragraph::insertChar with a font
2621         argument (cosmetic)
2622
2623         * paragraph.C (insertInset, insertChar): the version that takes a
2624         LyXFont argument is now a wrapper around the other one (the
2625         opposite used to be true).
2626
2627         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2628         argument. Font setting is done in Paragraph now.
2629
2630 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2631
2632         * outputparams.h: add new members intitle and lang.
2633
2634         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2635         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2636
2637 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2638
2639         * text3.C (dispatch): remove special handling of button 4 and 5,
2640         it is now taken care of in the frontend code.
2641
2642 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2643
2644         * Spacing.h: add <string> (STLPort compile fix)
2645
2646 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2647
2648         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2649
2650 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2651
2652         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2653         to bool.
2654
2655         * converter.C (showMessage): inherit from unary_function, make
2656         operator() const.
2657
2658         * buffer.C (writeFile): initialize retval
2659
2660         * InsetList.h: rename private variable list to list_
2661         * InsetList.[Ch]: adjust accordingly.
2662
2663 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2664
2665         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2666         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2667         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2668         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2669         * ParagraphParameters.C, LaTeXFeatures.C: replace
2670         "support/std_sstream.h" with <sstream>
2671
2672 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2673
2674         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2675         * lyxsocket.C (LyXServerSocket): ditto
2676         (serverCallback): ditto
2677
2678 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2679
2680         * LaTeXFeatures.C: check release date when loading jurabib.
2681
2682 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2683
2684         * lyxserver.C (startPipe): call register_socket_callback
2685         (endPipe): call unregister_socket_callback
2686
2687 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2688
2689         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2690         (LyXServerSocket): register the callback
2691         (LyXServerSocket): unregister the callback
2692         (fd): delete function
2693         (serverCallback): improve error checking and setup the callbacks.
2694         (dataCallback): change arg to fd.
2695         (writeln): new func (copied fro the client socket) used for server
2696         write to client.
2697         (LyXDataSocket): simplify
2698         (~LyXDataSocket): close ann unregiser callback
2699         (server): delete function
2700         (fd): delete function
2701         (readln): small changes, improve some std::string usage
2702         (writeln): constify a bit
2703
2704 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2705
2706         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2707         Qt frontend
2708
2709 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2710
2711         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2712         after it has been populated
2713
2714 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2715
2716         * text2.C (insertInset): move cursor when inserting inset.
2717
2718 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2719
2720         * kbmap.C (findbindings): a couple of new methods. returns a
2721         container of kb_sequence objects. The real work is done by the
2722         private recursive version
2723         (printbindings): uses findbindings to print out a bracketed list
2724         of bindings (renamed from findbinding).
2725
2726         * MenuBackend.C (binding): use kb_keymap::findbindings
2727
2728         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2729
2730 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2731
2732         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2733
2734 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2735
2736         * paragraph.C (isWord): return true on insets that report
2737         isLetter().
2738
2739         * text.C (getWord): use Paragraph::isWord to decide what is in a
2740         word and what is not; fix bug 1609.
2741
2742 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2743
2744         * tex-strings.C: add "none" to string_paperpackages[], fixes
2745         off-by-one-error in the paperpackage selection.
2746
2747         * lyxlex.[Ch]:
2748         * tex-strings.[Ch]: char const * string[n]
2749         -> char const * const string[]
2750
2751 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2752
2753         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2754         command, return early.
2755
2756 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2757
2758         * debug.h: add DEBUG to enum and fix size of ANY.
2759
2760         * debug.C: add support for Debug::DEBUG
2761         (showTags): cast errorTags.level to unsigned int
2762
2763         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2764         (redoCurrentBuffer): ditto
2765         (updateScrollbar): ditto
2766         * cursor.C (dispatch): ditto
2767         * text2.C (setLayout): ditto
2768         (setFont): ditto
2769         (updateCounters): ditto
2770         (editXY): ditto
2771         (deleteEmptyParagraphMechanism): ditto
2772
2773 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2774
2775         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2776         annotations to cleanup the Makefile slightly.
2777
2778 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2779
2780         * lyxrc.C: do not set user_email to a default value but use empty
2781         instead. The entry used to be translated, which does not work
2782         since at the point where lyxrc is constructed there is no
2783         translation service available
2784
2785         * messages.C (getLocaleDir): remove and use directly
2786         lyx_localedir() instead
2787
2788 2004-06-02  Angus Leeming  <leeming@lyx.org>
2789
2790         Fix crash caused by dereferencing null pointer 'exportdata' in
2791         OutputParams by creating a new ExportData variable on the heap,
2792         storing it in a boost::shared_ptr.
2793         The crash was triggered when generating an Instant Preview
2794         of an external inset.
2795
2796         * Makefile.am: add outputparams.C
2797
2798         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2799         (c-tor): allocate memory to it.
2800
2801         * exporter.C (c-tor): associated changes.
2802
2803 2004-06-01  Angus Leeming  <leeming@lyx.org>
2804
2805         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2806         contains data before calling isInset(0). (Bug 1513.)
2807
2808 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2809
2810         * exporter.C (checkOverwrite): new method
2811         * exporter.C (copyFile): new method
2812         * exporter.C (Export): copy referenced files to the document dir
2813         * exporter.[Ch]: new class ExportedFile
2814         * exporter.[Ch]: new class ExportData. Contains currently the
2815         names of referenced external files
2816         * outputparams.h: add exportdata member.
2817
2818 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2819
2820         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2821         version.C-tmp
2822
2823 2004-05-19  Angus Leeming  <leeming@lyx.org>
2824
2825         * LaTeXFeatures.C:
2826         * ToolbarBackend.C:
2827         * bufferparams.C:
2828         * lyxfunc.C: small changes due to the introduction of namespace
2829         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2830
2831 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2832
2833         * text3.C (dispatch): supress update when only moving the cursor
2834         * cursor.C (selHandle): remove commented code
2835
2836 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2837
2838         * paragraph.C (startTeXParParams): correct column count
2839         * CutAndPaste.C (pasteSelection): remove const_cast
2840         * output_docbook.C (docbookParagraphs): remove const_cast
2841         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2842         const_cast and return ParagraphList::const_iterator
2843         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2844         * output_plaintext.C (writeFileAscii): remove const_cast
2845         * paragraph.[Ch] (simpleTeXOnePar): make const
2846         * paragraph_funcs.C (outerPar): use const iterators
2847         * paragraph_pimpl.C (validate): use const iterators
2848         * text.C (setHeightOfRow): use const iterators
2849
2850 2004-05-17  Angus Leeming  <leeming@lyx.org>
2851
2852         * lfuns.h:
2853         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2854
2855         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2856         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2857         if the citation engine has changed.
2858
2859 2004-05-14  José Matos  <jamatos@lyx.org>
2860
2861         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2862         if the textclass does not provide it. Have it different for sgml and
2863         xml.
2864         support the language of document.
2865         * output_docbook.C (docbookParagraphs):
2866         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2867         first anchor as the id of the paragraph, remove special case code.
2868         * sgml.C (escapeChar): escape only < & >.
2869
2870 2004-05-14  Angus Leeming  <leeming@lyx.org>
2871
2872         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2873         dependencies on src/frontends/controllers/biblio.h. Define a
2874         CiteEngine_enum wrapper class to enable the enum to be forward
2875         declared.
2876
2877 2004-05-12  Angus Leeming  <leeming@lyx.org>
2878
2879         * buffer.C: up LYX_FORMAT to 234.
2880         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2881         use_numerical_citations with a single biblio::CiteEngine cite_engine
2882         variable.
2883         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2884
2885 2004-05-13  José Matos  <jamatos@lyx.org>
2886
2887         * converter.h:
2888         * converter.C (Converter, readFlags): add xml member.
2889         * outputparams.h: add XML flavor.
2890         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2891
2892 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2893
2894         * lyxfunc.C (dispatch):
2895         (getStatus): fix handling of LFUN_SEQUENCE
2896
2897 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2898
2899         * debug.C (showLevel): do not forget the end-of-line marker
2900
2901 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2902
2903         * kbmap.C (read): do not stop parsing a bind file when an error
2904         occurs (bug 1575)
2905
2906 2004-04-29  Angus Leeming  <leeming@lyx.org>
2907
2908         * cursor.C:
2909         * factory.C:
2910         * pariterator.C:
2911         * text2.C: wrap a bunch of #warning statements
2912         inside #ifdef WITH_WARNINGS blocks.
2913
2914 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2915
2916         * buffer.C: increment format to 233.
2917
2918 2004-04-28  Angus Leeming  <leeming@lyx.org>
2919
2920         * BufferView_pimpl.C:
2921         * lyxfunc.C:
2922         * text3.C:
2923         s/updateToolbar()/updateToolbars()/
2924         s/Toolbar.h/Toolbars.h/
2925
2926 2004-04-28  Angus Leeming  <leeming@lyx.org>
2927
2928         * BufferView.[Ch] (c-tor):
2929         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2930         No longer passes these data to the WorkArea generator.
2931
2932 2004-04-28  Angus Leeming  <leeming@lyx.org>
2933
2934         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2935
2936 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2937
2938         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2939
2940 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2941
2942         * output_latex.C (TeXEnvironment): make sure that there is a line
2943         break before \end{foo} for the last paragraph of a document
2944         (TeXOnePar): if the paragraph is at the end of the document (or
2945         inset) and the language has to be reset, then make sure that the
2946         line break is _before_ the language command, not after (fixes bug
2947         1225); also make sure that the language reset command is the first
2948         thing after the paragraph (to ensure proper nesting of
2949         environments and thus fix bug 1404)
2950
2951 2004-04-21  John Levon  <levon@movementarian.org>
2952
2953         * ToolbarBackend.h:
2954         * ToolbarBackend.C: make "name" be a programmatic name
2955         and a gui_name field.
2956
2957         * lyxfunc.C: display the minibuffer on M-x
2958
2959 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2960
2961         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2962         (bug 1526)
2963
2964 2004-04-19  Angus Leeming  <leeming@lyx.org>
2965
2966         * BufferView_pimpl.C (setBuffer): changed preview interface.
2967
2968         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2969         possible values.
2970
2971 2004-04-19  John Levon  <levon@movementarian.org>
2972
2973         * BufferView_pimpl.C:
2974         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2975
2976 2004-04-05  Angus Leeming  <leeming@lyx.org>
2977
2978         * text.C (redoParagraphs): add call to updateCounters(), thereby
2979         fixing the missing "Figure #:" label from the caption of a
2980         figure float.
2981
2982 2004-04-13  Angus Leeming  <leeming@lyx.org>
2983
2984         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2985         cursor is clicked out of an inset.
2986
2987 2004-04-13  Angus Leeming  <leeming@lyx.org>
2988
2989         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2990         than an InsetOld one.
2991
2992 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2993
2994         * format.[Ch]: add editor to Format
2995         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2996         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2997
2998 2004-04-08  André Pönitz  <poenitz@gmx.net>
2999
3000         * metricsinfo.h: remove PainterInfo::width member
3001
3002 2004-04-08  Angus Leeming  <leeming@lyx.org>
3003
3004         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3005         "\providecommand" rather than "\newcommand", thereby preventing
3006         clashes with packages that define "\boldsymbol" themselves.
3007         Eg, beamer.
3008
3009 2004-04-08  Angus Leeming  <leeming@lyx.org>
3010
3011         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3012         thereby squashing an unnecessary warning.
3013
3014 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3015
3016         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3017         setBuffer()
3018
3019 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3020
3021         * BufferView.C (setCursor): call redoParagraph (some insets could
3022         have been opened)
3023         (putSelectionAt): remove the 'double update' trick
3024
3025         * BufferView_pimpl.C (fitCursor): call refreshPar
3026         (workAreaDispatch): remove an uneeded update call
3027         (dispatch): remove some manual update calls
3028
3029         * cursor.[Ch]: remove cached_y_, updatePos
3030         (selHandle): set noUpdate when appropriate
3031
3032         * lyxfunc.C (dispatch): track if we need an update
3033
3034         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3035
3036         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3037         (paintSelection): cheap optimization, do not call cursorX when not
3038         needed
3039         (paintPars): change signature
3040         (refreshPar): add
3041         (paintText): adjust
3042         (paintTextInset): adjust
3043
3044         * text.C: adjust
3045
3046 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3047
3048         * lengthcommon.C: compilation fix: remove explicit array size from
3049         unit_name[] and friends
3050
3051 2004-04-05  Angus Leeming  <leeming@lyx.org>
3052
3053         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3054
3055         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3056         present only for the preferences dialog.
3057         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3058
3059 2004-04-05  Angus Leeming  <leeming@lyx.org>
3060
3061         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3062         to enable the frontends to export changes to lyxrc correctly.
3063
3064         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3065
3066 2004-04-07  André Pönitz  <poenitz@gmx.net>
3067
3068         * cursor.[Ch] (selClear, adjust): remove math
3069
3070         * cursor_slice.C: more agressive assert
3071
3072         * lyxfunc.C:
3073         * BufferView_pimpl.C: rework mouse event dispatch
3074
3075         * dociterator.C:
3076         * paragraph.C:
3077         * text2.C:
3078         * text3.C: adjust
3079
3080 2004-04-05  André Pönitz  <poenitz@gmx.net>
3081
3082         * cursor.[Ch] (valign, halign...): remove unneeded functions
3083
3084 2004-04-05  Angus Leeming  <leeming@lyx.org>
3085
3086         * lyxlength.[Ch] (unit_name et al.): const-correct.
3087
3088 2004-04-05  Angus Leeming  <leeming@lyx.org>
3089
3090         * BufferView_pimpl.C:
3091         * buffer.C:
3092         * counters.C:
3093         * cursor.C:
3094         * lyxfunc.C
3095         * paragraph.C:
3096         * pariterator.C:
3097         * text.C:
3098         * text2.C:
3099         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3100
3101 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3102
3103         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3104
3105 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3106
3107         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3108         * BufferView_pimpl.[Ch] (getStatus)
3109         * BufferView.[Ch] (getStatus): add
3110         * lyxfunc.C (getStatus): move lfuns handled in
3111         BufferView::dispatch to te function above
3112         * Cursor.C (setSelection): set selection() = true
3113
3114 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3115
3116         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3117
3118 2004-03-31  Angus Leeming  <leeming@lyx.org>
3119
3120         * lyxfunc.C (dispatch): Fall through to the generic
3121         Dialogs::show("preamble").
3122
3123 2004-03-31  Angus Leeming  <leeming@lyx.org>
3124
3125         * lyxfunc.C (dispatch): Fall through to the generic
3126         Dialogs::show("spellchecker").
3127
3128 2004-03-31  Angus Leeming  <leeming@lyx.org>
3129
3130         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3131         preferences dialog.
3132
3133 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3134
3135         * BufferView.C
3136         * cursor.[Ch]
3137         * dociterator.[Ch]:
3138         * insetiterator.[Ch]:
3139         * lyxfind.C:
3140         * lyxfunc.C:
3141         * pariterator.[Ch]:
3142         * text2.C:
3143         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3144
3145 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3146
3147         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3148         insets where we are putting the cursor.
3149
3150 2004-03-31  Angus Leeming  <leeming@lyx.org>
3151
3152         * lfuns.h:
3153         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3154
3155         * lyxrc.[Ch] (read, write): overloaded member functions taking
3156         a std::[io]stream arguments.
3157
3158         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3159
3160 2004-03-31  Angus Leeming  <leeming@lyx.org>
3161
3162         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3163         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3164
3165         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3166         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3167
3168 2004-03-31  Angus Leeming  <leeming@lyx.org>
3169
3170         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3171         the LFUN_ALL_INSETS_TOGGLE code.
3172
3173 2004-03-30  Angus Leeming  <leeming@lyx.org>
3174
3175         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3176         has died. Fall through to the generic Dialogs::show("document").
3177
3178 2004-03-30  Angus Leeming  <leeming@lyx.org>
3179
3180         * lfuns.h:
3181         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3182         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3183
3184         * lyxfunc.C (getStatus, dispatch): define the actions for these
3185         lfuns. Little more than a cut and pste job from ControlDocument.C
3186
3187         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3188
3189 2004-03-30  Angus Leeming  <leeming@lyx.org>
3190
3191         * lfuns.h:
3192         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3193         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3194
3195         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3196         open/closed state of ollapsable insets. Usage:
3197
3198         all-inset-toggle <state> <name>, where
3199         <state> == "open" || "closed" || "toggle" and
3200         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3201
3202         * lyxtext.h, text2.C (toggleInset): removed.
3203
3204         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3205         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3206         now passes LFUN_INSET_TOGGLE to the found inset.
3207
3208         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3209         is now invoked as "all-insets-toggle toggle branch".
3210
3211 2004-03-30  Angus Leeming  <leeming@lyx.org>
3212
3213         * dociterator.C:
3214         * insetiterator.C:
3215         * pariterator.[Ch]: added/corrected header blurb.
3216
3217 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3218
3219         * dociterator.[Ch]: add an inset_ member
3220         (backwardPos): implemented
3221         (backwardPos, forwardPos): use inset_ when the stack is empty.
3222         (doc_iterator_begin, doc_iterator_end): implemented
3223         * pariterator.[Ch]: adjust, add begin, end
3224         * insetiterator.[Ch]: adjust, add begin, end
3225         * cursor.C:
3226         * document.C:
3227         * BufferView.C:
3228         * BufferView_pimpl.C:
3229         * CutAndPaste.C: adjust
3230
3231 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3232
3233         * buffer.C: increment file format to 232.
3234         * LaTeXFeatures.C: add bibtopic package.
3235         * bufferparams.[Ch]: param \use_bibtopic.
3236
3237         * lyxrc.[Ch]: add lyxrc bibtex_command
3238         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3239
3240         * buffer.C: increment file format to 231.
3241
3242 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3243
3244         * dociterator.C: implement forwardPar
3245         * iterators.[Ch]: remove, replaced by
3246         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3247         * BufferView.C:
3248         * BufferView_pimpl.C:
3249         * CutAndPaste.C:
3250         * buffer.C:
3251         * bufferview_funcs.C:
3252         * cursor.C:
3253         * lyxfind.C
3254         * lyxfunc.C
3255         * paragraph_funcs.C
3256         * toc.C:
3257         * Makefile.am: adjust
3258
3259 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3260
3261         * CutAndPaste.C (pasteSelection): fix 2 crashes
3262         (eraseSelection): fix a crash
3263         * paragraph_funcs.C: remove a warning
3264
3265 2004-03-28  Angus Leeming  <leeming@lyx.org>
3266
3267         * lfuns.h:
3268         * LyXAction.C (init): new LFUN_PRINT.
3269
3270         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3271
3272 2004-03-27  Angus Leeming  <leeming@lyx.org>
3273
3274         * lfuns.h:
3275         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3276
3277         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3278
3279 2004-03-27  Angus Leeming  <leeming@lyx.org>
3280
3281         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3282         insetlist always contains non-null pointers to insets.
3283
3284 2004-03-26  Angus Leeming  <leeming@lyx.org>
3285
3286         * src/BufferView_pimpl.C:
3287         * src/CutAndPaste.C:
3288         * src/buffer.C:
3289         * src/iterators.C:
3290         * src/output_plaintext.C:
3291         * src/outputparams.h:
3292         * src/paragraph_funcs.C:
3293         * src/rowpainter.C:
3294         * src/text.C:
3295         * src/text2.C:
3296         * src/frontends/controllers/ControlErrorList.C:
3297         * src/frontends/gtk/FileDialogPrivate.C:
3298         * src/frontends/gtk/GPainter.C:
3299         * src/frontends/gtk/GToolbar.C:
3300         * src/frontends/qt2/QRef.C:
3301         * src/mathed/math_scriptinset.C: squash compiler warnings.
3302
3303 2004-03-26  Angus Leeming  <leeming@lyx.org>
3304
3305         * ispell.C (LaunchIspell::start):
3306         * lyx_cb.C (AutoSaveBuffer::start):
3307         invoke run(DontWait) rather than runNonBlocking().
3308
3309 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3310
3311         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3312
3313 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3314
3315         * kbsequence.C (print): adjust
3316
3317         * kbmap.C (printKeySym): rename and change signature
3318         (printKey): use LyXKeySym::print()
3319
3320 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3321
3322         * undo.C: add using std::advance to compile for stlport
3323
3324 2004-03-24  Angus Leeming  <leeming@lyx.org>
3325
3326         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3327         it leads to a crash when no buffer is present.
3328
3329 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3330             Martin Vermeer  <martin.vermeer@hut.fi>
3331
3332         * lyxfunc.C (dispatch):
3333         * bufferparams.C (readToken): use the new LColor::setColor
3334
3335         * LColor.[Ch] (setColor): new version that takes two strings as
3336         argument and creates a new color entry if necessary
3337
3338 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3339
3340         * buffer.C (makeLaTeXFile): if the main latex file that is
3341         processed is usually a subdocument of some master, then pretend
3342         for a while that it is actually the master
3343
3344 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3345
3346         * buffer.C (getLabelList):
3347         (getBibkeyList): use getMasterBuffer()
3348         (getMasterBuffer): new method. Returns the main document in the
3349         case where one is using included documents.
3350
3351 2004-03-25  André Pönitz  <poenitz@gmx.net>
3352
3353         * Makefile.am:
3354         * iterators.[Ch]:
3355         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3356
3357         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3358
3359         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3360         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3361
3362         * ParameterStruct.h: merge with ParagraphParameters
3363
3364         * lyxtext.h: remove LyXText::parOffset() and getPar()
3365
3366         * text3.C: Remove all 'manual' update calls. We do now one per user
3367         interaction which is completely sufficient.
3368
3369         * Bidi.C:
3370         * BufferView.[Ch]:
3371         * BufferView_pimpl.C:
3372         * FontIterator.[Ch]:
3373         * MenuBackend.C:
3374         * ParagraphParameters.[Ch]:
3375         * buffer.C:
3376         * buffer.h:
3377         * bufferlist.C:
3378         * cursor.[Ch]:
3379         * cursor_slice.[Ch]:
3380         * dociterator.[Ch]:
3381         * errorlist.[Ch]:
3382         * factory.C:
3383         * lfuns.h:
3384         * lyxfind.C:
3385         * lyxfunc.C:
3386         * output_docbook.[Ch]:
3387         * output_latex.[Ch]:
3388         * output_linuxdoc.[Ch]:
3389         * output_plaintext.[Ch]:
3390         * paragraph.[Ch]:
3391         * paragraph_funcs.[Ch]:
3392         * paragraph_pimpl.[Ch]:
3393         * rowpainter.C:
3394         * tabular.[Ch]:
3395         * text.C:
3396         * text2.C:
3397         * toc.C:
3398         * undo.[Ch]: adjust
3399
3400         * frontends/controllers/ControlDocument.C:
3401         * frontends/controllers/ControlErrorList.C:
3402         * frontends/controllers/ControlSpellchecker.C:
3403         * insets/inset.C:
3404         * insets/inset.h:
3405         * insets/insetbase.h:
3406         * insets/insetbibitem.C:
3407         * insets/insetbox.C:
3408         * insets/insetbranch.C:
3409         * insets/insetcaption.C:
3410         * insets/insetcharstyle.C:
3411         * insets/insetcharstyle.h:
3412         * insets/insetcollapsable.C:
3413         * insets/insetcollapsable.h:
3414         * insets/insetert.C:
3415         * insets/insetfloat.C:
3416         * insets/insetfoot.C:
3417         * insets/insetmarginal.C:
3418         * insets/insetnote.C:
3419         * insets/insetoptarg.C:
3420         * insets/insettabular.C:
3421         * insets/insettext.C:
3422         * insets/insettext.h:
3423         * insets/insetwrap.C:
3424         * mathed/math_mboxinset.C:
3425         * mathed/math_nestinset.C:
3426         * mathed/math_scriptinset.C:
3427         * mathed/math_scriptinset.h:
3428         * support/types.h:
3429
3430 2004-03-24  Angus Leeming  <leeming@lyx.org>
3431
3432         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3433         deal with any child processes that have finished but are waiting to
3434         communicate this fact to the rest of LyX.
3435
3436 2004-03-24  Angus Leeming  <leeming@lyx.org>
3437
3438         64-bit compile fixes.
3439
3440         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3441         (c-tor): pass lyx::pos_types rather than ints.
3442
3443         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3444         lyx::pos_type.
3445
3446         * text.C (Delete): compile fix.
3447         (getPar): ensure that function declaration is the same as that in
3448         the header file.
3449
3450 2004-03-23  Angus Leeming  <leeming@lyx.org>
3451
3452         * ispell.C (LaunchIspell):
3453         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3454         a boost::shred_ptr rather than a std::auto_ptr.
3455
3456 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3457
3458         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3459         handle LFUN_FILE_INSERT_*
3460
3461         * lyxrc.C (setDefaults, getDescription, output, read):
3462         * lyxrc.h: remove ps_command
3463
3464 2004-03-22  Angus Leeming  <leeming@lyx.org>
3465
3466         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3467         Ensure that error_handler is processed once only and that all data
3468         is saved before attempting to output any warning messages.
3469
3470         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3471
3472 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3473
3474         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3475
3476 2004-03-19  André Pönitz  <poenitz@gmx.net>
3477
3478         * cursor.[Ch] (reset): take main text inset as argument
3479
3480         * BufferView: adjust
3481         * BufferView_pimpl.C: adjust
3482
3483         * paragraph.[Ch]: fix completely broken operator=()
3484
3485 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3486
3487         * LColor.C (getFromLyXName): make sure that the color name is used
3488         as lowercase.
3489
3490 2004-03-17  Angus Leeming  <leeming@lyx.org>
3491
3492         * lfuns.h:
3493         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3494
3495         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3496         dialog and to kill a forked process.
3497
3498 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3499
3500         * text2.C (setCursorFromCoordinates): fix font problem
3501
3502 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3503
3504         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3505         bogus "rebuild cursor" code
3506
3507 2004-03-11  André Pönitz  <poenitz@gmx.net>
3508
3509         * buffer.[Ch]: use InsetText instead of LyXText as container for
3510         the main lyx text.
3511
3512         * dociterator.[Ch]: drop the BufferView * member which is not needed
3513         anymore after the change to buffer.C
3514
3515         * paragraph_funcs.C:
3516         * text.C:
3517         * text2.C:
3518         * BufferView.[Ch]:
3519         * BufferView_pimpl.[Ch]:
3520         * cursor.[Ch]:
3521         * cursor_slice.[Ch]: adjust
3522
3523         * text3.C: fix bug in mathDispatch
3524
3525 2004-03-08  André Pönitz  <poenitz@gmx.net>
3526
3527         * undo.[Ch]: use 'StableDocumentIterator' as base for
3528         the Undo struct.
3529
3530 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3531
3532         * LaTeXFeatures.C:
3533         * bufferparams.[Ch]: add jurabib support and param.
3534
3535         * LaTeX.C: add FIXME/comment.
3536
3537 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3538
3539         * buffer.C: increment file format to 230.
3540
3541 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3542
3543         * cursor.C (dispatch): avoid infinite loops
3544
3545 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3546
3547         * rowpainter.C (paintSelection): fix x coordinates
3548
3549 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3550
3551         * text.C (rowBreakPoint): fix breaking before displayed insets
3552
3553 2004-03-01  André Pönitz  <poenitz@gmx.net>
3554
3555         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3556
3557         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3558
3559         * Makefile.am:
3560         * BufferView.C:
3561         * BufferView_pimpl.C:
3562         * buffer.C:
3563         * lyxfind.C:
3564         * lyxfunc.C:
3565         * text.C:
3566         * text2.C:
3567         * text3.C: adjust
3568
3569 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3570
3571         * lyxtext.h:
3572         * text.C:
3573         * text2.C:
3574         * rowpainter.C:
3575         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3576         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3577
3578 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3579
3580         * Bidi.[Ch] (computeTables): const correctness
3581         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3582         fill_hfill, fill_label_hfill and x from Row
3583         * lyxtext.h: prepareToPrint returns a RowMetrics
3584         * rowPainter.C: adjust
3585         * text.C (prepareToPrint): use width, not textWidth. adjust
3586         (redoParagraphInternal, cursorX): adjust
3587         * text2.C (getColumnNearX): adjust
3588         (init): put a default value to the top LyXText::width
3589
3590 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3591
3592         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3593
3594 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3595
3596         * lyxtext.h: add FontIterator class
3597
3598         * text.C (FontIterator, operator*, operator->, operator++): add
3599         (rowBreakPoint, setRowWidth): adjust (fixing a
3600         rebreaking bug)
3601
3602 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3603
3604         * BufferView_pimpl.C (workAreaDispatch): allow also
3605         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3606
3607 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3608
3609         * text.C (rowBreakPoint): fix a bug showing with very large insets
3610
3611 2004-02-25  André Pönitz  <poenitz@gmx.net>
3612
3613         * text3.C:
3614         * cursor.[Ch]: move some mathed specific code to mathed
3615
3616 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3617
3618         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3619         use_tempdir in preferences
3620         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3621         tempfile creation
3622         * lyx_main.C: ensure that tempdir is valid
3623         * lyxlex.h: correct typo
3624         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3625         * paragraph.[Ch] (isMultiLingual): make const
3626         * cursor.[Ch] (openable): make const
3627
3628 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3629
3630         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3631
3632 2004-02-20  André Pönitz  <poenitz@gmx.net>
3633
3634         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3635
3636         * cursor.[Ch]: prepare for localized getStatus()
3637
3638         * lyxtext.h:
3639         * tabular.C:
3640         * text.C:
3641         * text2.C:
3642         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3643
3644 2004-02-20  André Pönitz  <poenitz@gmx.net>
3645
3646         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3647
3648 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3649
3650         * text2.C (setCursorFromCoordinates): switch to absolute coords
3651         (cursorUp): adjust
3652         (cursorDown): adjust
3653         * text3.C (dispatch): adjust
3654
3655 2004-02-16  André Pönitz  <poenitz@gmx.net>
3656
3657         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3658           insets/ChangeLog)
3659
3660         * cursor_slice.[Ch]: remove unneeded acessor function
3661
3662         * lyxtext.h: rename rtl() to isRTL()
3663
3664         * rowpainter.C:
3665         * tabular.C:
3666         * text.C:
3667         * text2.C:
3668         * text3.C: adjust
3669
3670 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3671
3672         * rowpainter.C (paintSelection): coord fix
3673
3674 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3675
3676         * Spacing.C: compile fix
3677
3678 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3679
3680         * cursor.C (dispatch): restore current_ before returning
3681
3682 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3683
3684         * text2.C (cursorUp, cursorDown): fix coords
3685         (moveUp): fix crash
3686
3687 2004-02-12  André Pönitz  <poenitz@gmx.net>
3688
3689         * lyxtext.h:
3690         * text.C:
3691         * text2.C:
3692         * text3.C: add LCursor & parameter to most cursor movement functions
3693           remove usage of LyXText::cursorRow() and cursorPar()
3694
3695         * cursor.[Ch]: add textRow() needed members
3696
3697         * BufferView.C:
3698         * BufferView_pimpl.C:
3699         * paragraph.[Ch]:
3700         * BufferView.C:
3701         * BufferView_pimpl.C: adjust
3702
3703 2004-02-11  André Pönitz  <poenitz@gmx.net>
3704
3705         * lyxfunc.C:
3706         * BufferView.[Ch]:
3707         * BufferView_pimpl.C: shift undo/redo handling
3708
3709         * cursor.[Ch]: fix mathed crash
3710
3711         * lyxfind.C:
3712         * lyxtext.h: move selectionAsText to LCursor
3713
3714         * output_latex.C:
3715         * paragraph.C:
3716         * text.C:
3717         * text2.C:
3718         * text3.C: adjust
3719
3720         * rowpainter.C: fix excessive drawing
3721
3722 2004-02-06  André Pönitz  <poenitz@gmx.net>
3723
3724         * BufferView.[Ch]:
3725         * BufferView_pimpl.[Ch]:
3726         * text3.C: move some text specific LFUN handling
3727
3728 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3729
3730         * text3.C (checkInsetHit): adjust coords
3731         * text2.C (getColumnNearX): adjust coords
3732         (edit): adjust coords
3733         * text.C (getRowNearY): add two asserts
3734
3735 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3736
3737         * converter.C:
3738         * format.C: add using std::distance to compile on gcc 2.95/stlport
3739
3740 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3741
3742         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3743
3744 2004-02-04  André Pönitz  <poenitz@gmx.net>
3745
3746         * BufferView.[Ch] (insertInset):
3747         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3748
3749         * text2.C:
3750         * text3.C: adjust
3751
3752 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3753
3754         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3755         on the default clause of the switch
3756         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3757         wasn't catched by LCursor::dispatch
3758
3759 2004-02-03  André Pönitz  <poenitz@gmx.net>
3760
3761         * BufferView.C:
3762         * cursor.[Ch]: some additional asserts
3763
3764         * undo.[Ch]: remove LyXText dependency in interface
3765
3766         * lyxfunc.C: adjust
3767
3768         * lyxtext.h (firstPar, lastPar): remove dead functions
3769
3770         * text.C:
3771         * text2.C:
3772         * text3.C:
3773         * paragraph.[Ch]: adjust
3774
3775 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3776
3777         * lyxfind.C (find): fix argument order in call to ::find
3778
3779 2004-02-02  André Pönitz  <poenitz@gmx.net>
3780
3781         * cursor.[Ch]: remove direct access to anchor
3782
3783         * text.C: remove findText() hack
3784
3785 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3786
3787         * iterators.[Ch] (lockPath): remove in favour of...
3788         * BufferView.[Ch] (setCursor): this addition
3789         * BufferView.C (putSelectionAt): adjust
3790         * undo.C (performUndoOrRedo): adjust
3791         * lyxfunc.C (dispatch): adjust
3792
3793 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3794
3795         * iterators.C (lockPath): add a missing slice
3796         * undo.C (performUndoOrRedo): remove redundant positioning code
3797
3798 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3799
3800         * vc-backend.C (scanMaster): ";" -> ';'
3801
3802 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3803
3804         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3805         std::binary_function
3806
3807         * lyxtextclass.C (compare_name): rename to...
3808         (LayoutNamesEqual): ...this
3809
3810         * lyxlex_pimpl.C (compare_tags): inherit from
3811         std::binary_function, put back into anon namespace
3812
3813         * lyxfind.C (MatchString): inherig from std::binary_function
3814         (findChange): use empty() istead of !size()
3815
3816         * format.C (FormatNamesEqual): new functor
3817         (getFormat): use it
3818         (getNumber): use it
3819         (add): use it
3820         (erase): use it
3821         (setViewer): use it
3822
3823         * converter.C (compare_Converter): rename to...
3824         (ConverterEqual): ...this, and fixup a bit.
3825         (getConverter): use it, and make function const
3826         (getNumber): use it, and make function const
3827         (add): use it
3828         (erase): use it:
3829
3830         * bufferlist.C: add using boost::bind
3831
3832         * MenuBackend.C (MenuNamesEqual): new functor
3833         (hasMenu): use it, and make function const
3834         (hasSubmenu): use nested bind to get rid of compare_memfun.
3835
3836 2004-01-30  André Pönitz  <poenitz@gmx.net>
3837
3838         * BufferView_pimpl.C:
3839         * cursor.C:
3840         * cursor.h:
3841         * cursor_slice.[Ch]:
3842         * lyxfunc.C:
3843         * lyxtext.h:
3844         * paragraph_funcs.C:
3845         * paragraph_funcs.h:
3846         * rowpainter.C:
3847         * text.C:
3848         * text2.C:
3849         * text3.C: move some of the edit(x,y) handling to the insets
3850         some coordinate changes.
3851
3852 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3853
3854         * text.C: add using statements for std::advance and std::distance
3855
3856         * paragraph.C: add using statement for std::distance
3857
3858         * lyxfind.C: add using statement for std::advance
3859
3860         * cursor.C (region): remove std:: from swap
3861         (openable): use nucleus in stead of operator->
3862
3863         * BufferView.C: add using statements for std::distance and std::swap
3864
3865 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3866
3867         * iterators.C: Remove the pimple, move the needed structures to
3868         the header file. Create accessor for the positions stack.
3869         (asPosIterator): remove function
3870
3871         * PosIterator.C (PosIterator): move constructors to top of file
3872         (PosIterator): reimplement the constructor taking a ParIterator in
3873         terms of setFrom.
3874         (setFrom): new function
3875         (operator!=): inline it
3876
3877 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3878
3879         * lyxfind.C (replaceAll): use std::advance
3880
3881         * iterators.h: inherit from std::iterator.
3882
3883         * PosIterator.C (advance, distance): remove
3884         * PosIterator.h: interit from std::iterator.
3885
3886 2004-01-26  André Pönitz  <poenitz@gmx.net>
3887
3888         * BufferView.[Ch]:
3889         * BufferView_pimpl.[Ch]:
3890         * InsetList.[Ch]:
3891         * PosIterator.[Ch]:
3892         * buffer.h:
3893         * bufferview_funcs.C:
3894         * cursor.[Ch]:
3895         * cursor_slice.h:
3896         * factory.[Ch]:
3897         * iterators.[Ch]:
3898         * lyxfind.C:
3899         * lyxfunc.C:
3900         * lyxtext.h:
3901         * output_docbook.C:
3902         * output_latex.C:
3903         * output_linuxdoc.C:
3904         * output_plaintext.C:
3905         * paragraph.[Ch]:
3906         * paragraph_funcs.[Ch]:
3907         * paragraph_pimpl.[Ch]:
3908         * rowpainter.C:
3909         * tabular.C:
3910         * tabular.h:
3911         * text.C:
3912         * text2.C:
3913         * text3.C: more IU:  dumps most of the rest of the mathcursor
3914     implementation into cursor.[Ch]; "globalize" a bit of it.
3915
3916 2004-01-25  Angus Leeming  <leeming@lyx.org>
3917
3918         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3919
3920 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3921
3922         * LaTeXFeatures.h: add nice_ and nice() const
3923         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3924
3925 2004-01-20  André Pönitz  <poenitz@gmx.net>
3926
3927         * BufferView.[Ch]:
3928         * BufferView_pimpl.C:
3929         * PosIterator.C:
3930         * bufferview_funcs.C:
3931         * cursor.[Ch]:
3932         * cursor_slice.[Ch]:
3933         * factory.C:
3934         * iterators.C:
3935         * lyx_cb.C:
3936         * lyxfind.C:
3937         * lyxfunc.C:
3938         * lyxtext.h:
3939         * rowpainter.C:
3940         * text.C:
3941         * text2.C:
3942         * text3.C:
3943         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3944           LCursor and mathcursor parts to LCursor and InsetBase.
3945
3946 2004-01-15  André Pönitz  <poenitz@gmx.net>
3947
3948         * cursor_slice.[Ch]: add a few covienience functions
3949
3950         * funcrequest.[Ch]: remove BufferView * member
3951
3952         * BufferView_pimpl.C:
3953         * cursor.C:
3954         * factory.[Ch]:
3955         * lyxfind.[Ch]:
3956         * lyxfunc.C:
3957         * lyxtext.h:
3958         * text3.C:
3959         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3960
3961 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3962
3963         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3964         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3965
3966 2004-01-13  André Pönitz  <poenitz@gmx.net>
3967
3968         * textcursor.[Ch]:
3969         * lyxtext.h: hide cursor and selection anchor behind accessor function
3970
3971         * BufferView.C:
3972         * BufferView_pimpl.[Ch]:
3973         * PosIterator.C:
3974         * bufferview_funcs.C:
3975         * cursor.h:
3976         * lyxfind.C:
3977         * lyxfunc.C:
3978         * text.C:
3979         * text2.C:
3980         * text3.C:
3981         * undo.C: adjust
3982
3983         * cursor.h:
3984         * cursor_slice.[Ch]: some integer type changes for inset unification
3985
3986         * lyxcursor.[hC]: remove, it's CursorSlice now.
3987
3988         * Makefile.am:
3989         * BufferView_pimpl.[Ch]:
3990         * bufferview_funcs.C:
3991         * cursor_slice.C:
3992         * lyxtext.h:
3993         * text.C:
3994         * text2.C:
3995         * text3.C:
3996         * textcursor.[Ch]: adjust
3997
3998 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3999
4000         * text2.C (undoSpan): add and use
4001         * text.C (breakParagraph): use undoSpan (fix bug 578)
4002         * lyxtext.h: adjust
4003
4004 2004-01-08  Angus Leeming  <leeming@lyx.org>
4005
4006         * BufferView_pimpl.C (MenuInsertLyXFile):
4007         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4008         * lyxfunc.C (menuNew, open, doImport):
4009         FileFilterList change to the FileDialog open and save functions.
4010
4011 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4012
4013         * ShareContainer.h: make isEqual and isUnique adaptable
4014
4015         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4016
4017 2004-01-07  Angus Leeming  <leeming@lyx.org>
4018
4019         * LyXAction.C:
4020         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4021
4022         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4023
4024         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4025         functions replacing find, replace and replaceAll.
4026
4027         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4028         LFUN_WORDFIND(FORWARD|BACKWARD).
4029
4030 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4031
4032         * text.C (breakParagraph): remove an outdated #warning
4033
4034 2004-01-07  André Pönitz  <poenitz@gmx.net>
4035
4036         * lyxfind.C: somewhat clearer logic
4037
4038         * text.C: prevent crash in cursorX on unitialized row cache
4039
4040 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4041
4042         * lyxcursor.[Ch] (operator>): add
4043         * textcursor.C (selStart, selEnd): use std::min and std::max
4044
4045 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4046
4047         * Chktex.C: include boost/format.hpp
4048
4049 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4050
4051         * InsetList.C: replace functor MathcIt with adaptable functor
4052         InsetTablePosLess
4053         (insetIterator): modify accordingly
4054
4055         * BranchList.h: move the BranchNamesEqual functor here from...
4056         * BranchList.C: ... to here
4057
4058         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4059         SameName and match.
4060         (add): replace a finding loop with std::find_if.
4061
4062 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4063
4064         * output_docbook.C: moving LatexParam functionality into
4065         .layout files
4066
4067 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4068
4069         * buffer.C: increment format to 229.
4070
4071 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4072
4073         * LaTeXFeatures.C:
4074         * lyx_sty.[Ch]: remove minipageindent_def
4075
4076         * LyXAction.C:
4077         * factory.C:
4078         * lfuns.h:
4079         * lyxfunc.C:
4080         * text3.C: remove LFUN_INSET_MINIPAGE
4081
4082 2003-12-28  Angus Leeming  <leeming@lyx.org>
4083
4084         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4085
4086 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4087
4088         * text2.C (setParagraph): fix off-by-one crash
4089
4090 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4091
4092         * output_docbook.C: header stuff for AGU
4093
4094 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4095
4096         * text2.C (redoCursor): remove
4097         * text.C:
4098         * text3.C:
4099         * BufferView_pimpl.C: remove calls to redoCursor and
4100         setCursor(cursor.par(), cursor.pos()) all around
4101
4102 2003-12-15  Angus Leeming  <leeming@lyx.org>
4103
4104         * buffer.C: up the format to 228.
4105
4106 2003-12-15  André Pönitz  <poenitz@gmx.net>
4107
4108         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4109         slices
4110
4111         * Makefile.am:
4112
4113         * BufferView_pimpl.C:
4114         * cursor.[Ch]:
4115         * lyxcursor.[Ch]:
4116         * rowpainter.[Ch]:
4117         * lyxtext.h:
4118         * text.C:
4119         * text2.C:
4120         * text3.C: adjust
4121
4122 2003-12-15  Angus Leeming  <leeming@lyx.org>
4123
4124         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4125         than getFromGUIName to manipulate the color.
4126
4127 2003-12-14  Angus Leeming  <leeming@lyx.org>
4128
4129         * BranchList.[Ch]: minimize the API.
4130         (Branch::getBranch, getColor): now return a 'const &'.
4131         (Branch::setSelected) now returns a bool set to true if the
4132         selection status changes.
4133         (BranchList::clear, size, getColor, setColor, setSelected,
4134         allBranches, allSelected, separator): removed.
4135         (BranchList::find): new functions, returning the Branch with
4136         the given name.
4137         (BranchList::add, remove): return a bool indicating that
4138         the operation was successful.
4139
4140         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4141         new InsetBranch::isBranchSlected member function.
4142
4143         * LColor.[Ch]: mimimize the API.
4144         (fill): renamed as addColor and made private.
4145         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4146         versions of these functions taking a string arg have been removed.
4147
4148         * bufferparams.C (readToken):
4149         * lyxfunc.C (dispatch):
4150         * lyxrc.C (read): changes due to the altered BranchList and
4151         LColor APIs.
4152
4153         * factory.C (createInset, readInset): changes due to altered
4154         InsetBranch c-tor.
4155
4156 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4157
4158         * factory.C:
4159         * lyxfunc.C: remove insetminipage. "minipage-insert"
4160         now produces a frameless minipage box inset.
4161
4162 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4163
4164         * textcursor.[Ch] (selStart,selEnd): add new methods
4165         remove selection::start, end, use LyXCursor::operator<
4166         * lyxcursor.[Ch] (operator<): add
4167         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4168         * BufferView.[Ch] (unsetXSel): add
4169         * text2.C (clearSelection): use unsetXSel,adjust
4170         * text.C: adjust
4171         * text3.C: adjust
4172         * rowpainter.C: adjust
4173         * bufferview_funcs.C (put_selection_at): adjust
4174
4175 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4176
4177         * BufferView_pimpl.C: small coord. correction
4178
4179 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4180
4181         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4182         dragging over the splash screen.
4183
4184 2003-12-11  Angus Leeming  <leeming@lyx.org>
4185
4186         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4187         as it is now handled in LyXText::dispatch.
4188
4189         * text3.C (doInsertInset): remove a level of nesting.
4190
4191 2003-12-11  Angus Leeming  <leeming@lyx.org>
4192
4193         * factory.C (createInset): changes due to the changed interface to
4194         InsetCommandMailer::string2params.
4195
4196 2003-12-10  Angus Leeming  <leeming@lyx.org>
4197
4198         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4199         'dialog-show-new-inset <inset name>'
4200
4201 2003-12-10  Angus Leeming  <leeming@lyx.org>
4202
4203         * buffer.C: up the format to 227.
4204
4205         * factory.C: the box inset is now identified simply by 'Box'.
4206
4207 2003-12-10  Angus Leeming  <leeming@lyx.org>
4208
4209         * buffer.C: up the format to 226.
4210
4211         * factory.C: the note inset is now identified simply by 'Note'.
4212
4213 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4214
4215         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4216         when a pit is enough. Standarize a couple of loops.
4217
4218 2003-12-05  Angus Leeming  <leeming@lyx.org>
4219
4220         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4221         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4222         data to the re-worked "log" dialog.
4223
4224 2003-12-03  André Pönitz  <poenitz@gmx.net>
4225
4226         * PosIterator.C:
4227         * iterators.C:
4228         * lyxtext.h:
4229         * output_latex.C:
4230         * paragraph_funcs.C:
4231         * text.C:
4232         * text2.C: use Inset::getText instead of Inset::getParagraph
4233
4234 2003-12-03  André Pönitz  <poenitz@gmx.net>
4235
4236         * buffer.[Ch]:
4237         * lyxtext.h:
4238         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4239         InsetText::read() as LyXText::read()
4240
4241 2003-12-02  Angus Leeming  <leeming@lyx.org>
4242
4243         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4244         type. Add a comment in the implementation that the function uses
4245         the stream's bad() function rather than fail() as the std::streams
4246         would do.
4247
4248 2003-12-02  André Pönitz  <poenitz@gmx.net>
4249
4250         * lyxlex.[Ch]: make interface more similar to std::stream
4251
4252         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4253
4254 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4255
4256         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4257
4258 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4259
4260         * vspace.[Ch]: remove VSpace::NONE
4261
4262 2003-12-01  André Pönitz  <poenitz@gmx.net>
4263
4264         * buffer.[Ch]:
4265         * lyxtext.h: move ParagraphList member to LyXText
4266         rename LyXText::ownerParagraphs to LyXText::paragraph
4267
4268         * CutAndPaste.C:
4269         * bufferview_funcs.C:
4270         * iterators.[Ch]:
4271         * lyx_cb.C:
4272         * paragraph.C:
4273         * rowpainter.C:
4274         * tabular.C:
4275         * text.C:
4276         * text2.C:
4277         * text3.C: adjust
4278
4279         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4280
4281         * undo.C: fix cursor positioning
4282
4283 2003-12-01  John Levon  <levon@movementarian.org>
4284
4285         * BufferView_pimpl.C: fix a crash on exit with
4286         a buffer open
4287
4288 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4289
4290         * BranchList.C: fix setSelected() method.
4291
4292 2003-11-28  André Pönitz  <poenitz@gmx.net>
4293
4294         * ParagraphParameters.[Ch]:
4295         * ParameterStruct.h: remove space above/below from Paragraph to
4296          InsetVSpace
4297
4298         * BufferView_pimpl.C:
4299         * factory.C:
4300         * lyxfunc.C:
4301         * lyxtext.h:
4302         * output_latex.C:
4303         * paragraph.C:
4304         * paragraph_funcs.C:
4305         * rowpainter.[Ch]:
4306         * text.C:
4307         * text2.C:
4308         * text3.C: adjust
4309
4310 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4311
4312         * factory.C: Syntax change for CharStyles
4313
4314 2003-11-28  André Pönitz  <poenitz@gmx.net>
4315
4316         * BufferView.[Ch]:
4317         * BufferView.[Ch]:
4318         * buffer.[Ch]:
4319         * buffer.[Ch]: move LyXText member
4320
4321 2003-11-28  André Pönitz  <poenitz@gmx.net>
4322
4323         * BufferView.[Ch]: make LyXText * text a private member
4324
4325         * BufferView_pimpl.C:
4326         * cursor.C:
4327         * iterators.C:
4328         * lyx_cb.C:
4329         * lyxfind.C:
4330         * lyxtext.h:
4331         * rowpainter.[Ch]:
4332         * text.C:
4333         * text2.C:
4334         * undo.C: adjust
4335
4336         * output_plaintext.C: cleanup
4337
4338 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4339
4340         * buffer.C:
4341         * lyxtextclass.[Ch]: parametrize SGML document header
4342
4343 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4344
4345         * converter.[Ch]:
4346         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4347         getFlavor().
4348
4349 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4350
4351         * text2.C (setFont): rework using PosIterator (no more recursive)
4352         (setCharFont): no more needed
4353         (setLayout): no more selection cursors fiddling (done by redoCursor)
4354         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4355         destroy remaining ones)
4356
4357 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4358
4359         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4360         * lyxtext.h: ditto
4361         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4362         selection cursors
4363         * lyxfunc.C: adjust
4364         * text3.C: adjust + re-allow multi par depth changes
4365         * textcursor.C: simplify a bit
4366
4367 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4368
4369         * src/buffer.C:
4370         * src/lyxlayout.C:
4371         * src/lyxlayout.h:
4372         * src/lyxtext.h:
4373         * src/output_docbook.C:
4374         * src/output_latex.C:
4375         * src/paragraph.C:
4376         * src/paragraph.h:
4377         * src/sgml.C:
4378         * src/sgml.h:
4379         * src/text2.C: Introducing a number of tags parametrizing various
4380         XML formats that we may want to support
4381
4382 2003-11-25  André Pönitz  <poenitz@gmx.net>
4383
4384         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4385
4386         * lyxtext.h (leftMargin/rightMargin): simplify interface
4387
4388         * rowpainter.C:
4389         * text.C:
4390         * text2.C:
4391         * text3.C: adjust
4392
4393 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4394
4395         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4396         master file to any child files. Fixes bug 546.
4397
4398 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4399
4400         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4401
4402 2003-11-24  André Pönitz  <poenitz@gmx.net>
4403
4404         * rowpainter.C: simplification
4405
4406         * text2.C (updateCounters): remove call to redoParagraph on
4407         changed labels as this is far too expensive.
4408
4409 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4410
4411         * converter.C (convert): fix a crash: this function gets
4412         called with buffer == 0 from importer code.
4413
4414 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4415
4416         * text3.C (cursorPrevious): make sure that we do not compare
4417         iterators form different containers.
4418         (cursorNext): ditto
4419
4420         * rowpainter.C (paintSelection): make sure that we do not compare
4421         iterators from different containers.
4422
4423         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4424         iterators from different ParagraphList containers.
4425         [NEXT] ditto
4426
4427         * text2.C (LyXText): change order of initialization slightly
4428         (operator=): new function. copy all variables except cache_par_
4429         (moveUp): make sure that we do not compare iterators from
4430         different ParagraphList constainers.
4431         (moveDown): ditto
4432
4433         * text.C (firstPar): new function
4434         (lastPar): new function
4435         (endPar): new function
4436
4437         * lyxtext.h: move things around and group public functions, public
4438         variables, private functions, private variables
4439
4440 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4441
4442         * factory.C: change call to InsetERT constructor to avoid
4443         additional invocation of method status
4444         * text2.C (toggleInset): remove redundant update() call
4445         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4446         instead of a Bufferview pointer
4447
4448 2003-11-21  André Pönitz  <poenitz@gmx.net>
4449
4450         * rowpainter.C: simplification
4451
4452 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4453
4454         * text3.C (dispatch): make possible to extend a word/row selection
4455         with the mouse
4456
4457 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4458
4459         * lyxtext.h: x0_,y0_ -> xo_,yo_
4460         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4461         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4462         * rowpainter.C (paintRows): paint full paragraphs
4463
4464 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4465
4466         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4467         screen coordinates)
4468
4469 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4470
4471         * lyxtext.h: add x0_, y0_
4472         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4473         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4474
4475 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4476
4477         * text2.C (setCursorIntern): move the x_target update here *
4478         * text3.C: change some bv() to true/false in calls to
4479         cursorUp/Down/Right/Left
4480         * cursor.C: use helper function.
4481
4482 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4483
4484         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4485         * paragraph_funcs.[Ch]: correct comment
4486         * rowpainter.C: do not paint selections away from bv->cursor()
4487         Fix a long standing selection painting bug.
4488         * text3.C: generalize mouse-selection code to LyXTexts other that
4489         top one
4490         * textcursor.C: do not use y coords if we can use par offsets
4491
4492 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4493
4494         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4495         cursor position after e.g. inset insert)
4496
4497 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4498
4499         * lyxfind.C (replace): adjust to locking removal + some
4500         code simplification
4501
4502 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4503
4504         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4505         of the path
4506
4507 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4508
4509         * lyxlayout.[Ch]:
4510         * output_docbook.C: XML sanitation: new layout
4511         parameters InnerTag and CommandDepth
4512
4513 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4514
4515         * BufferView_pimpl.C:
4516         * factory.C:
4517         * text3.C: Fix the insertion and modification of button-style
4518         insets
4519
4520 2003-11-13  André Pönitz  <poenitz@gmx.net>
4521
4522         * InsetList.[Ch]: remove deleteLyXText
4523
4524         * paragraph.[Ch]: cache beginOfBody position
4525
4526         * Bidi.C:
4527         * text.C:
4528         * text2.C:
4529         * text3.C: remove superfluous update() calls
4530
4531         * vspace.C: cleanup
4532
4533 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4534
4535         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4536         * BufferView.C (fitLockedInsetCursor): remove
4537         * cursor.[Ch] (getDim): add
4538         * text.C (getRowNearY): add faster version
4539         * text3.C: remove some update calls
4540
4541 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4542
4543         * LaTeXFeatures.C:
4544         * LyXAction.C:
4545         * MenuBackend.C:
4546         * MenuBackend.h:
4547         * dispatchresult.h:
4548         * factory.C:
4549         * lfuns.h:
4550         * lyxfunc.C:
4551         * lyxtextclass.C:
4552         * lyxtextclass.h:
4553         * text3.C: The Character Style /XML short element patch.
4554
4555 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4556
4557         * text3.C:
4558         * factory.C: Small step to solving 'unable to insert some insets'
4559         problem
4560
4561 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4562
4563         * cursor.[Ch] (updatePos): new function for updating the y
4564         position of the tip inset
4565         * bufferview_funcs.C (put_selection_at):
4566         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4567
4568 2003-11-11  André Pönitz  <poenitz@gmx.net>
4569
4570         * text.C: remove big comment on invalid Paragraph pointers as it is
4571         not valid anymore
4572
4573 2003-11-11  André Pönitz  <poenitz@gmx.net>
4574
4575         * text_funcs.[Ch]: merge with ...
4576
4577         * text.C: ... this
4578
4579         * lyxtext.h:
4580         * text2.C:
4581         * text3.C: adjust
4582
4583         * Makefile.am: remove text_funcs.[Ch]
4584
4585 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4586
4587         * cursor.C (getPos): return absolute cached y coord
4588
4589         * BufferView_pimpl.C (fitCursor): new simplistic code
4590         (workAreaDispatch): add a fitCursor call
4591
4592 2003-11-10  André Pönitz  <poenitz@gmx.net>
4593
4594         * BufferView.[Ch]:
4595         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4596
4597 2003-11-10  André Pönitz  <poenitz@gmx.net>
4598
4599         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4600         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4601         indicate that the cursor needs to leave an inset
4602
4603         * lyxtext.h: remove inset locking
4604
4605         * cursor.[Ch]: re-implement functionality provided by inset locking
4606
4607         * BufferView.[Ch]:
4608         * BufferView_pimpl.[Ch]:
4609         * LyXAction.C:
4610         * bufferview_funcs.[Ch]:
4611         * factory.C:
4612         * funcrequest.[Ch]:
4613         * iterators.C:
4614         * lyx_cb.C:
4615         * lyxfind.C:
4616         * lyxfunc.C:
4617         * text.C:
4618         * text2.C:
4619         * text3.C:
4620         * undo.C: adjust
4621
4622 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4623
4624         * PosIterator.[Ch]: replace the stack with a vector, add inset
4625         accesor
4626         * iterators.[C]: adjust
4627
4628 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4629
4630         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4631         replaced
4632         * paragraph_funcs.C (readParToken): put the correct id in the
4633         error item, not the id of the top paragraph
4634
4635 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4636
4637         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4638         * bufferview_funcs.C (put_selection_at): use the above
4639
4640 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4641
4642         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4643
4644 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4645
4646         * output_linuxdoc.h:
4647         * output_plaintext.h:
4648         * output.h:
4649         * output_docbook.h: add #include statements
4650
4651 2003-11-05  José Matos  <jamatos@lyx.org>
4652
4653         * output_docbook.[Ch]:
4654         * output_latex.[Ch]:
4655         * output_linuxdoc.[Ch]:
4656         * output_plaintext.[Ch]: New files for output formats.
4657         * output.[Ch]: New file for helper functions.
4658
4659         * buffer.[Ch]:
4660         * paragraph_funcs.[Ch]: output functions moved to new files.
4661
4662         * outputparams.h: rename of latexrunparams.h
4663
4664         * LaTeX.[Ch]:
4665         * buffer.[Ch]:
4666         * bufferlist.[Ch]:
4667         * converter.[Ch]:
4668         * exporter.C:
4669         * paragraph.[Ch]:
4670         * paragraph_funcs.[Ch]:
4671         * paragraph_pimpl.[Ch]:
4672         * tabular.[Ch]: rename ascii to plaintext
4673         and LatexRunParams to OutputParams.
4674
4675 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4676
4677         * iterators.[Ch] (text): require bv argument
4678         * undo.C (recordUndo):
4679         * lyxfunc.C (dispatch):
4680         * bufferview_funcs.C (put_selection_at): adjust
4681
4682 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4683
4684         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4685
4686 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4687
4688         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4689         nestings
4690
4691 2003-11-04  André Pönitz  <poenitz@gmx.net>
4692
4693         * cursor.[Ch]: restructure
4694
4695         * BufferView.[Ch]:
4696         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4697
4698         * iterators.[Ch] (asCursor): remove
4699
4700         * lfuns.h: remove LFUN_INSET_EDIT
4701
4702         * lyxfunc.C:
4703         * tabular.C:
4704         * text.C:
4705         * text2.C:
4706         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4707
4708 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4709
4710         * lyxfind.[Ch]: complete overhaul
4711         * BufferView_pimpl.C:
4712         * lyxfunc.C: adjust
4713         * paragraph.[Ch] (insert): add
4714
4715 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4716
4717         * BufferView.[Ch]:
4718         * lyxtext.h:
4719         * text.C: remove dead spellcheck code
4720
4721 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4722
4723         * dispatchresult.h: add a val setter
4724
4725         * cursor.C (dispatch): use a tempvar for data_[i]
4726
4727 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4728
4729         * PosIterator.[Ch]: compile fix
4730
4731 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4732
4733         * text.C (cursorPar): deactivate the cursor cache
4734
4735 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4736
4737         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4738
4739 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4740
4741         * text3.C (dispatch): adjust for new DisptchResult semantics.
4742
4743         * lyxfunc.C (dispatch): handle update when return from
4744         Cursor::dispatch, adjust for new DispatchResult semantics.
4745
4746         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4747         DispatchResult(true) mean to not update. Add class functions for
4748         setting dispatched and update, as well as reading.
4749
4750         * cursor.C (dispatch): don't handle update here
4751
4752 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4753
4754         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4755         * trans_mgr.C: adjust
4756
4757         * paragraph_funcs.C (readParToken): exception safety
4758
4759         * lyxvc.h: store the vcs pointer in a scoped_ptr
4760         * lyxvc.C: adjust
4761
4762         * lyxsocket.C (serverCallback): exception safety
4763
4764         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4765
4766         * ispell.C (clone): make it return a auto_ptr
4767
4768         * factory.C (createInset): exception safety
4769         (readInset): exception safety
4770
4771         * bufferlist.C (newBuffer): exception safety
4772
4773         * Thesaurus.C (Thesaurus): use initialization for aik_
4774
4775         * MenuBackend.C (expandToc): exception safety.
4776
4777 2003-11-03  André Pönitz  <poenitz@gmx.net>
4778
4779         * buffer.C:
4780         * buffer.h:
4781         * bufferview_funcs.C: remove getInsetFromId()
4782
4783         * lyxcursor.[Ch]:
4784         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4785
4786         * lyxfunc.C:
4787         * text2.C:
4788         * text3.C: adjust
4789
4790 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4791
4792         * PosIterator.C (distance, advance): new
4793         * bufferview_funcs.[Ch] (put_selection_at): new
4794         * iterators.[Ch] (lockPath): new
4795
4796 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4797
4798         * iterators.[Ch] (asPosIterator): added
4799         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4800         * PosIterator.[Ch]: added
4801
4802 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4803
4804         * text3.C:
4805         * lyxfunc.C:
4806         * cursor.C (dispatch):
4807         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4808
4809         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4810         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4811         contructor, add a class function dispatched. Remove operator>=
4812
4813 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4814
4815         * debug.C: only use the default constructor for debugstream
4816         (lyxerr) here.
4817
4818         * main.C (main): include debug.h and setup the lyxerr streambuf
4819         here.
4820
4821 2003-10-31  José Matos  <jamatos@lyx.org>
4822
4823         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4824
4825         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4826         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4827         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4828         * paragraph_pimpl.C (simpleTeXSpecialC):
4829         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4830         add LatexRunParams argument.
4831
4832         * exporter.C (Export): change call accordingly.
4833
4834         * latexrunparams.h: add new member to take care of the other backends.
4835 2003-10-30  José Matos  <jamatos@lyx.org>
4836
4837         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4838         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4839         factorise code for paragraph output.
4840         * buffer.[Ch]:
4841         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4842         move functions.
4843
4844 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4845
4846         * text3.C (dispatch):
4847         * lyxfunc.C (dispatch):
4848         * cursor.C (dispatch):
4849         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4850
4851         * dispatchresult.h: make the dispatch_result_t ctor explicit
4852
4853 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4854
4855         * sgml.[Ch]:
4856         * buffer.C: small refactoring of docbook stuff
4857
4858 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4859
4860         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4861         meaning.
4862
4863 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4864
4865         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4866         operator dispatch_result_t, and operators for == != and >=
4867
4868         * cursor.C (dispatch): adjust for operator dispatch_result_t
4869         removal. comment out call to update
4870
4871         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4872
4873 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4874
4875         * text3.C:
4876         * text2.C:
4877         * text.C:
4878         * lyxtext.h:
4879         * lyxfunc.C:
4880         * cursor.C:
4881         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4882         (dispatch):
4883
4884         * dispatchresult.h: new file, DispatchResult broken out of
4885         insets/insetbase.h
4886
4887         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4888
4889 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4890
4891         * text.C (rowBreakPoint): put a hack inside #if 0
4892
4893 2003-10-28  André Pönitz  <poenitz@gmx.net>
4894
4895         * lyxtext.h:
4896         * metricsinfo.C:
4897         * paragraph_funcs.C:
4898         * rowpainter.C:
4899         * text.C:
4900         * text2.C: general cleanup (lots of small stuff)
4901
4902 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4903
4904         * text2.C (cursorEnd): simple fix to the "end key goes to one
4905         before the end on last row" bug
4906
4907 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4908
4909         * text.C (backspace): fix the "zombie characters"
4910
4911 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4912
4913         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4914
4915 2003-10-27  André Pönitz  <poenitz@gmx.net>
4916
4917         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4918
4919         * factory.C: handle new InsetPagebreak, InsetLine
4920
4921         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4922         and move handling into new InsetPagebreak, InsetLine
4923
4924         * BufferView_pimpl.C:
4925         * LyXAction.C:
4926         * ParagraphParameters.C:
4927         * ParameterStruct.h:
4928         * lyxfunc.C:
4929         * lyxtext.h:
4930         * paragraph.C:
4931         * paragraph.h:
4932         * paragraph_funcs.C:
4933         * paragraph_pimpl.C:
4934         * rowpainter.C:
4935         * text.C:
4936         * text2.C:
4937         * text3.C: adjust
4938
4939 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4940
4941         * text.C:
4942         * lyxrow_funcs.[Ch]:
4943         * Bidi.C:
4944         * paragraph.C:
4945         * lyxtext.h:
4946         * rowpainter.C:
4947         * text2.C:
4948         * text3.C: remove lastPos uses in favour of Row::endpos
4949
4950 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4951
4952         * undo.C (performUndoOrRedo): fix two crashes by setting a
4953         cursor by hand and reordering some calls. Use bv->lockInset instead
4954         of inset->edit because the latter loses cursor information
4955
4956 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4957
4958         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4959         by Martin
4960         (rowBreakPoint): fix width. change point to point + 1.
4961         Add a missing check.
4962
4963 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4964
4965         * MenuBackend.C:
4966         * lyxfunc.C: fix (at least partly) the problems
4967         with the Nav menu and headers inside branch insets
4968         reported by Kayvan
4969
4970 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4971
4972         * paragraph.C (getChar): add strong asserts
4973
4974         * lyxrow_funcs.C (lastPos): remove hideous hack
4975
4976         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4977         (fill): adjust to that (avoid an infinite loop)
4978
4979 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4980
4981         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4982
4983 2003-10-23  André Pönitz  <poenitz@gmx.net>
4984
4985         * RowList_fwd.h: change list<> to vector<> to gain speed
4986         after suggestion from Alfredo
4987
4988 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4989
4990         * lyxtext.h: move the bidi stuff from here...
4991         * text.C: and here
4992         * text2.C: and here
4993         * Bidi.[Ch]: ... to here
4994
4995 2003-10-23  André Pönitz  <poenitz@gmx.net>
4996
4997         * lyxtext.h:
4998         * text.C (isLastRow, isFirstRow): new functions
4999
5000         * paragraph.h: new width cache member
5001
5002         * rowpainter.C: replace RowList::iterator with Row & where possible
5003
5004         * lyxfunc.C: replace several view()->text with a single call
5005
5006         * toc.C: fix 'unused' warning
5007
5008 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5009
5010         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5011         when woring with stream::pos_type
5012         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5013
5014 2003-10-22  André Pönitz  <poenitz@gmx.net>
5015
5016         * lyxtext.h:
5017         * text.C: use Row & instead of RowList::iterator
5018
5019         * lyxrow.h: rename end() to endpos()
5020
5021         * rowpainter.C:
5022         * text.C:
5023         * text2.C: adjust
5024
5025 2003-10-22  Angus Leeming  <leeming@lyx.org>
5026
5027         * buffer.[Ch] (fully_loaded): new member function, returning true
5028         only when the file has been loaded fully.
5029         Used to prevent the premature generation of previews and by the
5030         citation inset to prevent computation of the natbib-style label.
5031
5032         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5033         templates are all set up.
5034
5035         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5036
5037 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5038
5039         * text.C: fixed an "oops" in the "is a bit silly"
5040         bug fix
5041
5042 2003-10-21  André Pönitz  <poenitz@gmx.net>
5043
5044         * FuncStatus.[Ch]: small stuff, whitespace
5045
5046         * lyxfont.[Ch]: operator<<() for debug reasons
5047
5048         * lyxfunc.C:
5049         * lyxrow_funcs.C:
5050         * lyxtext.h: whitespace, spelling
5051
5052         * paragraph.C: naming of variables
5053
5054         * text.C:
5055         * text2.C: small stuff
5056
5057
5058 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5059
5060         * text.C: (1) finish off the inset display() work;
5061         (2) fix the "is a bit silly" bug (accessing char
5062         past end of par).
5063
5064 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5065
5066         * text.C: re-introduce display() for insets, fixing the
5067         various bugs (stretch of line above, math inset
5068         positioning, ...)
5069
5070 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5071
5072         * text.C (rightMargin): remove spurious semicolon
5073
5074         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5075         1415)
5076
5077 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5078
5079         * text3.C: fix one crash due to wrong cursor def
5080
5081 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5082
5083         * vc-backend.C (scanMaster): make the regex static
5084
5085         * LaTeX.C (scanAuxFile): make the regexs static
5086
5087         * text3.C (doInsertInset, dispatch, dispatch):
5088         * text2.C (cursorUp, cursorDown):
5089         * text.C (selectNextWordToSpellcheck):
5090         * BufferView_pimpl.C (dispatch):
5091         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5092
5093 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5094
5095         * lyxsocket.C: include <cerrno>
5096
5097 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5098
5099         * lyxfunc.C (dispatch): remove textcache stuff
5100
5101         * bufferlist.C (release): remove textcache stuff
5102         (closeAll): ditto
5103
5104         * TextCache.C: delete file
5105         * TextCache.h: delete file
5106
5107         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5108
5109         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5110         delete of the bv_->text.
5111         (resizeCurrentBuffer): remove texcache stuff
5112         (workAreaResize): ditto
5113
5114 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5115
5116         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5117         action.
5118
5119 2003-10-16  André Pönitz  <poenitz@gmx.net>
5120
5121         * lyxrow.[Ch]:
5122         * paragraph.h:
5123         * rowpainter.C:
5124         * text.C:
5125         * text2.C:
5126         * text3.C: speed up by storing y positions per paragraph plus per-row
5127         offset instead of having a 'full' y position in the row.
5128
5129 2003-10-15  André Pönitz  <poenitz@gmx.net>
5130
5131         * iterators.[Ch]:
5132         * iterators.[Ch]:
5133         * undo.[Ch]: make undo aware of inner insets
5134
5135 2003-10-14  Angus Leeming  <leeming@lyx.org>
5136
5137         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5138         static member functions LyX::ref() and LyX::cref.
5139         (lastfiles): new accessor functions for the new lastfiles_ member var.
5140         (addLyXView, views_): add a new LyXView to the list of views_.
5141         (updateInset): loop over all LyXViews to call their own updateInset
5142         member function, returning a pointer to the Buffer owning the inset.
5143
5144         * BufferView_pimpl.C (loadLyXFile):
5145         * MenuBackend.C (expandLastfiles):
5146         * bufferlist.C (MenuWrite, QuitLyX):
5147         lastfiles is no longer a global variable.
5148         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5149
5150         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5151         static function. Access through LyX::cref().emergencyCleanup().
5152
5153 2003-10-14  André Pönitz  <poenitz@gmx.net>
5154
5155         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5156
5157         * undo.[Ch]: restoring part of 'undo in insets'
5158
5159         * Makefile.am:
5160         * undo_funcs.[Ch]: merge with undo.[Ch]
5161
5162         * tabular.C: small cleansing stuff
5163
5164 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5165
5166         * paragraph_funcs.C (readParToken): report unknown insets as error
5167         boxes. Use the outer paragraph as location (also for unknown
5168         tokens).
5169
5170         * factory.C (readInset): do not abort on reading an unknown inset.
5171         Eat it and return 0.
5172
5173 2003-10-13  Angus Leeming  <leeming@lyx.org>
5174
5175         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5176
5177         * lyxrc.C: displayTranslator is now a function,
5178         declared in GraphicsTypes.h.
5179
5180 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5181
5182         * format.C: new placeholder $$a to pass the socket address.
5183
5184         * bufferlist.[Ch]: new function getBufferFromTmp.
5185
5186         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5187           files in the temporary dir.
5188
5189 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5190
5191         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5192
5193         * Makefile.am: add lyxsocket.[Ch].
5194
5195         * lyx_main.C (error_handler): handle SIGPIPE.
5196
5197 2003-10-13  André Pönitz  <poenitz@gmx.net>
5198
5199         * BufferView_pimpl.C:
5200         * lyxtext.h:
5201         * text.C:
5202         * text2.C:
5203         * text3.C:
5204         * undo_funcs.[Ch]: use paroffset_type instead of
5205           ParagraphList::iterators to prevent multiple conversion
5206           (and get a more robust interface)
5207
5208 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5209
5210         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5211         * lyxtext.h: ditto
5212         * text3.C (dispatch): ditto
5213
5214 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5215
5216         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5217         move the onlyfile, use onlyfile instead of foundfile in a couple
5218         of places.
5219
5220         * DepTable.C (update): flush the error stream a bit more
5221
5222 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5223
5224         * lyxserver.C (callback): adjust
5225
5226         * lyxfunc.C (getStatus): add a missing brace in commented code
5227         (ensureBufferClean): reindent
5228         (dispatch): delete version taking a string
5229
5230 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5231
5232         * LaTeX.C (deplog): move found file handlig from here...
5233         (handleFoundFile): .. to new function here.
5234         (deplog): make sure to discover several files mentioned on the
5235         same log line.
5236
5237 2003-10-10  André Pönitz  <poenitz@gmx.net>
5238
5239         * lyxfunc.C:
5240         * lyxtext.h:
5241         * tabular.C:
5242         * text.C:
5243         * text2.C:
5244         * text3.C: fix some of the tabular crashes
5245
5246 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5247
5248         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5249
5250         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5251
5252 2003-10-09  André Pönitz  <poenitz@gmx.net>
5253
5254         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5255
5256         * BufferView.C:
5257         * BufferView_pimpl.C:
5258         * bufferview_funcs.C:
5259         * lyx_cb.C:
5260         * lyxcursor.C:
5261         * lyxfind.C:
5262         * lyxfunc.C:
5263         * lyxtext.h:
5264         * text.C:
5265         * text2.C:
5266         * text3.C:
5267         * text_funcs.[Ch]:
5268         * textcursor.[Ch]:
5269         * undo_funcs.C: adjust
5270
5271 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5272
5273         * text2.C (incrementItemDepth): new function, use a backtracking
5274         algorithm to discover the correct item depth.
5275         (resetEnumCounterIfNeeded): new function, use a backtracking
5276         algorithm to discover if counter reset is needed.
5277         (setCounter): use them. Simplify a bit. Add different labels for
5278         different item depths for itemize.
5279
5280         * paragraph.C (Paragraph): remove initialization of enumdepth
5281         (operator=): ditto
5282
5283         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5284         enumerate and itemize. Change the type of itemdepth to signed char.
5285
5286 2003-10-08  André Pönitz  <poenitz@gmx.net>
5287
5288         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5289           thing assignable.
5290         * text.C:
5291         * text2.C: adjust
5292
5293         * tabular.[Ch]: fix crash after 'row-insert'
5294
5295 2003-10-08  Angus Leeming  <leeming@lyx.org>
5296
5297         Fix doxygen warnings.
5298
5299         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5300         Remove CutAndPaste:: prefix from header file declaration.
5301
5302         * LColor.h (fill): remove LColor:: prefix from declaration.
5303
5304         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5305         use lyx::depth_type rather than Paragraph::depth_type so that
5306         header file and .C file match.
5307
5308         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5309
5310         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5311         * aspell.C: \file aspell_local.C -> \file aspell.C
5312         * gettext.C: \file gettext.C -> \file src/gettext.C
5313         * gettext.h: \file gettext.h -> \file src/gettext.h
5314         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5315         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5316         * text.C: \file text.C -> \file src/text.C
5317
5318         * toc.C: move comment so that doxygen is not confused.
5319
5320 2003-10-07  Angus Leeming  <leeming@lyx.org>
5321
5322         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5323
5324 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5325
5326         * aspell.C:
5327         * aspell_local.h: add forgotten std::string's.
5328
5329 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5330
5331         * LaTeXFeatures.C:
5332         * LyXAction.C:
5333         * factory.C:
5334         * lfuns.h:
5335         * lyxfunc.C:
5336         * text3.C: The Box patch. Fancybox support, minipage, parbox
5337
5338 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5339
5340         * CutAndPaste.h:
5341         * DepTable.h:
5342         * FloatList.h:
5343         * LaTeXFeatures.h:
5344         * ParagraphParameters.h:
5345         * TextCache.h:
5346         * Thesaurus.h:
5347         * bufferlist.h:
5348         * exporter.h:
5349         * importer.h:
5350         * lastfiles.h:
5351         * lyxfind.h:
5352         * lyxfont.h:
5353         * lyxlex.h:
5354         * lyxtextclasslist.h:
5355         * messages.h:
5356         * paragraph.h:
5357         * paragraph_pimpl.C:
5358         * textcursor.h: add <string> and other small fixes to make Lars'
5359         std::string patch compile with STLport.
5360
5361 2003-10-06  Angus Leeming  <leeming@lyx.org>
5362
5363         * LColor.h: Add missing #include <string>.
5364
5365 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5366
5367         * All most all file in all subdirs: Make <string> be the prefered
5368         way of getting to std::string, add using declarations.
5369
5370 2003-10-06  André Pönitz  <poenitz@gmx.net>
5371
5372         * metricsinfo.C: initialize LyXFont before changing attribute.
5373         (fixes the 'math in \emph is upright' bug)
5374
5375 2003-10-06  André Pönitz  <poenitz@gmx.net>
5376
5377         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5378
5379 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5380
5381         * graph.C:
5382         * paragraph_pimpl.C: Small fixes to build using STLport
5383
5384 2003-10-02  André Pönitz  <poenitz@gmx.net>
5385
5386         * lyxfunc.C:
5387         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5388
5389 2003-10-01  André Pönitz  <poenitz@gmx.net>
5390
5391         * factory.C: assert early
5392
5393 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5394
5395         * lyx_main.C: remove the global debug object
5396
5397         * debug.h: adjust for new debugstream
5398
5399         * debug.C: adjust for new debugstream and keep the global debug
5400         object here.
5401
5402 2003-09-22  Angus Leeming  <leeming@lyx.org>
5403
5404         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5405         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5406         an incomplete class LyXFont.
5407
5408 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5409
5410         * factory.C: bug fix in branches
5411
5412 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5413
5414         * lyxfunc.C (processKeySym): adjust
5415         (dispatch): adjust
5416         (dispatch): change arg name from ev to func, adjust
5417         (sendDispatchMessage): ditto
5418
5419         * lyx_main.C (defaultKeyBindings): adjust keybindings
5420         (deadKeyBindings): ditto
5421
5422         * kbsequence.C (addkey): return a FuncRequest
5423
5424         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5425
5426         * kbmap.C (bind): take a FuncRequest as arg, adjust
5427         (read): adjust
5428         (lookup): adjust
5429         (defkey): change to take a FuncRequest as arg, adjust
5430         (findbinding): take a FuncRequest as arg, adjust.
5431
5432         * funcrequest.h (operator=): added
5433
5434         * funcrequest.C (FuncRequest): default kb_action changed from
5435         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5436
5437         * buffer.C (dispatch): simplify
5438         (dispatch): adjust to take a FuncRequest as arg, adjust
5439
5440         * boost.C (assertion_failed): change assertion message slightly
5441
5442         * ToolbarBackend.C (read): simplify
5443
5444         * MenuBackend.C (binding): adjust call to findbinding, add a
5445         message if no binding is found.
5446         (read): simplify
5447         (expandToc): correct by adding a empty FuncRequest
5448
5449         * LyXAction.C: include <boost/assert.hpp>
5450         (isPseudoAction): delete function
5451         (LookupFunc): change name to...
5452         (lookupFunc): this. change return type to FuncRequest.
5453         (getActionName): take kb_action as arg, simplify
5454         (funcHasFlag): add an assert, simplify.
5455
5456 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5457
5458         * toc.C (action): return a FuncRequest, simplify
5459
5460         * lyxfunc.C (processKeySym): adjust
5461         (getStatus): delete version that takes an int.
5462         (getStatus): adjust
5463         (dispatch): delete version that takes action as int
5464         (dispatch): adjust
5465         (sendDispatchMessage): simplify and adjust
5466
5467         * funcrequest.C (getArg): take unsigned int as arg
5468
5469         * ToolbarBackend.C (read): adjust
5470         (add): delete version that takes func as a string.
5471         (getIton): take a FuncRequest as arg
5472
5473         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5474         action.
5475
5476         * MenuBackend.C (MenuItem): add a new construct that only takes a
5477         Kind, simplify the constructor use for submenus.
5478         (add): adjust
5479         (expandLastfiles): adjust
5480         (expandDocuments): adjust
5481         (expandFormats): adjust
5482         (expandFloatListInsert): adjust
5483         (expandFloatInsert): adjust
5484         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5485
5486         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5487         Remove class variables lyx_pseudo_map and lyx_arg_map
5488
5489         * LyXAction.C (searchActionArg): delete function
5490         (getPseudoAction): delete function
5491         (retrieveActionArg): delete function
5492         (LookupFunc): make it return kb_action, simplify.
5493         (getActionName): simplify
5494
5495         * factory.C (createInset): fix new bug
5496
5497 2003-09-19  Angus Leeming  <leeming@lyx.org>
5498
5499         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5500         masterFilename_ parameter in the include inset.
5501
5502         * factory.C (createInset): changes due to the changes to InsetInclude.
5503
5504 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5505
5506         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5507
5508 2003-09-18  Angus Leeming  <leeming@lyx.org>
5509
5510         * buffer.C:
5511         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5512         Inset::fillWithBibKeys.
5513         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5514
5515 2003-09-18  Angus Leeming  <leeming@lyx.org>
5516
5517         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5518         variables.
5519         (ctor): pass and store a 'Buffer const &'
5520         (buffer): new member function.
5521
5522         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5523         '*this' to the LaTeXFeatures ctor.
5524
5525 2003-09-18  Angus Leeming  <leeming@lyx.org>
5526
5527         * LColor.h:
5528         * lyxfont.C:
5529         * lyxfont.h:
5530         * lyxtext.h:
5531         * text.C: rename EnumLColor as LColor_color.
5532
5533 2003-09-18  Angus Leeming  <leeming@lyx.org>
5534
5535         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5536         remove #include "insets/insetbase.h" from cursor.h.
5537
5538 2003-09-18  Angus Leeming  <leeming@lyx.org>
5539
5540         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5541         InsetOld_code to remove #include "inset.h".
5542
5543         * iterators.C: add #include "insets/inset.h"
5544
5545 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5546
5547         * BufferView.C: remove more locking stuff that apparently doesn't
5548         do anything sensible.
5549
5550 2003-09-16  André Pönitz  <poenitz@gmx.net>
5551
5552         * paragraph.[Ch]:
5553         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5554           performance boost.
5555
5556 2003-09-16  Angus Leeming  <leeming@lyx.org>
5557
5558         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5559
5560         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5561         arg/return type.
5562
5563         * paragraph.h: remove #include "lyxfont.h". Forward declare
5564         LyXFont_size.
5565
5566 2003-09-16  Angus Leeming  <leeming@lyx.org>
5567
5568         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5569         of support/textutils.h.
5570         (isWord): move the contents of support/textutils.h's IsWordChar here.
5571
5572         * buffer.C:
5573         * lyxfind.C:
5574         * rowpainter.C:
5575         * text.C:
5576         * text2.C: add #include "paragraph.h".
5577
5578         * rowpainter.C:
5579         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5580
5581 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5582
5583         * main.C:
5584         * lyx_main.C:
5585         * lyx_cb.C:
5586         * buffer.C:
5587         * LaTeX.C: use namespace alias for lyx::support::os
5588
5589 2003-09-16  Angus Leeming  <leeming@lyx.org>
5590
5591         * bufferparams.C:
5592         * bufferview_funcs.C:
5593         * factory.C:
5594         * lyxfunc.C:
5595         * paragraph_pimpl.C:
5596         * rowpainter.C:
5597         * text.C: add #include "LColor.h".
5598
5599 2003-09-16  Angus Leeming  <leeming@lyx.org>
5600
5601         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5602         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5603         return LyXFont &.
5604         Store the FontBits::color variable as an int rather than as an
5605         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5606         file.
5607
5608         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5609         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5610         string calls together.
5611
5612         * lyxrc.C: add #include "LColor.h".
5613
5614 2003-09-15  Angus Leeming  <leeming@lyx.org>
5615
5616         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5617         a cow_ptr.
5618
5619 2003-09-15  Angus Leeming  <leeming@lyx.org>
5620
5621         * LColor.h: add an EnumLColor wrapper for LColor::color.
5622
5623         * lyxfont.[Ch] (color, setColor, realColor):
5624         * lyxtext.h, text.C (backgroundColor):
5625         pass EnumLColor args to/from the functions, rather than LColor::color
5626         ones.
5627
5628         * lyxfont.h:
5629         * lyxtext.h: forward declare EnumLColor.
5630
5631         * lyx_main.C: add #include "LColor.h".
5632
5633 2003-09-15  Angus Leeming  <leeming@lyx.org>
5634
5635         * .cvsignore: add lyx-gtk.
5636
5637 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5638
5639         * Chktex.C
5640         * LaTeX.C
5641         * LaTeXFeatures.C
5642         * ParagraphParameters.C
5643         * Spacing.C
5644         * buffer.C
5645         * bufferparams.C
5646         * bufferview_funcs.C
5647         * chset.C
5648         * counters.C
5649         * funcrequest.C
5650         * lyxfont.C
5651         * lyxgluelength.C
5652         * lyxlength.C
5653         * paragraph.C
5654         * paragraph_funcs.C
5655         * text3.C
5656         * vc-backend.C: remove usage of STRCONV
5657
5658 2003-09-15  Angus Leeming  <leeming@lyx.org>
5659
5660         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5661         explicitly define the color passed to the painter.
5662
5663 2003-09-15  Angus Leeming  <leeming@lyx.org>
5664
5665         * bufferparams.C (BufferParams): reorder member initializers to avoid
5666         compiler warning.
5667
5668 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5669
5670         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5671         * text.C (updateRowPositions): remove an unusual nop
5672
5673 2003-09-12  André Pönitz  <poenitz@gmx.net>
5674
5675         * BufferView_pimpl.C:
5676         * Bullet.C:
5677         * layout.h:
5678         * lyxfunc.C:
5679         * lyxlayout.[Ch]:
5680         * lyxtextclass.C:
5681         * rowpainter.C:
5682         * text.C:
5683         * text2.C:
5684         * Counters.[Ch]: finish the 'automatic counters' job
5685
5686 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5687
5688         * aspell.C: include <boost/assert.cpp> (compile fix)
5689
5690 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5691
5692         * boost.C (assertion_failed): use lyx::support::abort instead of
5693         assert.
5694
5695 2003-09-10  Angus Leeming  <leeming@lyx.org>
5696
5697         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5698         with their _fwd progeny.
5699
5700 2003-09-09  Angus Leeming  <leeming@lyx.org>
5701
5702         134 files throughtout the source tree: replace 'using namespace abc;'
5703         directives with the appropriate 'using abc::xyz;' declarations.
5704
5705 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5706
5707         * boost.C (emergencyCleanup): moved here from LAssert.c
5708         (assertion_failed): new function, called by BOOST_ASSERT
5709
5710         * several files: change Assert to BOOST_ASSERT
5711
5712 2003-09-09  Angus Leeming  <leeming@lyx.org>
5713
5714         * buffer.[Ch]: Add an Impl class and move Buffer's member
5715         variables into it. As a result move several header files out of
5716         buffer.h.
5717
5718         Add header files to lots of .C files all over the tree as a result.
5719
5720 2003-09-09  Angus Leeming  <leeming@lyx.org>
5721
5722         * buffer.[Ch]: make Buffer's member variables private. Add
5723         accessor functions.
5724
5725         Lots of changes all over the tree as a result.
5726
5727 2003-09-08  Angus Leeming  <leeming@lyx.org>
5728
5729         * graph.C: #include <config.h>.
5730
5731 2003-09-08  Angus Leeming  <leeming@lyx.org>
5732
5733         * BranchList.C:
5734         * BufferView.C:
5735         * BufferView_pimpl.C:
5736         * CutAndPaste.C:
5737         * DepTable.C:
5738         * LaTeX.C:
5739         * LaTeXFeatures.C:
5740         * LyXAction.C:
5741         * MenuBackend.C:
5742         * TextCache.C:
5743         * aspell.C:
5744         * buffer.C:
5745         * bufferlist.C:
5746         * changes.C:
5747         * chset.C:
5748         * converter.C:
5749         * counters.C:
5750         * debug.C:
5751         * graph.C:
5752         * ispell.C:
5753         * lyx_cb.C:
5754         * lyxfind.C:
5755         * lyxfunc.C:
5756         * lyxlex_pimpl.C:
5757         * lyxrc.C:
5758         * lyxrow.C:
5759         * paragraph.C:
5760         * rowpainter.C:
5761         * texrow.C:
5762         * text.C:
5763         * text2.C:
5764         * toc.C: remove redundant using directives.
5765
5766 2003-09-07  Angus Leeming  <leeming@lyx.org>
5767
5768         * LaTeXFeatures.h: remove #include "support/types.h".
5769         * ToolbarBackend.h: remove #include <algorithm>.
5770         * changes.h: remove #include <ctime>.
5771         * debug.h: remove #include <iosfwd>.
5772         * graph.h: remove #include "support/std_string.h".
5773         * lyx_main.h: remove #include <csignal>.
5774         * lyxlex_pimpl.h: remove #include <fstream>.
5775         * sgml.h: remove #include <algorithm>, <utility>.
5776         * toc.h: remove #include "support/std_ostream.h".
5777         Add #include <iosfwd>.
5778
5779 2003-09-07  Angus Leeming  <leeming@lyx.org>
5780
5781         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5782
5783         * converter.h: forward declare LatexRunParams.
5784         * encoding.h: remove #include "lyxrc.h".
5785         * lyxtext.h: remove #include "LColor.h".
5786         * lyxtextclass.h: remove #include "support/types.h".
5787         * trans.h: remove #include "tex-accent.h".
5788         * trans_mgr.h: remove #include "tex-accent.h".
5789         * insets/inset.h: remove #include "support/types.h", <vector>.
5790         * insets/insetcollapsable.h: remove #include "LColor.h".
5791         * insets/insetinclude.h: remove #include "dimension.h".
5792         * insets/insetlatexaccent.h: remove #include "dimension.h".
5793         * insets/insetoptarg.h:: remove #include "insettext.h".
5794         * insets/insettext.h: remove #include "dimension.h",
5795         <boost/shared_ptr.hpp>
5796
5797         * insets/renderers.h: add #include "dimension.h".
5798         * insets/updatableinset.h: add #include "support/types.h".
5799
5800         * many .C files: Associated changes.
5801
5802 2003-09-06  Angus Leeming  <leeming@lyx.org>
5803
5804         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5805         one, inside testInvariant.
5806
5807         * PrinterParams.C: new file.
5808         * PrinterParams.[Ch]: move the function bodies out of line.
5809
5810 2003-09-06  Angus Leeming  <leeming@lyx.org>
5811
5812         * ParagraphParameters.h: forward declare ParameterStruct rather than
5813         including its header file.
5814         (depth): moved out-of-line.
5815
5816 2003-09-06  Angus Leeming  <leeming@lyx.org>
5817
5818         * BufferView_pimpl.h:
5819         * kbmap.h:
5820         * kbsequence.h:
5821         * lyxfunc.h: forward declare LyXKeySym rather than
5822         #include "frontends/LyXKeySym.h".
5823
5824         * BufferView_pimpl.C:
5825         * kbmap.C:
5826         * kbsequence.C:
5827         * lyxfunc.C: associated changes.
5828
5829 2003-09-06  Angus Leeming  <leeming@lyx.org>
5830
5831         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5832         As a result, can remove the #include "insets/inset.h" from BufferView.h
5833
5834 2003-09-06  Angus Leeming  <leeming@lyx.org>
5835
5836         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5837         As a result, can remove the #include "insets/inset.h" from BufferView.h
5838
5839 2003-09-06  Angus Leeming  <leeming@lyx.org>
5840
5841         * buffer_funcs.C:
5842         * buffer.h:
5843         * bufferlist.C:
5844         * BufferView.C:
5845         * bufferview_funcs.C:
5846         * BufferView_pimpl.C:
5847         * CutAndPaste.C:
5848         * lyx_cb.C:
5849         * lyxfunc.C:
5850         * paragraph.h:
5851         * ParagraphParameters.C:
5852         * tabular.C:
5853         * text3.C:
5854         * toc.C:
5855         * undo_funcs.C:
5856         * frontends/controllers/ControlDocument.C:
5857         * insets/insetcaption.C: rearrange the #includes into some sort of
5858         coherent order.
5859
5860         * buffer.h: remove #includes ErrorList.h, undo.h
5861
5862 2003-09-06  Angus Leeming  <leeming@lyx.org>
5863
5864         * support/types.h: add a 'depth_type' typedef, used to store the
5865         nesting depth of a paragraph.
5866
5867         * paragraph.h:
5868         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5869         defining explicitly.
5870
5871         * buffer.h:
5872         * paragraph_funcs.h:
5873         * ParagraphParameters.h:
5874         * sgml.h: use lyx::depth_type rather than Paragraph or
5875         ParameterStruct's depth_type.
5876
5877         * buffer.h
5878         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5879
5880         * BufferView.C:
5881         * BufferView_pimpl.C:
5882         * CutAndPaste.C:
5883         * ParagraphParameters.C:
5884         * buffer_funcs.C:
5885         * bufferlist.C:
5886         * bufferview_funcs.C:
5887         * lyx_cb.C:
5888         * lyxfunc.C:
5889         * tabular.C:
5890         * text3.C:
5891         * toc.C:
5892         * undo_funcs.C:
5893         * frontends/LyXView.C:
5894         * frontends/controllers/ControlDocument.C:
5895         * frontends/controllers/ControlErrorList.C:
5896         * insets/insetbibitem.C:
5897         * insets/insetbranch.C:
5898         * insets/insetcaption.C:
5899         * insets/insetcollapsable.C:
5900         * insets/insetenv.C:
5901         * insets/insetert.C:
5902         * insets/insetfloat.C:
5903         * insets/insetfoot.C:
5904         * insets/insetfootlike.C:
5905         * insets/insetnewline.C:
5906         * insets/insetquotes.C:
5907         * insets/insettabular.C:
5908         * insets/insettext.C:
5909         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5910
5911         * frontends/controllers/ControlChanges.C: #include "changes.h".
5912
5913 2003-09-06  Angus Leeming  <leeming@lyx.org>
5914
5915         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5916         than #including paragraph.h.
5917
5918         * ParagraphList.h:
5919         * RowList.h: deleted. Superfluous.
5920
5921         * CutAndPaste.h:
5922         * iterators.h:
5923         * lyxcursor.h:
5924         * lyxtext.h:
5925         * text_funcs.h:
5926         * undo.h:
5927         * undo_funcs.h:
5928         * insets/inset.h:
5929         * insets/insettext.h: use ParagraphList_fwd.h rather than
5930         ParagraphList.h.
5931
5932         * paragraph.h: don't forward declare ParagraphList.
5933
5934         * buffer.h:
5935         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5936         rather than ParagraphList.h. paragraph.h is still needed for the
5937         Paragraph::depth_type parameters.
5938
5939         * textcursor.h: enable it to compile stand-alone in light of the
5940         above changes.
5941
5942         * bufferview_funcs.C:
5943         * iterators.C:
5944         * lyxfunc.C:
5945         * lyxrow_funcs.C:
5946         * paragraph.C:
5947         * rowpainter.C:
5948         * text.C:
5949         * text2.C:
5950         * text3.C:
5951         * text_funcs.C:
5952         * textcursor.C:
5953         * undo.C:
5954         * frontends/controllers/ControlParagraph.C:
5955         * frontends/controllers/ControlTabular.C:
5956         * insets/insetmarginal.C:
5957         * insets/insetminipage.C:
5958         * insets/insetnote.C:
5959         * insets/insetoptarg.C: add header files needed to compile again.
5960
5961 2003-09-06  Angus Leeming  <leeming@lyx.org>
5962
5963         * RowList_fwd.h: new file, forward-declaring Row rather than
5964         #including lyxrow.h.
5965
5966         * lyxrow_funcs.h:
5967         * lyxtext.h:
5968         * paragraph.h:
5969         * insets/insettext.h: use it instead of RowList.h
5970
5971         * bufferview_funcs.C:
5972         * lyxfunc.C:
5973         * lyxrow_funcs.C:
5974         * paragraph.C:
5975         * rowpainter.C:
5976         * text.C:
5977         * text2.C:
5978         * text3.C: #include "RowList.h".
5979
5980 2003-09-05  Angus Leeming  <leeming@lyx.org>
5981
5982         * factory.C (createInset):
5983         * vspace.C (c-tor): replace sscanf call with an istringstream.
5984         * ispell.C: re-add missing HP/UX headers.
5985         * lyxserver.C: re-add missing  os2 headers.
5986
5987 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5988
5989         * BranchList.C:
5990         * graph.C:
5991         * ispell.C:
5992         * lastfiles.C:
5993         * lyx_cb.C:
5994         * lyxserver.C:
5995         * texrow.C:
5996         * text3.C: re-add missing system headers, needed for 2.95.2.
5997
5998 2003-09-05  Angus Leeming  <leeming@lyx.org>
5999
6000         Changes most place everywhere due to the removal of using directives
6001         from support/std_sstream.h.
6002
6003 2003-09-05  Angus Leeming  <leeming@lyx.org>
6004
6005         Replace LString.h with support/std_string.h,
6006         Lsstream.h with support/std_sstream.h,
6007         support/LIstream.h with support/std_istream.h,
6008         support/LOstream.h with support/std_ostream.h.
6009
6010         Changes resulting throughout the tree.
6011
6012 2003-09-05  Angus Leeming  <leeming@lyx.org>
6013
6014         * sgml.h: ensure that the header file can be compiled stand-alone.
6015         * *.C: strip out redundant #includes. (320 in total.)
6016
6017 2003-09-04  Angus Leeming  <leeming@lyx.org>
6018
6019         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6020         here (from getPackages).
6021
6022         * debug.[Ch]: add a new EXTERNAL tag.
6023
6024 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6025
6026         * text2.C (cursorEnd): simplify
6027         (setCursor): adjust
6028         (getColumnNearX): adjust
6029
6030         * text.C (computeBidiTables): adjust
6031         (fill): adjust
6032
6033         * rowpainter.C (paintChars): adjust
6034         (paintSelection): adjust
6035         (paintChangeBar): adjust
6036         (paintText): adjust
6037
6038         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6039         lastPos instead.
6040         (numberOfSeparators): adjust
6041
6042 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6043
6044         * LyXAction.C:
6045         * box.[Ch]:
6046         * lfuns.h:
6047         * lyxfunc.C:
6048         * text3.C: Restricts the mouse click functionality
6049         of insets like bibtex, include, toc and floatlist to the visible
6050         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6051         up the dialogs. Cursor has to be in front of the inset (i.e.
6052         start of row) for this to function.
6053
6054 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6055
6056         * bufferview_funcs.C (currentState): output row information
6057
6058 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6059
6060         * bufferview_funcs.C (currentState): output paragraph position
6061
6062 2003-09-04  Angus Leeming  <leeming@lyx.org>
6063
6064         * FloatList.h: move out #include "Floating.h".
6065         * LaTeX.h: move out #include "DepTable.h".
6066         * LyXAction.h: move out #include "funcrequest.h".
6067         * buffer.h: move out #include "author.h", "iterators.h".
6068         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6069         * lyx_main.h: move out #include "errorlist.h".
6070         * lyxfunc.h: move out #include "FuncStatus.h".
6071         * lyxtext: move out #include "lyxcursor.h".
6072         * paragraph_pimpl.h: move out #include "counters.h".
6073
6074 2003-09-03  Angus Leeming  <leeming@lyx.org>
6075
6076         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6077         preamble_snippets list, enabling us to add snippets to the preamble
6078         only if the snippet was not there already.
6079
6080 2003-09-04  Angus Leeming  <leeming@lyx.org>
6081
6082         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6083
6084 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6085
6086         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6087         update
6088
6089 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6090
6091         * BranchList.C: point fix, earlier forgotten
6092
6093 2003-09-02  Angus Leeming  <leeming@lyx.org>
6094
6095         * box.C (contains): renamed from 'contained' after a fantastic
6096         amount of hot air.
6097
6098 2003-09-02  John Levon  <levon@movementarian.org>
6099
6100         * BufferView.C:
6101         * lyxcursor.h:
6102         * lyxcursor.C:
6103         * lyxfunc.C:
6104         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6105
6106 2003-09-02  John Levon  <levon@movementarian.org>
6107
6108         * text2.C: simplification of cursorEnd(), including partial
6109         fix for bug 1376
6110
6111 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6112
6113         * buffer.C (readFile): add a space
6114
6115 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6116
6117         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6118
6119 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6120
6121         * buffer.C (readFile): new function, take a filename and a
6122         ParagraphList::iterator
6123         (readFile): adjust
6124         (readFile): adjust, make it private. don't use setStream, make
6125         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6126         always contain the filename.
6127
6128         * BufferView.C (insertLyXFile): simplify and make it work for
6129         gzipped files.
6130
6131 2003-08-30  John Levon  <levon@movementarian.org>
6132
6133         * Makefile.am: fix dist (from Kayvan)
6134
6135 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6136
6137         * most files: change to use const Buffer refs
6138
6139 2003-08-27  André Pönitz  <poenitz@gmx.net>
6140
6141         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6142         on top of ownerPar().
6143
6144 2003-08-27  John Levon  <levon@movementarian.org>
6145
6146         * funcrequest.C: properly initialise POD members
6147
6148 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6149
6150         * lyxtext.h (top_y): move top_y from here
6151         * text.C:
6152         * text2.C:
6153         * text3.C:
6154         * BufferView.[Ch]:
6155         * BufferView_pimpl.[Ch]: to here
6156         * frontends/screen.C:
6157         * insets/insettabular.C:
6158         * insets/insettext.C: adjust
6159         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6160
6161 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6162
6163         * BufferView.[Ch]:
6164         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6165
6166 2003-08-26  André Pönitz  <poenitz@gmx.net>
6167
6168         * paragraph_func.[Ch] (outerPar): new function
6169
6170         * paragraph.C:
6171         * paragraph_funcs.C:
6172         * paragraph_funcs.h:
6173         * paragraph_pimpl.C:
6174         * text2.C: remove Inset::par_owner
6175
6176 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6177
6178         * lyxrow_funcs.C:
6179         * lyxtext.h:
6180         * text.C:
6181         * text2.C: eliminates the needFullRow/display() stuff
6182         altogether, putting the logic in metrics/draw in the insets.
6183
6184 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6185
6186         * text2.C (redoParagraphInternal, redoParagraphs):
6187         * text.C (redoParagraph): add a call to updateRowPositions at the
6188         end of each 'metrics-like' call. Remove all others.
6189         (getRow): remove the 'y-computing' version.
6190         (getRowNearY): do not compute nor return the real y. Solve the
6191         'y < 0' problem and simplify.
6192
6193 2003-08-22  Angus Leeming  <leeming@lyx.org>
6194
6195         * *.[Ch]: clean-up of licence and author blurbs.
6196         Also move config.h out of a few .h files and into a few .C files.
6197
6198 2003-08-22  André Pönitz  <poenitz@gmx.net>
6199
6200         * lyxrow.[Ch]: add x_ and *fill_ members
6201
6202         * lyxtext.h:
6203         * text.C:
6204         * rowpainter.C:
6205         * text2.C: adjust/remove prepareToPrint() calls
6206
6207 2003-08-22  André Pönitz  <poenitz@gmx.net>
6208
6209         * lyxrow.[Ch]: add  end_ member
6210
6211         * lyxrow_funcs.C: use LyXRow::end_
6212
6213         * lyxtext.h (singleWidth): add LyXFont parameter
6214
6215         * rowpainter.C:
6216         * text2.C: adjust LyXText::singleWidth() calls
6217
6218         * text.C (redoParagraph): simplify row breaking logic
6219
6220
6221 2003-08-19  André Pönitz  <poenitz@gmx.net>
6222
6223         * funcrequest.C: initialize button_ member
6224
6225         * text3.C:
6226         * rowpainter.[Ch]: interface consolidation
6227
6228 2003-08-18  André Pönitz  <poenitz@gmx.net>
6229
6230         * BufferView.C:
6231         * BufferView_pimpl.C:
6232         * lyxfind.C:
6233         * paragraph_funcs.C:
6234         * rowpainter.C:
6235         * text3.C: remove LyXScreen::draw() and fitCursor calls
6236
6237         * BranchList.h: remove spurious semicolons
6238
6239         * MenuBackend.C: fix branchlist related crash
6240
6241 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6242
6243         * BranchList.[Ch]:
6244         * InsetList.[Ch]:
6245         * LColor.[Ch]:
6246         * LyXAction.C:
6247         * Makefile.am:
6248         * MenuBackend.[Ch]:
6249         * bufferparams.[Ch]:
6250         * factory.C:
6251         * lfuns.h:
6252         * lyxfunc.C:
6253         * text3.C: implements the 'branch inset'
6254         idea. This allows the output of various versions of a document
6255         from a single source version, selectively outputing or suppressing
6256         output of parts of the text.
6257         This implementation contains a 'branch list editor' in a separate
6258         tab of the document settings dialog. Branches are user definable
6259         and have a "display colour" to distinguish them on-screen.
6260
6261         ColorHandler was somewhat cleaned up.
6262         (1) make possible a dynamically growing LColor list by allowing
6263         the graphic context cache to grow along (vector);
6264         (2) eliminate an IMHO unnecessary step in colour allocation.
6265
6266 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6267
6268         * BufferView_pimpl.C: compile fix
6269
6270 2003-08-15  André Pönitz  <poenitz@gmx.net>
6271
6272         * rowpainter.C: remove extra metrics calls
6273
6274         * lyxtext.h: merge the two constructors into a single one,
6275           pass reference to owner's par list
6276
6277         * BufferView_pimpl.C:
6278         * text.C:
6279         * text2.C: adjust
6280
6281 2003-08-15  André Pönitz  <poenitz@gmx.net>
6282
6283         * lyxrow_funcs.[Ch]:
6284         * lyxtext.h:
6285         * paragraph.h:
6286         * paragraph_funcs.C:
6287         * rowpainter.C:
6288         * text.C:
6289         * text2.C:
6290         * text3.C:
6291         * text_funcs.C: split LyXText::rowlist_ into individual
6292         Paragraph::rows_ chunks
6293
6294         * BufferView.[Ch]:
6295         * BufferView_pimpl.[Ch]:
6296         * lyxfind.C:
6297         * lyxtext.h:
6298         * text3.C: remove toggleSelection()
6299
6300 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6301
6302         * bufferlist.C: beautify two alerts (shorter text of buttons)
6303         * buffer.C: Remove redundant ' ' from message
6304         * tabular.h:
6305         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6306         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6307         rename VALIGN_CENTER to VALIGN_MIDDLE
6308
6309 2003-08-11  André Pönitz  <poenitz@gmx.net>
6310
6311         * lyxtext.h (getPar):
6312         * text.C: new function
6313
6314 2003-08-11  André Pönitz  <poenitz@gmx.net>
6315
6316         * Makefile.am:
6317         * tracer.[Ch]: remove unneeded files
6318
6319         * InsetList.[Ch]: remove resizeInsetsLyXText()
6320
6321         * lyxtext.h:
6322         * text.C:
6323         * text2.C:
6324         * text3.C: merge insertParagraphs() and appendParagraph()
6325         remove breakAgain(), update()
6326
6327         * BufferView_pimpl.[Ch]:
6328         * bufferview_funcs.[Ch]:
6329         * lyxfunc.C:
6330         * paragraph.[Ch]:
6331         * rowpainter.C:
6332         * tabular.C: adjust after text & InsetList changes.
6333
6334 2003-08-08  André Pönitz  <poenitz@gmx.net>
6335
6336         * text.C (insertChar, backspace): replace rowlist fiddling
6337         with rebreak of full par
6338
6339         * lyxtext.h:
6340         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6341         checkParagraph, updateInset): removed
6342
6343 2003-08-07  André Pönitz  <poenitz@gmx.net>
6344
6345         * paragraph.C:
6346         * text3.C: merge some LFUN handlers, remove dead code
6347
6348 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6349
6350         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6351
6352 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6353
6354         * text2.C (DEPM): fix part of bug 1255 and 1256
6355
6356 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6357
6358         * BufferView_pimpl.C (workAreaDispatch): change to use
6359         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6360         that are no mouse related.
6361
6362 2003-08-05  André Pönitz  <poenitz@gmx.net>
6363
6364         * BufferView.[Ch]:
6365         * BufferView_pimpl.[Ch]:
6366         * bufferview_funcs.C:
6367         * text2.C:
6368         * text3.C: rip out "deep update"
6369
6370         * textcursor.[Ch] (last_sel_cursor): remove unused member
6371
6372 2003-08-04  André Pönitz  <poenitz@gmx.net>
6373
6374         * BufferView.[Ch]:
6375         * BufferView_pimpl.[Ch]:
6376         * ParagraphParameters.C:
6377         * bufferview_funcs.C:
6378         * lyx_cb.C:
6379         * lyxfind.C:
6380         * lyxfunc.C:
6381         * text.C:
6382         * text2.C:
6383         * text3.C: replace "complicated" BufferView::update(...) calls with
6384         simpler ones.
6385
6386         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6387
6388 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6389
6390         * Makefile.am (lyx_SOURCES): add paper.h
6391
6392 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6393
6394         * Makefile.am: move things around so that both lyx-qt and
6395         lyx-xforms can be built (according to --with-frontend). Then lyx
6396         is a symbolic link to lyx-[firstfrontend]
6397
6398 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6399
6400         * Always use std::endl with lyxerr
6401
6402 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6403
6404         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6405
6406 2003-08-01  André Pönitz  <poenitz@gmx.net>
6407
6408         * BufferView.[Ch]:
6409         * BufferView_pimpl.[Ch]:
6410         * lyxfunc.C:
6411         * text3.C: merge BufferView::repaint() and BufferView::update()
6412
6413 2003-08-01  José Matos  <jamatos@lyx.org>
6414
6415         * buffer.[Ch]: file_format is no longer a buffer data element.
6416
6417 2003-08-01  André Pönitz  <poenitz@gmx.net>
6418
6419         * BufferView.C:
6420         * lyxtext.h:
6421         * text.C:
6422         * text2.C: make redoParagraph more independent of current cursor
6423
6424         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6425         * text.C:
6426         * text2.C: remove unneeded members
6427
6428 2003-07-30  André Pönitz  <poenitz@gmx.net>
6429
6430         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6431
6432         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6433           create a single function...
6434
6435         * paragraph_funcs.C (moveItem): ... here.
6436
6437         * text.C:
6438           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6439
6440 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6441
6442         * LColor.[Ch]: Add comment and greyedout logical colors.
6443
6444 2003-07-30  André Pönitz  <poenitz@gmx.net>
6445
6446         * tabular.C: don't use Assert too heavily. This crashes where it
6447           shouldn't
6448
6449 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6450
6451         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6452         is disabled (bug 1232)
6453
6454 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6455
6456         * factory.C: limited 'arg' scope
6457
6458 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6459
6460         * factory.C: fixed Note submenu issues
6461
6462 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6463
6464         * factory.C: submenu for Note/Comment/Greyedout
6465
6466 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6467
6468         * lyx_main.C (LyX):
6469         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6470
6471 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6472
6473         * LaTeXFeatures.C:
6474         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6475         greyedout. Patch provided by Jürgen Spitzmüller.
6476
6477 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6478
6479         * kbmap.C (read): fix error message when reading bind files
6480
6481 2003-07-29  Angus Leeming  <leeming@lyx.org>
6482
6483         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6484         certainly does not do what it purports to do. I am doing it, and
6485         us, a favour by killing it.
6486
6487 2003-07-28  José Matos  <jamatos@lyx.org>
6488
6489         * buffer.C (readBody, do_writeFile):
6490         * paragraph.C(readParagraph): \end_document replaces \the_end.
6491
6492 2003-07-29  André Pönitz  <poenitz@gmx.net>
6493
6494         * BufferView.[Ch]:
6495         * BufferView_pimpl.[Ch]:
6496         * lyxfunc.C:
6497         * text2.C:
6498         * text3.C:
6499         * textcursor.[Ch]: remove toggleToggle & Co
6500
6501 2003-07-28  José Matos  <jamatos@fep.up.pt>
6502
6503         * buffer.C (readParagraph):
6504         * params_func (readParToken, readParagraph):
6505         * paragraph.C (write): \layout -> \begin_layout.
6506
6507 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6508
6509         * lyxlex_pimpl.C (setFile): clean up slightly.
6510
6511         * bufferparams.h: add compressed var
6512
6513         * buffer_funcs.C (readFile): adjust for LyXLex change
6514         (newFile): ditto + simplify
6515
6516         * buffer.C (writeFile): handle writing of compressed files
6517
6518         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6519         Check if the file is compressed and set a bufferparm if so.
6520
6521         * Makefile.am (lyx_LDADD): remove explicit -lz
6522
6523 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6524
6525         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6526         makeDocBookFile): put the real LyX version in the first line of
6527         the file
6528
6529         * version.h:
6530         * version.C.in: remove lyx_docversion
6531
6532         * tabular.C (write_attribute): add a template-based version to
6533         write enums properly
6534
6535 2003-07-28  André Pönitz  <poenitz@gmx.net>
6536
6537         * lyxtext.h:
6538         * text.C:
6539         * text2.C:
6540         * text3.C: use doubles again for x-coordinates. They are needed.
6541
6542 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6543
6544         * messages.C (getLocaleDir): use lyx_localedir()
6545
6546         * lyxlex_pimpl.C (setFile): compress stuff
6547
6548         * buffer.C (writeFile): add some compression stuff
6549         (do_writeFile): new func, dont call expliti close... will this
6550         breake anything?
6551
6552         * Makefile.am (lyx_LDADD): add -lz
6553
6554 2003-07-28  José Matos  <jamatos@fep.up.pt>
6555
6556         * buffer.C: increment file format.
6557         * paragraph_funcs (readParagraph, readParToken):
6558         * paragraph.C (readParagraph): add \end_layout.
6559
6560 2003-07-27  Angus Leeming  <leeming@lyx.org>
6561
6562         * Makefile.am: remove special casing for configure-time setting of
6563         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6564
6565         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6566         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6567
6568 2003-07-26  André Pönitz  <poenitz@gmx.net>
6569
6570         * paragraph_func.[Ch]:
6571         * paragraph.C (realizeFont): inline it whereever it is used
6572
6573         * rowpainter.C:
6574         * text.C:
6575         * text2.C:
6576         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6577
6578
6579 2003-07-26  André Pönitz  <poenitz@gmx.net>
6580
6581         *       lyxtext.h:
6582         * text.C:
6583         * text2.C: get rid of LyXText::need_break_row
6584
6585 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6586
6587         * toc.[Ch]: put namespace toc inside namespace lyx
6588
6589         * MenuBackend.C (expandToc2): adjust for lyx::toc
6590         (expandToc): ditto
6591
6592         * lyxfunc.C (dispatch): adjust for lyx::find
6593
6594         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6595         lyx::find instead. Reorganize a bit.
6596         (LyXReplace): rename to replace
6597         (LyXFind): rename to find
6598
6599         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6600         (dispatch): ditto
6601
6602 2003-07-26  André Pönitz  <poenitz@gmx.net>
6603
6604         * text.C (setHeightOfRow): restrict scope of temporary variable
6605
6606         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6607           code (never has been used?)
6608
6609 2003-07-27  Asger Alstrup  <alstrup@local>
6610
6611         * text.C (fill): Optimise algorithm to exploit that we can reuse
6612         the LyXFont for many characters.
6613         (setHeightOfRow): Same thing.
6614         (rowBreakPoint): Same thing.
6615
6616 2003-07-26  Asger Alstrup  <alstrup@local>
6617
6618         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6619
6620         * text.C (singleWidth): Spurious font copying in hot-spot
6621         singleWidth avoided. Reorder tests for arabic for efficiency.
6622
6623         * text.C (fill): handle empty paragraphs better.
6624
6625 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6626
6627         * ispell.C:
6628         * encoding.h: add includes
6629
6630         * lyxrc.C: remove reading of bind files
6631
6632         * lyx_main.C (init): setup bindings and menus only if we have a
6633         gui.
6634
6635         * kbmap.C (read): new method. Do the actual reading of bind
6636         files.
6637
6638         * converter.C (dvipdfm_options):
6639         * bufferparams.C:
6640         * lyxrc.C (read):
6641         (output): adapt PAPER_* enums.
6642
6643         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6644
6645         * bufferparams.h: remove paper-related enums from there
6646
6647         * paper.h: New file. A trivial header file to hold paper-related
6648         enums. It should later expand to contain many paper-related
6649         horrors access.
6650
6651         * lyxrc.C: declare extern displayTranslator
6652
6653 2003-07-27  José Matos  <jamatos@fep.up.pt>
6654
6655         * tabular.[Ch] (linuxdoc): add support for tables and figures
6656         (linuxdoc).
6657
6658 2003-07-27  José Matos  <jamatos@fep.up.pt>
6659
6660         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6661         consistency in both functions.
6662         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6663
6664 2003-07-26  Asger Alstrup  <alstrup@local>
6665
6666         * rowpainter.C (paintRows): Change algorithm to work directly on
6667         the insets rather than asking every character in the document
6668         whether its an inset.
6669
6670 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6671
6672         * buffer.C (openFileWrite): factorize some code
6673
6674 2003-07-26  Angus Leeming  <leeming@lyx.org>
6675
6676         * lyx_cb.C:
6677         * lyx_main.[Ch]: replace occurances of system_tempdir with
6678         os::getTmpDir().
6679
6680 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6681
6682         * rename Inset to InsetOld
6683
6684 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6685
6686         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6687         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6688         which I think is a bit clearer. EDIT is gone, since it was
6689         premature optimisation, and broken for mathed anyway.
6690         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6691         with cursor positioning in insets as well (math insets still do not
6692         work, but that's a different story anyway.) It mysteriously
6693         crashes sometimes with undo in the first paragraph, but I'm fairly
6694         confident that this is a compiler bug.
6695
6696 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6697
6698         * paragraph.C (Paragraph): adjust for new clone return type
6699         (operator==): ditto
6700         (copyIntoMinibuffer): ditto
6701
6702 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6703
6704         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6705         by not having a special case, and always doing a full rebreak of
6706         the document after undo.
6707
6708 2003-07-23  Angus Leeming  <leeming@lyx.org>
6709
6710         * factory.C (createInset): InsetExternal::setParams now takes a
6711         Buffer const * arg.
6712
6713 2003-07-23  Angus Leeming  <leeming@lyx.org>
6714
6715         * factory.C (createInset): changed interface to the external and
6716         graphics mailers' string2params functions.
6717
6718 2003-07-23  Angus Leeming  <leeming@lyx.org>
6719
6720         * factory.C (createInset): pass a
6721         Buffer const * parameter to InsetExternalMailer's string2params.
6722
6723 2003-07-22  John Levon  <levon@movementarian.org>
6724
6725         * Thesaurus.h: include the right aiksaurus header
6726
6727 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6728
6729         * MenuBackend.C (expand): check menu shortcuts unconditionally
6730
6731 2003-07-21  Angus Leeming  <leeming@lyx.org>
6732
6733         * factory.C (createInset): pass a
6734         buffer_path parameter to InsetGraphicsMailer's string2params.
6735
6736 2003-07-21  Angus Leeming  <leeming@lyx.org>
6737
6738         * BufferView_pimpl.C (buffer):
6739         * buffer.C (d-tor):
6740         * lyx_main.C (LyX):
6741         * lyxfunc.C (dispatch):
6742         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6743         rather than the grfx shortcut.
6744
6745 2003-07-21  André Pönitz  <poenitz@gmx.net>
6746
6747         * rowpainter.C: remove unused variables
6748
6749         * tabular_funcs.C:
6750         * tabular_funcs.h: move to tabular.C
6751         * Makefile.am: adjust
6752
6753         * tabular.[Ch]: basic optical cleaning
6754
6755         * author.h: pass references, not values
6756
6757 2003-07-18  André Pönitz  <poenitz@gmx.net>
6758
6759         * lyxtext.h:
6760         * metricsinfo.C:
6761         * metricsinfo.h:
6762         * rowpainter.C:
6763         * text.C:
6764         * text2.C:
6765         * text3.C: two-phase drawing for InsetText and InsetTabular
6766         some float -> int changes.
6767
6768 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6769
6770         * lyx_main.C: fix the fix
6771
6772 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6773
6774         * lyx_main.C: fix a crash in batch mode if no files specified
6775         * converter.C: ws
6776
6777 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6778
6779         * format.[Ch] (papersize): moved to BufferParams
6780         * converter.[Ch] (dvips_options): moved to BufferParams
6781         (dvipdfm_options): moved to anon namespace
6782         * bufferparams.[Ch]: added above functions.
6783
6784 2003-07-17  André Pönitz  <poenitz@gmx.net>
6785
6786         * lyxtext.h:
6787         * rowpainter.C:
6788         * text2.C: don't call inset->update() anymore
6789
6790         * metricsinfo.[Ch]: add convenience constructor
6791
6792 2003-07-16  André Pönitz  <poenitz@gmx.net>
6793
6794         * lyxcursor.[Ch]:
6795         * lyxfunc.[Ch]:
6796         * text.C:
6797         * text2.C: replace the LyXCursor::irow_ member with
6798          on-demand computation of the value
6799
6800 2003-07-16  John Levon  <levon@movementarian.org>
6801
6802         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6803
6804 2003-07-15  André Pönitz  <poenitz@gmx.net>
6805
6806         * text.C:
6807         * text2.C: remove no more needed refresh_row
6808
6809 2003-07-15  André Pönitz  <poenitz@gmx.net>
6810
6811         * lyxtext.h:
6812         * rowpainter.C:
6813         * text2.C:
6814         * text3.C: refresh_status tristate -> need_update bool
6815
6816 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6817
6818         * lyxtext.h (init): remove reinit argument (act as if always true)
6819         * text2.C: adjust to that
6820
6821 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6822
6823         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6824         * text3.C: use it to delete selections in some cases
6825         (bugs 441, 673, 702, 954).
6826
6827 2003-07-14  André Pönitz  <poenitz@gmx.net>
6828
6829         * rowpainter.[Ch]: reduce interface
6830
6831 2003-07-14  André Pönitz  <poenitz@gmx.net>
6832
6833         * BufferView_pimpl.C:
6834         * text2.C: adjust after removing unused BufferView * argument
6835
6836 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6837
6838         * text2.C (init): fix a crash fired on resize
6839
6840 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6841
6842         * buffer.[Ch]: added new closing signal
6843         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6844         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6845         BufferView::Pimpl via the closing the signal
6846
6847 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6848
6849         * buffer.[Ch]: take out all bv-related from buffer
6850         * BufferView.C:
6851         * BufferView_pimpl.[Ch]: connect to new signals
6852         * CutAndPaste.C: removed useless asserts
6853         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6854         * lyxvc.[Ch]:
6855         * vc-backend.[Ch]:
6856         * lyxfunc.C: moved view-related funciontality from vc here
6857         * paragraph.C: removed outdated comments
6858         * text.C: ws
6859
6860 2003-07-10  André Pönitz  <poenitz@gmx.net>
6861
6862         * BufferView_pimpl.C:
6863         * tabular.h:
6864         * tabular_funcs.C:
6865         * text.C:
6866         * text2.C: remove InsetText::InnerCache, clean up consequences
6867
6868 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6869
6870         * ispell.C: fix two typos in error messages
6871
6872 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6873
6874         * Extend Note inset to other forms of annotation like Comment
6875         and Greyedout. Right button click gives dialog.
6876
6877         Files modified or added (+):
6878
6879         * insetnote.[Ch]
6880         * FormNote.[Ch]      +
6881         * ControlNote.[Ch]   +
6882         * form_note.fd       +
6883         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6884         frontends/controllers
6885         * xforms/Dialogs.C
6886         * factory.C
6887
6888 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6889
6890         * aspell.C: add missing namespace lyx::support
6891
6892 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6893
6894         * BufferView.[Ch] (newFile): Add
6895         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6896         * LaTeX.[Ch] (message): added this signal and use it
6897         * buffer.[Ch] (busy, message): added these signals and use them
6898         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6899         * converter.C:
6900         * exporter.C:
6901         * format.C:
6902         * importer.C: use buffer signals instead of direct bv calling
6903         * lyx_cb.[Ch] (ShowMessage): removed
6904         * lyx_main.C:
6905         * lyxfunc.C:
6906         * paragraph_funcs.C:
6907         * text2.C: use buffer signals
6908
6909 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6910
6911         * introduce namespace lyx::graphics
6912
6913 2003-07-02  André Pönitz  <poenitz@gmx.net>
6914
6915         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6916
6917 2003-07-01  André Pönitz  <poenitz@gmx.net>
6918
6919         * text.C:
6920         * text2.C:
6921         * text3.C:
6922         * text_funcs.[Ch]:
6923         * textcursor.h:
6924         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6925           text*.C to text_func.C
6926
6927 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6928
6929         * introduce namespace lyx::support
6930
6931 2003-06-30  André Pönitz  <poenitz@gmx.net>
6932
6933         * Chktex.C:
6934         * funcrequest.C:
6935         * lyxtext.h:
6936         * text.C: re-enable --with-included-string
6937
6938 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6939
6940         * textcursor.C: add <config.h>
6941
6942         * text.C (getWord): remove const from word_location arg
6943
6944         * lyxvc.C (getLogFile): fix const type order
6945
6946         * lyxtext.h: remove const from word_location arg, add arg name
6947
6948         * lyxlayout.h: currect type on labeltype.
6949
6950         * importer.C: correct \file
6951
6952         * converter.C (intToFormat): use std:: on ret val, ws changes
6953
6954         * bufferlist.h: correct \file
6955
6956         * buffer.C (makeLinuxDocFile): fix const type order
6957         (makeDocBookFile): ditto
6958         (fillWithBibKeys): use std:: on stdlib args.
6959
6960         * CutAndPaste.C: fix authors.
6961         (availableSelections): use std:: on return vector
6962
6963 2003-06-27  André Pönitz  <poenitz@gmx.net>
6964
6965         * BufferView_pimpl.C:
6966         * bufferview_funcs.C:
6967         * lyxcursor.C:
6968         * lyxcursor.h:
6969         * lyxfunc.C:
6970         * lyxtext.h:
6971         * rowpainter.C:
6972         * text.C:
6973         * text2.C:
6974         * text3.C: remove LyXCursor::row_ member
6975
6976         * lyxtext.h:
6977         * text.C: rename fullRebreak() to partialRebreak() and implement
6978           a fullRebreak() that really bereks fully
6979
6980         * textcursor.h: new struct for cursor-related data
6981
6982 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6983
6984         * lyx_main.C (LyX): get full path of document loaded on the
6985         command line
6986
6987 2003-06-26  André Pönitz  <poenitz@gmx.net>
6988
6989         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6990           remove unused/broken operator>,<,>=.
6991
6992         *       text.C: remove only use of broken operator<= in an Assert().
6993
6994 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6995
6996         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6997         moved errorlist_.clear to showErrorList
6998
6999 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7000
7001         * converter.C (scanLog, runLaTeX):
7002         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7003         move the bv->showErrorList call to the callers
7004         * lyxfunc.C: i.e. here...
7005         * text2.C: and here
7006         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7007         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7008         namespace, the second to...
7009         * buffer_funcs (BufferFormat, parseErrors): added
7010         * errorlist.C (ErrorList(TeXErrors const &)): removed
7011
7012 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7013
7014         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7015
7016 2003-06-24  "Garst R. Reese" <reese@isn.net>
7017
7018         * debug.C: fix typo
7019
7020 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7021
7022         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7023
7024         * version.C.in: change docversion to 1.4
7025
7026 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7027
7028         * buffer.C: fix a bug just introduced
7029
7030 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7031
7032         * buffer.[Ch]: added the parseError signal and use it, removed
7033         sgmlError
7034         * BufferView.[Ch] (addError): moved to ...
7035         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7036         to the Buffer::parseError signal to catch (guess what) parse errors
7037         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7038
7039 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7040
7041         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7042         ability to create a buffer and to return an existing one from
7043         the list. Moved these functions to...
7044         * buffer_funcs.[Ch]: added
7045         * BufferView.[Ch] (loadLyXFile): added
7046         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7047         job removed from bufferlist::loadLyXFile.
7048         * buffer.C (setReadOnly): make it work without view
7049         (i.e added an if (users))
7050
7051 2003-06-19  Angus Leeming  <leeming@lyx.org>
7052
7053         * lfuns.h:
7054         * LyXAction.C (init):
7055         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7056         with LFUN_DIALOG_SHOW <name> <data>.
7057
7058 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7059
7060         * CutAndPaste.C (availableSelections): small compilation fix for
7061         ancient (gcc 2.9x) compilers
7062
7063 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7064
7065         * text3.C (cursorNext): add tmp var
7066
7067         * text2.C (updateCounters): for function calling out of for clause
7068         (replaceSelectionWithString): ditto
7069         (insertStringAsParagraphs): ditto
7070         (getColumnNearX): add tmp var
7071         (setCursorFromCoordinates): add tmp var
7072         (cursorDownParagraph): add tmp var
7073         (deleteEmptyParagraphMechanism): add tmp var
7074
7075         * text.C (insertChar): add tmp var
7076
7077         * rowpainter.C (paintDepthBar): add tmp var
7078
7079         * CutAndPaste.C (availableSelections): potentially check all
7080         paragraphs in a cut to fill the shown strings.
7081
7082 2003-06-18  André Pönitz  <poenitz@gmx.net>
7083
7084         * kbmap.[Ch]: use vector<> instead of list<>
7085
7086 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7087
7088         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7089         pasteSelection with index
7090
7091         * text2.C (pasteSelection): modify, call pasteSelection with index
7092
7093         * paragraph.C (asString): reimplement version with no interval to
7094         call the one with interval.
7095
7096         * lyxtext.h: add index arg to pasteSelection
7097
7098         * MenuBackend.C (MenuItem): handle PasteRecent
7099         (Menu::read::Menutags): add md_pasterecent
7100         (read): handle it
7101         (expandPasteRecent): new function
7102         (expand): use it
7103
7104         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7105
7106         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7107         the limited stack
7108         (availableSelections): new function
7109
7110 2003-06-17  Angus Leeming  <leeming@lyx.org>
7111
7112         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7113
7114 2003-06-17  Angus Leeming  <leeming@lyx.org>
7115
7116         * lfuns.h:
7117         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7118
7119         * lyxfunc.C (dispatch): invoke it.
7120
7121 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7122
7123         * iterators.C (operator++, ParPosition): reintroduce some
7124         const_cast for the benefit of older compilers.
7125
7126 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7127
7128         * text3.C (dispatch): do not modify clipboard when doing
7129         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7130         LFUN_DELETE_SKIP on a selection selection
7131
7132 2003-06-16  André Pönitz  <poenitz@gmx.net>
7133
7134         * BufferView.C:
7135         * buffer.C:
7136         * buffer.h:
7137         * paragraph.C:
7138         * tabular.[Ch]: IU of clone() and getLabelList();
7139
7140 2003-06-13  André Pönitz  <poenitz@gmx.net>
7141
7142         * tabular.h: compactification
7143
7144 2003-06-12  André Pönitz  <poenitz@gmx.net>
7145
7146         * tabular.C:
7147         * tabular.h:
7148         * tabular_funcs.h: some renaming plus whitespace
7149
7150 2003-06-12  André Pönitz  <poenitz@gmx.net>
7151
7152         * BufferView.C:
7153         * BufferView_pimpl.C:
7154         * CutAndPaste.C:
7155         * buffer.C:
7156         * iterators.[Ch]:
7157         * lyxfunc.C:
7158         * text.C:
7159         * toc.C: Return a Paragraph & for ParIterator::operator*()
7160
7161 2003-06-11  John Levon  <levon@movementarian.org>
7162
7163         * lyx_main.C:
7164         * ToolbarBackend.h:
7165         * ToolbarBackend.C: add "Toolbars" section and
7166         put the flags there
7167
7168 2003-06-10  Angus Leeming  <leeming@lyx.org>
7169
7170         * lfuns.h:
7171         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7172
7173         * lyxfunc.C (dispatch): invoke it.
7174
7175 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7176
7177         * main.C: protect <ios> with HAVE_IOS
7178         (main): protect sync_with_stdio with HAVE_IOS
7179
7180 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7181
7182         * text2.C (cutSelection): adjust
7183         (pasteSelection): adjust
7184
7185         * messages.C: handle get of empty string
7186
7187         * main.C (main): use sync_with_stdio(false)
7188
7189         * lyxfunc.C (dispatch): adjust
7190
7191         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7192         (WriteAs): remove unneeded BufferView arg.
7193
7194         * bufferparams.h: use correct types on papersize, papersize2 and
7195         paperpackage.
7196
7197         * bufferparams.C (readToken): adjust for type
7198         (writeLaTeX): add missing cases to switch.
7199
7200         * bufferlist.C (quitWriteBuffer): adjust
7201         (close): adjust
7202
7203         * buffer.C (asciiParagraph): remove some commented code.
7204
7205         * CutAndPaste.C: remove current_view extern variable.
7206         (cutSelection): add BufferParams arg.
7207         (eraseSelection): add BufferParams arg.
7208         (pasteSelection): add Buffer const & arg
7209
7210 2003-06-07  John Levon  <levon@movementarian.org>
7211
7212         * buffer.C:
7213         * paragraph_funcs.C:
7214         * paragraph_pimpl.C:
7215         * text.C:
7216         * text2.C:
7217         * paragraph.h:
7218         * paragraph.C: allow InsetERT to freely space lines,
7219         and some consolidation of code
7220
7221 2003-06-06  José Matos  <jamatos@fep.up.pt>
7222
7223         * buffer.C (makeDocBookFile): fix bug #821
7224
7225 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7226
7227         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7228
7229 2003-06-04  Angus Leeming  <leeming@lyx.org>
7230
7231         * buffer.C: bump format to 224.
7232
7233 2003-06-05  André Pönitz  <poenitz@gmx.net>
7234
7235         * text2.C (redoParagraphs): remove two const_cast<>
7236
7237 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7238
7239         * ParagraphList.h: remove last remnants of NO_STD_LIST
7240
7241 2003-06-03  Angus Leeming  <leeming@lyx.org>
7242
7243         * factory.C (createInset): small change to the way InsetExternal's params
7244         are set.
7245
7246 2003-06-04  André Pönitz  <poenitz@gmx.net>
7247
7248         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7249
7250         * paragraph_pimpl.h:
7251         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7252
7253         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7254
7255         * undo_funcs.C: make some simple cases of undo work again
7256
7257 2003-06-03  John Levon  <levon@movementarian.org>
7258
7259         * ispell.C: HPUX doesn't have sys/select.h
7260         (from Albert Chin)
7261
7262 2003-06-03  John Levon  <levon@movementarian.org>
7263
7264         * CutAndPaste.C: update tabular and include inset
7265         buffer references
7266
7267         * buffer.h:
7268         * paragraph.h:
7269         * paragraph.C: remove owningBuffer(), don't pass Buffer
7270         to clone()
7271
7272         * factory.C: insetGraphicsParams changed
7273
7274 2003-06-02  John Levon  <levon@movementarian.org>
7275
7276         * LyXAction.C:
7277         * factory.C:
7278         * lfuns.h:
7279         * lyxfunc.C:
7280         * text3.C: remove insetparent
7281
7282 2003-06-02  John Levon  <levon@movementarian.org>
7283
7284         * buffer.h:
7285         * buffer.C: fix inset_iterator.end(), move out of line
7286         (bug 1149)
7287
7288 2003-06-01  John Levon  <levon@movementarian.org>
7289
7290         * text3.C: use a proper cut/paste when doing inset
7291         insert (from Jürgen Spitzmüller)
7292
7293 2003-06-01  John Levon  <levon@movementarian.org>
7294
7295         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7296
7297 2003-05-30  André Pönitz  <poenitz@gmx.net>
7298
7299         * rowpainter.C: unify second drawing phase
7300
7301 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7302
7303         * trans_mgr.C: remove one case of current_view
7304
7305         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7306
7307         * paragraph_funcs.h: remove paragraph.h include
7308
7309         * paragraph.h: delete NO_STD_LIST stuff
7310
7311         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7312
7313         * buffer.h: remove paragraph.h include
7314
7315         * ParagraphList.C: delete file
7316
7317         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7318
7319         * toc.C (getTocList): adjust
7320
7321         * paragraph_pimpl.C (validate): adjust
7322
7323         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7324
7325         * paragraph.C (Paragraph): adjust
7326         (getPositionOfInset): use const_iterator, adjust
7327         (bibitem): use const_iterator, adjust
7328         (setInsetOwner): adjust
7329
7330         * iterators.C (operator++): adjust
7331
7332         * InsetList.[Ch]: Replace selfmade iterator with standard
7333         vector::iterator also introduce const_iterator. Remove getPos,
7334         getInset and setInset from InsetTable. Adjust accordingly.
7335
7336         * BufferView.C (lockInset): adjust
7337         (ChangeInsets): adjust
7338
7339         * tabular.[Ch]: delete commented same_id functions
7340
7341 2003-05-28  John Levon  <levon@movementarian.org>
7342
7343         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7344
7345 2003-05-28  André Pönitz  <poenitz@gmx.net>
7346
7347         * metricsinfo.[Ch]: remove 'fullredraw' member
7348
7349 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7350
7351         * lyxtextclass.C (operator): remove caching.
7352
7353 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7354
7355         * text3.C: adjust
7356
7357         * text2.C (cursorBottom): adjust
7358         (setCounter): use ParagraphList::find, adjust
7359
7360         * text.C (workWidth): use ParagraphList::find, adjust
7361
7362         * lyxcursor.C (LyXCursor): adjust
7363
7364         * buffer.C (inset_iterator): adjust
7365
7366         * ParagraphList.h: make iterator(value_type) private, make
7367         ParagraphList a friend of iterator.
7368
7369         * ParagraphList.C (find): new function
7370
7371         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7372
7373 2003-05-27  André Pönitz  <poenitz@gmx.net>
7374
7375         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7376
7377 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7378
7379         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7380
7381 2003-05-26  John Levon  <levon@movementarian.org>
7382
7383         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7384
7385 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7386
7387         * remove same_id from function signatures, adjust.
7388
7389 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7390
7391         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7392
7393         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7394
7395         * paragraph.C (Paragraph): get rid of same_ids parameter
7396
7397         * ParagraphList.C (insert): adjust
7398         (push_back): adjust
7399
7400 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7401
7402         * paragraph_funcs.C (breakParagraph): adjust
7403         (breakParagraphConservative): adjust
7404
7405         * buffer.C (readParagraph): adjust
7406
7407         * ParagraphList.C (insert): take a reference instead of a pointer
7408         (insert): adjust
7409
7410         * paragraph.[Ch] (id): new function
7411
7412         * bufferlist.C (newFile): adjust
7413
7414         * ParagraphList.C (ParagraphList): adjust
7415         (assign): adjust
7416         (push_back): take a reference instead of a pointer.
7417
7418         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7419
7420         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7421         instead.
7422
7423         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7424         set else use old code.
7425
7426         * ParagraphList.C: remove all NO_NEXT code and only compile this
7427         code of NO_STD_LIST is set.
7428
7429 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7430
7431         * BufferView_pimpl.C:
7432         * TextCache.C:
7433         * TextCache.h:
7434         * bufferlist.C:
7435         * errorlist.h:
7436         * format.C:
7437         * format.h:
7438         * graph.C:
7439         * lyxfunc.C:
7440         * lyxrc.C:
7441         * graphics/GraphicsConverter.C:
7442         * graphics/PreviewLoader.C: header adjustment
7443
7444 2003-05-23  Angus Leeming  <leeming@lyx.org>
7445
7446         * LaTeXFeatures.[Ch] (useBabel): new method.
7447         * bufferparams.C (writeLaTeX): use it.
7448
7449 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7450
7451         * ParagraphList.h (set): remove unused function.
7452
7453 2003-05-23  André Pönitz  <poenitz@gmx.net>
7454
7455         * BufferView.C:
7456         * BufferView_pimpl.C:
7457         * buffer.C:
7458         * buffer.h:
7459         * lyxfunc.C:
7460         * undo_funcs.C: setUndo reworked
7461
7462         * iterators.[Ch]: add access to topmost ParagraphList
7463
7464         * lyxtext.[Ch] (workWidth): add a const
7465
7466 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7467
7468         * texrow.[Ch] (increasePos): remove function
7469         * exporter.C (export): removed unused var and outdated comment
7470
7471 2003-05-23  Angus Leeming  <leeming@lyx.org>
7472
7473         * latexrunparams.h: rename fragile as moving_arg.
7474         * paragraph.C (simpleTeXOnePar): ditto.
7475         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7476
7477 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7478
7479         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7480         (createUndo): ditto
7481         (textUndoOrRedo): comment out a currently unused var.
7482
7483         * paragraph.h (NO_NEXT): enable NO_NEXT
7484
7485         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7486
7487         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7488
7489         * exporter.C (Export): adjust for removeAutoInsets removal.
7490
7491         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7492
7493         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7494
7495         * BufferView.[Ch] (removeAutoInsets): delete function
7496
7497 2003-05-22  Angus Leeming  <leeming@lyx.org>
7498
7499         * latexrunparams.h: add a free_spacing variable.
7500
7501         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7502         to pass moving_arg, as the data is stored in runparams.fragile.
7503
7504         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7505         to Inset::latexOptional or to simpleTeXOnePar.
7506
7507         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7508         free_spacing arg to Inset::latexOptional.
7509
7510         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7511         free_spacing arg.
7512
7513 2003-05-22  Angus Leeming  <leeming@lyx.org>
7514
7515         * latexrunparams.h: add fragile and use_babel variables.
7516
7517         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7518         * buffer.C (makeLaTeXFile): store this returned value in
7519         runparams.use_babel, thus passing it to the inset::latex methods.
7520
7521         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7522         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7523
7524         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7525         longer has a fragile arg, as it is stored in runparams.fragile.
7526
7527         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7528         moving_arg parameter as the data is stored in runparams.fragile.
7529
7530         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7531         a fragile parameter as the data is stored in runparams.fragile.
7532
7533 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7534
7535         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7536
7537 2003-05-22  Angus Leeming  <leeming@lyx.org>
7538
7539         * latexrunparams.h: add a 'bool nice' which defaults to false.
7540
7541         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7542         now encapsulated within runparams.
7543
7544         * bufferlist.C (updateIncludedTeXfiles):
7545         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7546
7547 2003-05-22  Angus Leeming  <leeming@lyx.org>
7548
7549         * latexrunparams.h: new file containing struct LatexRunParams.
7550         * Makefile.am: add new file.
7551
7552         * LaTeX.[Ch] (c-tor, run):
7553         * buffer.[Ch] (makeLaTeXFile):
7554         * bufferlist.[Ch] (updateIncludedTeXfiles):
7555         * converter.C (convert, scanLog):
7556         * converter.[Ch] (runLaTeX):
7557         * exporter.C (Export):
7558         * paragraph.[Ch] (simpleTeXOnePar):
7559         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7560         * paragraph_funcs.[Ch] (latexParagraphs):
7561         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7562         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7563         pass around a LatexRunParams parameter.
7564
7565 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7566
7567         * paragraph.[Ch]: remove unused constructor
7568
7569         * ParagraphList.C (erase): new function, taking two iterators
7570
7571 2003-05-22  André Pönitz  <poenitz@gmx.net>
7572
7573         * undo_funcs.C: remove duplicated code
7574
7575         * iterator.[Ch]: operator=
7576
7577 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7578
7579         * tabular.C (SetMultiColumn): ws changes
7580
7581         * rowpainter.C (paintFirst): get rid of a ->previous
7582
7583         * lyx_cb.C (getPossibleLabel): parlist simplification
7584
7585         * BufferView.C (ChangeInsets): simplify slightly.
7586
7587 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7588
7589         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7590         * lfuns.h: new LFUN_SPACE
7591         * lyxfunc.C: protected space has a new lfun
7592         * paragraph_funcs.C: read new space insets
7593         * text3.C:
7594         * factory.C: handle new space insets
7595
7596 2003-05-22  André Pönitz  <poenitz@gmx.net>
7597
7598         * BufferView.C:
7599         * BufferView_pimpl.C:
7600         * buffer.[Ch]:
7601         * lyxfunc.C:
7602         * undo_funcs.C: return a ParIterator from getParFromID.
7603
7604         * iterators.[Ch]: add two const's
7605
7606 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7607
7608         * toc.C (getTocList): adjust
7609
7610         * iterators.[Ch]: rework for parlist
7611
7612         * buffer.C (par_iterator_begin): adjust
7613         (par_iterator_end): adjust
7614
7615         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7616
7617         * BufferView.C (removeAutoInsets): adjust
7618         (ChangeInsets): adjust
7619
7620 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7621
7622         * text.C (top_y): fix bug 1110
7623
7624 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7625
7626         * errorlist.[Ch]: added
7627         * buffer.C:
7628         * BufferView.[Ch]:
7629         * BufferView_pimpl.C:
7630         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7631         instead
7632
7633 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7634
7635         * Makefile.am: ensure that lyx is relinked upon changes to the
7636         various "convenience" libs.
7637
7638 2003-05-20  Angus Leeming  <leeming@lyx.org>
7639
7640         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7641         files are compiled in alphabetical order again.
7642
7643         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7644
7645 2003-05-19  Angus Leeming  <leeming@lyx.org>
7646
7647         * gettext.[Ch]: remove "char const * _(char const *)".
7648
7649 2003-05-19  André Pönitz  <poenitz@gmx.net>
7650
7651         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7652
7653         * Makefile.am:
7654         * BufferView.C:
7655         * DepTable.h:
7656         * LaTeXFeatures.C:
7657         * buffer.C:
7658         * lyxfont.C:
7659         * lyxlex.h:
7660         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7661
7662 2003-05-19  André Pönitz  <poenitz@gmx.net>
7663
7664         * buffer.C:
7665         * lyxlayout.[Ch]:
7666         * lyxtextclass.[Ch]:
7667         * paragraph.C:
7668         * paragraph_funcs.[Ch]:
7669         * text2.C:
7670         * text3.C: more insetenv work
7671
7672 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7673
7674         * ParagraphParameters.C (params2string): small bug fixed
7675
7676 2003-05-16  André Pönitz  <poenitz@gmx.net>
7677
7678         * debug.C:
7679         * bufferview_funcs.C: patch from Kornel Benko to prevent
7680           crash when _(...) is called twice in a statement
7681
7682 2003-05-16  André Pönitz  <poenitz@gmx.net>
7683
7684         * BufferView.C:
7685         * lyxfunc.C:
7686         * text.C:
7687         * text2.C:
7688         * text3.C:
7689         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7690
7691 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7692
7693         * lyx_main.C (init): remove spurious static_cast
7694
7695 2003-05-14  André Pönitz  <poenitz@gmx.net>
7696
7697         * BufferView.C: fix format string
7698
7699 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7700
7701         * BufferView.[Ch] (insertErrors): removed
7702         * BufferView.[Ch] (showErrorList): added
7703         * buffer.C (runChkTeX):
7704         * converter.C (scanLog): call showErrorList instead of inserterrors
7705
7706 2003-05-13  André Pönitz  <poenitz@gmx.net>
7707
7708         * BufferView_pimpl.C:
7709         * buffer.C:
7710         * bufferview_func.C:
7711         * MenuBackend.C:
7712         * lyxfunc.C:
7713         * lyxrc.C:
7714         * tex-accent.C:
7715         * text3.C:
7716         * toc.C:
7717         * tabular_funcs.h: tostr() from its own header
7718
7719         * ParagraphParameters.C:
7720         * ToolbarBackend.C:
7721         * bufferparams.C:
7722         * format.C:
7723         * lyxlex_pimpl.C:
7724         * text3.C: STRCONV()
7725
7726 2003-05-12  André Pönitz  <poenitz@gmx.net>
7727
7728         * BufferView.C:
7729         * BufferView_pimpl.C:
7730         * CutAndPaste.C:
7731         * LaTeX.C:
7732         * LaTeXFeatures.C:
7733         * ParagraphParameters.C:
7734         * buffer.C:
7735         * bufferlist.C:
7736         * bufferparams.C:
7737         * bufferview_funcs.C:
7738         * converter.C:
7739         * counters.C:
7740         * debug.C:
7741         * exporter.C:
7742         * format.C:
7743         * importer.C:
7744         * lyx_cb.C:
7745         * lyx_main.C:
7746         * lyxfont.C:
7747         * lyxfunc.C:
7748         * lyxvc.C:
7749         * paragraph.C:
7750         * paragraph_funcs.C:
7751         * tabular.C:
7752         * tabular_funcs.C:
7753         * text2.C:
7754         * text3.C:  boost::format -> bformat  all over the place
7755
7756
7757 2003-05-09  André Pönitz  <poenitz@gmx.net>
7758
7759         * LColor.[Ch]: Pimpl the #include <map> away
7760
7761 2003-05-09  John Levon  <levon@movementarian.org>
7762
7763         * bufferlist.C: never remove emergency saves
7764
7765 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7766
7767         * Makefile.am: better lib building
7768
7769 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7770
7771         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7772         instead.
7773         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7774         (simpleTeXSpecialChars): adjust
7775         (simpleTeXSpecialChars): adjust
7776         * paragraph.C (simpleTeXOnePar): adjust
7777         * buffer.C (makeLaTeXFile): adjust
7778
7779         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7780
7781         * text2.C (changeDepth): parlist cleanup
7782         (getColumnNearX): ditto
7783
7784         * rowpainter.C (getLabelFont): parlist cleanup
7785
7786         * bufferlist.C (newFile): parlist cleanup
7787
7788         * CutAndPaste.C (eraseSelection): parlist cleanup
7789
7790         * BufferView_pimpl.C (trackChanges): parlist cleanup
7791         (dispatch): ditto
7792
7793         * BufferView.C (lockInset): parlist cleanup.
7794         (ChangeInsets): ditto
7795
7796 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7797
7798         * CutAndPaste.h: Update file header.
7799
7800         * CutAndPaste.C: Update file header.
7801         Store the parts cut out of the Document in a limited_stack.
7802         (copySelection): adjust
7803         (pasteSelection): new function, takes the index in the limited stack.
7804         (nrOfParagraphs): adjust
7805         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7806         simplify error inset insertion.
7807         (checkPastePossible): adjust
7808
7809 2003-05-06  John Levon  <levon@movementarian.org>
7810
7811         * text2.C: don't cast wrap inset to float
7812
7813 2003-05-05  André Pönitz  <poenitz@gmx.net>
7814
7815         * iterator.C:
7816         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7817
7818         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7819           few naked Paragraph *.
7820
7821 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7822
7823         * bufferparams.C: Output warning if a document with missing
7824         TeX document class is loaded
7825         * exporter.C: Disable TeX exports if the document class is missing
7826         * lyxtextclass.C:
7827         * lyxtextclass.h:
7828         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7829         isTeXClassAvailable()
7830
7831 2003-05-03  John Levon  <levon@movementarian.org>
7832
7833         * BufferView.h:
7834         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7835         explicit cursor show/hide
7836
7837         * BufferView_pimpl.h:
7838         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7839         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7840
7841         * lyxfunc.C: hide cursor before dispatching.
7842
7843         * lyx_cb.C:
7844         * lyxfind.C:
7845         * text.C:
7846         * text3.C: remove explicit cursor hides
7847
7848 2003-05-02  André Pönitz  <poenitz@gmx.net>
7849
7850         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7851
7852         * undo_funcs.C:
7853         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7854           linked lists
7855
7856         * text2.C: tiny whitespace
7857
7858 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7859
7860         * undo_funcs.C: almost only ws changes.
7861
7862         * ParagraphList.C (splice): just return if pl is empty.
7863
7864 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7865
7866         * ParagraphList.C (splice): new function.
7867
7868         * CutAndPaste.C (pasteSelection): use it
7869
7870 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7871
7872         * CutAndPaste.C (pasteSelection): remove the last next and
7873         previous from this file.
7874
7875 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7876
7877         * CutAndPaste.C (pasteSelection): more clean up, user proper
7878         ParagraphList functions for pasteing.
7879
7880         * ParagraphList.C (insert): new function, three arg insert
7881
7882 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7883
7884         * ParagraphList.C (insert): new function, three arg insert
7885
7886         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7887         not on paragraphs.
7888
7889 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7890
7891         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7892
7893 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7894
7895         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7896
7897 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7898
7899         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7900         (copySelection): clean up a bit.
7901         (pasteSelection): use make_pair
7902
7903         * ParagraphList.C (ParagraphList): implement copy constructor
7904         (operator=): implement, base on copy constructor.
7905         (assign): new func
7906
7907         * paragraph.C (erase): return a bool
7908
7909         * paragraph_pimpl.C (erasePos): remove function, move contents...
7910         (erase): ... here. Return a bool.
7911         (erase): call erase instead of erasePos.
7912
7913 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7914
7915         * ParagraphList.h: define PitPosPair
7916         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7917         ParagraphList, fix a bug on pasting multiple pars
7918         * text2.C: change interface to C&P
7919
7920 2003-04-30  André Pönitz  <poenitz@gmx.net>
7921
7922         * undo_func.C: revert part of yesterday's patch 2
7923
7924 2003-04-30  John Levon  <levon@movementarian.org>
7925
7926         * LColor.C: s/tabular/table/
7927
7928 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7929
7930         * text3.C (dispatch): do not convert iterator -> pointer
7931         * undo_funcs.C (setCursorParUndo): ditto
7932         * text_funcs.C (transposeChars): ditto
7933
7934         * text2.C (setLayout): ws changes only
7935
7936         * text.C (breakParagraph): do not convert iterator -> pointer
7937         (insertChar): ditto
7938         (acceptChange): ditto
7939         (rejectChange): ditto
7940         (changeCase): ditto
7941         (Delete): ditto
7942         (backspace): ditto
7943
7944         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7945         pointer
7946
7947 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7948
7949         * text3.C (gotoInset): YABG (yet another bad getChar)
7950
7951 2003-04-29  André Pönitz  <poenitz@gmx.net>
7952
7953         * paragraph.h: make operator= private unimplemented as long as
7954           it is unusable
7955
7956         * ParagraphList.C: whitespace
7957
7958         * paragraph.[Ch]:
7959         * paragraph_pimpl.[Ch]:
7960         * paragraph_funcs.C:
7961         * CutAndPaste.C:
7962         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7963
7964         * text2.C:
7965           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7966
7967 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7968
7969         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7970         * paragraph.[Ch] (erase):
7971         * paragraph_pimpl.[Ch] (erase): change return type and value
7972         * text2.C (cutSelection): some rework
7973
7974 2003-04-28  John Levon  <levon@movementarian.org>
7975
7976         * bufferlist.C: changes for unsaved changes dialog
7977
7978 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7979
7980         * bufferlist.C (newFile): set language (messages_) for new
7981         documents also.
7982
7983         * buffer.C (readFile): ws changes only.
7984
7985 2003-04-28  André Pönitz  <poenitz@gmx.net>
7986
7987         * undo_funcs.C:
7988         * lyxfunc.C:
7989         * buffer.[Ch]:
7990         * BufferView_pimpl.C:
7991         * BufferView.C: getParFromID related ParagraphList::iterator changes
7992
7993 2003-04-28  André Pönitz  <poenitz@gmx.net>
7994
7995         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7996           Changes
7997
7998 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7999
8000         * messages.C: remove one more localedir class variable.
8001
8002 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8003
8004         * messages.C (getLocaleDir): singleton generation function
8005         (Pimpl): use it.
8006         (Messages): add a default constructor.
8007
8008         * main.C (main): do not setup localedir here, do not call
8009         gettext_init.
8010
8011         * gettext.C (_): use it.
8012         (gettext_init): delete funciton
8013
8014 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8015
8016         * gettext.C (getLyXMessages): new singleton generating function.
8017
8018         * buffer.C (updateDocLang): adjust
8019
8020         * Makefile.am (messages.o): add target
8021         (main.o): remove target
8022
8023 2003-04-27  John Levon  <levon@movementarian.org>
8024
8025         * bufferlist.C:
8026         * lyx_cb.C:
8027         * lyxfunc.C:
8028         * lyxvc.C: specify cancel button in Alert::prompt
8029
8030 2003-04-26  John Levon  <levon@movementarian.org>
8031
8032         * text3.C:
8033         * lyxfunc.C:
8034         * lfuns.h:
8035         * LyXAction.C: add LFUN_INSET_SETTINGS
8036
8037         * lyxfunc.C: don't enable tabular-feature when there's
8038         just any locking inset
8039
8040 2003-04-26  John Levon  <levon@movementarian.org>
8041
8042         * bufferlist.C: re-add Cancel to buffer close question
8043
8044         * lyxfunc.C: fix import UI a bit
8045
8046 2003-04-25  John Levon  <levon@movementarian.org>
8047
8048         * gettext.C: remove the broken asserts for now
8049
8050 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8051
8052         * messages.C: make case where setlocale cannot comply work better.
8053
8054         * buffer.C (updateDocLang): new function
8055         (changeLanguage): use it
8056         (readFile): use it
8057
8058         * text2.C (setCounter): use B_ a bit.
8059
8060         * lyxlayout.C (Read): be sure to trim the label strings.
8061
8062         * messages.C (Messages): fix typo in comment
8063
8064         * buffer.C (readFile): set message_ after file is loaded.
8065         (makeDocBookFile): remove double return
8066         (changeLanguage): reset message_ upon language change.
8067         (B_): new func, use this to get translated buffer strings.
8068
8069         * main.C: add myself and Jean Marc as authors.
8070
8071 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8072
8073         * messages.[hC]: pimplify Messages, and three different pimpls to be
8074         used in different circumstances.
8075
8076         * gettext.[Ch]: change for use with new message code.
8077
8078 2003-04-24 André Pönitz <poenitz@gmx.net>
8079
8080         * factory.C: support for eqref
8081
8082 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8083
8084         * messages.[Ch]: add missing char
8085
8086         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8087
8088         * messages.[Ch]: New files
8089
8090 2003-04-18  John Levon  <levon@movementarian.org>
8091
8092         * BufferView.h:
8093         * BufferView.C:
8094         * BufferView_pimpl.C:
8095         * lfuns.h:
8096         * LyXAction.C:
8097         * lyxtext.h:
8098         * text2.C: remove layout-copy/paste (bug 778)
8099
8100 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8101
8102         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8103
8104 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8105
8106         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8107         if they succeed. Act accordingly.
8108
8109 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8110
8111         * text2.C (setCharFont): adjust
8112         (setCounter): adjust
8113         (insertStringAsLines): adjust
8114
8115         * text.C (leftMargin): adjust
8116         (setHeightOfRow): adjust
8117
8118         * rowpainter.C (paintFirst): adjust
8119         (paintLast): adjust
8120
8121         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8122         (outerHook): ditto
8123         (isFirstInSequence): ditto
8124         (getEndLabel): ditto
8125         (outerFont): adjust
8126
8127         * paragraph.C (getParLanguage): comment out some hard stuff.
8128
8129         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8130         (sgmlError): ditto
8131         (simpleDocBookOnePar): ditto
8132         (makeDocBookFile): use ParagraphList::iterator
8133
8134         * CutAndPaste.C (pasteSelection): adjust
8135
8136 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8137
8138         * text2.C (getFont): adjust
8139         (getLayoutFont): adjust
8140         (getLabelFont): adjust
8141
8142         * paragraph_funcs.C (TeXOnePar): adjust
8143
8144         * buffer.C (simpleLinuxDocOnePar): adjust
8145         (simpleDocBookOnePar): adjust
8146
8147         * CutAndPaste.C (pasteSelection): adjust
8148
8149         * BufferView.C (getEncoding): adjust
8150
8151         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8152
8153 2003-04-16  John Levon  <levon@movementarian.org>
8154
8155         * lyxfind.C: use parlist stuff for search/changes
8156
8157 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8158
8159         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8160
8161         * text2.C (deleteEmptyParagraphMechanism): adjust
8162
8163         * text2.[Ch] (ownerParagraph): delete func (both of them
8164
8165 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8166
8167         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8168
8169 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8170
8171         * ParagraphList.C: prepare for NO_NEXT
8172
8173 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8174
8175         * text2.C (getFont): adjust
8176         (getLayoutFont): adjust
8177         (getLabelFont): adjust
8178
8179         * paragraph.C (getFont): adjust
8180         (getLabelFont): adjust
8181         (getLayoutFont): adjust
8182
8183         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8184
8185 2003-04-15  John Levon  <levon@movementarian.org>
8186
8187         From Angus Leeming
8188
8189         * lyx_main.C: handle Include in .ui files
8190
8191 2003-04-15  John Levon  <levon@movementarian.org>
8192
8193         * MenuBackend.C: make the doc files length shorter
8194
8195         * ToolbarBackend.h:
8196         * ToolbarBackend.C: handle toolbar placement flags,
8197         Minibuffer
8198
8199 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8200
8201         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8202         adjust
8203
8204         * paragraph_funcs.C (TeXOnePar): adjust
8205
8206         * paragraph.C (getLabelFont): add outerfont arg, adjust
8207         (getLayoutFont): ditto
8208         (simpleTeXOnePar): adjust
8209
8210         * paragraph_pimpl.C (realizeFont): delete func
8211
8212 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8213
8214         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8215         row argument, constify cur argument.
8216
8217 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8218
8219         * text2.C (getFont): adjust
8220         (getLayoutFont): adjust
8221         (getLabelFont): adjust
8222
8223         * paragraph_funcs.C (TeXOnePar): adjust
8224         (outerFont): new func...
8225         (realizeFont): ...moved out from here, changed this to facilitate
8226         transition
8227
8228         * paragraph.C (getFont): take outerfont as arg, adjust
8229         (simpleTeXOnePar): add outerfont arg, adjust
8230
8231         * buffer.C (simpleLinuxDocOnePar): adjust
8232         (simpleDocBookOnePar): adjust
8233
8234         * CutAndPaste.C (pasteSelection): adjust
8235
8236         * BufferView.C (getEncoding): adjust
8237
8238 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8239
8240         * text2.C (setCharFont): adjust
8241         (setCounter): adjust
8242
8243         * text.C (leftMargin): adjust
8244         (setHeightOfRow): adjust
8245
8246         * rowpainter.C (paintFirst): adjust
8247         (paintLast): adjust
8248
8249         * paragraph_pimpl.C (realizeFont): adjust
8250
8251         * paragraph.C (isFirstInSequence): move from here...
8252         * paragraph_funcs.C (isFirstInSequence): ...to here
8253
8254         * paragraph.C (outerHook): move from here...
8255         * paragraph_funcs.C (outerHook): ...to here
8256
8257         * paragraph.C (depthHook): move from here...
8258         * paragraph_funcs.C (depthHook): ...to here
8259
8260         * paragraph.C (getEndLabel): move from here...
8261         * paragraph_funcs.C (getEndLabel): ...to here
8262
8263         * text2.C (realizeFont): move from here...
8264         * paragraph_funcs.C (realizeFont): ...to here
8265
8266 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8267
8268         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8269
8270 2003-04-14  Angus Leeming  <leeming@lyx.org>
8271
8272         * LColor.[Ch]: scrap LColor mathcursor.
8273
8274 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8275
8276         * lyxlex.[Ch] (text): delete function
8277         * trans.C (Load): adjust
8278         * paragraph_funcs.C (readParToken): adjust
8279
8280 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8281
8282         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8283         vector<char> instead of a char[].
8284
8285         * lyxlex_pimpl.C (getString): adjust
8286         (next): adjust
8287         (lex): use getString
8288         (eatLine): adjust
8289         (nextToken): adjust
8290
8291         * lyxlex.C (text): use pimpl_->getString()
8292         (getBool): ditto
8293         (findToken): ditto
8294
8295 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8296
8297         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8298         (makeFontEntriesLayoutSpecific): temp var for par.size()
8299         (setLayout): temp var for ownerParagraphs().end()
8300         (fullRebreak): temp var for rows().end()
8301         (selectionAsString): temp var for boost::next(startpit), realize
8302         that the while really is a regular for loop.
8303         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8304         setCursor in one place.
8305         (setParagraph): temp vr for ownerParagraphs().end()
8306         (updateCounters): make the while loop a for loop
8307         (cutSelection): temp var for ownerParagraphs().end()
8308         (updateInset): make the do {} while() a regular for loop
8309         (getCursorX): use temp vars
8310         (setCurrentFont): use temp vars
8311         (getColumnNearX): use temp vars
8312
8313 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8314
8315         * text.C (transformChar): use temp var for getChar
8316         (computeBidiTables): use temp var for row->par()
8317         (fill): move temp vars for row->par() and pit->layout() earlier in
8318         the function.
8319         (labelFill): use temp var for row->par()
8320         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8321         asc and desc, realize that pit never changes and that firstpit is
8322         just a duplicate and not needed. Exchange rit->par() with pit in a
8323         lot of places.
8324         (breakAgain): use a temp var for boost::next(rit)
8325         (breakAgainOneRow): ditto
8326         (breakParagraph): use a temp var for rows().begin()
8327         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8328         (cursorRightOneWord): use temp var for cursor.par() and
8329         cursor.pos(), remove usage of tmpcursor.
8330         (cursorLeftOneWord): use temp var for cursor.par() and
8331         cursor.pos() only set cur at end of function.
8332
8333 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8334
8335         * text.C, text2.C: exchange all usage of Paragraph::next with
8336         boost::next(ParagraphList::iterator)
8337
8338         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8339
8340         * text2.C (cursorTop): simplify implementation
8341         (cursorBottom): ditto
8342         (setParagraph): use ParagraphList::iterator
8343         (setCurrentFont): adjust
8344         (getColumnNearX): adjust
8345         (cursorRight): adjust
8346         (cursorLeft): remove usage of Paragraph::previous
8347         (cursorUpParagraph): ditto
8348         (deleteEmptyParagraphMechanism): slight cleanup
8349
8350         * text.C (isBoundary): take a Paragraph const & instead of a
8351         pointer as arg.
8352         (addressBreakPoint): ditto
8353         (leftMargin): remove usage of Paragraph::previous.
8354         (setHeightOfRow): ditto
8355         (cursorLeftOneWord): ditto
8356         (selectNextWordToSpellcheck): ditto
8357         (Delete): ditto
8358         (backspace): ditto
8359         (breakParagraph): remove one usage of Paragraph::next
8360         (redoParagraph): ditto
8361         (acceptChange): ditto
8362         (insertChar): adjust
8363         (rowBreakPoint): adjust
8364
8365         * bufferview_funcs.C (toggleAndShow): adjust
8366
8367 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8368
8369         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8370         methods to access it.
8371         * lyxtext.h:
8372         * text.C: Added updateRowPositions to compute all row positions.
8373         Make top_y and getRowNearY() to use the cached y position
8374
8375 2003-04-11  John Levon  <levon@movementarian.org>
8376
8377         * text.C (rowBreakPoint): reintroduce the labelEnd
8378         checks, code copied from the row fill stuff. Deep voodoo.
8379
8380         * text.C (fill): add a comment and debugging for the
8381         next poor soul.
8382
8383 2003-04-11  John Levon  <levon@movementarian.org>
8384
8385         * text.C: make sure fullrow insets get wrapped to the next line,
8386         even when they're in a manual label
8387
8388 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8389
8390         * text2.C (insertParagraph): make it take ParagraphList::iterator
8391         as arg.
8392         (setLayout): make it return ParagraphList::iterator
8393         (redoParagraphs): ditto
8394         (setCounter): ditto
8395         (checkParagraph): ditto
8396
8397         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8398
8399         * text2.C: adjust several funcs.
8400         (realizeFont): take a ParagraphList::iterator as arg.
8401         (getLayoutFont): ditto
8402         (getLabelFont): ditto
8403         (setCharFont): ditto
8404
8405         * text.C: adjust several funcs.
8406
8407 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8408
8409         * text.C (selectNextWordToSpellcheck): don't accidentally
8410         skip insets
8411
8412 2003-04-10  John Levon  <levon@movementarian.org>
8413
8414         * ToolbarBackend.C (getIcon): special handling for
8415         LFUN_MATH_DELIM
8416
8417 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8418
8419         * text2.C (cursorRight): a getChar assert fixed
8420
8421 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8422
8423         * text2.C (getFont): change to take a ParagraphList::iterator
8424         instead of Paragraph*
8425         Adjust several functions.
8426
8427         * text.C (transformChar): change to take a ParagraphList::iterator
8428         instead of Paragraph*
8429         (singleWidth): ditto
8430         Adjust several functions.
8431
8432         * rowpainter.C: adjust several functions
8433         * rowpainter.h:store a ParagraphList::iterator and not a
8434         Paragraph&.
8435
8436
8437 2003-04-09  John Levon  <levon@movementarian.org>
8438
8439         * lyxfunc.C:
8440         * lfuns.h:
8441         * LyXAction.h:
8442         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8443         and the "help" bits as well
8444
8445 2003-04-09  John Levon  <levon@movementarian.org>
8446
8447         * ToolbarBackend.h:
8448         * ToolbarBackend.C: allow multiple toolbars
8449
8450 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8451
8452         * undo_funcs.C (setCursorParUndo): adjust
8453
8454         * text_funcs.C (transposeChars): adjust
8455
8456         * text3.C (gotoNextInset): adjust
8457         (dispatch): adjust
8458
8459         * text2.C (setLayout): adjust
8460         (changeDepth): adjust
8461         (setFont): adjust
8462         (redoParagraphs): adjust
8463         (selectionAsString): adjust
8464         (setParagraph): adjust
8465         (insertInset): adjust
8466         (cutSelection): adjust
8467         (copySelection): adjust
8468         (pasteSelection): adjust
8469         (insertStringAsLines): adjust
8470         (updateInset): adjust
8471         (setCursor): change to take a ParagraphList::iterator parameter
8472         (setCursorIntern): change to take a ParagraphList::iterator parameter
8473         (setCurrentFont): adjust
8474         (cursorLeft): adjust
8475         (cursorRight): adjust
8476         (deleteEmptyParagraphMechanism): adjust
8477
8478         * text.C (breakParagraph): adjust
8479         (insertChar): adjust
8480         (acceptChange): adjust
8481         (rejectChange): adjust
8482         (selectNextWordToSpellcheck): adjust
8483         (changeCase): adjust
8484         (Delete): adjust
8485         (backspace): adjust
8486
8487         * lyxfind.C (SearchForward): adjust
8488         (SearchBackward): adjust
8489         (nextChange): adjust
8490
8491         * lyxcursor.C (par): adjust
8492
8493         * lyxcursor.h: store a ParagraphList::iterator instead of a
8494         Paragraph*
8495
8496         * lyx_cb.C (getPossibleLabel): adjust
8497
8498         * bufferview_funcs.C (toggleAndShow): adjust
8499
8500         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8501         (dispatch): adjust
8502
8503         * BufferView.C (removeAutoInsets): adjust
8504         (lockedInsetStoreUndo): adjust
8505
8506 2003-04-09  John Levon  <levon@movementarian.org>
8507
8508         * ToolbarBackend.C: try icon without argument
8509         if with argument fails
8510
8511 2003-04-08  John Levon  <levon@movementarian.org>
8512
8513         * ToolbarBackend.h:
8514         * ToolbarBackend.C: add getIcon(), handle tooltip,
8515         and change from "Icon" to "Item".
8516
8517 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8518
8519         * BufferView.C (lockInset): another bad getchar crunched
8520
8521 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8522
8523         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8524         again)
8525
8526 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8527
8528         * lyxfind.C (searchForward, searchBackwards): bug 782
8529
8530 2003-04-07  John Levon  <levon@movementarian.org>
8531
8532         * paragraph.C: remove dead comment
8533
8534         * text.C: remove troublesome depth-fiddling code
8535         in leftMargin() and rightMargin() (bug 1017)
8536
8537         * text.C: fix breaking of rows in nested lists
8538         (bug 1004)
8539
8540         * text2.C (updateCounters): fix up depth values
8541         (bug 1013)
8542
8543 2003-04-07  John Levon  <levon@movementarian.org>
8544
8545         * BufferView_pimpl.C: clear message when doc finishes resizing,
8546         and after a mouse event
8547
8548         * lyxfunc.C: clear message after exiting inset
8549
8550 2003-04-07  John Levon  <levon@movementarian.org>
8551
8552         * bufferview_funcs.C: show math status not outside
8553         status in the statusbar
8554
8555 2003-04-07  John Levon  <levon@movementarian.org>
8556
8557         * lyxfunc.C: note status changed after a depth change
8558
8559 2003-04-04  Angus Leeming  <leeming@lyx.org>
8560
8561         * LaTeX.h: move AuxInfo operator==, != out of line.
8562         Remove LaTeX virtual destructor; nothing derives from it.
8563         Move operator()() out of public area and rename it startscript().
8564         Change protected for private.
8565
8566 2003-04-04  Angus Leeming  <leeming@lyx.org>
8567
8568         * lyxfunc.C:
8569         * text2.C: remove unneeded #includes.
8570
8571 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8572
8573         * text2.C (dEPM): fix the heigth of the next row
8574
8575 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8576
8577         * text.C: squashed an invalid getChar requester + some ws changes
8578
8579 2003-04-03  John Levon  <levon@movementarian.org>
8580
8581         * bufferview_funcs.h:
8582         * bufferview_funcs.C:
8583         * lyxfunc.C:
8584         * lyxtext.h:
8585         * text2.C: make getStatus work for the env depth lfuns
8586
8587 2003-04-03  John Levon  <levon@movementarian.org>
8588
8589         * bufferview_funcs.h:
8590         * bufferview_funcs.C:
8591         * lyxfunc.C:
8592         * lyxtext.h:
8593         * text2.C: parlistize decDepth(), by merging it with incDepth()
8594
8595 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8596
8597         * lyxrow.h: store a ParagraphList::iterator instead of a
8598         Paragraph* and adjust other class functions to suit.
8599
8600         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8601         above.
8602
8603 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8604
8605         * text2.C (setCursor): do not anchor to cursor row for the time being
8606
8607 2003-04-02  John Levon  <levon@movementarian.org>
8608
8609         * LyXAction.C:
8610         * lfuns.h:
8611         * lyx_main.C:
8612         * lyxtext.h:
8613         * text.C:
8614         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8615
8616 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8617
8618         * paragraph.h: make ParagraphList and ParagraphList::iterator
8619         friends of Paragraph.
8620
8621         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8622
8623         * ParagraphList.C: Use the private next_ and previous_ from
8624         Paragraph.
8625
8626 2003-04-01  John Levon  <levon@movementarian.org>
8627
8628         * ToolbarBackend.h:
8629         * ToolbarBackend.C:
8630         * Makefile.am: rename, remove defaults gunk
8631
8632         * MenuBackend.h:
8633         * MenuBackend.C: remove defaults gunk
8634
8635         * Languages.h:
8636         * Languages.C: remove defaults gunk
8637
8638         * lyx_main.h:
8639         * lyx_main.C: error out if files couldn't be found.
8640
8641 2003-04-02  John Levon  <levon@movementarian.org>
8642
8643         * text2.C: make incDepth() use parlist
8644
8645 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8646
8647         * undo_funcs.C (firstUndoParagraph): adjust
8648
8649         * text3.C (gotoInset): adjust
8650         (dispatch): adjust, and rewrite loop.
8651
8652         * text2.C (init): adjust, and rewrite loop.
8653         (redoParagraphs): adjust
8654         (updateInset): adjust, and rewrite loop.
8655         (deleteEmptyParagraphMechanism): adjust
8656
8657         * tabular.C (LyXTabular): adjust
8658         (SetMultiColumn): adjust
8659         (TeXRow): adjust
8660
8661         * lyxtext.[Ch] (ownerParagraph): delete function
8662         (ownerParagraphs): new function returns a ParagraphList.
8663
8664         * BufferView.C (removeAutoInsets): adjust
8665         (insertErrors): adjust
8666         (setCursorFromRow): adjust
8667
8668 2003-04-01  Angus Leeming  <leeming@lyx.org>
8669
8670         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8671         in the frontends.
8672
8673 2003-04-02  John Levon  <levon@movementarian.org>
8674
8675         * lyxtext.h:
8676         * text.C:
8677         * Makefile.am:
8678         * text_funcs.h:
8679         * text_funcs.C: make transposeChars a free function
8680
8681         * lyxrow_funcs.C: remove wrong comment
8682
8683 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8684
8685         * lyxtext.h: adjust
8686         * rowpainter.C: adjust
8687         * text.C: adjust
8688         * text2.C: adjust
8689         * text3.C: adjust
8690
8691         * lyxrow_funcs. [Ch]: new files
8692
8693         * lyxrow.[Ch]: remove next and previous pointers
8694         (next,previous): remove accessor functions
8695         (isParEnd): move to lyxrow_funcs
8696         (lastPos): move to lyxrow_funcs
8697         (nextRowIsAllInset): move to lyxrow_funcs
8698         (lastPrintablePos): move to lyxrow_funcs
8699         (numberOfSeparators): move to lyxrow_funcs
8700         (numberOfHfills): move to lyxrow_funcs
8701         (numberOfLabelHfills): move to lyxrow_funcs
8702         (hfillExpansion): move to lyxrow_funcs
8703
8704         * lyxfunc.C: adjust
8705
8706         * bufferview_funcs.C (toggleAndShow): adjust
8707
8708         * RowList.h: Remove class RowList from file leave just a
8709         std::list<Row>.
8710
8711         * RowList.C: delete file
8712
8713         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8714         and lyxrow_funcs.h
8715
8716 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8717
8718         * text3.C (cursorPrevious): adjust
8719         (cursorNext): adjust
8720         (dispatch): adjust
8721
8722         * text2.C (redoHeightOfParagraph): adjust
8723         (redoDrawingOfParagraph): adjust
8724         (setCursor): adjust
8725
8726         * text.C (breakParagraph): adjust
8727         (insertChar): adjust
8728         (backspace): adjust
8729
8730         * rowpainter.C (RowPainter): adjust
8731         (leftMargin): simplify and adjust
8732         (most rowpainter functions): adjust.
8733
8734         * rowpainter.h: store the row as RowList::iterator not as Row*
8735
8736         * lyxcursor.C (row): taka RowList::iterator as arg
8737         (irow): ditto
8738
8739         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8740         of Row*.
8741
8742 2003-04-01  Angus Leeming  <leeming@lyx.org>
8743
8744         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8745         stuff like bool Bool.
8746
8747 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8748
8749         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8750         rewrite a loop
8751
8752 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8753
8754         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8755         RowList::iterator.
8756
8757         * lyxtext.h (rows): drop one version and leve a const variant that
8758         returns a RowList::iterator.
8759
8760 2003-03-31  Angus Leeming  <leeming@lyx.org>
8761
8762         * text.C (fill): ensure that the signature is the same as that in the
8763         header file.
8764
8765 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8766
8767         * text2.C (redoParagraphs): adjust
8768         (updateCounters): adjust
8769         (checkParagraph): adjust
8770         (getColumnNearX): adjust and reformat a bit.
8771
8772         * text.C (top_y): adjust
8773         (workWidth): adjust
8774         (leftMargin): adjust
8775         (prepareToPrint): adjust
8776         (getRow): adjust
8777         (getRowNearY): adjust
8778
8779         * lyxtext.h: make rowlist_ mutable.
8780
8781         * RowList.h: add const_iterator
8782         * RowList.C: adjust for RowList::const_iterator.
8783
8784         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8785         adjust.
8786
8787 2003-03-31  John Levon  <levon@movementarian.org>
8788
8789         * lyxrc.h:
8790         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8791
8792         * lyx_main.C: set default fonts from using lyx_gui funcs
8793
8794         * exporter.C: pdf_mode moved from lyxrc
8795
8796         * lyx_cb.C:
8797         * lyxfunc.C: changes from above
8798
8799 2003-03-31  John Levon  <levon@movementarian.org>
8800
8801         * lyx_main.C: fix to the last fix
8802
8803 2003-03-31  John Levon  <levon@movementarian.org>
8804
8805         * bufferlist.C: "Load original" -> "Load Original"
8806
8807         * converter.C:
8808         * exporter.C:
8809         * importer.C:
8810         * lyx_main.C:
8811         * format.C: more Alert cleanups
8812
8813 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8814
8815         * text2.C (removeParagraph): make it take a RowList::iterator as
8816         arg, adjust.
8817         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8818         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8819
8820         * text.C (anchor_row): make it take a RowList::iterator as arg,
8821         adjust.
8822         (computeBidiTables): make it take a const reference to Row instead
8823         of Row pointer, adjust.
8824         (leftMargin): make it take a RowList::iterator as arg, adjust.
8825         (rowBreakPoint): adjust
8826         (breakAgainOneRow): make it take a RowList::iterator as arg,
8827         adjust.
8828         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8829
8830         * bufferview_funcs.C (toggleAndShow): adjust
8831
8832 2003-03-30  John Levon  <levon@movementarian.org>
8833
8834         * Makefile.am:
8835         * BoostFormat.h:
8836         * boost-inst.C: moved to support
8837
8838         * several files: changes as a result
8839
8840 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8841
8842         * text2.C (LyXText): adjust.
8843         (init): adjust
8844         (removeRow): make it take a RowList::iterator as arg, adjust.
8845         (fullRebreak): adjust
8846         (deleteEmptyParagraphMechanism): adjust
8847         (clearPaint): adjust
8848         (postPaint): adjust
8849
8850         * text.C (top_y): adjust
8851         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8852         (breakAgain): make it take a RowList::iterator as arg, adjust.
8853         (breakParagraph): adjust
8854         (insertChar): adjust
8855         (backspace): adjust
8856
8857         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8858         need_break_row, and refresh_row.
8859
8860         * text3.C (dispatch): adjust
8861
8862         * text2.C (checkParagraph): adjust
8863         (setCursor): adjust
8864         (setCursorFromCoordinates): adjust
8865
8866         * text.C (top_y): adjust
8867         (workWidth): adjust
8868         (getRow): make it return a RowList::iterator, adjust
8869         (getRowNearY): make it return a RowList::iterator, adjust
8870
8871         * text2.C (init): adjust
8872         (insertRow): remove function
8873         (insertParagraph): adjust
8874         (redoParagraphs): adjust
8875         (fullRebreak): adjust
8876         (updateCounters): adjust
8877
8878         * text.C (top_y): rewrite to use RowList iterators.
8879         (top_y): adjust
8880         (setHeightOfRow): rewrite to sue RowList iterators.
8881         (appendParagraph): adjust
8882         (breakAgain): adjust
8883         (breakAgainOneRow): adjust
8884         (breakParagraph): adjust
8885         (getRow): adjust
8886         (getRowNearY): adjust, and remove commented code.
8887
8888         * lyxtext.h (firstRow): delete function
8889         (lastRow): delete function
8890         (rows): new function (const and non-const versions.)
8891         (insertRow): delete function
8892
8893         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8894
8895 2003-03-29  John Levon  <levon@movementarian.org>
8896
8897         * BufferView_pimpl.C: always update scrollbar top
8898         because pasting text when we're anchored could mean we
8899         miss an update altogether
8900
8901 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8902
8903         * text2.C (init): use rowlist_.end() and not 0.
8904         (insertRow): change to take a RowList::iterator as arg, adjust
8905         for this.
8906         (insertParagraph): change to take a RowList::iterator as arg,
8907         adjust for this.
8908         (redoParagraphs): remove some debug msgs.
8909
8910         * text.C (appendParagraph): change to take a RowList::iterator
8911         arg, adjust for this.
8912         (breakAgain): add an assert
8913         (breakAgainOneRow): ditto
8914
8915 2003-03-29  John Levon  <levon@movementarian.org>
8916
8917         * text2.C: do not clear selection after inc/decDepth
8918         (bug 550)
8919
8920 2003-03-29  John Levon  <levon@movementarian.org>
8921
8922         * BufferView.C:
8923         * buffer.C: fix broken strerrors according to Lars
8924
8925 2003-03-29  John Levon  <levon@movementarian.org>
8926
8927         * converters.C: more Alert cleanups
8928
8929 2003-03-29  John Levon  <levon@movementarian.org>
8930
8931         * bufferview_funcs.C: remove pointless Alert
8932
8933         * buffer.C: fix confusing error message when
8934         a template is chmoded 000
8935
8936 2003-03-29  John Levon  <levon@movementarian.org>
8937
8938         * BufferView.C:
8939         * BufferView.h:
8940         * BufferView_pimpl.C: Alert fixes
8941
8942         * Makefile.am:
8943         * tabular.C:
8944         * tabular-old.C: remove unused table compat reading
8945
8946 2003-03-29  John Levon  <levon@movementarian.org>
8947
8948         * BufferView.C:
8949         * buffer.C:
8950         * lyx_cb.h:
8951         * lyx_cb.C: more Alert cleanups
8952
8953         * lyxfunc.C: don't allow chktex if not latex document
8954
8955 2003-03-29  John Levon  <levon@movementarian.org>
8956
8957         * lyx_cb.C:
8958         * BufferView.C:
8959         * buffer.C: warnings pushed down from support/,
8960         kill err_alert
8961
8962 2003-03-29  John Levon  <levon@movementarian.org>
8963
8964         * lyxfunc.C: safety check for C-r (revert)
8965
8966 2003-03-29  John Levon  <levon@movementarian.org>
8967
8968         * bufferlist.h:
8969         * bufferlist.C: several UI fixes using Alert::prompt.
8970         Fix the pointless looping quit code. Fix stupid revert
8971         behaviour (bug 938)
8972
8973         * lyxvc.h:
8974         * lyxvc.C:
8975         * lyx_cb.C: use Alert::prompt
8976
8977         * lyx_main.C: remove a silly question
8978
8979         * lyxfunc.C: remove a couple of silly questions,
8980         use Alert::prompt
8981
8982 2003-03-28  John Levon  <levon@movementarian.org>
8983
8984         * text2.C: fix bug 974 (End on empty par)
8985
8986 2003-03-28  John Levon  <levon@movementarian.org>
8987
8988         * BufferView_pimpl.C:
8989         * LyXAction.C:
8990         * lfuns.h: remove do-nothing math greek lfuns
8991
8992 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8993
8994         * lyxgluelength.h (isValidGlueLength): add default arg on
8995         parameter 2. Remove default arg from friend in class.
8996
8997         * lyxlength.h (isValidLength): add default arg on parameter 2.
8998         Remove default arg from friend in class.
8999
9000         * text2.C (LyXText): adjust, initialize refresh_row.
9001         (init): adjust
9002         (removeRow): adjust
9003         (insertRow): adjust
9004         (insertParagraph): adjst
9005         (redoParagraphs): adjust
9006         (fullRebreak): adjust
9007         (updateCounters): adjust
9008         (deleteEmptyParagraphMechanism): first attempt at fixing a
9009         crashing bug.
9010
9011         * text.C (top_y): adjust
9012         (setHeightOfRow): adjust
9013         (getRow): adjust
9014         (getRowNearY): adjust
9015
9016         * lyxtext.h: include RowList.h
9017         (~LyXText): not needed anymore, deleted.
9018         (firstRow): modify for RowList
9019         (lastRow): new function
9020         Delete firstrow and lastrow class variables, add a Rowlist
9021         rowlist_ class variable.
9022
9023         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9024         paragraph is empty.
9025
9026         * RowList.C (insert): fix case where it == begin().
9027
9028 2003-03-26  Angus Leeming  <leeming@lyx.org>
9029
9030         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9031         the thesaurus dialog.
9032
9033 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9034
9035         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9036
9037         * RowList.[Ch]: new files
9038
9039         * ParagraphList.C (erase): handle the case where it == begin
9040         correctly.
9041
9042 2003-03-25  John Levon  <levon@movementarian.org>
9043
9044         * Makefile.am:
9045         * aspell_local.h:
9046         * aspell.C: add new aspell support
9047
9048         * lyxrc.h:
9049         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9050         have it accessible.
9051
9052 2003-03-25  Angus Leeming  <leeming@lyx.org>
9053
9054         * lfuns.h:
9055         * LyXAction.C (init): new LFUN_INSET_INSERT.
9056
9057         * BufferView_pimpl.C (dispatch): split out part of the
9058         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9059
9060         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9061         LFUN_INSET_APPLY.
9062
9063 2003-03-25  Angus Leeming  <leeming@lyx.org>
9064
9065         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9066
9067 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9068
9069         * text2.C:
9070         * text3.C: remove useless row->height(0)
9071
9072 2003-03-25  John Levon  <levon@movementarian.org>
9073
9074         * lyxtext.h:
9075         * text2.C:
9076         * text3.C: rename the refreshing stuff to better names
9077
9078 2003-03-24  John Levon  <levon@movementarian.org>
9079
9080         * BufferView_pimpl.h:
9081         * BufferView_pimpl.C: update layout choice on a mouse
9082         press/release
9083
9084 2003-03-23  John Levon  <levon@movementarian.org>
9085
9086         * Makefile.am: fix commandtags.h reference
9087
9088 2003-03-22  John Levon  <levon@movementarian.org>
9089
9090         * BufferView_pimpl.C:
9091         * lyxtext.h:
9092         * rowpainter.C:
9093         * rowpainter.h:
9094         * text.C:
9095         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9096
9097 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9098
9099         * lyxtext.h:
9100         * text.C: take the rtl methods out of line
9101
9102 2003-03-21 André Pönitz <poenitz@gmx.net>
9103
9104         * metricsinfo.[Ch]: new files containing structures to be passed around
9105         during the two-phase-drawing...
9106
9107 2003-03-21 André Pönitz <poenitz@gmx.net>
9108
9109         * lyxtextclass.C: read 'environment' tag.
9110
9111 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9112
9113         * text2.C (removeRow): fix bug 964
9114
9115 2003-03-20  John Levon  <levon@movementarian.org>
9116
9117         * rowpainter.C:
9118         * text.C:
9119         * text2.C: paint cleanups. Inset::update() dropped font
9120         parameter
9121
9122 2003-03-19  John Levon  <levon@movementarian.org>
9123
9124         * lyxfunc.C: only fitcursor/markDirty if available()
9125
9126 2003-03-19  John Levon  <levon@movementarian.org>
9127
9128         * commandtags.h: rename to ...
9129
9130         * lfuns.h: ... this, and renumber / cleanup
9131
9132 2003-03-19  John Levon  <levon@movementarian.org>
9133
9134         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9135         fit the cursor after an lfun
9136
9137         * BufferView.h:
9138         * BufferView.C:
9139         * BufferView_pimpl.h:
9140         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9141
9142         * LyXAction.C: layout-character should have ReadOnly
9143
9144         * ParagraphParameters.C:
9145         * buffer.C:
9146         * bufferview_funcs.C:
9147         * lyx_cb.C:
9148         * lyxfind.C:
9149         * lyxtext.h:
9150         * text.C:
9151         * text2.C:
9152         * text3.C:
9153         * undo_funcs.C: changes from above
9154
9155 2003-03-18  John Levon  <levon@movementarian.org>
9156
9157         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9158         remove it from update()
9159
9160         * lyxfunc.C: update layout choice after an lfun
9161
9162         * text3.C: remove extra updateLayoutChoice()s
9163
9164 2003-03-18  John Levon  <levon@movementarian.org>
9165
9166         * text.C: top_y change means full repaint, fix
9167         a drawing bug with cursor movement
9168
9169 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9170
9171         * lyxtext.h:
9172         * text.C:
9173         * text2.C: anchor row on setCursor
9174
9175 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9176
9177         * lyxtext.h: remove almost all mutable keywords
9178         * text.C:
9179         * text2.C:
9180         * text3.C: remove const keywords accordingly
9181
9182 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9183
9184         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9185         anon namespace
9186         (TeXEnvironment): ditto
9187         (TeXOnePar): ditto
9188
9189 2003-03-17  John Levon  <levon@movementarian.org>
9190
9191         * text.C (rowBreakPoint): remove attempt to fix displayed
9192         math insets inside a manual label
9193
9194 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9195
9196         * lyxtext.h: remove BufferView* as first arg from almost all class
9197         functions.
9198         * other files: adjust.
9199
9200 2003-03-17  John Levon  <levon@movementarian.org>
9201
9202         * lyxtext.h:
9203         * undo_funcs.C:
9204         * text2.C: more paint cleanups
9205
9206         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9207
9208         * rowpainter.h:
9209         * rowpainter.C: remove "smart" background painting code
9210
9211 2003-03-16  John Levon  <levon@movementarian.org>
9212
9213         * lyxtext.h:
9214         * text.C:
9215         * text2.C:
9216         * text3.C: add helper functions for setting refresh_row/y
9217
9218 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9219
9220         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9221         newline inset which *can* get inserted in the pass_thru layouts.
9222         This is primarily for literate documents.
9223
9224 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9225
9226         * buffer.C: increment LYX_FORMAT to 223
9227
9228 2003-03-14 André Pönitz <poenitz@gmx.net>
9229
9230         * textclass.h: prepare for environment handling, ws changes
9231         * lyxlayout.C: read latexheader and latexfooter tags
9232
9233 2003-03-14  John Levon  <levon@movementarian.org>
9234
9235         * text2.C: rewrite ::status() a bit
9236
9237 2003-03-13  John Levon  <levon@movementarian.org>
9238
9239         * lyxtext.h: add some docs
9240
9241 2003-03-13  John Levon  <levon@movementarian.org>
9242
9243         * lyxtext.h:
9244         * text.C:
9245         * text2.C:
9246         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9247
9248 2003-03-13  John Levon  <levon@movementarian.org>
9249
9250         * text3.C: fix appendix redrawing
9251
9252 2003-03-13  John Levon  <levon@movementarian.org>
9253
9254         * text.C (setHeightOfRow):
9255         * rowpainter.h:
9256         * rowpainter.C: make appendix mark have the text
9257           "Appendix" so the user knows what it is
9258
9259         * LColor.h:
9260         * LColor.C: s/appendixline/appendix/ from above
9261
9262 2003-03-13  John Levon  <levon@movementarian.org>
9263
9264         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9265
9266         * text.C: fix a getChar(pos) bug properly
9267
9268 2003-03-13  Angus Leeming  <leeming@lyx.org>
9269
9270         * commandtags.h:
9271         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9272         Probably only temporary. Let's see how things pan out.
9273
9274         * BufferView.C (unlockInset):
9275         * BufferView_pimpl.C (fitCursor):
9276         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9277
9278         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9279         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9280
9281         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9282         new functions that convert ParagraphParameters to and from a string.
9283
9284         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9285         BufferView::Pimpl's dispatch.
9286         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9287
9288 2003-03-13 André Pönitz <poenitz@gmx.net>
9289
9290         * lyxfunc.C:
9291         * text3.C:
9292         * factory.C: make it aware of InsetEnv
9293
9294 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9295
9296         * text2.C (setCursor): never ask for one past last
9297         (setCursor): add some debugging messages.
9298
9299         * text.C (singleWidth): never ask for one past last
9300         (singleWidth): ditto
9301         (leftMargin): ditto
9302         (rightMargin): ditto
9303         (rowBreakPoint): ditto
9304         (setHeightOfRow): ditto
9305         (prepareToPrint): ditto
9306
9307         * rowpainter.C (paintBackground): never ask for one past last
9308         (paintText): never ask for one past last
9309
9310         * paragraph_pimpl.C (getChar): make the assert stricter, never
9311         allow the one past last pos to be taken
9312
9313         * paragraph.C (getChar): ws changes only
9314
9315         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9316         (numberOfSeparators): ditto
9317         (numberOfHfills): ditto
9318
9319 2003-03-12  John Levon  <levon@movementarian.org>
9320
9321         * author.h:
9322         * author.C:
9323         * bufferparams.h:
9324         * bufferparams.C:
9325         * paragraph_funcs.C: fix per-buffer authorlists
9326
9327 2003-03-12  John Levon  <levon@movementarian.org>
9328
9329         * text.C: fix newline in right address
9330
9331 2003-03-12  Angus Leeming  <leeming@lyx.org>
9332
9333         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9334         duplicate those in LyXFunc::dispatch.
9335
9336         * commandtags.h:
9337         * LyXAction.C:
9338         * ToolbarDefaults.C:
9339         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9340         Add LFUN_FONTFREE_UPDATE.
9341
9342         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9343         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9344
9345         * bufferview_func.[Ch]: several new functions to facilliate
9346         transfer of data to and from the character dialog.
9347
9348 2003-03-12  John Levon  <levon@movementarian.org>
9349
9350         * buffer.C:
9351         * paragraph.h:
9352         * paragraph.C:
9353         * paragraph_funcs.C:
9354         * paragraph_pimpl.C:
9355         * sgml.C:
9356         * tabular.C:
9357         * text.C:
9358         * text3.C: remove META_NEWLINE in favour of an inset
9359
9360         * rowpainter.h:
9361         * rowpainter.C: remove paintNewline (done by inset)
9362
9363 2003-03-12  John Levon  <levon@movementarian.org>
9364
9365         * paragraph_pimpl.C: complain about bad getChar()s
9366         for a while at least
9367
9368 2003-03-12  John Levon  <levon@movementarian.org>
9369
9370         * buffer.h:
9371         * buffer.C: move paragraph read into a separate function,
9372         a little renaming to reflect that.
9373
9374         * bufferparams.h:
9375         * bufferparams.C: remove the author_ids map, not necessary now
9376
9377         * factory.h:
9378         * factory.C: moved Buffer::readInset to here
9379
9380         * paragraph_funcs.h:
9381         * paragraph_funcs.C: readParagraph free function moved from
9382         buffer.C
9383
9384         * tabular.C: name change
9385
9386 2003-03-12  John Levon  <levon@movementarian.org>
9387
9388         * buffer.C:
9389         * ParagraphParameters.C: move par params input to
9390         a read() method
9391
9392         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9393         behave like a normal read from the stream wrt reading
9394         a line vs. a \\token
9395
9396 2003-03-12  John Levon  <levon@movementarian.org>
9397
9398         * paragraph.C:
9399         * ParagraphParameters.h:
9400         * ParagraphParameters.C: move output code to a
9401         ::write() method
9402
9403 2003-03-12  John Levon  <levon@movementarian.org>
9404
9405         * BufferView.C (insertLyXFile):
9406         * buffer.h:
9407         * buffer.C:
9408         * tabular.C: use a parlist iterator for creating the
9409           document.
9410
9411 2003-03-12  John Levon  <levon@movementarian.org>
9412
9413         * buffer.C: make current_change static local not
9414           static file-scope
9415
9416 2003-03-12  John Levon  <levon@movementarian.org>
9417
9418         * buffer.C: fix insertStringAsLines for change tracking
9419
9420 2003-03-12  John Levon  <levon@movementarian.org>
9421
9422         * BufferView.C:
9423         * tabular.C:
9424         * buffer.h:
9425         * buffer.C:
9426         * bufferparams.h:
9427         * bufferparams.C: move author list into params. Rename some
9428           functions. Move the header reading into a separate token
9429           loop. Move the header token reading into BufferParams.
9430
9431 2003-03-12  John Levon  <levon@movementarian.org>
9432
9433         * changes.C: put debug inside lyxerr.debugging() checks
9434
9435 2003-03-11 André Pönitz <poenitz@gmx.net>
9436
9437         * factory.C: make it aware of InsetHFill
9438
9439 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9440
9441         * buffer.C (latexParagraphs): move function from here...
9442         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9443         args.
9444
9445 2003-03-10  Angus Leeming  <leeming@lyx.org>
9446
9447         * LyXAction.C (init): fix bug in poplating array with multiple entries
9448         with the same LFUN (spotted by JMarc).
9449
9450 2003-03-10  John Levon  <levon@movementarian.org>
9451
9452         * text.C:
9453         * text2.C: move getColumnNearX() near its
9454         only call site
9455
9456 2003-03-10  John Levon  <levon@movementarian.org>
9457
9458         * text.C: fix break before a minipage
9459
9460 2003-03-10  John Levon  <levon@movementarian.org>
9461
9462         * text.C: fix the last commit
9463
9464 2003-03-09  John Levon  <levon@movementarian.org>
9465
9466         * lyxtext.h:
9467         * text.C:
9468         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9469         bug 365 (don't break before insets unless needed). Don't
9470         return a value > last under any circumstances.
9471
9472 2003-03-09  Angus Leeming  <leeming@lyx.org>
9473
9474         * BufferView_pimpl.C (trackChanges, dispatch): call
9475         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9476
9477 2003-03-09  Angus Leeming  <leeming@lyx.org>
9478
9479         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9480         than Dialogs::showAboutlyx().
9481
9482 2003-03-09  Angus Leeming  <leeming@lyx.org>
9483
9484         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9485         than Dialogs::showTabularCreate().
9486
9487 2003-03-09  John Levon  <levon@movementarian.org>
9488
9489         * lyxtext.h:
9490         * text.C:
9491         * text2.C: 3rd arg to nextBreakPoint was always the same.
9492           Use references.
9493
9494 2003-03-08  John Levon  <levon@movementarian.org>
9495
9496         * lyxrow.C:
9497         * paragraph.C:
9498         * paragraph.h:
9499         * rowpainter.C:
9500         * text.C:
9501         * text2.C: Remove the "main" bit from the "main body"
9502           notion.
9503
9504 2003-03-08  John Levon  <levon@movementarian.org>
9505
9506         * text.C (leftMargin): The left margin of an empty
9507         manual label paragraph should not include the label width
9508         string length.
9509
9510         * text.C (prepareToPrint): don't attempt to measure hfills
9511         for empty manual label paragraphs - the answer should be 0
9512
9513 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9514
9515         * CutAndPaste.C: remove commented code and reindent.
9516
9517 2003-03-08  John Levon  <levon@movementarian.org>
9518
9519         * lyxfunc.h:
9520         * lyxfunc.C: move reloadBuffer()
9521
9522         * BufferView.h:
9523         * BufferView.C: to here
9524
9525         * lyxvc.C: add comment
9526
9527         * vc-backend.h:
9528         * vc-backend.C: call bv->reload() to avoid
9529           getStatus() check on MENURELOAD
9530
9531 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9532
9533         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9534         to an old format .dep file.
9535
9536 2003-03-07  Angus Leeming  <leeming@lyx.org>
9537
9538         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9539         when the LFUN_MOUSE_RELEASE should have been handled by
9540         inset->localDispatch.
9541
9542 2003-03-07  Angus Leeming  <leeming@lyx.org>
9543
9544         * BufferView_pimpl.C (dispatch):
9545         * LyXAction.C (init):
9546         * ToolbarDefaults.C (init):
9547         * commandtags.h:
9548         * lyxfunc.C (getStatus):
9549         remove LFUN_INSET_GRAPHICS.
9550
9551         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9552
9553 2003-03-07  Angus Leeming  <leeming@lyx.org>
9554
9555         * commandtags.h:
9556         * LyXAction.C (init):
9557         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9558
9559         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9560
9561         * commandtags.h:
9562         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9563
9564         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9565         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9566
9567 2003-03-07  Angus Leeming  <leeming@lyx.org>
9568
9569         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9570         remove "ert".
9571
9572 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9573
9574         * ParagraphList.C (front): new function
9575         (back): implement
9576
9577 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9578
9579         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9580         and top_row_offset_. removed var first_y.
9581         * text.C (top_y):
9582         * text2.C (LyXText, removeRow):
9583         * text3.C:
9584         * BufferView_pimpl.C:
9585         use these methods instead of using first_y
9586
9587 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9588
9589         * text2.C (pasteSelection): adjust for checkPastePossible
9590
9591         * CutAndPaste.C: remove Paragraph * buf and replace with
9592         ParagraphList paragraphs.
9593         (DeleteBuffer): delete
9594         (cutSelection): change the tc type to textclass_type
9595         (copySelection): change the tc type to textclass_type
9596         (copySelection): adjust for ParagraphList
9597         (pasteSelection): change the tc type to textclass_type
9598         (pasteSelection): adjust for Paragraphlist
9599         (nrOfParagraphs): simplify for ParagraphList
9600         (checkPastePossible): simplify for ParagraphList
9601         (checkPastePossible): remove unused arg
9602
9603         * ParagraphList.C (insert): handle the case where there are no
9604         paragraphs yet.
9605
9606         * CutAndPaste.h: make CutAndPaste a namespace.
9607
9608         * text3.C (dispatch): adjust
9609
9610         * text.C (breakParagraph): add a ParagraphList as arg
9611
9612         * paragraph_funcs.C (breakParagraph): change to take a
9613         BufferParams and a ParagraphList as args.
9614         (breakParagraphConservative): ditto
9615         (mergeParagraph): ditto
9616         (TeXDeeper): add a ParagraphList arg
9617         (TeXEnvironment): ditto
9618         (TeXOnePar): ditto
9619
9620         * buffer.C (readLyXformat2): adjust
9621         (insertStringAsLines): adjust
9622         (latexParagraphs): adjust
9623
9624         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9625         (cutSelection): adjust
9626         (pasteSelection): adjust
9627
9628         * BufferView_pimpl.C (insertInset): adjust
9629
9630 2003-03-05  Angus Leeming  <leeming@lyx.org>
9631
9632         * commandtags.h:
9633         * LyXAction.C (init):
9634         * BufferView_pimpl.C (dispatch):
9635         * lyxfunc.C (getStatus):
9636         remove LFUN_CHILD_INSERT.
9637
9638         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9639
9640 2003-03-05  Angus Leeming  <leeming@lyx.org>
9641
9642         * commandtags.h:
9643         * LyXAction.C (init):
9644         * src/factory.C (createInset):
9645         * lyxfunc.C (getStatus):
9646         * text3.C (dispatch):
9647         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9648
9649         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9650
9651 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9652
9653         * ParagraphList.C (insert): handle insert right before end()
9654         (erase): fix cases where it can be first or last paragraph.
9655
9656 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9657
9658         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9659         Paragraph::next and Paragraph::previous
9660         (TeXOnePar): ditto
9661
9662         * text.C (breakParagraph): adjust
9663
9664         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9665         BufferParams& as arg.
9666         (breakParagraph): use ParagraphList::insert
9667         (breakParagraphConservative): take a Buffer* instead of a
9668         BufferParams& as arg.
9669         (breakParagraphConservative): use ParagraphList::insert.
9670
9671         * buffer.C (insertStringAsLines): un-const it
9672         (insertStringAsLines): adjust
9673
9674         * ParagraphList.C (insert): new function
9675
9676         * CutAndPaste.C (pasteSelection): adjust
9677
9678         * text.C (backspace): adjust
9679
9680         * tabular.C (SetMultiColumn): adjust
9681
9682         * CutAndPaste.C (cutSelection): adjust
9683         (pasteSelection): adjust
9684
9685         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9686         Buffer const * as arg
9687
9688         * ParagraphList.C (erase): new function
9689         * paragraph_funcs.C (mergeParagraph): use it
9690         (mergeParagraph): make it take a Buffer* instead of a
9691         BufferParams* as arg
9692
9693         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9694         as arg
9695         (breakParagraphConservative): ditto
9696
9697         * paragraph.h: remove the breakParagraph friend
9698
9699         * paragraph.C (eraseIntern): new function
9700         (setChange): new function
9701
9702         * paragraph_funcs.C (mergeParagraph): make it take a
9703         ParagraphList::iterator instead of a Paragraph *, adjust
9704         accordingly.
9705
9706         * paragraph.h: move an #endif so that the change tracking stuff
9707         also works in the NO_NEXT case.
9708
9709 2003-03-04  Angus Leeming  <leeming@lyx.org>
9710
9711         * commandtags.h:
9712         * LyXAction.C: new LFUN_INSET_MODIFY.
9713
9714         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9715         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9716
9717 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9718
9719         * several files: ws changes only
9720
9721         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9722         (TeXEnvironment): ditto
9723         (TeXDeeper): ditto
9724
9725         * buffer.C (makeLaTeXFile): adjust
9726         (latexParagraphs): make it take ParagraphList::iterator as args
9727
9728 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9729
9730         * buffer.C (latexParagraphs): adjust
9731
9732         * paragraph.C (TeXOnePar): move function...
9733         (optArgInset): move function...
9734         (TeXEnvironment): move function...
9735         * paragraph_pimpl.C (TeXDeeper): move function...
9736         * paragraph_funcs.C: ...here
9737
9738         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9739
9740 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9741
9742         * buffer.C (readInset): remove compability code for old Figure and
9743         InsetInfo insets
9744
9745 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9746
9747         * buffer.C: ws changes
9748         (readInset):
9749
9750         * BufferView_pimpl.C: ditto
9751         * author.C: ditto
9752         * buffer.h: ditto
9753         * bufferlist.h: ditto
9754         * changes.h: ditto
9755         * lyxfunc.C: ditto
9756
9757 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9758
9759         * converter.[Ch]: split into itself +
9760         * graph.[Ch]
9761         * format.[Ch]
9762         * Makefile.am: += graph.[Ch] + format.[Ch]
9763         * MenuBackend.C
9764         * buffer.C
9765         * exporter.C
9766         * importer.C
9767         * lyx_main.C
9768         * lyxfunc.C
9769         * lyxrc.C: added #include "format.h"
9770
9771 2003-02-27  Angus Leeming  <leeming@lyx.org>
9772
9773         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9774           a label.
9775
9776         * factory.C (createInset): add "label" to the factory.
9777
9778         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9779           string and do no more.
9780
9781 2003-02-27  Angus Leeming  <leeming@lyx.org>
9782
9783         * commandtags.h:
9784         * LyXAction.C (init):
9785         * factory.C (createInset):
9786         * BufferView_pimpl.C (dispatch):
9787           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9788
9789         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9790
9791         * lyxfunc.C (dispatch):
9792         * text3.C (dispatch): pass name to params2string.
9793
9794 2003-02-26  Angus Leeming  <leeming@lyx.org>
9795
9796         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9797           blocks together.
9798           Rearrange the ~includes. Strip out the unnecessary ones.
9799
9800         * factory.C (createInset): reformat.
9801           create new insets for the various LFUN_XYZ_APPLY lfuns.
9802
9803 2003-02-26  John Levon  <levon@movementarian.org>
9804
9805         * lyxrow.h:
9806         * lyxrow.C: add isParStart,isParEnd helpers
9807
9808         * paragraph.h: make isInserted/DeletedText take refs
9809
9810         * paragraph_funcs.h:
9811         * paragraph_funcs.C: remove #if 0'd code
9812
9813         * lyxtext.h:
9814         * text3.C:
9815         * text2.C:
9816         * text.C: use lyxrow helpers above.
9817           Move draw and paint routines to RowPainter.
9818           Make several methods use refs not pointers.
9819           Make backgroundColor() const.
9820           Add markChangeInDraw(), isInInset().
9821           Merge changeRegionCase into changeCase.
9822           Make workWidth() shouldn't-happen code into an Assert.
9823
9824         * rowpainter.h:
9825         * rowpainter.C: new class for painting a row.
9826
9827         * vspace.h:
9828         * vspace.C: make inPixels take a ref
9829
9830 2003-02-26  Angus Leeming  <leeming@lyx.org>
9831
9832         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9833         LFUN_REF_APPLY.
9834
9835 2003-02-25  John Levon  <levon@movementarian.org>
9836
9837         * ispell.C: give the forked command a more accurate name
9838
9839 2003-02-22  John Levon  <levon@movementarian.org>
9840
9841         * toc.h:
9842         * toc.C: make TocItem store an id not a Paragraph *
9843           (bug #913)
9844
9845 2003-02-21  Angus Leeming  <leeming@lyx.org>
9846
9847         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9848           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9849           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9850           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9851           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9852           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9853
9854         * BufferView_pimpl.C (dispatch):
9855         * LyXAction.C (init):
9856         * factory.C (createInset):
9857         * lyxfunc.C (getStatus, dispatch):
9858         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9859
9860 2003-02-21  Angus Leeming  <leeming@lyx.org>
9861
9862         * BufferView_pimpl.C (MenuInsertLyXFile):
9863         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9864         * lyxfunc.C (menuNew, open, doImport):
9865           no longer pass a LyXView & to fileDlg.
9866
9867 2003-02-21  Angus Leeming  <leeming@lyx.org>
9868
9869         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9870         * LyXAction.C: change, BIBKEY to BIBITEM.
9871         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9872         Change InsetBibKey to InsetBibitem.
9873         Change BIBKEY_CODE to BIBITEM_CODE.
9874         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9875         * factory.C: replace insetbib.h with insetbibitem.h.
9876         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9877         * paragraph.C: replace insetbib.h with insetbibitem.h.
9878         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9879         Change bibkey() to bibitem().
9880         * text.C: remove insetbib.h.
9881         * text2.C: replace insetbib.h with insetbibitem.h.
9882         change bibkey() to bibitem().
9883         * text3.C: remove insetbib.h.
9884         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9885
9886 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9887
9888         * lyxrc.C (output): enclose user email in quotes (in case there are
9889         several words)
9890
9891 2003-02-18  John Levon  <levon@movementarian.org>
9892
9893         * buffer.h: add std::
9894
9895 2003-02-17  John Levon  <levon@movementarian.org>
9896
9897         * SpellBase.h:
9898         * ispell.h:
9899         * ispell.C:
9900         * pspell.h:
9901         * pspell.C: reworking. Especially in ispell, a large
9902           number of clean ups and bug fixes.
9903
9904         * lyxfunc.C: fix revert to behave sensibly
9905
9906 2003-02-17 André Pönitz <poenitz@gmx.net>
9907
9908         * LyXAction.C:
9909         * commandtags.h: new LFUN_INSERT_BIBKEY
9910
9911         * layout.h:
9912         * lyxlayout.C:
9913         * buffer.C:
9914         * factory.C:
9915         * text.C:
9916         * text2.C:
9917         * text3.C:
9918         * paragraph.[Ch]:
9919         * paragraph_func.C: remove special bibkey handling
9920
9921 2003-02-17  John Levon  <levon@movementarian.org>
9922
9923         * text.C (Delete): fix case where delete at the end of
9924           the very first paragraph would not merge the pars
9925
9926 2003-02-17  John Levon  <levon@movementarian.org>
9927
9928         * lyxrow.C: fix lastPrintablePos()
9929
9930 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9931
9932         * bufferparams.C (writeLaTeX): add a std:here
9933
9934         * buffer.C: and remove a using directive there
9935
9936 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9937
9938         * buffer.C (makeLaTeXFile): move the code that generates the
9939           preamble...
9940
9941         * bufferparams.C (writeLaTeX): ... in this new method
9942
9943         * LaTeXFeatures.C (getEncodingSet): make const
9944           (getLanguages): make const
9945
9946         * MenuBackend.C (binding): returns the binding associated to this
9947           action
9948           (add): sets the status of each item by calling getStatus. Adds
9949           some intelligence.
9950           (read): add support for OptSubMenu
9951           (expand): remove extra separator at the end of expanded menu
9952
9953 2003-02-15  John Levon  <levon@movementarian.org>
9954
9955         * BufferView.C:
9956         * BufferView_pimpl.C:
9957         * bufferlist.h:
9958         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9959           inset code that had no actual effect. Remove unneeded status
9960           code.
9961
9962 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9963
9964         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9965           in preamble
9966
9967 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9968
9969         * text.C (drawLengthMarker): also draw an arrow marker for
9970           symbolic lengths (medskip...)
9971
9972 2003-02-14  John Levon  <levon@movementarian.org>
9973
9974         * tabular.h:
9975         * tabular.C: better method names
9976
9977 2003-02-14  John Levon  <levon@movementarian.org>
9978
9979         * BufferView_pimpl.C:
9980         * bufferlist.C:
9981         * buffer.C:
9982         * converter.C:
9983         * lyx_cb.C:
9984         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9985           it's a more accurate name. Remove some pointless uses.
9986
9987 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9988
9989         * text2.C (LyXText): change order of initilizers to shut off
9990           warnings
9991
9992 2003-02-14  John Levon  <levon@movementarian.org>
9993
9994         * buffer.C: use ParIterator for getParFromID()
9995
9996         * paragraph.h:
9997         * paragraph.C:
9998         * paragraph_pimpl.h:
9999         * paragraph_pimpl.C: remove unused getParFromID()
10000
10001 2003-02-14  John Levon  <levon@movementarian.org>
10002
10003         * buffer.C: remove some very old #if 0'd parse code
10004
10005 2003-02-13  John Levon  <levon@movementarian.org>
10006
10007         * text.h:
10008         * text.C:
10009         * text2.C: move hfillExpansion(), numberOfSeparators(),
10010           rowLast(), rowLastPrintable(), numberofHfills(),
10011           numberOfLabelHfills() ...
10012
10013         * lyxrow.h:
10014         * lyxrow.C: ... to member functions here.
10015
10016         * paragraph.h:
10017         * paragraph.C:
10018         * lyxtext.h:
10019         * text.C: remove LyXText::beginningOfMainBody(), and call
10020           p->beginningOfMainBody() directly. Move the check for
10021           LABEL_MANUAL into the latter.
10022
10023         * text.h:
10024         * text.C:
10025         * text2.C:
10026         * vspace.C:
10027         * BufferView.h:
10028         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10029
10030         * text.h:
10031         * text.C:
10032         * text2.C:
10033         * text3.C:
10034         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10035           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10036
10037 2003-02-13  John Levon  <levon@movementarian.org>
10038
10039         * CutAndPaste.C: remove debug
10040
10041 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10042
10043         * paragraph.C (asString): remove two unused variables
10044
10045         * lyxtextclass.C (readTitleType):
10046           (Read):
10047           (LyXTextClass): handle new members titletype_ and titlename_
10048
10049         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10050
10051 2003-02-09  John Levon  <levon@movementarian.org>
10052
10053         * buffer.h:
10054         * buffer.C: replace hand-coded list with a map for the dep clean
10055
10056 2003-02-08  John Levon  <levon@movementarian.org>
10057
10058         * LaTeX.C: consolidate code into showRunMessage() helper
10059
10060 2003-02-08  John Levon  <levon@movementarian.org>
10061
10062         * lyxfind.C:
10063         * lyxtext.h:
10064         * text2.C:
10065         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10066           and pass the size in explicitly
10067
10068         * BufferView_pimpl.h:
10069         * BufferView_pimpl.C:
10070         * BufferView.h:
10071         * BufferView.C: add getCurrentChange()
10072
10073         * BufferView_pimpl.h:
10074         * BufferView_pimpl.C: handle change lfuns
10075
10076         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10077           for changes. Mark pasted paragraphs as new.
10078
10079         * support/lyxtime.h:
10080         * support/lyxtime.C:
10081         * DepTable.C: abstract time_t as lyx::time_type
10082
10083         * LColor.h:
10084         * LColor.C: add colours for new text, deleted text, changebars
10085
10086         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10087           package use "usenames" option.
10088
10089         * commandtags.h:
10090         * lyxfunc.C:
10091         * LyXAction.C: add change lfuns
10092
10093         * Makefile.am:
10094         * author.h:
10095         * author.C: author handling
10096
10097         * buffer.h:
10098         * buffer.C: add a per-buffer author list, with first entry as
10099           current author. Handle new .lyx tokens for change tracking. Output
10100           author list to .lyx file. Output dvipost stuff to .tex preamble.
10101           Bump lyx format to 222.
10102
10103         * bufferlist.h:
10104         * bufferlist.C: add setCurrentAuthor() to reset current author details
10105           in all buffers.
10106
10107         * bufferparams.h:
10108         * bufferparams.C: add param for tracking
10109
10110         * bufferview_funcs.C: output change info in minibuffer
10111
10112         * Makefile.am:
10113         * changes.h:
10114         * changes.C: add change-tracking structure
10115
10116         * debug.h:
10117         * debug.C: add CHANGES debug flag
10118
10119         * lyxfind.h:
10120         * lyxfind.C: add code for finding the next change piece
10121
10122         * lyxrc.h:
10123         * lyxrc.C: add user_name and user_email
10124
10125         * lyxrow.h:
10126         * lyxrow.C: add a metric for the top of the text line
10127
10128         * lyxtext.h:
10129         * text.C: implement accept/rejectChange()
10130
10131         * lyxtext.h:
10132         * text.C: paint changebars. Paint new/deleted text in the chosen
10133         colours. Strike through deleted text.
10134
10135         * paragraph.h:
10136         * paragraph.C:
10137         * paragraph_pimpl.h:
10138         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10139           in the current change to the insert functions. Rework erase to
10140           mark text as deleted, adding an eraseIntern() and a range-based
10141           erase(). Implement per-paragraph change lookup and
10142           accept/reject.
10143
10144         * paragraph_funcs.C: Fixup paste for change tracking.
10145
10146         * tabular.C: mark added row/columns as new.
10147
10148         * text.C: fix rowLast() to never return -1. Don't allow
10149           spellchecking of deleted text. Track transpose changes. Don't
10150           allow paragraph break or merge where appropriate.
10151
10152         * text2.C: leave cursor at end of selection after a cut.
10153
10154 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10155
10156         * text.C (getLengthMarkerHeight):
10157         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10158         visible on screen too.
10159
10160 2003-02-07  John Levon  <levon@movementarian.org>
10161
10162         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10163
10164 2003-02-05  Angus Leeming  <leeming@lyx.org>
10165
10166         * lyxserver.C (read_ready): revert my patch of 11 September last year
10167         as it sends PC cpu through the roof. Presumably this means that
10168         the lyxserver will no longer run on an Alpha...
10169
10170 2003-01-30  Angus Leeming  <leeming@lyx.org>
10171
10172         * factory.C (createInset): create an InsetCommandParam of type "index"
10173         and use it to 'do the right thing'.
10174
10175         * text2.C (getStringToIndex): ensure that cursor position is always
10176         reset to the reset_cursor position.
10177
10178 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10179
10180         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10181         disabled.
10182
10183 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10184
10185         * bufferview.C:
10186         * lyxcb.C:
10187         * lyxfunc.C: Output messages with identical spelling, punctuation,
10188         and spaces
10189
10190 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10191
10192         * MenuBackend.C (expandFormats): List only viewable export formats
10193         in "View" menu
10194
10195         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10196         message
10197
10198         * lyxfunc.C (getStatus): Make sure that formats other than
10199         "fax" can also be disabled
10200
10201 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10202
10203         * text3.C (dispatch): put the lfuns that insert insets in 3
10204         groups, and call doInsertInset with appropriate arguments.
10205         (doInsertInset): new function, that creates an inset and inserts
10206         it according to some boolean parameters.
10207
10208 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10209
10210         * buffer.C (readFile): remember to pass on 'par' when calling
10211         readFile recursively.
10212
10213 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10214
10215         * MenuBackend.C (expandFormats): add "..." to import formats.
10216
10217 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10218
10219         * paragraph.C (asString): Remove XForms RTL hacks.
10220
10221 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10222         * buffer.C: fix typo
10223
10224 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10225
10226         * Makefile.am (LIBS): delete var
10227         (lyx_LDADD): add @LIBS@ here instead.
10228
10229 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10230
10231         * Clarify the meaning of "wheel mouse jump"
10232
10233 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10234
10235         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10236         tabular in a float
10237
10238 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10239
10240         * importer.C (Loaders): do not preallocate 3 elements in the
10241         vector, since one ends up with 6 elements otherwise
10242
10243 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10244
10245         * DepTable.C (write): write the file name as last element of the
10246         .dep file (because it may contain spaces)
10247         (read): read info in the right order
10248
10249 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10250
10251         * paragraph_pimpl.C (simpleTeXBlanks):
10252         (simpleTeXSpecialChars):
10253         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10254
10255         * tabular.C (latex): add some missing case statements. Reindent.
10256
10257         * MenuBackend.C (expandToc): remove unused variable.
10258
10259 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10260
10261         * LColor.C:
10262         * LaTeX.C:
10263         * LyXAction.C:
10264         * MenuBackend.C:
10265         * buffer.C:
10266         * exporter.C:
10267         * lyxfunc.C:
10268         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10269         and the like.
10270
10271 2003-01-05  John Levon  <levon@movementarian.org>
10272
10273         * BufferView.h:
10274         * BufferView.C: add getEncoding()
10275
10276         * kbsequence.h:
10277         * kbsequence.C: do not store last keypress
10278
10279         * lyxfunc.h:
10280         * lyxfunc.C: store last keypress here instead. Pass encoding
10281           to getISOEncoded()
10282
10283 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10284
10285         * lyx_main.C (init): remove annoying error message when following
10286         symbolic links (bug #780)
10287
10288 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10289
10290         * text.C (insertChar):
10291         * lyxrc.C (getDescription): remove extra spaces
10292
10293 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10294
10295         * lyxrc.C (getDescription): remove extra spaces
10296
10297 2002-12-20  John Levon  <levon@movementarian.org>
10298
10299         * text3.C: hack fix for page up/down across tall rows
10300
10301 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10302
10303         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10304         not been invoked
10305
10306 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10307
10308         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10309         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10310         thesaurus is not compiled in
10311
10312 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10313
10314         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10315
10316 2002-12-16  Angus Leeming  <leeming@lyx.org>
10317
10318         * lyxrc.[Ch]:
10319         * lyx_main.C (init): remove override_x_deadkeys stuff.
10320
10321 2002-12-12  John Levon  <levon@movementarian.org>
10322
10323         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10324           insert. Only remove shift modifier under strict
10325           circumstances.
10326
10327 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10328
10329         * MenuBackend.C (expandToc): fix crash.
10330
10331 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10332
10333         * MenuBackend.C (expandToc): gettext on float names.
10334
10335 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10336
10337         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10338         implement bool empty() [bug 490]
10339
10340 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10341
10342         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10343
10344 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10345
10346         * several files: ws changes
10347
10348 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10349
10350         * text2.C (setCounter): clean up a bit, use boost.format.
10351         (updateCounters): initialize par upon declaration.
10352
10353         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10354         if the layout exists. We do not just store the layout any more.
10355         (SwitchLayoutsBetweenClasses): use boost.format
10356
10357 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10358
10359         * converter.C (convert): if from and to files are the same, use a
10360         temporary files as intermediary
10361
10362 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10363
10364         * commandtags.h:
10365         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10366
10367 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10368
10369         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10370
10371 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10372
10373         * tabular.C (asciiPrintCell): use string(size, char) instead of
10374         explicit loop.
10375
10376         * sgml.C (openTag): fix order of arguments to string constructor
10377         (closeTag): ditto
10378
10379         * lyxfunc.C (dispatch): use boost.format
10380
10381         * lots of files: change "c" -> 'c'
10382
10383 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10384
10385         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10386
10387 2002-11-25  Angus Leeming  <leeming@lyx.org>
10388
10389         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10390
10391         * lyx_main.C (init): compile fix.
10392
10393 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10394
10395         * lyx_cb.C (start): boost.formatify
10396         do not include <iostream>
10397
10398         * lengthcommon.C: ws only
10399
10400         * boost-inst.C,BoostFormat.h: add more explict instantations
10401
10402 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10403
10404         * lots of files: handle USE_BOOST_FORMAT
10405
10406 2002-11-21  John Levon  <levon@movementarian.org>
10407
10408         * pspell.C: fix compile
10409
10410 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10411
10412         * lyxfunc.C (dispatch): use boost::format
10413         (open): ditto
10414         (doImport): ditto
10415
10416         * lyxfont.C (stateText): use boost::format
10417
10418         * lyx_main.C (LyX): use boost::format
10419         (init): ditto
10420         (queryUserLyXDir): ditto
10421         (readRcFile): ditto
10422         (parse_dbg): ditto
10423         (typedef boost::function): use the recommened syntax.
10424
10425         * importer.C (Import): use boost::format
10426
10427         * debug.C (showLevel): use boost::format
10428
10429         * converter.C (view): use boost::format
10430         (convert): ditto
10431         (move): ditto
10432         (scanLog): ditto
10433
10434         * bufferview_funcs.C (currentState): use boost::format
10435
10436         * bufferlist.C (emergencyWrite): use boost::format
10437
10438         * buffer.C (readLyXformat2): use boost::format
10439         (parseSingleLyXformat2Token): ditto
10440
10441         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10442
10443         * LaTeX.C (run): use boost::format
10444
10445         * Chktex.C (scanLogFile): use boost::format
10446
10447         * BufferView_pimpl.C (savePosition): use boost::format
10448         (restorePosition): ditto
10449         (MenuInsertLyXFile): ditto
10450
10451         * BoostFormat.h: help file for explicit instation.
10452
10453 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10454
10455         * tabular.C (latex): Support for block alignment in fixed width
10456         columns.
10457
10458 2002-11-17  John Levon  <levon@movementarian.org>
10459
10460         * BufferView_pimpl.C:
10461         * lyx_cb.C:
10462         * lyxfunc.C: split filedialog into open/save
10463
10464 2002-11-08  Juergen Vigna  <jug@sad.it>
10465
10466         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10467         by my last patch (hopefully).
10468
10469 2002-11-08  John Levon  <levon@movementarian.org>
10470
10471         * iterators.h:
10472         * iterators.C:
10473         * buffer.h:
10474         * buffer.C:
10475         * paragraph.h:
10476         * paragraph.C:
10477         * toc.h:
10478         * toc.C: ParConstIterator, and use it (from Lars)
10479
10480 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10481
10482         * lyxtextclass.[Ch]: revise and add doxygen comments
10483
10484 2002-11-07  John Levon  <levon@movementarian.org>
10485
10486         * text.C: fix progress value for spellchecker
10487
10488         * toc.C: fix navigate menu for insetwrap inside minipage
10489
10490         * paragraph_funcs.C: added FIXME for suspect code
10491
10492 2002-11-07  John Levon  <levon@movementarian.org>
10493
10494         * BufferView_pimpl.C: fix redrawing of insets
10495           on buffer switch
10496
10497 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10498
10499         * text2.C (updateCounters): fix bug 668
10500
10501 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10502
10503         * text3.C (dispatch): Do not make the buffer dirty when moving the
10504         cursor.
10505
10506 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10507
10508         * vc-backend.C: STRCONV
10509         (scanMaster): ditto
10510
10511         * text2.C (setCounter): STRCONV
10512
10513         * paragraph.C (asString): STRCONV
10514
10515         * lyxlength.C (asString): STRCONV
10516         (asLatexString): ditto
10517
10518         * lyxgluelength.C (asString): STRCONV
10519         (asLatexString): ditto
10520
10521         * lyxfunc.C (dispatch): STRCONV
10522         (open): ditto
10523
10524         * lyxfont.C (stateText): STRCONV
10525
10526         * importer.C (Import): STRCONV
10527
10528         * counters.C (labelItem): STRCONV
10529         (numberLabel): ditto
10530         (numberLabel): remove unused ostringstream o
10531
10532         * chset.C: STRCONV
10533         (loadFile): ditto
10534
10535         * bufferview_funcs.C (currentState): STRCONV
10536
10537         * buffer.C (readFile): STRCONV
10538         (asciiParagraph): ditto
10539         (makeLaTeXFile): ditto
10540
10541         * Spacing.C (writeEnvirBegin): STRCONV
10542
10543         * LaTeXFeatures.C (getLanguages): STRCONV
10544         (getPackages): ditto
10545         (getMacros): ditto
10546         (getBabelOptions): ditto
10547         (getTClassPreamble): ditto
10548         (getLyXSGMLEntities): ditto
10549         (getIncludedFiles): ditto
10550
10551         * LaTeX.C: STRCONV
10552         (run): ditto
10553         (scanAuxFile): ditto
10554         (deplog): ditto
10555
10556         * LString.h: add the STRCONV macros
10557
10558         * BufferView_pimpl.C (savePosition): STRCONV
10559         (restorePosition): ditto
10560         (MenuInsertLyXFile): ditto
10561
10562         * vc-backend.C (scanMaster): change from submatch[...] to
10563         submatch.str(...)
10564
10565         * funcrequest.C: include config.h
10566
10567         * factory.C: include config.h
10568
10569         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10570
10571         * box.C: include config.h
10572
10573         * LaTeX.C (scanAuxFile): change from submatch[...] to
10574         submatch.str(...)
10575         (deplog): ditto
10576
10577 2002-10-25  Angus Leeming  <leeming@lyx.org>
10578
10579         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10580
10581         * ispell.[Ch] (setError): new method.
10582         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10583         Use setError() insetead of goto END.
10584
10585         * lyx_cb.C (AutoSave): move out child process into new class
10586         AutoSaveBuffer.
10587
10588 2002-10-30  John Levon  <levon@movementarian.org>
10589
10590         * text3.C: make start appendix undoable
10591
10592 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10593
10594         * lyxlength.C (inPixels): Fix returned value.
10595
10596         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10597         environment.
10598
10599 2002-10-24  Angus Leeming  <leeming@lyx.org>
10600
10601         * lyxgluelength.h: no need to forward declare BufferParams
10602         or BufferView, so don't.
10603
10604 2002-10-21  John Levon  <levon@movementarian.org>
10605
10606         * BufferView.C: menuUndo ->undo, redo
10607
10608         * BufferView.h: document, remove dead, make some methods private
10609
10610         * paragraph_funcs.h:
10611         * paragraph_funcs.C:
10612         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10613
10614         * buffer.h:
10615         * buffer.C:
10616         * sgml.h:
10617         * sgml.C: move sgml open/close tag into sgml.C
10618
10619         * bufferview_funcs.h: unused prototype
10620
10621         * lyxfunc.h:
10622         * lyxfunc.C: remove unused
10623
10624         * lyxtext.h:
10625         * text.C: remove unused
10626
10627 2002-10-21  John Levon  <levon@movementarian.org>
10628
10629         * BufferView.h:
10630         * BufferView.C:
10631         * BufferView_pimpl.h:
10632         * BufferView_pimpl.C: fix mouse wheel handling based on
10633           patch from Darren Freeman
10634
10635 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10636
10637         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10638
10639 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10640
10641         * lyxlength.C (inPixels): Fix hanfling of negative length.
10642         Fix LyXLength::MU case.
10643
10644 2002-10-16  John Levon  <levon@movementarian.org>
10645
10646         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10647
10648 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10649
10650         * converter.C (view): add support for $$i (file name) and $$p
10651         (file path) for the viewer command. If $$i is not specified, then
10652         it is appended to the command (for compatibility with old syntax)
10653
10654 2002-10-14  Juergen Vigna  <jug@sad.it>
10655
10656         * undo_funcs.C (textHandleUndo): alter the order in which the
10657         new undopar is added to the LyXText, as we have to set first
10658         the right prev/next and then add it as otherwise the rebuild of
10659         LyXText is not correct. Also reset the cursor to the right paragraph,
10660         with this IMO we could remove the hack in "redoParagraphs()".
10661
10662 2002-10-09  Angus Leeming  <leeming@lyx.org>
10663
10664         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10665         to turn off an optimisation if a new inset is to be inserted.
10666
10667 2002-10-11 André Pönitz <poenitz@gmx.net>
10668
10669         * lyxtext.h: make some functions public to allow access
10670         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10671
10672 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10673
10674         * text3.C (dispatch): when changing layout, avoid an infinite loop
10675         [bug #652]
10676
10677 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10678
10679         * lyxrc.C (read): treat a viewer or converter command of "none" as
10680         if it were empty.
10681
10682         * MenuBackend.C (expandFormats): for an update, also allow the
10683         formats that are not viewable
10684
10685         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10686         script if it is newer than the lyxrc.defaults in user directory
10687
10688 2002-10-07 André Pönitz <poenitz@gmx.net>
10689
10690         * text.C: Vitaly Lipatov's small i18n fix
10691
10692 2002-09-25  Angus Leeming  <leeming@lyx.org>
10693
10694         * ispell.h: doxygen fix.
10695
10696 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10697
10698         * buffer.h (readFile): Add a new argument to the method, to allow
10699         reading of old-format templates.
10700
10701 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10702
10703         * toc.C (getTocList): Get TOC from InsetWrap.
10704
10705 2002-09-16  John Levon  <levon@movementarian.org>
10706
10707         * lyxfunc.C: check tabular for cut/copy too
10708
10709 2002-09-12  John Levon  <levon@movementarian.org>
10710
10711         * LyXAction.C: tidy
10712
10713         * factory.h:
10714         * factory.C: add header
10715
10716         * paragraph_funcs.h:
10717         * paragraph_funcs.C: cleanup
10718
10719 2002-09-11  John Levon  <levon@movementarian.org>
10720
10721         * PrinterParams.h: odd/even default to true
10722
10723 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10724
10725         * PrinterParams.h: update printer parameters for new xforms dialog
10726
10727 2002-09-11  Angus Leeming  <leeming@lyx.org>
10728
10729         * lyxserver.C (read_ready): re-write to make it more transparent
10730         and to make it work in coherent fashion under Tru64 Unix.
10731
10732 2002-09-11  André Pönitz <poenitz@gmx.net>
10733
10734         * commandtags.h:
10735         * LyXAction.C:
10736         * text3.C: implement LFUN_WORDSEL
10737
10738 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10739
10740         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10741         make floatlist_ a boost::shared_ptr<FloatList>
10742
10743         * lyxtextclass.C: include FloatList.h
10744         (LyXTextClass): initialize floatlist_
10745         (TextClassTags): add TC_NOFLOAT
10746         (Read): match "nofloat" to TC_NOFLOAT and use it.
10747         (readFloat): modify call to floatlist_
10748         (floats): ditto
10749         (floats): ditto
10750
10751         * FloatList.[Ch] (FloatList): remove commented out float
10752         initialization.
10753         (erase): new function
10754
10755 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10756
10757         * MenuBackend.C (expandToc): fix crash when there is no document
10758         open
10759
10760 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10761
10762         * many files: Add insetwrap.
10763
10764 2002-09-09  John Levon  <levon@movementarian.org>
10765
10766         * text2.C: remove confusing and awkward depth wraparound
10767
10768 2002-09-09  John Levon  <levon@movementarian.org>
10769
10770         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10771
10772         * buffer.h:
10773         * buffer.C: remove getIncludeonlyList()
10774
10775         * paragraph.C:
10776         * lyxfunc.C: remove headers
10777
10778 2002-09-09  Juergen Vigna  <jug@sad.it>
10779
10780         * text.C (getColumnNearX): fix form Michael this is most
10781         probably a cut&paste bug.
10782
10783 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10784
10785         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10786
10787         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10788         references, ws changes.
10789
10790         * text2.C (init): update counters after init
10791         (insertParagraph): no need to set counter on idividual paragraphs.
10792         (setCounter): access the counters object in the textclass object
10793         on in the buffer object.
10794         (updateCounters): ditto
10795
10796         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10797         shared_ptr<Counters> to avoid loading counters.h in all
10798         compilation units.
10799         (LyXTextClass): initialize ctrs_
10800         (TextClassTags): add TC_COUNTER, and ...
10801         (Read): use it here.
10802         (CounterTags): new tags
10803         (readCounter): new function
10804         (counters): new funtion
10805         (defaultLayoutName): return a const reference
10806
10807         * counters.C (Counters): remove contructor
10808         (newCounter): remove a couple of unneeded statements.
10809         (newCounter): simplify a bit.
10810         (numberLabel): some small formatting changes.
10811
10812         * buffer.[Ch]: remove all traces of counters, move the Counters
10813         object to the LyXTextClass.
10814
10815 2002-09-06  Alain Castera  <castera@in2p3.fr>
10816
10817         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10818         package to set the horizontal alignment on fixed width columns.
10819
10820         * lyx_sty.C:
10821         * lyx_sty.h: added tabularnewline macro def.
10822
10823         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10824
10825 2002-09-06  John Levon  <levon@movementarian.org>
10826
10827         * LyXAction.C: tooltips for sub/superscript
10828
10829         * MenuBackend.C: a bit more verbose
10830
10831         * lyxfunc.C: tiny clean
10832
10833         * undo_funcs.C: document undo_frozen
10834
10835 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10836
10837         * counters.C (Counters): add missing algorithm counter.
10838
10839         * text2.C (setCounter): lookup the counter with layouts latexname
10840         instead of by section number.
10841         (setCounter): use a hackish way to lookup the correct enum
10842         counter.
10843         a float name->type change
10844         reset enum couners with counter name directly instead of depth value.
10845
10846         * counters.C (Counters): remove the push_backs, change to use the
10847         float type not the float name.
10848         (labelItem): remove unused string, float name->type change
10849
10850         * counters.h: don't include vector, loose the enums and sects vectors
10851
10852 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10853
10854         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10855         (Read): add float->TC_FLOAT to textclassTags
10856         (Read): and handle it in the switch
10857         (readFloat): new function
10858
10859         * FloatList.C (FloatList): comment out the hardcoded float
10860         definitions.
10861
10862         * lyxlayout.h: ws change.
10863
10864 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10865
10866         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10867
10868 2002-09-03  Angus Leeming  <leeming@lyx.org>
10869
10870         * BufferView_pimpl.h: qualified name is not allowed in member
10871         declaration: WorkArea & Pimpl::workarea() const;
10872
10873         * factory.C: added using std::endl directive.
10874
10875         * text3.C: added using std::find and std::vector directives.
10876
10877 2002-08-29  André Pönitz <poenitz@gmx.net>
10878
10879         * lyxtext.h:
10880         * text2.C: remove unused member number_of_rows
10881
10882         * Makefile.am:
10883         * BufferView2.C: remove file, move contents to...
10884         * BufferView.C: ... here
10885
10886         * BufferView_pimpl.C:
10887         * factory.C: move more inset creation to factory
10888
10889         * vspace.C: avoid direct usage of LyXText, ws changes
10890
10891         * BufferView.[Ch]:
10892                 don't provide direct access to WorkArea, use two simple
10893                 acessors haveSelction() and workHeight() instead
10894
10895
10896 2002-08-29  John Levon  <levon@movementarian.org>
10897
10898         * BufferView_pimpl.C (dispatch): do not continue when
10899           no buffer
10900
10901 2002-08-28  André Pönitz <poenitz@gmx.net>
10902
10903         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10904
10905         * BufferView.h:
10906         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10907
10908 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10909
10910         * buffer.C: increment LYX_FORMAT to 221
10911
10912         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10913         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10914
10915         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10916
10917         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10918
10919 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10920
10921         * factory.C (createInset): use LyXTextClass::floats
10922
10923         * MenuBackend.C (expandFloatListInsert):
10924         (expandFloatInsert):
10925         (expandToc):
10926
10927         * text2.C (setCounter):
10928
10929         * LaTeXFeatures.C (useFloat):
10930         (getFloatDefinitions):
10931
10932         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10933
10934         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10935         floatlist_, with accessor floats().
10936
10937         * FloatList.h: remove global FloatList
10938
10939 2002-08-26  André Pönitz <poenitz@gmx.net>
10940
10941         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10942
10943         * BufferView.h:
10944         * BufferView2.C:
10945         * BufferView_pimpl.C:
10946         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10947
10948 2002-08-25  John Levon  <levon@movementarian.org>
10949
10950         * LyXAction.C: fix margin note description
10951
10952 2002-08-24  John Levon  <levon@movementarian.org>
10953
10954         * buffer.C:
10955         * bufferlist.C:
10956         * bufferview_funcs.C:
10957         * lyxfont.C:
10958         * undo_funcs.C: cleanups
10959
10960         * lyxfunc.C: disable CUT/COPY when no selection
10961
10962 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10963
10964         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10965         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10966
10967         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10968         Add backward compatibility to "mono", "gray" and "no".
10969
10970 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10971
10972         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10973         (and file_format >= 200).
10974
10975 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10976
10977         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10978
10979 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10980
10981         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10982
10983 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10984
10985         * BufferView_pimpl.C:
10986         * LyXAction.C:
10987         * buffer.C:
10988         * commandtags.h:
10989         * lyxfunc.C:
10990         * paragraph.[Ch]:
10991         * text2.C:
10992         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10993         inset and code to make it  work with the paragraph code. The inset
10994         can be anywhere in the paragraph, but will only do the expected
10995         thing in LaTeX if the layout file contains the parameter line
10996                         OptionalArgs    1
10997         (or more generally, a nonzero value) for that layout.
10998
10999 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11000
11001         * paragraph.h: remove the declaration of undefined counters class
11002         function.
11003
11004 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11005
11006         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11007         Dr. Richard Hawkins.
11008
11009 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11010
11011         * paragraph_funcs.h: remove some unneeded includes
11012
11013         * text.C (backspace): pasteParagraph now in global scipe
11014
11015         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11016         (pasteSelection): ditto
11017
11018         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11019         * paragraph_funcs.C (pasteParagraph): ... here
11020
11021 2002-08-20  André Pönitz <poenitz@gmx.net>
11022
11023         * commandtags.h: new LFUNs for swapping/copying table row/colums
11024
11025         * LyXAction.C:
11026         * lyxfunc.C: support for new lfuns
11027
11028 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11029
11030         * tabular.C:
11031         * buffer.[Ch]: remove NO_COMPABILITY stuff
11032
11033 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11034
11035         * boost.C (throw_exception): new file, with helper function for
11036         boost compiled without exceptions.
11037
11038         * paragraph.h:
11039         * lyxlength.C:
11040         * buffer.C:
11041         * ParameterStruct.h:
11042         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11043
11044         * bufferlist.C (emergencyWriteAll): use boost bind
11045
11046         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11047
11048         * text.C: include paragraph_funcs.h
11049         (breakParagraph): breakParagraph is now in global scope
11050
11051         * paragraph_funcs.[Ch]: new files
11052
11053         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11054         global scope
11055
11056         * buffer.C: include paragraph_funcs.h
11057         (insertStringAsLines): breakParagraph is now in global scope
11058
11059         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11060         paragraph_funcs.C
11061
11062         * CutAndPaste.C: include paragraph_funcs.h
11063         (cutSelection): breakParagraphConservative is now in global scope
11064         (pasteSelection): ditto
11065
11066         * buffer.h: declare oprator== and operator!= for
11067         Buffer::inset_iterator
11068
11069         * bufferlist.C (emergencyWrite): don't use fmt(...)
11070
11071         * text3.C: add using std::endl
11072
11073         * BufferView.C (moveCursorUpdate): remove default arg
11074
11075 2002-08-20  André Pönitz <poenitz@gmx.net>
11076
11077         * buffer.[Ch]: move inline functions to .C
11078
11079         * BufferView2.C:
11080         * BufferView_pimpl.C:
11081         * text.C:
11082         * buffer.[Ch]: use improved inset_iterator
11083
11084         * buffer.C:
11085         * paragraph.[Ch]: write one paragraph at a time
11086
11087 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11088
11089         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11090         style if style is not specified.
11091
11092 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11093
11094         * text2.C (setCounter): when searching for right label for a
11095         caption, make sure to recurse to parent insets (so that a caption
11096         in a minipage in a figure float works) (bug #568)
11097
11098 2002-08-20  André Pönitz <poenitz@gmx.net>
11099
11100         * text3.C: new file for LyXText::dispatch() and helpers
11101
11102         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11103
11104         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11105
11106 2002-08-19  André Pönitz <poenitz@gmx.net>
11107
11108         * lyxtext.h:
11109         * text.C: new LyXText::dispatch()
11110
11111         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11112
11113 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11114
11115         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11116
11117         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11118         Hebrew text.
11119
11120 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11121
11122         * Makefile.am: use $(variables) instead of @substitutions@
11123
11124 2002-08-15  André Pönitz <poenitz@gmx.net>
11125
11126         * lyxfunc.C:
11127         * BufferView_pimpl.C: streamlining mathed <-> outer world
11128         interaction
11129
11130         * commandtags.h:
11131         * LyXAction.C: remove unused LFUN_MATH
11132
11133 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11134
11135         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11136
11137 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11138
11139         * paragraph.C (Paragraph): reformat a bit
11140         (cutIntoMinibuffer): use builtin InsetList function instad of
11141         doing it manually.
11142         (getInset): ditto
11143
11144         * buffer.C: include boost/bind.hpp, add using std::for_each
11145         (writeFileAscii): use ParagraphList iterators
11146         (validate): use for_each for validate traversal of paragraphs
11147         (getBibkeyList): use ParagraphList iterators
11148         (resizeInsets): use for_each to resizeInsetsLyXText for all
11149         paragraphs.
11150         (getParFromID): use ParagraphList iterators
11151
11152         * BufferView2.C (lockInset): use paragraph list and iterators
11153
11154 2002-08-14  John Levon  <levon@movementarian.org>
11155
11156         * lyxserver.C: remove spurious xforms include
11157
11158 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11159
11160         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11161
11162 2002-08-13  André Pönitz <poenitz@gmx.net>
11163
11164         * LyXAction.[Ch]:
11165         * lyxfunc.C: further cleaning
11166
11167 2002-08-13  André Pönitz <poenitz@gmx.net>
11168
11169         * funcrequest.h: new constructor
11170
11171         * funcrequest.C: move stuff here from .h
11172
11173         * Makefile.am:
11174         * BufferView_pimpl.C:
11175         * LyXAction.C:
11176         * toc.C:
11177         * lyxfunc.C: subsequent changes
11178
11179         * lyxfunc.h: new view() member function
11180
11181         * lyxfunc.C: subsequent changes
11182
11183 2002-08-13  Angus Leeming  <leeming@lyx.org>
11184
11185         * BufferView2.C:
11186         * BufferView_pimpl.C:
11187         * buffer.C:
11188         * converter.C:
11189         * importer.C:
11190         * lyxfunc.C:
11191         * lyxvc.C:
11192         * toc.C:
11193         * vc-backend.C:
11194         changes due to the changed LyXView interface that now returns references
11195         to member variables not pointers.
11196
11197 2002-08-13  Angus Leeming  <leeming@lyx.org>
11198
11199         * WordLangTuple (word, lang_code): return references to strings,
11200         not strings.
11201
11202         * BufferView.h:
11203         * SpellBase.h:
11204         * lyxtext.h: forward-declare WordLangTuple.
11205
11206         * BufferView2.C:
11207         * ispell.C:
11208         * pspell.C:
11209         * text.C: #include "WordLangTuple.h".
11210
11211         * lyxtext.h:
11212         * text.C: (selectNextWordToSpellcheck): constify return type.
11213
11214 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11215
11216         * buffer.C:
11217         * buffer.h:
11218         * lyxtext.h:
11219         * paragraph.C:
11220         * paragraph_pimpl.h:
11221         * text.C:
11222         * text2.C:
11223         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11224         suggested by Angus.
11225         Made updateCounter always count from start of buffer, and removed
11226         second argument (par).
11227         Reverted floats number display to '#'. Perhaps I'll try again when the
11228         code base is sanitized a bit.
11229
11230 2002-08-12  Angus Leeming  <leeming@lyx.org>
11231
11232         * buffer.[Ch] (getLabelList): constify.
11233
11234 2002-08-07  André Pönitz <poenitz@gmx.net>
11235
11236         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11237
11238         * funcrequest.h: extension to keep mouse (x,y) position
11239
11240 2002-08-12  Juergen Vigna  <jug@sad.it>
11241
11242         * BufferView2.C (insertErrors): forbid undo when inserting error
11243         insets.
11244
11245         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11246
11247 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11248
11249         * ParagraphList.[Ch]: new files
11250
11251         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11252
11253         * BufferView2.C (lockInset): ParagraphList changes
11254         * toc.C: ditto
11255         * text2.C: ditto
11256         * bufferlist.C: ditto
11257         * buffer.h: ditto
11258         * buffer.C: ditto
11259
11260 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11261
11262         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11263         unused class variable counter_,
11264
11265         * paragraph.[Ch] (getFirstCounter): delete unused function
11266
11267         * counters.C: include LAssert.h
11268         (reset): add a new function with no arg, change other version to
11269         not have def. arg and to not allow empty arg.
11270
11271         * text2.C (setCounter): remove empty arg from call to Counters::reset
11272
11273 2002-08-11  John Levon  <levon@movementarian.org>
11274
11275         * Makefile.am: add WordLangTuple.h
11276
11277 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11278
11279         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11280         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11281
11282         * insets/insettext.C: InsetList changes
11283
11284         * graphics/GraphicsSupport.C (operator()): InsetList changes
11285
11286         * toc.C (getTocList): InsetList changes
11287
11288         * paragraph_pimpl.[Ch]: InsetList changes
11289
11290         * paragraph.[Ch]: InsetList changes
11291
11292         * buffer.C (inset_iterator): InsetList changes
11293         (setParagraph): ditto
11294         * buffer.h (inset_iterator): ditto
11295         * iterators.C (operator++): ditto
11296         * iterators.h: ditto
11297
11298         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11299
11300         * InsetList.[Ch]: new files, most InsetList handling moved out of
11301         paragraph.C.
11302
11303         * BufferView2.C (removeAutoInsets): InsetList changes
11304         (lockInset): ditto
11305         (ChangeInsets): ditto
11306
11307 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11308
11309         * paragraph_pimpl.h (empty): new function
11310
11311         * paragraph.[Ch] (empty): new function
11312
11313         * other files: use the new Paragraph::empty function
11314
11315 2002-08-09  John Levon  <levon@movementarian.org>
11316
11317         * lyxtext.h: remove unused refresh_height
11318
11319 2002-08-09  John Levon  <levon@movementarian.org>
11320
11321         * Makefile.am:
11322         * sgml.h:
11323         * sgml.C:
11324         * buffer.C:
11325         * paragraph.h:
11326         * paragraph.C: move sgml char escaping out of paragraph
11327
11328         * paragraph.h:
11329         * paragraph.C: remove id setter
11330
11331         * buffer.C:
11332         * paragraph.C:
11333         * paragraph_pimpl.C: remove dead tex_code_break_column
11334
11335         * bufferview_funcs.C: small cleanup
11336
11337         * lyxfunc.C: remove dead proto
11338
11339         * lyxtext.h: make some stuff private. Remove some dead stuff.
11340
11341         * lyxgluelength.C: make as[LyX]String() readable
11342
11343 2002-08-08  John Levon  <levon@movementarian.org>
11344
11345         * LyXAction.h:
11346         * LyXAction.C:
11347         * MenuBackend.C:
11348         * ToolbarDefaults.C:
11349         * lyxfunc.C:
11350         * lyxrc.C:
11351         * toc.C: lyxaction cleanup
11352
11353 2002-08-08  John Levon  <levon@movementarian.org>
11354
11355         * BufferView2.C: small cleanup
11356
11357         * lyxfind.h:
11358         * lyxfind.C: move unnecessary header into the .C
11359
11360 2002-08-08  John Levon  <levon@movementarian.org>
11361
11362         * funcrequest.h: just tedious nonsense
11363
11364         * lyx_main.h:
11365         * lyx_main.C: cleanups
11366
11367         * buffer.C:
11368         * vspace.C: remove dead header lyx_main.h
11369
11370 2002-08-07  Angus Leeming  <leeming@lyx.org>
11371
11372         * Paragraph.[Ch]:
11373         * paragraph_pimpl.h:
11374         Forward declare class Counters in paragraph.h by moving the ctrs member
11375         variable into Paragraph::Pimpl.
11376         (counters): new method, returning a reference to pimpl_->ctrs.
11377
11378         * text2.C: ensuing changes.
11379
11380 2002-08-07  John Levon  <levon@movementarian.org>
11381
11382         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11383
11384         * BufferView_pimpl.C: announce X selection on double/triple
11385           click
11386
11387         * lyx_main.C: use correct bool in batch dispatch
11388
11389         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11390
11391 2002-08-07  André Pönitz <poenitz@gmx.net>
11392
11393         * funcrequest.h: new class to wrap a kb_action and its argument
11394
11395         * BufferView.[Ch]:
11396         * BufferView_pimpl[Ch]:
11397         * LaTeX.C:
11398         * LyXAction.[Ch]:
11399         * lyxfunc.[Ch]:
11400         * lyxrc.C: subsequent changes
11401
11402
11403 2002-08-07  John Levon  <levon@movementarian.org>
11404
11405         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11406           document options change.
11407
11408 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11409
11410         * counters.[Ch]
11411         * text2.C
11412         * paragraph.[Ch]
11413         * makefile.am: move counters functionality over from
11414         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11415
11416 2002-08-06  John Levon  <levon@movementarian.org>
11417
11418         * WordLangTuple.h: new file for word + language code tuple
11419
11420         * SpellBase.h:
11421         * pspell.h:
11422         * pspell.C:
11423         * ispell.h:
11424         * ispell.C:
11425         * lyxtext.h:
11426         * text.C:
11427         * text2.C:
11428         * BufferView.h:
11429         * BufferView2.C: use WordLangTuple
11430
11431         * layout.h:
11432         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11433
11434 2002-08-06  John Levon  <levon@movementarian.org>
11435
11436         * lyx_main.C: fix cmdline batch handling
11437
11438 2002-08-06  André Pönitz <poenitz@gmx.net>
11439
11440         * lyxrc.C: set default for show_banner to true
11441
11442 2002-08-06  John Levon  <levon@movementarian.org>
11443
11444         * pspell.C: fix a crash, and allow new aspell to work
11445
11446 2002-08-06  John Levon  <levon@movementarian.org>
11447
11448         * lyxfunc.C:
11449         * kbmap.C: small cleanup
11450
11451         * vspace.h:
11452         * vspace.C: add const
11453
11454 2002-08-05  John Levon  <levon@movementarian.org>
11455
11456         * LyXAction.C: back to tabular-insert
11457
11458 2002-08-04  John Levon  <levon@movementarian.org>
11459
11460         * BufferView.h:
11461         * BufferView.C: cosmetic change
11462
11463         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11464
11465         * bufferlist.C:
11466         * buffer.h:
11467         * buffer.C:
11468         * lyxcb.h:
11469         * lyxcb.C:
11470         * lyxserver.C:
11471         * lyxvc.C:
11472         * vc-backend.C:
11473         * BufferView2.C: purge all "Lyx" not "LyX" strings
11474
11475         * lyxcursor.h:
11476         * lyxcursor.C: attempt to add some documentation
11477
11478         * lyxfunc.C:
11479         * commandtags.h:
11480         * LyXAction.C:
11481         * ToolbarDefaults.C:
11482         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11483           merge with LFUN_TABULAR_INSERT
11484
11485         * Makefile.am:
11486         * SpellBase.h:
11487         * ispell.h:
11488         * ispell.C:
11489         * pspell.h:
11490         * pspell.C: split up i/pspell implementations into separate
11491           files, many cleanups
11492
11493         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11494
11495         * text2.C: some cleanup
11496
11497         * lyxfunc.C: don't check for isp_command == "none" any more, it
11498           didn't make any sense
11499
11500 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11501
11502         * counters.[Ch]
11503         * text2.C
11504         * paragraph.[Ch]
11505         * makefile.am: move counters functionality over
11506         from text2.C/paragraph.[Ch] to counters.[Ch], and
11507         make proper C++.
11508 2002-08-02  John Levon  <levon@movementarian.org>
11509
11510         * buffer.C: s/lyxconvert/lyx2lyx/
11511
11512 2002-08-02  Angus Leeming  <leeming@lyx.org>
11513
11514         * lyxlex.C: revert John's change as it breaks reading of the user
11515         preamble.
11516
11517 2002-08-02  Angus Leeming  <leeming@lyx.org>
11518
11519         * importer.C (Import):
11520         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11521         changes due to LyXView::view() now returning a boost::shared_ptr.
11522
11523 2002-08-02  John Levon  <levon@movementarian.org>
11524
11525         * lyxlex.C: small cleanup
11526
11527 2002-08-02  John Levon  <levon@movementarian.org>
11528
11529         * text2.C (status): small cleanup, no logic change
11530
11531 2002-08-01  John Levon  <levon@movementarian.org>
11532
11533         * buffer.h:
11534         * buffer.C (writeFile): don't output alerts, caller
11535           handles this
11536
11537         * bufferlist.C:
11538         * lyx_cb.C: from above
11539
11540         * lyxfunc.C: allow to open non-existent files
11541
11542 2002-07-31  John Levon  <levon@movementarian.org>
11543
11544         * lyxserver.C: don't let incidental errors get
11545           in the way (errno)
11546
11547 2002-07-30  John Levon  <levon@movementarian.org>
11548
11549         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11550
11551 2002-07-30  John Levon  <levon@movementarian.org>
11552
11553         * lyxserver.h:
11554         * lyxserver.C: remove I/O callback too
11555
11556 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11557
11558         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11559         log.
11560
11561 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11562
11563         * many files: strip,frontStrip -> trim,ltrim,rtrim
11564
11565 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11566
11567         * PrinterParams.h: remove extern containsOnly, and include
11568         support/lstrings.h instead.
11569
11570         * LaTeX.C (scanAuxFile): modify because of strip changes
11571         (deplog): ditto
11572         * buffer.C (makeLaTeXFile): ditto
11573         * bufferparams.C (writeFile): ditt
11574         * lyxfont.C (stateText): ditto
11575         * lyxserver.C (read_ready): ditto
11576         * vc-backend.C (scanMaster): ditto
11577
11578         * BufferView_pimpl.h: ws changes
11579
11580         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11581
11582 2002-07-26  André Pönitz <poenitz@gmx.net>
11583
11584         * kb_sequence.C: remove unnedred usings
11585
11586 2002-07-26  Juergen Vigna  <jug@sad.it>
11587
11588         * lyxfind.C (LyXReplace): we have to check better if the returned
11589         text is not of theLockingInset()->getLockingInset().
11590
11591 2002-07-25  Juergen Vigna  <jug@sad.it>
11592
11593         * lyxfind.C (LyXReplace): don't replace if we don't get the
11594         right LyXText.
11595
11596         * undo_funcs.C (createUndo): remove debugging code.
11597
11598 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11599
11600         * buffer.C (parseSingleLyXformat2Token): Use default placement
11601         when reading old floats.
11602
11603         * FloatList.C (FloatList): Change the default placement of figure
11604         and tables to "tbp".
11605
11606 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11607
11608         * MenuBackend.C: using std::max
11609
11610 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11611
11612         * MenuBackend.C (expandToc):
11613         (expandToc2): code moved from xforms menu frontend. It is now
11614         generic and TOCs are transparent to menu frontends.
11615
11616 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11617
11618         * toc.C (getTocList): protect against buf=0
11619
11620         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11621         Menu as first parameter. Now, this calls itself recursively to
11622         expand a whole tree (this will be useful for TOC handling)
11623         (expandFloatInsert): remove 'wide' version of floats
11624
11625         * MenuBackend.h (submenuname): returns the name of the submenu.
11626         (submenu): returns the submenu itself, provided it has been
11627         created by MenuBackend::expand
11628
11629 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11630
11631         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11632         insets which have noFontChange == true. (bug #172)
11633
11634 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11635
11636         * BufferView_pimpl.C: add connection objects and use them...
11637         (Pimpl): here.
11638
11639 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11640
11641         * MenuBackend.C (expandLastfiles):
11642         (expandDocuments):
11643         (expandFormats):
11644         (expandFloatListInsert):
11645         (expandFloatInsert):
11646         (expand): split expand in parts
11647
11648 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11649
11650         * lyx_gui.C: use lyx_gui::exit()
11651
11652 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11653
11654         * LyXAction.C: show the failing pseudo action
11655
11656 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11657
11658         * buffer.C (readFile): Run the lyxconvert script in order to read
11659         old files.
11660
11661 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11662
11663         * LyXAction.C:
11664         * commandtags.h:
11665         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11666
11667 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11668
11669         * LyXAction.C:
11670         * commandtags.h:
11671         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11672
11673 2002-07-22  Herbert Voss  <voss@lyx.org>
11674
11675         * lengthcommon.C:
11676         * lyxlength.[Ch]: add support for the vertical lengths
11677
11678 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11679
11680         * toc.[Ch]: std:: fixes
11681
11682 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11683
11684         * lyxrc.C: do not include lyx_main.h
11685
11686         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11687         for layouts
11688
11689         * lyxrc.C:
11690         * encoding.C:
11691         * bufferlist.C:
11692         * BufferView2.C: include "lyxlex.h"
11693
11694         * tabular.h:
11695         * bufferparams.h: do not #include "lyxlex.h"
11696
11697         * lyxtextclasslist.C (Add): remove method
11698         (classlist): renamed to classlist_
11699
11700         * paragraph_pimpl.C:
11701         * paragraph.C:
11702         * text2.C:
11703         * CutAndPaste.C:
11704         * bufferview_funcs.C:
11705         * bufferlist.C:
11706         * text.C:
11707         * LaTeXFeatures.C:
11708         * buffer.C:
11709         * toc.C (getTocList): use BufferParams::getLyXTextClass
11710
11711         * toc.C (getTocList): use InsetFloat::addToToc
11712
11713         * toc.[Ch]: new files, containing helper functions to handle table
11714         of contents
11715
11716         * lyxfunc.C (dispatch): no need to remove spaces around command
11717         given as a string
11718         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11719         first command of the sequence; it is not very clever, but I do not
11720         have a better idea, actually
11721
11722         * LyXAction.C (LookupFunc): make sure to remove space at the
11723         beginning and end of the command
11724
11725 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11726
11727         * MenuBackend.C (getMenubar): new method: return the menubar of
11728         this menu set
11729         (read): treat differently reading of menu and menubar (in
11730         particular, the menubar has no name now)
11731         (Menu::menubar): remove
11732
11733         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11734         saving is finished
11735
11736 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11737
11738         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11739         a bibitem inset in a RTL paragraph.
11740
11741 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11742
11743         * paragraph_pimpl.C: constify
11744
11745         * BufferView_pimpl.C:
11746         * LaTeX.C:
11747         * lyxfunc.C: fix dispatch in a nicer way
11748
11749 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11750
11751         * lyxfunc.C (dispatch):
11752         * BufferView_pimpl.C:
11753         * BufferView_pimpl.h:
11754         * BufferView.C:
11755         * BufferView.h: rename Dispatch() to dispatch()
11756
11757         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11758
11759         * lyxlayout.C (Read): honor DependsOn tag
11760
11761         * lyxlayout.[Ch] (depends_on): new method
11762
11763         * version.C.in: update lyx_docversion
11764
11765         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11766
11767         * paragraph.C (validate): remove from here...
11768         * paragraph_pimpl.C (validate): ... and move here
11769         (isTextAt): make it const
11770
11771         * buffer.C (getLists): ws cleanup
11772
11773 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11774
11775         * language.C (read): Use iso8859-1 encoding in latex_lang
11776         (this prevents LyX from crashing when using iso10646-1 encoding).
11777
11778 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11779
11780         * text2.C (toggleInset): if cursor is inside an inset, close the
11781         inset and leave cursor _after_ it
11782
11783 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11784
11785         * lyxfunc.C: move minibuffer completion handling out of here
11786
11787 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11788
11789         * BufferView_pimpl.C:
11790         * LaTeX.C: fix dispatch calls
11791
11792 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11793
11794         * text.C (drawChars): Fix Arabic text rendering.
11795
11796 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11797
11798         * LyXAction.C:
11799         * commandtags.h:
11800         * lyxfunc.C: remove message-push/pop
11801
11802         * lyxserver.C:
11803         * lyxfunc.h:
11804         * lyxfunc.C: rationalise some code by removing verboseDispatch
11805           in favour of a bool argument to dispatch()
11806
11807 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11808
11809         * lyx_main.C (init): make sure to read symlinks as absolute paths
11810
11811 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11812
11813         * lyxfunc.h:
11814         * lyxfunc.C: no need for commandshortcut to be a member
11815
11816 2002-07-15  André Pönitz <poenitz@gmx.net>
11817
11818         * converter.C: add support for $$s (scripts from lib/scripts dir)
11819         * lyx_main.C: white space
11820
11821 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11822
11823         * bufferlist.C:
11824         * lyxrc.h:
11825         * lyxrc.C: remove second exit confirmation
11826
11827 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11828
11829         * BufferView.h:
11830         * BufferView.C:
11831         * BufferView2.C:
11832         * BufferView_pimpl.h:
11833         * BufferView_pimpl.C:
11834         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11835
11836 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11837
11838         * MenuBackend.C (expand): add numeric shortcuts to document menu
11839
11840         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11841
11842 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11843
11844         * lyxfont.C (setLyXFamily):
11845         (setLyXSeries):
11846         (setLyXShape):
11847         (setLyXSize):
11848         (setLyXMisc):
11849         (lyxRead):
11850         * debug.C (value):
11851         * buffer.C (asciiParagraph): use ascii_lowercase
11852
11853 2002-07-15  Mike Fabian  <mfabian@suse.de>
11854
11855         * lyxlex_pimpl.C (search_kw):
11856         * lyxlex.C (getLongString):
11857         * converter.h (operator<):
11858         * converter.C (operator<):
11859         * buffer.C (parseSingleLyXformat2Token):
11860         (asciiParagraph):
11861         * ToolbarDefaults.C (read):
11862         * MenuBackend.C (checkShortcuts):
11863         (read):
11864         * LColor.C (getFromGUIName):
11865         (getFromLyXName): use the compare_ascii_no_case instead of
11866         compare_no_case, because in turkish, 'i' is not the lowercase
11867         version of 'I', and thus turkish locale breaks parsing of tags.
11868
11869 2002-07-16  Angus Leeming  <leeming@lyx.org>
11870
11871         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11872         now takes a Buffer const & argument.
11873
11874 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11875
11876         * BufferView.C (resize): check there's a buffer to resize
11877
11878 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11879
11880         * lyxfunc.C: remove dead code
11881
11882         * lyxserver.h:
11883         * lyxserver.C: use lyx_guii::set_read_callback
11884
11885 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11886
11887         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11888         an inset in a RTL paragraph.
11889
11890 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11891
11892         * lyxfunc.C: repaint after a font size update
11893
11894 2002-07-15  André Pönitz <poenitz@gmx.net>
11895
11896         * lyxlength.C: inBP should be able to return negative values
11897
11898 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11899
11900         * lyxfunc.C: use lyx_gui::update_fonts()
11901
11902 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11903
11904         * lyxfunc.C: use lyx_gui::update_color()
11905
11906 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11907
11908         * bufferlist.C:
11909         * lyxfunc.h:
11910         * lyxfunc.C:
11911         * lyxrc.h:
11912         * lyxrc.C: remove file->new asks for name option, and let
11913           buffer-new take an argument
11914
11915 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11916
11917         * BufferView_pimpl.C: remove unneeded extra repaint()
11918
11919 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11920
11921         * LyXAction.C: allow command-sequence with NoBuffer
11922
11923         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11924
11925 2002-07-10  Angus Leeming  <leeming@lyx.org>
11926
11927         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11928
11929 2002-07-09  Angus Leeming  <leeming@lyx.org>
11930
11931         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11932
11933 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11934
11935         * lengthcommon.h: whitespace
11936
11937         * lyxfunc.C: update scrollbar after goto paragraph
11938
11939         * lyxtext.h: factor out page break drawing, and fix it so
11940           page break/added space paints as selected nicely
11941
11942 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11943
11944         * BufferView_pimpl.C: add FIXMEs, clean up a little
11945
11946 2002-07-09  André Pönitz <poenitz@gmx.net>
11947
11948         * lyxfont.[Ch]: support for wasy symbols
11949
11950 2002-07-08  André Pönitz <poenitz@gmx.net>
11951
11952         * BufferView_pimpl.C: apply John's patch for #93.
11953
11954 2002-07-05  Angus Leeming  <leeming@lyx.org>
11955
11956         * BufferView_pimpl.C (buffer): generate previews if desired.
11957
11958         * LColor.h: add "preview" to the color enum.
11959
11960         * LColor.C (LColor): add a corresponding entry to the items array.
11961
11962         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11963         with this buffer.
11964
11965 2002-07-05  Angus Leeming  <leeming@lyx.org>
11966
11967         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11968         The body of the code is now in the method that is passed an ostream &
11969         rather than a file name.
11970         Pass an additional only_preamble parameter, useful for the forthcoming
11971         preview stuff.
11972
11973 2002-07-03  André Pönitz <poenitz@gmx.net>
11974
11975         * lyxfunc.C: simplify getStatus() a bit for math stuff
11976
11977 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11978
11979         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11980
11981 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11982
11983         * text.C (changeRegionCase): do not change case of all the
11984         document when region ends at paragraph end (bug #461)
11985
11986 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11987
11988         * paragraph.C (startTeXParParams):
11989         (endTeXParParams): add \protect when necessary
11990
11991 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11992
11993         * BufferView_pimpl.C (workAreaExpose): remove warning
11994
11995 2002-06-27  Angus Leeming  <leeming@lyx.org>
11996
11997         * Makefile.am: add lyxlayout_ptr_fwd.h.
11998
11999 2002-06-26  André Pönitz <poenitz@gmx.net>
12000
12001         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12002
12003 2002-06-25  Angus Leeming  <leeming@lyx.org>
12004
12005         * lyxfunc.C (dispatch): Comment out the call to
12006         grfx::GCache::changeDisplay. The method no longer exists now that the
12007         pixmap generation part of the graphics loader has been moved into
12008         InsetGraphics.
12009
12010 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12011
12012         * text2.C: layout as layout
12013
12014         * text.C: layout as layout
12015
12016         * tabular.C (OldFormatRead): layout as layout
12017
12018         * paragraph_pimpl.C (TeXDeeper): layout as layout
12019         (realizeFont): layout as layout
12020
12021         * paragraph.C (writeFile): layout as layout
12022         (validate): layout as layout
12023         (getFont): layout as layout
12024         (getLabelFont): layout as layout
12025         (getLayoutFont): layout as layout
12026         (breakParagraph): layout as layout
12027         (stripLeadingSpaces): layout as layout
12028         (getEndLabel): layout as layout
12029         (getMaxDepthAfter): layout as layout
12030         (applyLayout): layout as layout
12031         (TeXOnePar): layout as layout
12032         (simpleTeXOnePar): layout as layout
12033         (TeXEnvironment): layout as layout
12034         (layout): layout as layout
12035         (layout): layout as layout
12036
12037         * lyxtextclass.C (compare_name): new functor to work with
12038         shared_ptr, layout as layout
12039         (Read): layout as layout
12040         (hasLayout): layout as layout
12041         (operator): layout as layout
12042         (delete_layout): layout as layout
12043         (defaultLayout): layout as layout
12044
12045         * lyxlayout_ptr_fwd.h: new file
12046
12047         * lyxlayout.C (Read): layout as layout
12048
12049         * lyx_cb.C (MenuInsertLabel): layout as layout
12050
12051         * bufferlist.C (newFile): layout as layout
12052
12053         * buffer.C (readLyXformat2): layout as layout
12054         (parseSingleLyXformat2Token): layout as layout
12055         (insertStringAsLines): layout as layout
12056         (asciiParagraph): layout as layout
12057         (latexParagraphs): layout as layout
12058         (makeLinuxDocFile): layout as layout
12059         (simpleLinuxDocOnePar): layout as layout
12060         (makeDocBookFile): layout as layout
12061         (simpleDocBookOnePar): layout as layout
12062         (getLists): layout as layout
12063
12064         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12065
12066         * CutAndPaste.C (cutSelection): layout as layout
12067         (pasteSelection): layout as layout
12068         (SwitchLayoutsBetweenClasses): layout as layout
12069
12070         * BufferView_pimpl.C (Dispatch): layout as layout
12071         (smartQuote): layout as layout
12072
12073         * BufferView2.C (unlockInset): layout as layout
12074
12075 2002-06-24  André Pönitz <poenitz@gmx.net>
12076
12077         * lyxfunc.C: fix #487
12078
12079 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12080
12081         * lyxrc.h:
12082         * lyxrc.C:
12083         * lyxfunc.C: remove display_shortcuts, show_banner
12084
12085 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12086
12087         * Buffer_pimpl.C: oops, update on resize
12088
12089 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12090
12091         * buffer.C:
12092         * converter.C:
12093         * exporter.C:
12094         * lyxfunc.C:
12095         * BufferView.h:
12096         * BufferView.C: use repaint()
12097
12098         * BufferView_pimpl.h:
12099         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12100           as it's a clearer description. Remove superfluous
12101           redraws.
12102
12103 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12104
12105         * text.C: fix bug 488. Not ideal, but getting
12106           getWord() to work properly for the insets that
12107           matter is more difficult ...
12108
12109 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12110
12111         * BufferView_pimpl.C:
12112         * LyXAction.C:
12113         * commandtags.h:
12114         * lyxfunc.C: remove the six million index lyxfuncs to just
12115           one, and DTRT (bug 458)
12116
12117 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12118
12119         * BufferView.h:
12120         * BufferView.C:
12121         * BufferView_pimpl.h:
12122         * BufferView_pimpl.C: clean up resize() stuff,
12123           and unnecessary updateScreen()s
12124
12125 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12126
12127         * BufferView.h:
12128         * BufferView.C:
12129         * BufferView_pimpl.h:
12130         * BufferView_pimpl.C:
12131         * lyxfind.h:
12132         * lyxfind.C:
12133         * minibuffer.C: remove focus management of workarea,
12134           not needed. Use screen's greyOut()
12135
12136 2002-06-17  Herbert Voss  <voss@lyx.org>
12137
12138         * converter.C: (convert) do not post a message, when converting
12139         fails, let the calling function decide what to do in this case
12140
12141 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12142
12143         * lyxfunc.C: tidy up a little
12144
12145 2002-06-16    <alstrup@diku.dk>
12146
12147         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12148         Got rid of FORMS_H_LOCATION include. Now we are
12149         GUII.
12150
12151 2002-06-15  LyX Development team  <lyx@rilke>
12152
12153         * buffer.[Ch] (sgmlOpenTag):
12154         (sgmlCloseTag): Added support for avoiding pernicious mixed
12155         content. Return number of lines written.
12156
12157         (makeLinuxDocFile):
12158         (makeDocBookFile): Fixed calls to sgml*Tag.
12159         Simple white space clean.
12160
12161         (simpleDocBookOnePar): Simple white space clean.
12162
12163         * tabular.[Ch] (docBook): Renamed to docbook and got another
12164         argument to related with the pernicious mixed content.
12165
12166         (docbookRow): Fixed calls for docbook inset method.
12167
12168 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12169
12170         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12171         so it's X11 independent.
12172
12173         * kb*.[Ch]: ditto.
12174
12175         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12176
12177 2002-06-15  Lyx Development team  <lyx@electronia>
12178
12179         * intl.h: Renamed getTrans to getTransManager.
12180
12181 2002-06-14  Angus Leeming  <leeming@lyx.org>
12182
12183         * Makefile.am: nuke forgotten stl_string_fwd.h.
12184
12185 2002-06-12  Angus Leeming  <leeming@lyx.org>
12186
12187         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12188
12189 2002-06-13  Angus Leeming  <leeming@lyx.org>
12190
12191         * LaTeX.C:
12192         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12193
12194 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12195
12196         * kbmap.C (getiso): add support for cyrillic and greek
12197
12198 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12199
12200         * BufferView.h:
12201         * BufferView.C:
12202         * BufferView_pimpl.h:
12203         * BufferView_pimpl.C: move bogus scrolling logic
12204           to xforms
12205
12206 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12207
12208         * lyxfunc.C:
12209         * BufferView_pimpl.C: view->resize() change
12210
12211 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12212
12213         * BufferView_pimpl.C: topCursorVisible
12214           prototype change
12215
12216 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12217
12218         * Makefile.am:
12219         * lyx_gui.h:
12220         * lyx_gui.C: move to frontends/
12221
12222         * main.C:
12223         * lyx_main.h:
12224         * lyx_main.C: changes from above
12225
12226 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12227
12228         * intl.C:
12229         * intl.h:
12230         * kbmap.C:
12231         * kbsequence.C:
12232         * lyx_cb.C:
12233         * lyx_main.C: minor tidy
12234
12235 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12236
12237         * BufferView_pimpl.h:
12238         * BufferView_pimpl.C:
12239         * BufferView.h:
12240         * BufferView.C: make painter() const,
12241           remove dead code
12242
12243         * BufferView2.C: use screen() accessor
12244
12245         * lyx_main.h:
12246         * lyx_main.C: some minor cleanup
12247
12248 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12249
12250         * BufferView_pimpl.h:
12251         * BufferView_pimpl.C: remove enter/leaveView,
12252           use workHeight()
12253
12254 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12255
12256         * BufferView.h:
12257         * BufferView.C:
12258         * BufferView2.C:
12259         * BufferView_pimpl.h:
12260         * BufferView_pimpl.C: only construct screen once,
12261           rename
12262
12263         * lyxrc.C: remove pointless comment
12264
12265 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12266
12267         * BufferView.h:
12268         * BufferView.C: remove active() and belowMouse()
12269
12270         * BufferView_pimpl.h:
12271         * BufferView_pimpl.C: use workarea() not workarea_,
12272           and make it use a scoped_ptr instead
12273
12274 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12275
12276         * lyx_gui.C: add debug message on BadWindow
12277
12278 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12279
12280         * sp_spell.C: fdopen is not part of the C++ standard.
12281
12282         * paragraph.C (InsetIterator): use >= instead of ==
12283
12284 2002-06-07  Angus Leeming  <leeming@lyx.org>
12285
12286         Fixes needed to compile with Compaq cxx 6.5.
12287         * BufferView_pimpl.C:
12288         * DepTable.C:
12289         * buffer.C:
12290         * converter.C:
12291         * encoding.C:
12292         * lyx_gui.C:
12293         * lyx_main.C:
12294         * lyxtextclasslist.C:
12295         * minibuffer.C:
12296         * sp_spell.C:
12297         * tabular_funcs.C:
12298         * vc-backend.C:
12299         all c-library variables have been moved into namespace std. Wrap
12300         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12301
12302         * lyxlength.C:
12303         * tabular-old.C:
12304         * tabular.C:
12305         Add a using std::abs declaration.
12306
12307         * kbmap.h (modifier_pair):
12308         * paragraph.h (InsetTable, InsetList):
12309         * lyxfont.h (FontBits):
12310         type definition made public.
12311
12312         * bufferlist.C (emergencyWriteAll): the compiler complains that
12313         there is more than one possible lyx::class_fun template to choose from.
12314         I re-named the void specialisation as lyx::void_class_fun.
12315
12316         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12317
12318         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12319         the compiler is is unable to find tostr in write_attribute.
12320
12321 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12322
12323         * buffer.C (sgmlError): hide #warning
12324
12325 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12326
12327         * xtl/*: get rid of xtl, which is not in use anyway
12328
12329         * LyXAction.C (init):
12330         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12331         were unimplemented xtl experimentation
12332
12333 2002-06-04  André Pönitz <poenitz@gmx.net>
12334
12335         * lyxfunc.C: disable array operation on simple formulae
12336
12337 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12338
12339         * converter.C: constify a bit
12340
12341 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12342
12343         * lyx_gui.C: check xforms version correctly
12344
12345 2002-04-30  Herbert Voss  <voss@lyx.org>
12346
12347         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12348         "keep" option
12349
12350 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12351
12352         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12353           attempt to register it with a VCS)
12354
12355 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12356
12357         * lyx_main.C (init): honor variables LYX_DIR_13x and
12358         LYX_USERDIR_13x
12359
12360 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12361
12362         * buffer.h:
12363         * buffer.C:
12364         * lyx_main.C: fix a crash on bad command line,
12365           and give a useful exit status on error
12366
12367         * lyxfunc.C (doImport): allow -i lyx to work
12368
12369 2002-03-30  André Pönitz <poenitz@gmx.net>
12370
12371         * lyxfunc.C: mathed font changes
12372
12373 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12374
12375         * LaTeX.C:
12376         * importer.h:
12377         * importer.C:
12378         * lyx_sty.h:
12379         * lyx_sty.C:
12380         * lyxlex.C:
12381         * lyxrow.h:
12382         * lyxtext.h:
12383         * paragraph.h:
12384         * paragraph.C:
12385         * texrow.h:
12386         * texrow.C:
12387         * text.C:
12388         * trans_mgr.h: srcdocs, and some minor cleanups
12389
12390 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12391
12392         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12393         call getFont all the time)
12394
12395 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12396
12397         * switch from SigC signals to boost::signals
12398
12399 2002-05-29  André Pönitz <poenitz@gmx.net>
12400
12401         * paragraph_pimpl.C (getChar): don't call size() too often...
12402
12403 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12404
12405         * paragraph_pimpl.C (insertChar): do not try to update tables when
12406         appending (pos == size())
12407
12408         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12409         in order to reduce drastically the number of comparisons needed to
12410         parse a large document
12411
12412 2002-05-29  André Pönitz <poenitz@gmx.net>
12413
12414         * text.C:
12415         * text2.C:
12416         * lyxtextclass.C:
12417         * sp_pspell.h:
12418         * textclasslist.[Ch]:
12419         * sp_ispell.h: whitespace change
12420
12421 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12422
12423         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12424         lyxaction directly now.
12425
12426 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12427
12428         * trans.C:
12429         * lyxfont.C:
12430         * lyxvc.C: remove unused headers
12431
12432 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12433
12434         * Makefile.am:
12435         * buffer.h:
12436         * undostack.h:
12437         * undostack.C:
12438         * undo_funcs.h:
12439         * undo_funcs.C: some cleanups. Use shared_ptr
12440           and a template for the undo stacks.
12441
12442 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12443
12444         * BufferView_pimpl.h:
12445         * BufferView_pimpl.C:
12446         * kbmap.h:
12447         * kbmap.C:
12448         * kbsequence.h:
12449         * kbsequence.C:
12450         * lyxfunc.h:
12451         * lyxfunc.C:
12452         * text2.C: use key_state/mouse_state
12453
12454 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12455
12456         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12457         and LSubstring
12458
12459         * chset.C: change include order
12460         (loadFile): use boost regex and get rid of LRegex and LSubstring
12461
12462         * Makefile.am (BOOST_LIBS): new variable
12463         (lyx_LDADD): use it
12464
12465         * LaTeX.C: change include order.
12466         (scanAuxFile): use boost regex and get rid of LRegex and
12467         LSubstring
12468         (deplog): ditto
12469
12470 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12471
12472         * ColorHandler.h:
12473         * ColorHandler.C:
12474         * FontInfo.h:
12475         * FontInfo.C: moved to frontends/xforms/
12476
12477         * FontLoader.h:
12478         * FontLoader.C: moved into frontends for GUIIzation
12479
12480         * Makefile.am:
12481         * lyx_gui.C:
12482         * lyxfont.C:
12483         * lyxfunc.C: changes from above
12484
12485 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12486
12487         * LColor.C: remove spurious X include
12488
12489         * BufferView_pimpl.C:
12490         * Makefile.am:
12491         * font.h:
12492         * font.C:
12493         * text.C:
12494         * text2.C: move font metrics to frontends/
12495
12496 2002-05-24  Juergen Vigna  <jug@sad.it>
12497
12498         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12499         setting the undo_cursor.
12500
12501         * ParagraphParameters.h: include local includes first.
12502
12503 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12504
12505         * BufferView_pimpl.C:
12506         * BufferView_pimpl.h:
12507         * Makefile.am:
12508         * WorkArea.h:
12509         * WorkArea.C:
12510         * screen.C: move WorkArea into frontends/
12511
12512         * lyxscreen.h:
12513         * screen.C:
12514         * text.C:
12515         * BufferView.C:
12516         * BufferView2.C: move LyXScreen into frontends/
12517
12518         * lyxlookup.h:
12519         * lyxlookup.C:
12520         * lyx_gui.C: move lyxlookup into frontends/xforms/
12521
12522 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12523
12524         * BufferView2.C:
12525         * BufferView_pimpl.C:
12526         * FontLoader.C:
12527         * LyXView.h:
12528         * LyXView.C:
12529         * Makefile.am:
12530         * WorkArea.C:
12531         * XFormsView.h:
12532         * XFormsView.C:
12533         * buffer.C:
12534         * bufferlist.C:
12535         * bufferview_funcs.C:
12536         * converter.C:
12537         * importer.C:
12538         * lyx_cb.C:
12539         * lyx_gui.C:
12540         * lyx_main.C:
12541         * lyx_find.C:
12542         * lyxfunc.C:
12543         * lyxvc.C:
12544         * minibuffer.C:
12545         * text.C:
12546         * text2.C:
12547         * trans.C:
12548         * vc-backend.C: move LyX/XFormsView into frontends/
12549
12550 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12551
12552         * Makefile.am:
12553         * PainterBase.C:
12554         * PainterBase.h:
12555         * Painter.C:
12556         * Painter.h:
12557         * WorkArea.C:
12558         * WorkArea.h:
12559         * screen.C:
12560         * tabular.C:
12561         * text.C:
12562         * text2.C: move Painter to frontends/
12563
12564 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12565
12566         * buffer.C: comment out some some code that depend upon lyx_format
12567         < 220
12568
12569         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12570         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12571
12572         * buffer.h (NO_COMPABILITY): turn off compability
12573
12574         * ColorHandler.C: include scoped_array.hpp
12575
12576         * font.C: Use more specific smart_ptr header.
12577         * Painter.C: ditto
12578         * gettext.C: ditto
12579         * ShareContainer.h: ditto
12580         * lyx_main.h: ditto
12581         * kbmap.h: ditto
12582         * FontInfo.h: ditto
12583         * BufferView_pimpl.h: ditto
12584         * ColorHandler.h: ditto
12585
12586         * kbmap.C (defkey): change call to shared_ptr::reset
12587
12588 2002-05-21  Juergen Vigna  <jug@sad.it>
12589
12590         * buffer.C (insertErtContents): fix to insert ert asis if it is
12591         non empty. Skip it completely if it contains only whitespaces.
12592
12593 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12594
12595         * BufferView_pimpl.C:
12596         * BufferView2.C: clear selection on paste (bug 393)
12597
12598 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12599
12600         * DepTable.C: include ctime
12601
12602 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12603
12604         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12605
12606 2002-05-14  Juergen Vigna  <jug@sad.it>
12607
12608         * text.C (breakParagraph): fixed function to honor the keepempty
12609         layout in the right maner and also to permit the right breaking
12610         algorithm on empty or non empyt keepempty paragraphs.
12611
12612         * paragraph.C (breakParagraph): we have to check also if the par
12613         is really empty (!size()) for isempty otherwise we do the wrong
12614         paragraph break.
12615
12616 2002-05-10  Juergen Vigna  <jug@sad.it>
12617
12618         * buffer.[Ch] : The following are only changes to the ert
12619         compatibility read reading old LaTeX layout and font stuff and
12620         convert it to ERTInsets.
12621
12622         * buffer.h: added isErtInset().
12623
12624         * buffer.C (struct ErtComp): add a fromlayout bool to check
12625         if we're inside a LaTeX layout.
12626         (isErtInset): new helper function.
12627         (insertErtContents): look for other ert insets before this one
12628         and insert the contents there, so that we don't have subsequent
12629         ERT insets with nothing between them. This way we create only one
12630         inset with multiple paragraphs. Also check if we don't insert only
12631         spaces ' ' as they are ignored anyway afterwards in the .tex file
12632         so if we have only spaces we will ignore this latex part in the
12633         new file.
12634         (parseSingleLyXformat2Token \\layout): better compatibility when
12635         reading layout-latex stuff.
12636         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12637         language tag.
12638         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12639         stuff after reading the inset only get the information back from
12640         the stack.
12641
12642 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12643
12644         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12645
12646         * LaTeXFeatures.C (getBabelOptions): New method.
12647
12648 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12649
12650         * BufferView_pimpl.C (Dispatch): work around missing argument for
12651         'layout'
12652
12653 2002-05-08  Juergen Vigna  <jug@sad.it>
12654
12655         * text.C (leftMargin): handle paragraph leftindent.
12656
12657         * paragraph.C (writeFile): write the new \\leftindent tag.
12658         (validate): handle leftindent code.
12659         (TeXEnvironment): handle paragraphleftindent code again.
12660
12661         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12662
12663         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12664         for paragrap_extra indent code and new token \\leftindent.
12665         (latexParagraphs): handle the leftindent as environment.
12666
12667         * ParameterStruct.h: added leftindent support.
12668
12669         * ParagraphParameters.C (leftIndent): added support functions for
12670         the paragraph left indent.
12671
12672         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12673         more appropriate.
12674
12675 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12676
12677         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12678         inside insetERT.
12679
12680         * text.C (computeBidiTables): No bidi in insetERT.
12681
12682         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12683         in RTL documents.
12684
12685 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12686
12687         * version.C.in: pre 5
12688
12689 2002-05-02  José Matos  <jamatos@fep.up.pt>
12690         * buffer.C (makeDocBookFile): white space changes, add newline to
12691         command styles.
12692         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12693
12694         * tabular.C (docBook): fix typo.
12695
12696 2002-05-03  Juergen Vigna  <jug@sad.it>
12697
12698         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12699         change in LyXText as we can not be sure it was not freed.
12700         (drawOneRow): remove unused code.
12701
12702         * text.C (drawInset): redo the calculation of the need_break_row as
12703         it could have a row which was already freed.
12704         (draw): look at the return value of drawInset and return false if
12705         it also returned false.
12706         (paintRowText): look at the return value of draw and return false if
12707         it also returned false.
12708
12709         * lyxtext.h: added bool return type to drawInset() and draw() so that
12710         if we have a change in the row so that the rowbreak has to be redone
12711         we abort drawing as it will be called again.
12712
12713 2002-05-02  Juergen Vigna  <jug@sad.it>
12714
12715         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12716         a change in the maintext also if we're inside an inset.
12717         (Dispatch): set the cursor again after a break line and after the
12718         screen has been updated as it could be we're in a different row.
12719
12720         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12721         to set the cursor behind the pargraph with > size().
12722         (setCursor): check also for the same paragraph when checking where
12723         to put the cursor if we have a NFR inset.
12724
12725         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12726         parts of layout read further up as it still was in the wrong
12727         position.
12728
12729 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12730
12731         * screen.C (drawFromTo): change sine fullRebreak always return
12732         true.
12733
12734         * buffer.C (parseSingleLyXformat2Token): reindent some
12735
12736         * BufferView_pimpl.C (update): change since fullRebreak always
12737         return true.
12738         (Dispatch): git rid of the last hardcoded "Standard"s.
12739
12740 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12741
12742         * text2.[Ch] (fullRebreak): make it return void now that we always
12743         returned true.
12744
12745 2002-04-30  Juergen Vigna  <jug@sad.it>
12746
12747         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12748         ert compatibility check for "latex" layout.
12749
12750 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12751
12752         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12753         minipages: use col% instead of p%, and also use the current font.
12754         (makeLaTeXFile): Fix use babel condition.
12755         (parseSingleLyXformat2Token): Correct font when reading old floats.
12756
12757 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12758
12759         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12760         inserting list of floats.
12761
12762 2002-04-25  Herbert Voss  <voss@lyx.org>
12763
12764         * MenuBackend.C (expand): don't add the graphics extensions to the
12765         export menu
12766
12767 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12768
12769         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12770         non-existing layout, do not complain if it was the default layout
12771         of the original class (bug #342)
12772
12773 2002-04-24  Juergen Vigna  <jug@sad.it>
12774
12775         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12776         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12777
12778 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12779
12780         * buffer.C (getBibkeyList): If using \bibliography, return the
12781         option field with the reference itself. Enables us to provide natbib
12782         support when using \bibliography.
12783
12784 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12785
12786         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12787
12788         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12789         natbib is provided by the LaTeX class.
12790
12791 2002-04-23  Juergen Vigna  <jug@sad.it>
12792
12793         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12794         Wakeup functions.
12795
12796         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12797
12798 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12799
12800         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12801
12802         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12803         ensuremath around textordmasculine, textordfeminine and
12804         textdegree.
12805
12806 2002-04-19  Juergen Vigna  <jug@sad.it>
12807
12808         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12809         reinitializing the buffer otherwise row-dimensions may be wrong.
12810         (update): reset also the selection cursors if they do exits otherwise
12811         their x/y positions may be wrong.
12812
12813         * text2.C (cursorDown): don't enter the inset if we came from a row
12814         above and are one row over the inset.
12815
12816         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12817         really leaving an inset.
12818
12819 2002-04-18  Juergen Vigna  <jug@sad.it>
12820
12821         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12822         of the selected paragraph does not have the selected layout also if
12823         the last one had!
12824
12825         * text2.C (setLayout): fixed bug which did not change last selected
12826         paragraph.
12827
12828         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12829         changed the read and substituted \\end_float with \\end_inset!
12830
12831         * BufferView_pimpl.C (cursorPrevious):
12832         (cursorNext): fixed to make it work with rows heigher than the work
12833         area without moving the cursor only the draw of the row.
12834         (workAreaMotionNotify): fix jumping over high rows.
12835
12836 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12837
12838         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12839         Ressler.
12840
12841 2002-04-16  Juergen Vigna  <jug@sad.it>
12842
12843         * text2.C (setCursor): set also the irow().
12844         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12845         (cursorUp):
12846         (cursorDown): support for locking an inset if the x_fix value goes
12847         inside it. That way I can transverse insets too with cursor up/down.
12848
12849         * lyxrow.h: added irow helper function same as other (i) functions.
12850
12851         * BufferView_pimpl.C (cursorPrevious):
12852         (cursorNext): fixed for insets!
12853
12854 2002-04-15  Juergen Vigna  <jug@sad.it>
12855
12856         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12857         position otherwise it is wrong in some cases.
12858
12859         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12860         inside the inset before the call.
12861
12862 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12863
12864         * buffer.[Ch] (getBibkeyList): make it const.
12865
12866 2002-04-12  Juergen Vigna  <jug@sad.it>
12867
12868         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12869
12870         * text2.C (getCursorX): new helper function
12871         (setCursor): compute also ix_
12872         (setCursorFromCoordinates): set also ix.
12873
12874         * lyxcursor.h: added ix_ and helper functions.
12875
12876         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12877
12878         * buffer.C (insertStringAsLines): dont break paragraph if the this
12879         paragraph is inside an inset which does not permit it!
12880
12881         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12882         also with no chars on this paragraph.
12883         (paintRowText): only paint stuff if it's inside the workarea!
12884
12885         * paragraph.C (breakParagraph): honor keepempty flag and break the
12886         paragraph always below not above.
12887
12888         * BufferView2.C (unlockInset): update the paragraph layout on inset
12889         unlock as we changed paragraph in such a case.
12890
12891         * lyxfind.C (LyXFind): clear the former selection if not found!
12892
12893         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12894         again called in insertChar().
12895
12896         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12897         an inset which uses the whole row!
12898         (rightMargin): ditto.
12899         (insertChar): force a rebreak if we inserted an inset!
12900
12901 2002-03-28  Herbert Voss  <voss@lyx.org>
12902
12903         * lyxlength.[Ch]: add inBP() to get the right PS-point
12904         units (BigPoint). With inPixels we have rounding errors
12905
12906 2002-04-11  Juergen Vigna  <jug@sad.it>
12907
12908         * text2.C (setCursorFromCoordinates): set iy to the right value.
12909         (setCursor): add check if row->previous exists!
12910
12911         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12912         an old float_type as this was the case in the old code!
12913
12914         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12915
12916         * BufferView2.C (showLockedInsetCursor): use iy
12917         (fitLockedInsetCursor): ditto
12918
12919         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12920         locked insets as there we have the right value now.
12921
12922         * lyxcursor.C: added iy_ variable and iy functions to set to the
12923         baseline of cursor-y of the locked inset.
12924
12925         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12926         (setCursor): fixed for insets which need a full row.
12927
12928         * text.C (rowLastPrintable): don't ignore the last space when before
12929         an inset which needs a full row.
12930         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12931         as last character of a row when before a inset which needs a full row.
12932
12933 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12934
12935         * version.C.in: update date
12936
12937         * text2.C (fullRebreak): try to always return true and see what
12938         happens...
12939
12940 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12941
12942         * MenuBackend.C (expand): use Floating::listName
12943
12944         * FloatList.C (FloatList): add listName argument to the built-in
12945         floats
12946
12947         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12948         text associated with the float.
12949
12950 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12951
12952         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12953
12954 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12955
12956         * ShareContainer.h: add a couple of missing typenames.
12957
12958 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12959
12960         * lyxrc.C (getDescription): use _() correctly rather than N_().
12961
12962 2002-03-28  Herbert Voss  <voss@lyx.org>
12963
12964         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12965         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12966
12967 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12968
12969         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12970         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12971
12972 2002-03-29  Juergen Vigna  <jug@sad.it>
12973
12974         * lyxfunc.C (dispatch): add a missing fitCursor call.
12975
12976         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12977         it was scrolled by a cursor move, so return the bool status.
12978
12979         * BufferView.C (fitCursor): return the bool flag also to the outside
12980         world as this is needed.
12981
12982         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12983
12984         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12985         call the edit() as it is not needed (and wrong) IMO.
12986         (workAreaButtonPress): set the screen_first variable before evt.
12987         unlock the inset as this may change screen_first and then we have
12988         a wrong y position for the click!
12989
12990 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12991
12992         * MenuBackend.C (expand): another translation that I missed
12993
12994 2002-03-28  Juergen Vigna  <jug@sad.it>
12995
12996         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12997
12998         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12999
13000 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13001
13002         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13003
13004         * MenuBackend.C (expand): fix export/view/update when there is no
13005         document open.
13006
13007 2002-03-27  Herbert Voss  <voss@lyx.org>
13008
13009         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13010         and text%
13011
13012 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13013
13014         * bufferview_funcs.C (currentState): only show paragraph number
13015         for is DEVEL_VERSION is set.
13016
13017         * lyxfunc.C (dispatch): put warning in INFO channel
13018
13019         * MenuBackend.C (expand): translate the name of floats
13020
13021         * FloatList.C (FloatList): mark the float names for translation
13022
13023         * converter.C (convert): use LibScriptSearch
13024
13025 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13026
13027         * MenuBackend.C (defaults): fix default menu (we might as well get
13028         rid of it...)
13029
13030 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13031
13032         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13033         directory.
13034
13035 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13036
13037         * lyxvc.C: reorder includes.
13038
13039 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13040
13041         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13042           properly
13043
13044 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13045
13046         * CutAndPaste.C: change layouts earlier on paste
13047           to avoid crashing when calling getFont()
13048
13049 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13050
13051         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13052         irritating #error.
13053
13054 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13055
13056         * WorkArea.C: remove 'Pending' debug message.
13057
13058         * most files: ws cleanup
13059
13060         * buffer.[Ch]: ws changes
13061
13062         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13063
13064 2002-03-21  Juergen Vigna  <jug@sad.it>
13065
13066         * tabular.C (SetMultiColumn): collapse also the contents of the
13067         cells and set the last border right. Added a Buffer const * param.
13068
13069 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13070
13071         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13072         linking or not.
13073
13074 2002-03-19  Juergen Vigna  <jug@sad.it>
13075
13076         * text2.C (clearSelection): reset also xsel_cache.
13077
13078         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13079         where it needs to be called (John tells us to do so too :)
13080         (selectionLost): reset sel_cache.
13081
13082         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13083
13084 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13085
13086         * text2.C (setCursorIntern): put debuging code in INSETS channel
13087
13088 2002-03-19  André Pönitz <poenitz@gmx.net>
13089
13090         * lyxfunc.C: tiny whitespace change
13091
13092 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13093
13094         * ToolbarDefaults.C (init):
13095         * LyXAction.C (init):
13096         * commandtags.h:
13097         * BufferView_pimpl.C (Dispatch):
13098         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13099
13100 2002-03-19  Allan Rae  <rae@lyx.org>
13101
13102         * exporter.C (Export): removeAutoInsets before doing anything else.
13103         While I've just introduced a dependency on BufferView this really is
13104         the best place to clean the buffer otherwise you need to cleanup in
13105         a dozen places before calling export or cleanup in a dozen functions
13106         that export calls.
13107
13108         * converter.C (runLaTeX):
13109         (scanLog): Better handling of removeAutoInsets and screen updates.
13110
13111         * lyxfunc.C (dispatch): small whitespace changes
13112
13113 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13114
13115         * WorkArea.C (C_WorkAreaEvent): return a value.
13116         (event_cb): return 1 if we handled the event, 0 otherwise.
13117
13118         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13119
13120 2002-03-18  Juergen Vigna  <jug@sad.it>
13121
13122         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13123         (GetAdditionalWidth): ditto.
13124         (RightLine): ditto.
13125         (LeftLine): ditto.
13126
13127         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13128         inset if we're there actually (probably not used right now but this
13129         is the direction to go for unifying code).
13130         (paste): disable code to clear the selection.
13131
13132         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13133         inside an InsetText and move the check further up as it is in the
13134         wrong place.
13135
13136         * text2.C (pasteSelection): set a selection over the pasted text.
13137
13138 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13139
13140         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13141         and libgraphics to build on Cygwin.
13142
13143 2002-03-15  Juergen Vigna  <jug@sad.it>
13144
13145         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13146         inserting an Inset into the paragraph. I know this is not the best
13147         fix but we already use current_view in CutAndPaste so we will remove
13148         all of it's using at the same time.
13149
13150         * buffer.C (sgmlError): deactivated function till it is rewritten in
13151         the right mode, now it can create problems.
13152
13153         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13154         before accessing it.
13155
13156 2002-03-14  Juergen Vigna  <jug@sad.it>
13157
13158         * undo_funcs.C (textHandleUndo): do the right thing when updating
13159         the inset after the undo/redo.
13160
13161         * text2.C (setCursor): just some testcode for #44 not ready yet.
13162
13163         * undo_funcs.C (textHandleUndo): set the next() and previous()
13164         pointers of the paragraph to 0 before deleting otherwise we have
13165         problems with the Paragraph::[destructor].
13166
13167         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13168         on a paragraph insertion.
13169
13170 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13171
13172         * buffer.C (asciiParagraph): use += operator for char append to
13173         string.
13174
13175         * paragraph.C (getFontSettings): compare >= not just >
13176         (highestFontInRange): ditto
13177         (setFont): ditto
13178
13179 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13180
13181         * paragraph.C: change several algorithm to be more appripriate for
13182         the problem domain. This is lookip in FontList and in the InsetList.
13183
13184 2002-03-13  André Pönitz <poenitz@gmx.net>
13185
13186         * commandtags.h:
13187         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13188
13189 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13190
13191         * commandtags.h:
13192         * LyXAction.C:
13193         * lyxfunc.C:
13194         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13195
13196 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13197
13198         * Painter.C (display): anon helper function, adjust code for this
13199         change.
13200         (pixmap): remove function.
13201
13202         * Painter.h: remove private display variable.
13203
13204         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13205
13206 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13207
13208         * WorkArea.[Ch]: remove figinset_canvas cruft.
13209
13210 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13211
13212         * lyxtextclass.C (operator): add one item cache optimization.
13213
13214         * bufferlist.h: doxy changes
13215
13216         * bufferlist.C: ws changes
13217
13218         * DepTable.[Ch] (ext_exist): place const in the right spot.
13219
13220         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13221         call resizeInsets.
13222         (workAreaExpose): call resizeInsets when the with BufferView changes.
13223         (Dispatch): adjust for protectedBlank removal
13224         (specialChar): call updateInset if the insert went ok.
13225
13226         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13227         specialChar instead.
13228
13229         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13230
13231         * BufferView.h: doxy change
13232
13233         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13234
13235         * lyxtextclass.C (operator[]): remove non-const version
13236         (defaultLayout): remove non-const version
13237
13238 2002-03-12  Juergen Vigna  <jug@sad.it>
13239
13240         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13241         did resize the LyXText too.
13242
13243         * buffer.C (readLyXformat2): set layout information on newly allocated
13244         paragraphs.
13245
13246         * tabular.C (OldFormatRead): set layout information on the paragraph.
13247
13248 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13249
13250         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13251
13252 2002-03-11  Juergen Vigna  <jug@sad.it>
13253
13254         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13255         plainly wrong.
13256         (resizeCurrentBuffer): force also the insets to resize themselfes.
13257         (moveCursorUpdate): fixed up for InsetText.
13258
13259 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13260
13261         * commandtags.h:
13262         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13263         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13264         value of Dialogs::tooltipsEnabled().
13265         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13266
13267 2002-03-08  Juergen Vigna  <jug@sad.it>
13268
13269         * BufferView_pimpl.C (updateInset): update inset inside inset also
13270         if it isn't inside theLockingInset().
13271
13272 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13273
13274         * buffer.C (asciiParagraph): redo some of the word and line length
13275         handling.
13276         (getLists): look for Caption instead of caption.
13277
13278 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13279
13280         * buffer.C (Buffer): initialize niceFile to true
13281         (makeLaTeXFile):
13282         (makeLinuxDocFile):
13283         (makeDocBookFile): make sure niceFile is true on exit
13284
13285 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13286
13287         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13288
13289 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13290
13291         * LyXSendto.C: remove.
13292         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13293         * lyx_gui.C: remove now-redundant comment.
13294         * ColorHandler.h: remove forward declaration of class WorkArea.
13295         * lyxfunc.C: remove #include "WorkArea.h".
13296
13297 2002-03-07  Juergen Vigna  <jug@sad.it>
13298
13299         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13300         got moved away with the DEPM and also set the inset_owner always
13301         right which before could have been omitted.
13302
13303 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13304
13305         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13306         wanted layout is not found.
13307
13308 2002-03-07  Juergen Vigna  <jug@sad.it>
13309
13310         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13311
13312 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13313
13314         * paragraph.C (breakParagraph): use default layout not layout of
13315         prev paragraph.
13316         (Paragraph): clear ParagraphParameters.
13317
13318 2002-03-06  Juergen Vigna  <jug@sad.it>
13319
13320         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13321         otherwise it would not be a valid lenght. Fixed a special case in
13322         the minipage compatibility read where we end the document with a
13323         minipage.
13324
13325         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13326         was set as it could be 0 for InsetTexts first entry.
13327
13328 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13329
13330         * paragraph.C (writeFile): if layout is empty write out
13331         defaultLayoutName().
13332
13333         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13334         file without named layout we set layout to defaultLayoutName().
13335
13336 2002-03-06  Juergen Vigna  <jug@sad.it>
13337
13338         * CutAndPaste.C (copySelection): set layout for new paragraph.
13339
13340         * text.C (prepareToPrint): leave ERT inset left aligned
13341         (leftMargin): don't indent paragraphs inside ERT insets
13342
13343 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13344
13345         * paragraph.C (breakParagraph): dont call clear do the work manually
13346
13347         * paragraph.[Ch] (clear): remove function
13348
13349 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13350
13351         * paragraph.C (Paragraph): dont call clear, the work has already
13352         been done.
13353
13354         * lyxtextclass.C (operator): assert if n is empty
13355
13356         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13357         work manually instead.
13358
13359 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13360
13361         * BufferView_pimpl.C: protect selectionLost against text == 0
13362
13363 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13364
13365         * text.C (breakParagraph): fix a setting layout to '0' problem.
13366
13367 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13368
13369         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13370         final location of file, for the included files, and graphics.
13371
13372 2002-03-05  Juergen Vigna  <jug@sad.it>
13373
13374         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13375
13376 2002-03-04  Juergen Vigna  <jug@sad.it>
13377
13378         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13379
13380         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13381         last column of multicolumn cells.
13382         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13383
13384 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13385
13386         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13387         file if it doesn't go to a temporary file.
13388
13389         * buffer.C (sgmlOpenTag):
13390         (sgmlCloseTag):  remove extra newline insertion.
13391
13392 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13393
13394         * text.C (getRowNearY): comment out debug msg
13395
13396 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13397
13398         * text2.C: first -> first_y
13399
13400         * text.C (getRowNearY): add some attemts at a possible
13401         optimization, not working.
13402
13403         * tabular.[Ch]: add BufferParams to several function so that newly
13404         created paragraph can be initialized to he default layotu for the
13405         buffers textclass.
13406
13407         * tabular-old.C (ReadOld): add buf->params to call of Init
13408
13409         * screen.C: rename text->first to text->first_y
13410
13411         * paragraph.C (breakParagraph): always set layout in the broken
13412         paragraph
13413
13414         * lyxtextclass.C (Read): remove lowercase
13415         (hasLayout): ditto
13416         (operator): ditto
13417         (delete_layout): ditto
13418
13419         * lyxtext.h: rename first -> first_y
13420
13421         * lyxlayout.C (Read): remove lowercase
13422         (name): ditto
13423         (setName): ditto
13424         (obsoleted_by): ditto
13425
13426         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13427
13428         * buffer.C (insertErtContents): add params are to InsetERT
13429         (parseSingleLyXformat2Token): add code to check if a paragraphs
13430         layout really exist.
13431         (parseSingleLyXformat2Token): add params to several inset
13432         constructors
13433         (asciiParagraph): remove lowercase, do the layout comparisons with
13434         no_case
13435
13436         * BufferView_pimpl.C (cursorNext): first -> first_y
13437         (resizeCurrentBuffer): first -> first_y
13438         (updateScrollbar): first -> first_y
13439         (scrollCB): first -> first_y
13440         (workAreaMotionNotify): first -> first_y
13441         (workAreaButtonPress): first -> first_y
13442         (checkInsetHit): first -> first_y
13443         (cursorPrevious): first -> first_y
13444         (cursorNext): first -> first_y
13445         (Dispatch): add buffer_->params to severl inset contructors
13446
13447 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13448
13449         * lyxlayout.C (Read): remove some debug info that I forgot.
13450
13451         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13452         clean up the code slightly.
13453         (makeLinuxDocFile): ditto
13454         (makeDocBookFile): ditto
13455
13456         * text2.C: layout as string
13457
13458         * text.C: layout as string
13459
13460         * paragraph_pimpl.C: layout as string
13461
13462         * paragraph.[Ch]: layout as string
13463
13464         * lyxtextclasslist.[Ch]: layout as string
13465
13466         * lyxtextclass.[Ch]: layout as string
13467
13468         * lyxtext.h: layout as string
13469
13470         * lyxlayout.[Ch]: layout as string
13471
13472         * lyx_cb.C: layout as string
13473
13474         * bufferview_funcs.C: layout as string
13475
13476         * bufferparams.C: layout as string
13477
13478         * buffer.C: layout as string
13479
13480         * LyXView.[Ch]: layout as string
13481
13482         * LaTeXFeatures.[Ch]: layout as string
13483
13484         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13485
13486         * BufferView_pimpl.C: change current_layout to string, remove
13487         lyx::layout_type.
13488         (Dispatch):
13489         (smartQuote):
13490         (insertInset):
13491         (workAreaButtonRelease): layout as string
13492
13493         * BufferView2.C (unlockInset): adjust
13494
13495         * vspace.C (asLatexCommand): use an explict temp variable.
13496
13497 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13498
13499         * Makefile.am: use FRONTEND_*
13500
13501 2002-03-01  Juergen Vigna  <jug@sad.it>
13502
13503         * tabular.C (SetWidthOfMulticolCell): changed to something better
13504         I hope but still work in progress.
13505         (recalculateMulticolumnsOfColumn): renamed function from
13506         recalculateMulticolCells as it is more appropriate now.
13507         (SetWidthOfCell): calculate multicols better.
13508
13509 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13510
13511         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13512
13513         * lyxfunc.C (processKeySym): print sequence also if it is
13514         `deleted' (complete)
13515
13516         * kbsequence.C (print): print sequence even if it is deleted
13517         (complete would be a better word, actually).
13518
13519         * lyxfunc.C (dispatch): print complete options after a prefix key
13520
13521         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13522
13523 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13524
13525         * text2.C (setCharFont): eliminate setCharFont code duplication.
13526
13527 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13528
13529         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13530         LFUN_TABULAR_FEATURE (bug #177)
13531
13532 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13533
13534         * Makefile.am: remove figure.h
13535
13536 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13537
13538         * Bufferview_pimpl.C:
13539         * CutAndPasteC:
13540         * LaTeX.C:
13541         * LyXSendto.C:
13542         * buffer.C:
13543         * bufferlist.C:
13544         * converter.C:
13545         * language.C:
13546         * lyxfunc.C:
13547         * lyxvc.C:
13548         * paragraph.C:
13549         * text.C:
13550         * text2.C: remove #include "lyx_gui_misc.h".
13551
13552         * LaTeX.C: added #include <cstdio>
13553
13554 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13555
13556         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13557         that the paragraph following this one can have.
13558
13559         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13560
13561         * vspace.C (asLatexCommand): fix bogus gcc warning
13562
13563         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13564
13565 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13566
13567         * text2.C (setLayout): get rid of redundant code
13568
13569 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13570
13571         * text2.C (incDepth): make sure depth cannot be increased beyond
13572         reasonable values.
13573
13574 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13575
13576         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13577         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13578
13579         * PainterBase.h (image):
13580         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13581         a LyXImage const *.
13582
13583 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13584
13585         * BufferView.C:
13586         * BufferView.h:
13587         * BufferView_pimpl.C:
13588         * BufferView_pimpl.h:
13589         * LaTeXFeatures.C:
13590         * LyXAction.C:
13591         * LyXView.C:
13592         * Makefile.am:
13593         * UpdateList.h:
13594         * UpdateList.C:
13595         * buffer.C:
13596         * figure.h:
13597         * figureForm.C:
13598         * figureForm.h:
13599         * figure_form.C:
13600         * figure_form.h:
13601         * lyx_cb.C:
13602         * lyx_gui.C:
13603         * lyx_gui_misc.C:
13604         * lyxfunc.C:
13605         * sp_base.h:
13606         * sp_ispell.h:
13607         * sp_pspell.h:
13608         * sp_spell.C: remove fig inset, and the crap house of
13609           cards that follows it
13610
13611 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13612
13613         * Makefile.am:
13614         * lyxserver.C:
13615         * os2_defines.h:
13616         * os2_errortable.h:
13617         * nt_defines.h: move .h into support/
13618
13619         * vms_defines.h: remove
13620
13621         * WorkArea.C: add space in debug output
13622
13623         * text2.C:
13624         * paragraph.C:
13625         * buffer.C: add WITH_WARNINGS
13626
13627         * vc-backend.h:
13628         * vc-backend.C:
13629         * bufferlist.C: s/retrive/retrieve/, add docs
13630
13631         * vspace.h:
13632         * vspace.C:
13633         * kbmap.h:
13634         * lyxlength.h:
13635         * lyxgluelength.h:
13636         * length_common.h:
13637         * chset.h:
13638         * chset.C: add docs
13639
13640         * lyxgui.C: add ID to X error handler
13641
13642         * lyxtestclass.c: fix typo
13643
13644 2002-02-26  Juergen Vigna  <jug@sad.it>
13645
13646         * tabular_funcs.C (write_attribute): changed so that some default
13647         attributes are not written at all.
13648         (getTokenValue): set default values before trying to read the
13649         value so we have the return value always set as default if we don't
13650         find the token we search for.
13651
13652         * tabular.C (Write): write bools as bools not as strings!
13653
13654 2002-02-22  Juergen Vigna  <jug@sad.it>
13655
13656         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13657         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13658
13659         * text.C (leftMargin): don't add an indent for paragraphs inside
13660         tabular cells (fix #208).
13661
13662 2002-02-21  José Matos  <jamatos@fep.up.pt>
13663
13664         * tabular.C (docBook): fixed support for long tables.
13665
13666 2002-02-20  Juergen Vigna  <jug@sad.it>
13667
13668         * text2.C (getFont): get the drawing font of the Inset if this
13669         paragraph is inside an inset (only important for InsetERT for now).
13670
13671         * buffer.C (insertErtContents): use new lanugage params in ERT
13672         constructor.
13673
13674         * CutAndPaste.C: commenting out seemingly uneeded code.
13675
13676 2002-02-19  Allan Rae  <rae@lyx.org>
13677
13678         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13679         Iterators might be simple to use but they also get invalidated.
13680         (removeAutoInsets): renamed saved cursor tracking variables and added
13681         some comments to clarify what everything does.
13682
13683 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13684
13685         * Chktex.C:
13686         * LaTeX.C:
13687         * LyXSendto.C:
13688         * converter.C:
13689         * lyx_cb.C:
13690         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13691         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13692
13693         * lyxfunc.C:
13694         * vc-backend.h: remove #include "support/syscall.h"
13695
13696         * LaTeX.C:
13697         * LyXSendto.C:
13698         * converter.C: rearrange #includes in Lars' approved fashion.
13699
13700         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13701         forward declare class Timeout in the header file.
13702
13703         * XFormsView.C: changes due to the above.
13704
13705         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13706         similar to LyXView.
13707
13708         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13709         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13710
13711 2002-02-18  José Matos  <jamatos@fep.up.pt>
13712
13713         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13714         insets contents.
13715
13716 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13717
13718         * a lot of small ws changes
13719         * add a lot of using std::XXX
13720         * use std construcs some places where approp.
13721         * use some exisint stuff from lyxfunctional where approp.
13722         * Make file changes to use partial linking (lets test this now...)
13723
13724 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13725
13726         * Chktex.C:
13727         * buffer.C:
13728         remove #include "support/syscontr.h" as it's redundant. Always has been.
13729
13730         * Chktex.C:
13731         * LaTeX.C:
13732         * LyXSendto.C:
13733         * converter.C:
13734         * lyx_cb.C:
13735         * vc-backend.C:
13736         change Systemcalls::System to Systemcalls::Wait and
13737         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13738         No change of functionality, just reflects the stripped down Systemcalls
13739         class.
13740
13741 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13742
13743         * debug.[Ch]: add a GRAPHICS type to the enum.
13744
13745 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13746
13747         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13748
13749         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13750         there is an inset.
13751
13752 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13753
13754         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13755         match the changes below.
13756
13757         * text2.C (toggleInset): if there is not editable inset at cursor
13758         position, try to see if cursor is _inside_ a collapsable inset
13759         and close it.
13760
13761 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13762
13763         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13764         document menu has a nice checkbox
13765
13766 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13767
13768         * lyxlength.C (asLatexString): change PW to output as percent of
13769         \textwidth.
13770
13771         * lengthcommon.C: change '%' to 't%'
13772
13773         * lyxfunc.C (dispatch): a few comments from Martin
13774
13775 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13776
13777         * WorkArea.h:
13778         * WorkArea.C:
13779         * BufferView_pimpl.h:
13780         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13781           the X selection.
13782
13783 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13784
13785         * vspace.C (inPixels): fix compiler warning
13786
13787 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13788
13789         * lyxfunc.C (getStatus): fix status message for disabled commands.
13790
13791 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13792
13793         * BufferView_pimpl.C: fix crash on close buffer
13794         during selection (#227)
13795
13796 2002-01-27  Herbert Voss  <voss@lyx.org>
13797
13798         * buffer.C: link old Figure to new graphic inset
13799
13800 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13801
13802         * FontLoader.C (getFontinfo): Change the latex font names in order
13803         to match the names of type1inst.
13804
13805 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13806
13807         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13808
13809         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13810         (extchanged): ditto
13811         (ext_exist): ditto
13812         (remove_files_with_extension): ditto
13813         (remove_file): ditto
13814         (write): ditto
13815
13816         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13817         document is smaller than the work area height. Do not initialize
13818         static variables to 0.
13819
13820 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13821
13822         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13823
13824         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13825         LFUN_LAYOUT_PARAGRAPHS.
13826
13827         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13828         tabular. It is possible to provide a possible cell, which will
13829         typically be the actcell from the corresponding insettabular
13830
13831         * lyxfunc.C (getStatus): small cleanup; disable
13832         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13833         true
13834
13835 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13836
13837         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13838
13839         * paragraph.C (startTeXParParams):
13840         (endTeXParParams): new methods. The LaTeX code to
13841         start/end paragraph formatting
13842         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13843         empty (fixes bug #200)
13844
13845         * vspace.C (inPixels): adapt to the change below
13846         (inPixels): [later] more cleanups (remove unused variables)
13847
13848         * lyxlength.C (inPixels): change to use a width and a height as
13849         parameter.
13850
13851 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13852
13853         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13854         Replaced with \paperwidth
13855
13856         * DepTable.C (insert): add std:: qualifier
13857
13858 2002-01-18  Allan Rae  <rae@lyx.org>
13859
13860         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13861         updated also?
13862
13863         * text.C (drawInset): Turned out I didn't know enough about how
13864         rebreaking worked.  This fixes most of the redraw problems.  I see
13865         an occasional cursor trail when a line is broken now and the cursor
13866         placement can seem out by a few pixels also after a rebreak.
13867
13868 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13869
13870         * buffer.C (parseSingleLyXformat2Token): update because minipage
13871         width is now a LyXLength
13872
13873         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13874
13875         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13876         math insets
13877
13878 2002-01-17  Juergen Vigna  <jug@sad.it>
13879
13880         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13881
13882         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13883         is set correctly and the inset is updated correctly.
13884
13885 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13886
13887         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13888         the beginning of the loop.
13889
13890 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13891
13892         * lyxrc.C: improve help for use_scalable_fonts
13893
13894 2002-01-17  Allan Rae  <rae@lyx.org>
13895
13896         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13897
13898 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13899
13900         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13901         make sure to set their inset_owner to the right value (bug #171)
13902
13903 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13904
13905         * DepTable.h
13906         * DepTable.C: Implement mtime checking to reduce time spent doing
13907         CRCs.
13908
13909 2002-01-16  Juergen Vigna  <jug@sad.it>
13910
13911         * tabular.C (GetAdditionalHeight): one of error fixed.
13912
13913         * lyxrc.C (output): small fix in writing use_pspell.
13914
13915 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13916
13917         * sp_base.h: #include LString.h
13918
13919 2002-01-16  Allan Rae  <rae@lyx.org>
13920
13921         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13922         Can someone check this please?
13923
13924         * text.C (drawInset): It was possible that p.row would be removed by
13925         breakAgainOneRow upsetting a few other settings.  There may be another
13926         small tweak possible by setting need_break_row = 0 when p.row has been
13927         removed but I don't know enough about the logic here.
13928
13929 2002-01-15  Allan Rae  <rae@lyx.org>
13930
13931         * text.C (insertChar): removed conditional truism.
13932
13933         * BufferView2.C (removeAutoInsets): More tweaks.
13934         cur_par_prev could be a stray pointer.  Check for trailing empty line
13935         in case last line was cur_par and only had an error inset on it.
13936
13937 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13938
13939         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13940         absolute
13941
13942         * vc-backend.C (most methods):
13943         * exporter.C (Export):
13944         * converter.C (convert):
13945         (runLaTeX):
13946         * LyXSendto.C (SendtoApplyCB):
13947         * lyxfunc.C (dispatch):
13948         (menuNew):
13949         (open):
13950         (doImport):
13951         * lyx_cb.C (AutoSave):
13952         (InsertAsciiFile):
13953         * BufferView_pimpl.C (MenuInsertLyXFile):
13954         * buffer.C (runChktex): use Buffer::filePath().
13955
13956         * buffer.h: rename filename to filename_; rename filepath to
13957         filepath_ and make it private
13958         (filePath): new method
13959
13960         * buffer.C (writeFile): use fileName()
13961         (getLatexName):
13962
13963         * lyx_main.C (init): fix starting  of LyX when the binary is a
13964         link from so,ewhere else.
13965
13966         * minibuffer.C: include <cctype> for isprint
13967
13968 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13969
13970         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13971         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13972         name clash with InsetCollapsable's width function.
13973
13974 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13975
13976         * lastfiles.C: include <iterator>
13977
13978 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13979
13980         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13981         std::count.
13982
13983         * buffer.C (makeLaTeXFile): ditto.
13984         Also make loop operation more transparent.
13985
13986 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13987
13988         * ToolbarDefaults.C: remove trailing comma closing namespace.
13989
13990         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13991
13992         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13993         as in WorkArea.
13994
13995         * trans.C (Load): comment out unused variable, allowed.
13996
13997 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13998
13999         * minibuffer.[Ch] (append_char): new method to recieve input from the
14000         drop-down completion browser. If a key was pressed, then recieve this
14001         char and append it to the existing string.
14002         (peek_event): modify the positioning data passed to the completion
14003         browser so that it can be placed above the minibuffer rather than below.
14004 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14005
14006         * LyXAction.C (init): alloe error-next for readonly documents.
14007
14008         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14009         count.
14010
14011 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14012
14013         * bufferlist.C (readFile): create the buffer _after_ checking that
14014         the file exists.
14015
14016         * lyxfunc.C (verboseDispatch): fix handling of arguments
14017
14018         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14019
14020         * lyxrc.C: use string::erase() instead of initializing to "".
14021
14022
14023 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14024
14025         * BufferView_pimpl.h:
14026         * BufferView_pimpl.C:
14027         * WorkArea.h:
14028         * WorkArea.C:
14029         * text2.C: tell X when we have made a selection for copying
14030
14031 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14032
14033         * BufferView_pimpl.C (MenuInsertLyXFile):
14034         * lyxfunc.C (menuNew):
14035         (open):
14036         (doImport): add shortcuts to directory buttons
14037
14038         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14039         open a float)
14040
14041         * lyxfunc.C (setStatusMessage):
14042         (getStatusMessage): new methods
14043         (getStatus):use setStatusMessage instead of setErrorMessage
14044         (dispatch): when function is disabled, set error message here
14045         [instead of in getStatus previously]
14046
14047         * BufferView_pimpl.C (workAreaButtonRelease): update
14048         toolbar/menubar here too.
14049
14050 2002-01-13  Allan Rae  <rae@lyx.org>
14051
14052         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14053         Now seems indestructible.  Remaining task is to audit all other
14054         code affected by deleteEmptyParagraphMechanism.  One small quirk
14055         left is that an empty document with an error in the preamble can
14056         be made to report an error but no error box appears.  I don't know
14057         where it goes.
14058         (removeAutoInsets): Improved comments.
14059
14060 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14061
14062         * Thesaurus.h:
14063         * Thesaurus.C: update for Aiksaurus 0.14
14064
14065 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14066
14067         * text2.C (firstParagraph): removed member function, all uses
14068         replaces with ownerParagraph
14069         (redoParagraphs): here
14070         (updateInset): here
14071         (toggleAppendix): here
14072         * BufferView2.C (insertErrors): here
14073         (setCursorFromRow): here
14074
14075 2002-01-13  Allan Rae  <rae@lyx.org>
14076
14077         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14078         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14079         There is still a way to segfault this although you may have to do this
14080         multiple times: Have an InsetERT with an unknown command in it.
14081         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14082         <down-arrow>, <Enter> again, View->DVI, BANG!
14083
14084         * text2.C (setCursor):
14085         (deleteEmptyParagraphMechanism):
14086         * lyxtext.h (setCursor):
14087         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14088         Making use of the return value may help fix other bugs.
14089
14090 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14091
14092         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14093
14094         * LyXView.C (updateMenubar): call MenuBar::update here
14095         (updateToolbar): but not here
14096         (showState): do not update toolbar/menubar
14097
14098         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14099         should need to care about that.
14100
14101         * lyxfunc.C (verboseDispatch): simplify a bit
14102         (getStatus): have a version which takes a pseudoaction, and
14103         another which requires a (kb_action,string).
14104
14105         * LyXAction.C (retrieveActionArg): make it work also when action
14106         is not a pseudo-action.
14107         (getActionName): simplify a bit
14108         (helpText):
14109
14110 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14111
14112         * lyxfunc.C (verboseDispatch): new families of methods with
14113         several ways to specify a command and a bool to indicate whether
14114         the command name and shortcut should be displayed in minibuffer
14115         (eventually, we could extend that to a finer bitmask like
14116         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14117         (dispatch): the pristine dispatch command which just, well,
14118         dispatchs! Note it still sets its result to minibuffer; I'm not
14119         sure we want that.
14120
14121         * lyxfunc.h: remove setHintMessage
14122
14123         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14124
14125 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14126
14127         * BufferView_pimpl.C (specialChar): delete new inset if we have
14128         not been able to insert it.
14129
14130         * kbmap.C: revert to using int instead of kb_action, since all we
14131         are dealing with is pseudo-actions.
14132
14133         * LyXAction.C (searchActionArg): change to return int instead of
14134         kb_action, since the result is a pseudoaction.
14135
14136 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14137
14138         * buffer.C (insertErtContents): Fix (partially) the font bug.
14139
14140 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14141
14142         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14143         as the other one is broken on my machine!
14144
14145 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14146
14147         * commandtags.h:
14148         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14149
14150 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14151
14152         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14153         reflect their actual use. Provide compatibility code for older lyxrc
14154         files.
14155
14156         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14157         FL_NORMAL_STYLE.
14158         change names of popup font variables in line with the changes to lyxrc.C
14159
14160 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14161
14162         * buffer.C (asciiParagraph): avoid outputing a word twice after
14163         an inset.
14164
14165         * lyxrc.C (getDescription): document that document_path and
14166         template_path can be empty.
14167
14168 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14169
14170         * LaTeXFeatures.C (getMacros):
14171         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14172
14173         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14174
14175         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14176         getPackages.
14177         (getPackages): rename feature "floats" to "float". Use an array to
14178         iterate over 'simple' features (i.e. just a \usepackage). Add
14179         handling of "amsmath" (renamed from "amsstyle").
14180
14181 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14182
14183         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14184         features list.
14185
14186 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14187
14188         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14189         FuncStaus::FuncStatus & FuncStaus::some_method().
14190
14191 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14192
14193         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14194         of the func_satus stuff. Edited and massaged in various ways by
14195         JMarc.
14196
14197         * lyxfunc.C (getStatus): use FuncStatus
14198
14199 2002-01-08  Juergen Vigna  <jug@sad.it>
14200
14201         * text.C (nextBreakPoint): use function Inset::isChar().
14202
14203         * paragraph.C (TeXOnePar): use function
14204         Inset::forceDefaultParagraphs.
14205
14206         * buffer.C (latexParagraphs): use function
14207         Inset::forceDefaultParagraphs.
14208
14209 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14210
14211         * lyx_gui.C (init): set the style of the menu popups to
14212         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14213
14214 2002-01-07  Juergen Vigna  <jug@sad.it>
14215
14216         * text.C (setHeightOfRow): small fix
14217         (prepareToPrint): don't look at alignment if we don't have the place
14218         for doing it.
14219
14220 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14221
14222         * box.C: New file. Move the Box methods and functions out of box.h,
14223         following Lars' suggestion.
14224
14225 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14226
14227         * box.h: #include "support/LOstream.h", needed for inlined function.
14228
14229         * lyxtextclass.C:
14230         * lyxtextclasslist.C: added some using std declarations.
14231
14232 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14233
14234         * box.h: make signed dimensions to allow insets wider than
14235           the screen (bug #162)
14236
14237         * BufferView_pimpl.C: add some insetHit debug
14238
14239 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14240
14241         * vc-backend.C: add FIXME
14242
14243 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14244
14245         * lyxfunc.C (getStatus): enable code for showing math font status
14246         in toolbar/menu.
14247
14248 2002-01-07  Juergen Vigna  <jug@sad.it>
14249
14250         * text.C (nextBreakPoint): removed debug output not needed anymore.
14251
14252 2002-01-06  Juergen Vigna  <jug@sad.it>
14253
14254         * text.C (nextBreakPoint): fixed up this function we had this bug
14255         since ever but now hopefully we break row better.
14256         (insertChar): we have to check if an inset is the next char as it
14257         could now happen that a large inset is causing a break.
14258
14259 2002-01-05  Juergen Vigna  <jug@sad.it>
14260
14261         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14262         if it doesn't like to be drawed.
14263
14264 2002-01-04  Juergen Vigna  <jug@sad.it>
14265
14266         * BufferView2.C (lockInset): forgot to set a cursor.
14267
14268         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14269
14270 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14271
14272         * FormMathsPanel.C:
14273         * FormMathsPanel.h
14274         * MathsSymbols.C:
14275         * form_maths_panel.C:
14276         * form_maths_panel.h:
14277         * form_maths_panel.fd: implemented sub- and super- buttons in math
14278         panel.
14279
14280         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14281         (or ^ space) to be used as in TeX (req'd by Andr�.
14282
14283         * lyxfunc.C: Allow ^ and _ again to be used both as
14284         super/subscript (mathed) and as themselves (in text).
14285
14286 2002-01-03  Allan Rae  <rae@lyx.org>
14287
14288         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14289         "LyX" or the filename of the current buffer if it has one.  This is a
14290         modified form of John Levon's patch.
14291
14292         * XFormsView.C (setWindowTitle): also set icon title.
14293
14294         * LyXView.h (setWindowTitle): signature changed.
14295         * XFormsView.h (setWindowTitle): ditto.
14296
14297 2002-01-02  Juergen Vigna  <jug@sad.it>
14298
14299         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14300
14301 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14302
14303         * screen.C (topCursorVisible): introduce a temp var for
14304         text->cursor.row(), handle the case where this row is null. (kindo
14305         hachish)
14306
14307         * text2.C (setCursor): add a couple of asserts.
14308
14309         * paragraph.h (inset_iterator): add -> operator
14310
14311         * paragraph.[Ch] (autoDeleteInsets): remove member function
14312
14313         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14314         cursor pos correctly and handle inset deletion by itself.
14315         (insertErrors): move iterator declaration out of for expression
14316
14317         * lyxtextclass.C: add <algorithm>
14318
14319         * Makefile.am: added the new files to sources, removed layout.C
14320
14321         * layout.C: removed file
14322
14323         * layout.h: remove LYX_DUMMY_LAYOUT
14324
14325         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14326         layout.
14327
14328         * lyxlayout.[Ch]:
14329         * lyxtextclass.[Ch]:
14330         * lyxtextclasslist.[Ch]: new files
14331
14332         * include order changes to a lot of files, also changes because of
14333         the six new files.
14334
14335 2001-12-27  Juergen Vigna  <jug@sad.it>
14336
14337         * buffer.C (asciiParagraph): more fixes.
14338
14339         * tabular.C (ascii): make ascii export support export of only the
14340         data separated by a column-delimiter.
14341         (ascii): better support for ascii export.
14342
14343         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14344
14345 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14346
14347         * tabular_funcs.C: use a "using std::getline" instead of the
14348         previous fix from Angus (necessary for cxx + lyxstring)
14349
14350 2001-12-24  Juergen Vigna  <jug@sad.it>
14351
14352         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14353
14354         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14355         problems. First check a minipage also if we have some ert-contents
14356         (not only on par->size(), second set the right depth of the paragraph
14357         on the relink to the root-paragraph-list!
14358
14359         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14360         which then did not anymore update the main paragraphs on undo/redo!
14361
14362 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14363
14364         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14365         code. Support all font-changing funcs (even those which are not in
14366         menu currently). Support for reporting font settings in
14367         mathed (disabled until Andre provides a function on mathed's side).
14368
14369         * func_status.h (toggle): small helper function to set toggle
14370         state on a flag.
14371
14372 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14373
14374         * tabular_funcs.C: getline -> std::getline
14375
14376 2001-12-21  Juergen Vigna  <jug@sad.it>
14377
14378         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14379         accessed and could be 0 (I couldn't generate this but it seems
14380         Michael could!).
14381
14382 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14383
14384         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14385         * tabular_funcs.h: here and include iosfwd
14386
14387 2001-12-20  Juergen Vigna  <jug@sad.it>
14388
14389         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14390         inside inset but undo_par was.
14391
14392 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14393
14394         * Thesaurus.C: always include <config.h> in sources.
14395
14396         * Painter.h:
14397         * lyxlookup.h:
14398         * box.h: do not include <config.h> in header files
14399
14400         * text.C (paintLastRow): remove unused variable
14401
14402         * text.C (transformChar):
14403         (insertChar):
14404         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14405
14406         * Painter.C (text):
14407         * font.C (width): rewrite to use uppercase() instead of
14408         islower/toupper.
14409
14410         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14411
14412 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14413
14414         * lyxfind.C: clean up of find failure position change
14415
14416 2001-12-20  Juergen Vigna  <jug@sad.it>
14417
14418         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14419
14420         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14421         (TeXRow): added to LaTeX a single tabular row.
14422         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14423         (Latex): simplified and finally good LT-h/f support.
14424         (various_functions): just small adaptions for LT-h/f support.
14425
14426         * tabular_funcs.[hC]: added and moved here all not classfunctions
14427         of LyXTabular.
14428
14429 2001-12-19  Juergen Vigna  <jug@sad.it>
14430
14431         * tabular.[Ch]: better support for longtabular options (not finished
14432         yet!)
14433
14434 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14435
14436         * text.C (paintLastRow): use the label font instead of the font of
14437         the last character to compute the size of *_BOX. This makes more
14438         sense and avoids a crash with empty paragraphs.
14439         Use Painter::rectangle to draw EMPTY_BOX.
14440
14441 2001-12-19  Juergen Vigna  <jug@sad.it>
14442
14443         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14444         the paragraphs if the replaced paragraph is not the first one!
14445         Tried to delete not used paragraphs but does not work yet so for
14446         now it's inside #ifdef's and by default off!
14447
14448 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14449
14450         * MenuBackend.C: include "lyx_main.h" instead of declaring
14451         lastfiles (actually was declared as LastFiles* instead of a
14452         scoped_ptr).
14453
14454 2001-12-17  Juergen Vigna  <jug@sad.it>
14455
14456         * tabular.C (AppendColumn): applied John's fix
14457
14458 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14459
14460         * BufferView.h:
14461         * BufferView.C:
14462         * BufferView_pimpl.h:
14463         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14464
14465         * Makefile.am:
14466         * box.h: new start of class for above
14467
14468         * lyxfunc.C: ignore space-only minibuffer dispatches.
14469           Show the command name when it doesn't exist
14470
14471         * minibuffer.C: don't add empty lines to the history
14472
14473         * minibuffer.C: add a space on dropdown completion
14474
14475 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14476
14477         * text.C: fix line above/below drawing in insets
14478
14479 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14480
14481         * lyxlength.C (LyXLength): Initialize private variables.
14482
14483 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14484
14485         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14486         when inserting error insets.
14487
14488 2001-12-13  Juergen Vigna  <jug@sad.it>
14489
14490         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14491         actually sometimes the before-paragraph.
14492         (setUndo): don't clear the redostack if we're not actually undoing!
14493
14494 2001-12-06  Juergen Vigna  <jug@sad.it>
14495
14496         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14497         and fixed redoing of main paragraph, so we can use it now ;)
14498
14499         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14500
14501 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14502
14503         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14504         Juergen's request
14505
14506 2001-12-13  André Pönitz <poenitz@gmx.net>
14507
14508         * undostack.[Ch]:
14509         * undo_func.C: minor cleanup
14510
14511 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14512
14513         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14514         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14515         font in urw-fonts package which is marked as -urw-fontspecific and
14516         does not work (incidentally, changing the encoding in the
14517         fonts.dir of this package to -adobe-fontspecific fixes the
14518         problem).
14519
14520         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14521         is a crash when undoing first paragraph (Juergen, please take a
14522         look). THis does not mean the undo fix is wrong, just that it
14523         uncovers problems.
14524
14525         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14526         the (Paragraph*) version when needed instead of duplicating the
14527         code.
14528
14529         * text.C (workWidth): use Inset::parOwner to find out where the
14530         inset has been inserted. This is a huge performance gain for large
14531         documents with lots of insets. If Inset::parOwner is not set, fall
14532         back on the brute force method
14533
14534         * paragraph_pimpl.C (insertInset):
14535         * paragraph.C (Paragraph):
14536         (cutIntoMinibuffer): set parOwner of insets when
14537         inserting/removing them
14538
14539         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14540
14541 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14542
14543         * commandtags.h:
14544         * LyXAction.C:
14545         * lyx_main.C:
14546         * lyxfunc.C:
14547         * mathed/formulabase.C:
14548         * mathed/math_cursor.[Ch]:
14549         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14550
14551
14552 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14553
14554         * lyxlength.[Ch] (operator!=): new function
14555
14556 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14557
14558         * text.C (workWidth): use Inset::parOwner to find out where the
14559         inset has been inserted. This is a huge performance gain for large
14560         documents with lots of insets. If Inset::parOwner is not set, fall
14561         back on the brute force method
14562
14563         * paragraph_pimpl.C (insertInset):
14564         * paragraph.C (Paragraph):
14565         (cutIntoMinibuffer): set parOwner of insets when
14566         inserting/removing them
14567
14568         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14569
14570 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14571
14572         * tabular-old.C (getTokenValue):
14573         * tabular.C (getTokenValue):
14574         (write_attribute): new versions for LyXLength
14575         (everywhere): adjust the use of widths
14576
14577         * tabular.h: change the type of widths from string to LyXLength
14578
14579 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14580
14581         * paragraph.C: fixed missing line number count when exporting
14582         Environments to LaTeX file
14583
14584         * buffer.C: added informational message for checking line numbers.
14585
14586 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14587
14588         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14589         paragraph, do the 'double space' part, but not the 'empty
14590         paragraph' one.
14591
14592         * text.C (workWidth): small optimization
14593         (getLengthMarkerHeight): use minimal size for negative lengths.
14594
14595 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14596
14597         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14598
14599         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14600
14601 2001-12-11  André Pönitz <poenitz@gmx.net>
14602
14603         * FontLoader.C:
14604         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14605
14606 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14607
14608         * text2.C: keep selection on a setFont()
14609
14610 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14611
14612         * lyx_cb.C: another bv->text misuse, from insert label
14613
14614 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14615
14616         * kbsequence.h:
14617         * kbsequence.C: re-instate nmodifier mask
14618
14619 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14620
14621         * lyx_main.h: make lyxGUI private.
14622
14623 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14624
14625         * lyxfind.C: place the cursor correctly on failed search
14626
14627 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14628
14629         * text.C (getLengthMarkerHeight): for small heights, the arrows
14630         are not always on top/bottom of the text
14631         (drawLengthMarker): smaller arrows; take the left margin in
14632         account; draw also vfills.
14633         (paintFirstRow):
14634         (paintLastRow): remove special code for vfill and standard spaces,
14635         since everything is handled in drawLengthMarker now.
14636
14637 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14638
14639         * buffer.C (insertErtContents): try to handle font and language
14640         interaction a bit better.g
14641
14642         * ColorHandler.C (updateColor): change the hash to cover the whole
14643         LColor enum, ws cleanup
14644         (getGCLinepars): ditto
14645         (getGCLinepars): only lookup in the linecache once.
14646
14647 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14648
14649         * iterators.C (operator++): Make the iterator more robust
14650
14651         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14652         (John's patch)
14653         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14654
14655 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14656
14657         * lyxtext.h:
14658         * text.C: better added space drawing
14659
14660 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14661
14662         * LyXView.C:
14663         * BufferView2.C: fix layout combo update on inset unlock
14664
14665 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14666
14667         * Makefile.am: don't compile unused files
14668
14669 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14670
14671         * lyxfunc.C:
14672         * commandtags.h:
14673         * LyXAction.C: remove old LFUN_LAYOUTNO
14674
14675 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14676
14677         * paragraph_pimpl.h:
14678         * paragraph_pimpl.C: isTextAt() doesn't need font param
14679
14680 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14681
14682         * lyxlex.h:
14683         * lyxlex.C: little cleanup
14684
14685 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14686
14687         * BufferView_pimpl.C: fix insertAscii for insets
14688
14689 2001-12-05  Juergen Vigna  <jug@sad.it>
14690
14691         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14692         set the right font on the "multi" paragraph paste!
14693
14694 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14695
14696         * trans_decl.h:
14697         * trans_mgr.[Ch]:
14698         * trans.[Ch]:
14699         * lyxgluelength.C:
14700         * lyxlength.C: remove out-commented code.
14701
14702         * BufferView_pimpl:
14703         * CutAndPaste.C:
14704         * DepTable.C:
14705         * buffer.C:
14706         * chset.C:
14707         * lastfiles.C:
14708         * lyxlex.C:
14709         * lyxlex_pimpl.C:
14710         * lyxserver.C:
14711         * screen.C:
14712         * tabular-old.C:
14713         * tabular.C:
14714         * text.C:
14715         * trans_mgr.C:
14716         * vc-backend.C: change "while(" to "while ("
14717
14718         * lyxlength.[Ch]: add zero function to check if length is zero or
14719         not
14720         * lyxgluelength.C: use it
14721
14722 2001-12-05  Allan Rae  <rae@lyx.org>
14723
14724         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14725         Works for 2.95.3, from what I understand of Garst's reports this should
14726         work for other g++ versions.  We're screwed if the abs(int) definition
14727         changed between bugfix releases of gcc.
14728
14729 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14730
14731         * text.C: fix chapter label offset !
14732
14733 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14734
14735         * lyxtext.h:
14736         * text.C: fix hfill at end of line, clean up
14737
14738 2001-12-04  Juergen Vigna  <jug@sad.it>
14739
14740         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14741         that we force an update of the inset and it's owners if neccessary.
14742
14743 2001-12-03  Juergen Vigna  <jug@sad.it>
14744
14745         * text.C (rowLast): simplified code
14746
14747 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14748
14749         * lyxfunc.C: fix show options on timeout
14750
14751 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14752
14753         * screen.C (topCursorVisible): scroll half a page when the cursor
14754         reached top of bottom of screen
14755
14756 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14757
14758         * minibuffer.C: deactivate on loss of focus
14759
14760 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14761
14762         * vspace.[Ch] (operator!=): add operator.
14763
14764 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14765
14766         * BufferView_pimpl.C: refuse to open an inset when
14767         there's a selection.
14768
14769 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14770
14771         * BufferView_pimpl.C: allow to click on RHS of full row insets
14772
14773 2001-11-30  Juergen Vigna  <jug@sad.it>
14774
14775         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14776         insets for undo reasons.
14777
14778 2001-11-28  André Pönitz <poenitz@gmx.net>
14779
14780         * vspace.[Ch]: cosmetical changes
14781
14782 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14783
14784         * LyXAction.h:
14785         * LyXAction.C:
14786         * lyxfunc.h:
14787         * lyxfunc.C:
14788         * kbmap.h:
14789         * kbmap.C:
14790         * lyxrc.C:
14791         * kbsequence.h:
14792         * kbsequence.C: part re-write of old kb code
14793
14794         * Painter.C:
14795         * WorkArea.C: remove Lgb_bug_find_hack
14796
14797 2001-11-30  José Matos <jamatos@fep.up.pt>
14798
14799         * buffer.C (makeDocBookFile): add a comment to point a hack.
14800         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14801         Fixed a double write of labels.
14802
14803 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14804
14805         * LaTeX.C:
14806         * LaTeX.h Fixed bug in LaTeX class where it would not
14807         re-run latex if no depfiles were changed, but the .dvi was removed.
14808
14809 2001-11-28  André Pönitz <poenitz@gmx.net>
14810
14811         * all the files from the change on 2001/11/26:
14812         use lyx::layout_type instead of LyXTextClass::size_type
14813         use lyx::textclass_type instead of LyXTextClassList::size_type
14814
14815 2001-11-29  Juergen Vigna  <jug@sad.it>
14816
14817         * text.C: added support for paragraph::isFreeSpacing()
14818
14819         * buffer.C: same as above
14820
14821         * paragraph.h: inserted isFreeSpacing() function to enable
14822         FreeSpacing inside InsetERT.
14823
14824         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14825         of the paragraph's in the cut/copy buffer to 0!
14826
14827         * text2.C (removeRow): remove the assert as it can!
14828
14829         * lyxtext.h: added helper function firstRow returning firstrow and
14830         made firstrow private again.
14831
14832         * BufferView2.C (lockInset): don't relock if we're already locked!
14833
14834         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14835         the only paragraph.
14836         (removeRow): added Assert::(firstrow)
14837
14838         * debug.C: forgot to add INSETTEXT here.
14839
14840 2001-11-28  Juergen Vigna  <jug@sad.it>
14841
14842         * sp_spell.C (initialize): changed error text to more general
14843         spellchecker command use (not only ispell!)
14844
14845         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14846
14847         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14848
14849 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14850
14851         * vspace.C: initialise lyxgluelength on failure
14852
14853 2001-11-28  Allan Rae  <rae@lyx.org>
14854
14855         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14856         declaration & definition that looks like a function declaration.
14857
14858 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14859
14860         * BufferView2.C (copy):
14861         (copyEnvironment): do not clear the selection when doing a copy.
14862
14863         * text.C (paintFirstRow): compilation fix
14864
14865 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14866
14867         * tabular.C (Latex): correct line count when writing latex.
14868
14869 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14870
14871         * paragraph_pimpl.h:
14872         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14873           bug a bit
14874
14875 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14876
14877         * text.C:
14878         * LColor.h:
14879         * LColor.C: change vfillline->added_space
14880
14881         * text.C: add markers and text for added space
14882
14883         * vspace.C: fix comment
14884
14885 2001-11-28  André Pönitz <poenitz@gmx.net>
14886
14887         * paragraph.C: whitespace changes
14888         * all the other files from the change on 2001/11/26:
14889         change *::pos_type into lyx::pos_type
14890
14891 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14892
14893         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14894         language of the document when inserting error insets.
14895
14896 2001-11-26  André Pönitz <poenitz@gmx.net>
14897
14898         * BufferView_pimpl.[Ch]:
14899         *       CutAndPaste.C:
14900         * buffer.[Ch]:
14901         * lyxcursor.[Ch]:
14902         * lyxfind.C:
14903         * lyxfunc.C:
14904         * lyxrow.[Ch]:
14905         * paragraph.[Ch]:
14906         * paragraph_pimpl.[Ch]:
14907         * sp_spell.C:
14908         * text.C:
14909         * text2.C: reduce header dependencies, introduce type for positions
14910
14911 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14912
14913         * <various>: change to use Alert.h
14914
14915 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14916
14917         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14918         when encountering an unknown token.
14919         (readLyXformat2): Show an error message if there were unknown tokens.
14920
14921 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14922
14923         * BufferView2.C:
14924         * BufferView_pimpl.C:
14925         * buffer.C:
14926         * paragraph.h:
14927         * text.C:
14928         * text2.C: use par->isInset()
14929
14930 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14931
14932         * paragraph_pimpl.h:
14933         * paragraph_pimpl.C: cleanup
14934
14935 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14936
14937         * text2.C (removeRow):
14938         * text.C (setHeightOfRow): remove useless (and costly) call to
14939         getRow.
14940
14941 2001-11-20  Allan Rae  <rae@lyx.org>
14942
14943         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14944         Now need Inset*::checkInsertChar() to return true for appropriate
14945         cases so that the characters in the minibuffer will actually be
14946         inserted.
14947
14948 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14949
14950         * text.C: change the order of the includes.
14951         (workWidth): initialize it at once.
14952         (workWidth): make maxw unsigned
14953         (setHeightOfRow): remove unused variable (inset)
14954         (selectSelectedWord): remove unused variable (inset)
14955         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14956
14957 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14958
14959         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14960         server is not running.
14961         (openConnection):
14962         (closeConnection): add debug info when server is disabled.
14963
14964         * ColorHandler.C (getGCForeground): send debug message to GUI
14965         channel.
14966
14967         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14968
14969         * kbmap.C (bind): modify because return conventions of
14970         kb_sequence::parse have changed.
14971
14972         * kbsequence.C (parse): only ignore spaces and not any stupid
14973         control character. This avoids tests like s[i] <= ' ', which are
14974         guaranteed to fail with 8bit characters and signed chars.
14975         Change return code to string::npos when there have been no error
14976         (0 was a bad idea when error is at first character)
14977
14978 2001-11-14  José Matos  <jamatos@fep.up.pt>
14979
14980         * buffer.h:
14981         * buffer.C (simpleDocBookOnePar): removed unused argument.
14982
14983 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14984
14985         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14986         insets which are part of a word. Paragraph::isLetter takes care of
14987         that now. Use Paragraph::isInset to identify insets.
14988         (selectSelectedWord): do not test for hyphenation break.
14989
14990         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14991         that protected spaces are considered as spaces.
14992
14993         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14994         Inset::isLetter.
14995
14996 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14997
14998         * lyxserver.h:
14999         * lyxserver.C: fix it. and small cleanup.
15000
15001 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15002
15003         * BufferView_pimpl.C: use inline helpers
15004
15005         * LaTeXFeatures.h:
15006         * LaTeXFeatures.C: fix typos
15007
15008         * Spacing.h:
15009         * Spacing.C: move spacing_string into class
15010
15011         * ToolbarDefaults.C: move stuff into namespace anon
15012
15013         * layout.h: update enum
15014
15015         * lyxfunc.C: use better debug
15016
15017         * minibuffer.h: fix typo
15018
15019         * debug.h:
15020         * debug.C:
15021         * WorkArea.C: add and use Debug::WORKAREA
15022
15023         * lyxtext.h:
15024         * text.C:
15025         * text2.C: code re-organisation, inline helpers
15026
15027 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15028
15029         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15030         std::vector.empty().
15031
15032 2001-11-09  Allan Rae  <rae@lyx.org>
15033
15034         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15035         '\n's after tables.  Tabular and ERT inset work now makes this no
15036         longer necessary.
15037
15038 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15039
15040         * minibuffer.h:
15041         * minibuffer.C: fix crash, improve drop-down completion
15042
15043 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15044
15045         * lyxserver.h:
15046         * lyxserver.C: invalidate fd's when doing endPipe()
15047
15048 2001-11-08  José Matos  <jamatos@fep.up.pt>
15049
15050         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15051         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15052
15053         * paragraph.h:
15054         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15055
15056 2001-11-07  José Matos  <jamatos@fep.up.pt>
15057
15058         * buffer.h:
15059         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15060         const qualifier.
15061
15062         * buffer.C (sgmlOpenTag):
15063         * buffer.C (sgmlCloseTag): removed debug info.
15064
15065         * buffer.h (sgmlOpenTag):
15066         * buffer.h (sgmlCloseTag): made public.
15067
15068 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15069
15070         * buffer.C (saveParamsAsDefaults):
15071         * lyx_cb.C (MenuLayoutSave): remove
15072
15073         * LyXAction.C (init):
15074         * commandtags.h:
15075         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15076
15077 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15078
15079         * buffer.C (setPaperStuff): removed from here...
15080
15081         * bufferparams.C (setPaperStuff): ... and moved there.
15082
15083 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15084
15085         * minibuffer.h:
15086         * minibuffer.C:
15087         * XFormsView.C: add support for drop-down completion
15088
15089 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15090
15091         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15092         commands.
15093
15094 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15095
15096         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15097         disabled.
15098
15099 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15100
15101         * lyx_main.C: change ref to known bugs
15102
15103 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15104
15105         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15106         to work around older babel problems.
15107
15108 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15109
15110         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15111
15112 2001-10-24  Juergen Vigna  <jug@sad.it>
15113
15114         * tabular-old.C (ReadOld): below variable changes reflected.
15115
15116         * tabular.[Ch]: added ltType struct for longtable header/footer
15117         defines and changed all instances where they are used. Added
15118         future support for double top/bottom rows.
15119
15120 2001-10-24  José Matos  <jamatos@fep.up.pt>
15121
15122         * buffer.h (docbookHandleCaption):
15123         * buffer.C (docbookHandleCaption): removed unused function.
15124         (makeDocBookFile): moved docbook supported version to v4.1.
15125
15126 2001-10-24  José Matos  <jamatos@fep.up.pt>
15127
15128         * tabular.h:
15129         * tabular.C (docbookRow): new function to export docbook code of a row.
15130         (DocBook): now honors the longtable flags.
15131
15132 2001-10-23  José Matos  <jamatos@fep.up.pt>
15133
15134         * LaTeXFeatures.h:
15135         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15136         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15137
15138         * buffer.C (makeLinuxDocFile):
15139         (makeDocBookFile): reworked the preamble, more clean, and with
15140         support for lyx defined entities. Changed the document declaration
15141         to be more XML friendly.
15142
15143         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15144         if we need to output XML that should be done with a filter.
15145
15146 2001-10-22  Juergen Vigna  <jug@sad.it>
15147
15148         * sp_pspell.h (class PSpell): add alive function needed in the
15149         controller to see if the spellchecker could be started.
15150
15151 2001-10-22  Juergen Vigna  <jug@sad.it>
15152
15153         * buffer.C (insertStringAsLines): modify the font for inserting
15154         chars in certain conditions by calling checkInsertChar(font).
15155
15156 2001-10-19  Juergen Vigna  <jug@sad.it>
15157
15158         * text.C (workWidth): use getRow instead of wrong algorithm.
15159         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15160
15161 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15162
15163         * lyxserver.h:
15164         * lyxserver.C:
15165         * lyx_main.h:
15166         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15167
15168 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15169
15170         * text.C (workWidth): do not search for the exact row when
15171         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15172         optimization for big documents.
15173
15174 2001-10-18  Juergen Vigna  <jug@sad.it>
15175
15176         * text.C (workWidth): new function with added Inset * parameter.
15177
15178 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15179
15180         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15181
15182         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15183         change return type of getColumnNearX.
15184
15185
15186         * text.C (changeRegionCase): use uppercase/lowercase instead of
15187         toupper/tolower.
15188         (leftMargin):
15189         (rightMargin): simplify code by factoring out the uses of
15190         textclasslist.
15191         (labelFill):
15192         (numberOfHfills):
15193         (setHeightOfRow):
15194         (appendParagraph): use Paragraph::size_type
15195
15196 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15197
15198         * vspace.C (asLatexString): add a missing break
15199
15200 2001-10-15  Herbert Voss  <voss@perce.de>
15201
15202         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15203
15204 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15205
15206         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15207         is not available.
15208
15209 2001-10-10  André Pönitz <poenitz@gmx.net>
15210
15211         * lyxfunc.C: removed greek_kb_flag.
15212
15213 2001-10-10  Herbert Voss  <voss@perce.de>
15214
15215         * lyx_main.C: delete global string help_lyxdir.
15216
15217 2001-10-09  Herbert Voss  <voss@perce.de>
15218
15219         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15220
15221         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15222
15223         * lyx_main.C: added global string help_lyxdir.
15224
15225         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15226
15227 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15228
15229         * lyxrc.C (set_font_norm_type): support iso8859-4
15230
15231 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15232
15233         * LaTeX.C (deplog): add another regex for MikTeX
15234
15235 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15236
15237         * lyxrc.C (set_font_norm_type): support iso8859-3
15238
15239 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15240
15241         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15242
15243         * LaTeXFeatures.C: remove special case of french and index
15244
15245         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15246         before \begin{document}). This solves several incompatibilities.
15247
15248 2001-10-03  Garst Reese  <reese@isn.net>
15249
15250         * lyx_cb.C: change CheckTex error msg.
15251
15252 2001-10-03  José Matos  <jamatos@fep.up.pt>
15253
15254         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15255
15256 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15257
15258         * .cvsignore: update
15259
15260         * lyx_main.C (commandLineVersionInfo): use new style version info.
15261
15262         * buffer.C (writeFile):
15263         (makeLaTeXFile):
15264         (makeLinuxDocFile):
15265         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15266
15267         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15268
15269         * version.h: update to use stuff in version.C
15270
15271         * version.C.in: new file. Contains version information determined
15272         at compile time. This is a merging of version.h and
15273         version_info.h.in.
15274
15275 2001-10-03  Juergen Vigna  <jug@sad.it>
15276
15277         * BufferView_pimpl.C (update): don't change "dirty" status in
15278         updateInset call.
15279
15280 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15281
15282         * WorkArea.C (c-tor): re-position version string slightly.
15283
15284 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15285
15286         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15287         revert to previous code.
15288
15289         WorkArea.[Ch]: (show, destroySplash): methods removed.
15290
15291         WorkArea.C: rework code so that it's an amalgam of the codes before and
15292         after the splash screen was moved to WorkArea.
15293
15294 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15295
15296         * lyxrc.C (read):
15297         * vspace.C (inPixels):
15298         (lyx_advance):
15299         * kbmap.C (bind):
15300         * buffer.C (insertStringAsLines):
15301         (asciiParagraph): fix types to be large enough
15302
15303         * lyxlex_pimpl.h: change member status from short to int
15304
15305         * layout.h: fix type of endlabeltype
15306
15307         * kbmap.C (bind):
15308         * kbsequence.C (parse): change return type to string::size_type
15309
15310         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15311         variable
15312
15313         * Bullet.C (bulletSize):
15314         (bulletEntry): do not use short ints as parameters
15315
15316         * BufferView2.C (insertLyXFile): change a char to an int.
15317
15318         * WorkArea.C (WorkArea): remove unneeded floats in computation
15319
15320 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15321
15322         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15323
15324         * paragraph.C (asString): Do not ignore newline/hfill chars when
15325         copying to the clipboard.
15326
15327 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15328
15329         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15330         after a multi-line inset.
15331
15332 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15333
15334         * paragraph.C (validate): Set NeedLyXFootnoteCode
15335
15336 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15337
15338         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15339         and decrease-error to decrease.
15340
15341 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15342
15343         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15344         it more readable (should be equivalent)
15345
15346 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15347
15348         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15349
15350 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15351
15352         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15353         of a cursor (row, etc.) after a character has been deleted
15354         (deleteEmptyParagraphMechanism): call the method above on _all_
15355         cursors held by the LyXText when a double space has been
15356         detected/deleted.
15357
15358 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15359
15360         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15361         pixmap.
15362         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15363
15364         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15365         background. Use greyOut() and the new show() methods to toggle between
15366         the foreground and background. Add code to remove the splash after
15367         its initial showing.
15368
15369         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15370         (create_forms): no longer call Dialogs::showSplash.
15371
15372 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15373
15374         * .cvsignore: add version_info.h
15375
15376 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15377
15378         * version_info.h.in: new file
15379
15380         * Makefile.am: add version_info.h.in
15381
15382         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15383         version_info.h instead of VERSION_INFO
15384
15385 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15386
15387         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15388         The ERT inset now returns string().
15389
15390 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15391
15392         * lyxtext.h, text.C (selectNextWord): renamed as
15393         selectNextWordToSpellcheck.
15394
15395         * text.C (selectNextWordToSpellcheck): Modified to not select
15396         words inside an ERT inset.
15397
15398 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15399
15400         * lyx_cb.C (MenuLayoutSave): change a bit the question
15401
15402         * sp_base.h: include <sys/types.h>
15403
15404 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15405
15406         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15407
15408 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15409
15410         * several files: fix typos in user-visible strings
15411
15412 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15413
15414         * text2.C (pasteSelection): do not set the selection, since it
15415         will be cleared later. Actually, the intent was to fix the way the
15416         selection was set, but I figured rmoving the code was just as good.
15417
15418 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15419
15420         * FontLoader.C (available): Check if font is available without
15421         loading the font.
15422
15423 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15424
15425         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15426
15427 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15428
15429         * lyxrc.[Ch]: added display_graphics variable and associated code.
15430
15431 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15432
15433         * bufferparams.C (hasClassDefaults): new method. Returns true if
15434         the buffer parameters correspond to known class defaults
15435
15436 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15437
15438         * XFormsView.C (show): set minimum size to the main window.
15439
15440 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15441
15442         * text2.C (copySelection):
15443         (cutSelection):
15444         * lyxfind.C (LyXReplace):
15445         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15446         LyXText::selectionAsString.
15447
15448         * paragraph.C (asString): add "label" argument to the second form
15449
15450         * text2.C (selectionAsString): add "label" argument and pass it to
15451         Paragraph::asString.
15452
15453 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15454
15455         * lyx_main.C (commandLineHelp): remove version information
15456
15457 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15458
15459         * lyx_main.C: add -version commandline option
15460
15461 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15462
15463         * paragraph.h: make the optional constructor arg required instead.
15464         some modifications to other files because of this.
15465
15466         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15467
15468         * lyxserver.C (C_LyXComm_callback): make it static
15469
15470         * lyx_main.C (error_handler): make it static
15471
15472         * lyx_gui.C (LyX_XErrHandler): make it static
15473
15474         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15475
15476         * WorkArea.C: make the extern "C" methods static.
15477
15478         * Makefile.am (lyx_LDADD): simplify
15479
15480 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15481
15482         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15483         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15484
15485         * LyXAction.C (init):
15486         * lyxfunc.C (dispatch): associated code removal.
15487
15488 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15489
15490         * lyxfont.h (isSymbolFont): shut off warning
15491
15492         * text.C (setHeightOfRow):
15493         (getVisibleRow): fix crash with empty paragraphs which have a
15494         bottom line
15495
15496 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15497
15498         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15499         code.
15500
15501 2001-09-04  José Matos  <jamatos@fep.up.pt>
15502         * buffer.C
15503         * buffer.h
15504         * tabular.C (docbook): rename docBook method to docbook.
15505
15506 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15507
15508         * Makefile.am: add dependencies to main.o.
15509
15510 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15511
15512         * FontLoader.C (available): Return false if !lyxrc.use_gui
15513
15514 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15515
15516         * FontInfo.C (query):
15517         * converter.C (view):
15518         * importer.C (Import):
15519         * exporter.C (Export): Can not -> cannot.
15520
15521 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15522
15523         * BufferView_pimpl.C: allow to create index inset even if
15524           string is empty
15525
15526 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15527
15528         * buffer.C (getLists): replace boost::tie code with an explicit pair
15529         as boost::tie can break some compilers.
15530
15531         * iterators.h: Added a std:: declaration to the return type of
15532         ParIterator::size.
15533
15534 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15535
15536         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15537           case.
15538
15539 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15540
15541         * iterators.[Ch]: New files. Provide paragraph iterators.
15542
15543         * buffer.C (changeLanguage): Use paragraph iterators.
15544         (isMultiLingual): ditto
15545
15546         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15547
15548 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15549
15550         * FontLoader.C: Support for cmr font.
15551
15552 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15553
15554         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15555         (available): New method.
15556
15557         * FontInfo.C (getFontname): Use scalable fonts even when
15558         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15559         found.
15560
15561 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15562
15563         * converter.C (Formats::view): reverted! Incorrect fix.
15564
15565 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15566
15567         * converter.C (Formats::view): only output the -paper option
15568         if the dvi viewer is xdvi, thereby fixing bug #233429.
15569
15570 2001-08-23  Herbert Voss  <voss@perce>
15571
15572         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15573
15574 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15575
15576         * Spacing.h (Spacing): Set space to Default on in the default
15577         constructor.
15578
15579 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15580
15581         * vc-backend.h (RCS::versionString): add RCS to version
15582         (CVS::versionString): add CVS to version
15583
15584         * vc-backend.C (scanMaster): do not add CVS to version.
15585         (scanMaster): do not add RCS to version
15586
15587         * lyxvc.C (versionString): new method
15588
15589         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15590
15591 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15592
15593         * Spacing.C (set): initialize fval
15594
15595 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15596
15597         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15598         " or \.
15599
15600 2001-08-16  Juergen Vigna  <jug@sad.it>
15601
15602         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15603
15604 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15605
15606         * BufferView_pimpl.C:
15607         * figureForm.C:
15608         * lyxtext.h:
15609         * text2.C: setParagraph takes linespacing now
15610
15611 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15612
15613         * LyxAction.C: add internal LFUN_CITATION_INSERT
15614
15615         * LyXView.C: actually apply fix
15616
15617         * bufferlist.C: fix open non-existent file
15618
15619         * lyxfind.C: fix indentation
15620
15621         * lyxfunc.C: remove unneeded assert, fix typo
15622
15623 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15624
15625         * MenuBackend.C: use "Floatname List"
15626
15627 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15628
15629         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15630         when converting LaTeX layout to insetERT.
15631         Generate a non-collapsed float when reading old float
15632
15633 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15634
15635         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15636         ERT insets.
15637
15638 2001-08-13  Juergen Vigna  <jug@sad.it>
15639
15640         * text.C (fill): return 0 instead of 20 as this seems to be the more
15641         correct value.
15642
15643 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15644
15645         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15646         lyxrc.font_norm.
15647
15648 2001-08-13  Juergen Vigna  <jug@sad.it>
15649
15650         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15651         casesensitive off.
15652         (SearchBackward): comment out the unlocking of the inset_owner this
15653         should not be needed!
15654
15655 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15656
15657         * Many files: Remove inherit_language, and add latex_language
15658
15659         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15660         collapsible insets.
15661
15662 2001-08-10  Juergen Vigna  <jug@sad.it>
15663
15664         * text.C (prepareToPrint): fixed hfill-width in draw!
15665
15666         * BufferView2.C (selectLastWord): save the selection cursor as this
15667         now is cleared in the function LyXText::clearSelection!
15668
15669 2001-08-08  Juergen Vigna  <jug@sad.it>
15670
15671         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15672         BACKSPACE type functions.
15673
15674         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15675         is only cutted from the document but not put in the cut-buffer, where
15676         still the old stuff should be.
15677
15678         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15679
15680         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15681
15682         * tabular.C (SetWidthOfCell): fixed special case where the width
15683         was not updated!
15684         (LeftLine): handle '|' in align_special.
15685         (RightLine): ditto
15686         (LeftAlreadyDrawed): ditto
15687         (SetWidthOfCell): ditto
15688
15689 2001-08-07  Juergen Vigna  <jug@sad.it>
15690
15691         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15692
15693 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15694
15695         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15696         * lyxlex.[hC]: ditto
15697
15698 2001-08-06  Juergen Vigna  <jug@sad.it>
15699
15700         * text.C (getVisibleRow): fix up row clearing a bit.
15701
15702 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15703
15704         * minibuffer.C: make sure the X server sees the changes in the input.
15705
15706 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15707
15708         * paragraph.C (getFont): split into...
15709         (getLabelFont): this
15710         (getLayoutFont): and this
15711         * paragraph_pimpl.C (realizeFont): calling this
15712
15713         * text2.C (getFont): split into...
15714         (getLayoutFont): this
15715         (getLabelFont): and this
15716         (realizeFont): all three calling this
15717
15718         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15719         files where used.
15720
15721 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15722
15723         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15724
15725 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15726
15727         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15728         layouts from the Quote inset insertion.
15729
15730 2001-08-03  Juergen Vigna  <jug@sad.it>
15731
15732         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15733
15734         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15735         only if status not is already CHANGED_IN_DRAW (second level).
15736
15737         * text.C (draw): don't set the need_break_row when inside an
15738         InsetText LyXText.
15739
15740 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15741
15742         * buffer.C (parseSingleLyXformat2Token): handle more latex
15743         conversion cases.
15744
15745         * bufferview_funcs.[hC]: change function names to
15746         begin with small char, adjust other files.
15747
15748 2001-08-02  André Pönitz <poenitz@gmx.net>
15749
15750         * lyxfunc.C:
15751         BufferView_pimpl.C: remove broken special code for math-greek
15752
15753 2001-08-02  Juergen Vigna  <jug@sad.it>
15754
15755         * BufferView_pimpl.C (update): redone this function so that we
15756         update the text again if there was a CHANGE_IN_DRAW.
15757
15758         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15759         (drawFromTo): added a new internal bool which is used by draw() and
15760         redraw() function.
15761         (general): some cursor drawing problems fixed.
15762
15763 2001-08-01  Juergen Vigna  <jug@sad.it>
15764
15765         * lyxfind.C (LyXFind): fixed
15766         (SearchForward): ditto
15767         (SearchBackward): ditto
15768
15769         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15770         spurius drawing of the cursor in the main area.
15771
15772         * text2.C (status): small fix which could lead to a segfault!
15773         (clearSelection): remove unneeded BufferView param.
15774
15775 2001-08-01  André Pönitz <poenitz@gmx.net>
15776
15777         * lyxfunc.C: small change due to changed mathed interface
15778
15779 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15780
15781         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15782
15783 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15784
15785         * lyxfunc.c: fail gracefully if file doesn't exist
15786
15787         * LyXSendto.C:
15788         * buffer.C:
15789         * lyxfunc.C:
15790         * BufferView_pimpl.C: IsDirWriteable() proto changed
15791
15792         * LyXView.C: fix updateWindowTitle() to store the last title
15793
15794 2001-07-31  Juergen Vigna  <jug@sad.it>
15795
15796         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15797         the font (wrong since using of Paragraph::highestFontInRange).
15798
15799         * paragraph.C (highestFontInRange): added a default_size parameter.
15800
15801         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15802         (setHeightOfRow): reformat
15803
15804 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15805
15806         * converter.[hC] + affected files: move to (inital-char)lowercase
15807         function names.
15808
15809         * ParagraphParameters.C (ParagraphParameters): remove commented code
15810
15811         * PainterBase.[Ch]: remove commented code
15812
15813         * LaTeXFeatures.h: add "bool floats" for float.sty
15814
15815         * LaTeXFeatures.C (LaTeXFeatures): init floats
15816         (require): handle float
15817         (getPackages): do it with floats
15818
15819 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15820
15821         * BufferView_pimpl.C (Dispatch): improve handling of
15822         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15823
15824         * commandtags.h: #include lyxfont.h here temporarily to avoid
15825         keybinding bug.
15826
15827         * bufferlist.h: include LString.h here.
15828
15829 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15830
15831         * text2.C (getStringToIndex): new method.
15832
15833 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15834
15835         * *: Reduced header file dependencies all over.
15836
15837 2001-07-30  Baruch Even  <baruch@lyx.org>
15838
15839         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15840
15841 2001-07-29  Baruch Even  <baruch@lyx.org>
15842
15843         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15844
15845 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15846
15847         * ParameterStruct.h (endif): add a default constructor to make
15848         sure that all variables is initialized.
15849
15850         * ParagraphParameters.C (ParagraphParameters): adjust
15851
15852 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15853
15854         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15855         index; also, check that there is something to index, and that it
15856         does not span over several paragraphs.
15857         (doubleClick): use WHOLE_WORD_STRICT for double click.
15858
15859         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15860
15861         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15862         scheme.
15863
15864 2001-07-26  Baruch Even  <baruch@lyx.org>
15865
15866         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15867         an InsetFig figure, backwards compatible reading of old figure code.
15868
15869 2001-07-27  Juergen Vigna  <jug@sad.it>
15870
15871         * text2.C: font.realize function adaption.
15872
15873         * text.C (draw): add a warnings lyxerr text if needed.
15874
15875         * layout.C: font.realize function adaption.
15876
15877         * language.C: add inherit_language and implement it's handlings
15878
15879         * bufferview_funcs.C (StyleReset): remove language parameter from
15880         font creation (should be language_inherit now).
15881
15882         * bufferparams.C (writeFile): handle ignore_language.
15883
15884         * paragraph.C (getFontSettings): the language has to be resolved
15885         otherwise we have problems in LyXFont!
15886
15887         * lyxfont.C (lyxWriteChanges): added document_language parameter
15888         (update): removed unneeded language parameter
15889
15890         * paragraph.C (validate): fixed wrong output of color-package when
15891         using interface colors for certain fonts in certain environments,
15892         which should not seen as that on the final output.
15893
15894 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15895
15896         * BufferView_pimpl.C:
15897         * Thesaurus.h:
15898         * Thesaurus.C:
15899         * Makefile.am:
15900         * commandtags.h:
15901         * LyXAction.C: add thesaurus support
15902
15903         * lyxfind.h:
15904         * lyxfind.C: add "once" parameter, for thesaurus, to not
15905           move to the next match
15906
15907 2001-07-26  Juergen Vigna  <jug@sad.it>
15908
15909         * lyxfont.C (realize): honor ignore_language too!
15910         (resolved): ditto.
15911
15912         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15913
15914         * text.C (draw): one place more for ignore_language to not draw
15915         itself!
15916
15917 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15918
15919         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15920
15921 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15922
15923         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15924         the minipage conversion problem.
15925
15926 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15927
15928         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15929         insert an inset.
15930
15931 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15932
15933         * BufferView.h: don't forward declare WorkArea
15934
15935         * BufferView.C: don't include WorkArea.h
15936
15937 2001-07-25  André Pönitz <poenitz@gmx.net>
15938
15939         * commandtags.h:
15940         * LyXAction.C:
15941         * lyxfunc.C:  new LFUN 'math-space'
15942
15943         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15944
15945 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15946
15947         * text2.C (toggleInset): call open/close
15948
15949 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15950
15951         * lyxfunc.C (dispatch): add debug for the disabled case
15952
15953         * font.C (buttonText): make similar to rectText
15954
15955         * buffer.C (readInset): comment out parsing of insetlist and
15956         insttheorem
15957
15958         * PainterBase.C (rectText): small correction
15959
15960         * BufferView_pimpl.C: comment out insettheorem and insetlist
15961         * LyXAction.C: ditto
15962         * commandtags.h: ditto
15963
15964 2001-07-24  Juergen Vigna  <jug@sad.it>
15965
15966         * text.C (draw): honor the ignore_language.
15967
15968         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15969
15970 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15971
15972         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15973         char inset.
15974
15975 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15976
15977         * lyxtext.h: remove unused (and unimplemented) methods
15978
15979 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15980
15981         * text.C (getVisibleRow): honor background color
15982
15983         * PainterBase.h:
15984         * Painter.h: remove default color argument for fillRectangle
15985
15986         * text.C (backgroundColor): new method
15987
15988 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15989
15990         * text.C (getVisibleRow): adjust
15991
15992         * font.[Ch] (rectText): new method, metrics
15993         (buttonText): new method, metrics
15994
15995         * PainterBase.[hC]: make rectText and buttonText always draw and take
15996         fewer paramteres.
15997
15998 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15999
16000         * ToolbarDefaults.C (read):
16001         * MenuBackend.C (read): allow escaping in all strings
16002
16003         * BufferView_pimpl.C (insertAndEditInset): new method.
16004         (Dispatch): use insertAndEditInset whenever appropriate.
16005
16006         * BufferView_pimpl.C (insertNote): removed
16007
16008         * BufferView_pimpl.C (smartQuote): new method, moved from
16009         BufferView; if an insetquote cannot be inserted, insert a '"'
16010         character instead.
16011
16012         * BufferView2.C: remove insertCorrectQuote();
16013
16014         * lyxfunc.C (getStatus): Add support for all remaingin
16015         inset-insert lfuns.
16016
16017         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16018
16019         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16020         command (necessary to pass " as parameter of self-insert.
16021
16022         * text.C (selectWordWhenUnderCursor):
16023         (selectWord): add word_location parameter
16024         (selectWordWhenUnderCursor): same + remove special code for word
16025         boundary.
16026         (selectNextWord): use kind() to guess type of insetspecialchar,
16027         not latex().
16028
16029         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16030         (insertErtContents): create ert insets as collapsed.
16031         (readInset): better compatibility code for Info inset.
16032
16033 2001-07-20  Juergen Vigna  <jug@sad.it>
16034
16035         * lyxfunc.C (dispatch): use always LyXFind now!
16036
16037         * text2.C (init): add a reinit flag so that the LyXText can be
16038         reinited instead of deleted and reallocated (used in InsetText).
16039
16040         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16041
16042         * text.C: ditto
16043
16044         * text2.C: ditto
16045
16046 2001-07-18  Juergen Vigna  <jug@sad.it>
16047
16048         * text.C (selectNextWord): handle insets inside inset by calling
16049         always the bv->text functions so that we can go up the_locking_inset!
16050
16051         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16052         in strange locations when inside an inset!
16053
16054         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16055         handling to include insets.
16056
16057         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16058
16059 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16060
16061         * LyXAction.C (init):
16062         * commandtags.h:
16063         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16064         LIGATURE_BREAK, since the name is so stupid.
16065
16066 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16067
16068         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16069         InsetInfos.
16070
16071         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16072
16073         * sp_form.[Ch]: remove.
16074
16075         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16076
16077         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16078         InsetInfo.
16079
16080         * src/buffer.C (readInset): ditto.
16081
16082 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16083
16084         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16085         menuSeparator(), endOfSentenceDot(), ldots() and
16086         hyphenationPoint(), which are therefore removed.
16087         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16088
16089         * LyXAction.C (init):
16090         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16091
16092         * paragraph.C (getWord): removed.
16093
16094         * BufferView_pimpl.C (Dispatch): use last word or selection for
16095         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16096
16097         * lyx_main.C (queryUserLyXDir): do not ask before creating
16098         user_dir, except if it has been named explicitely.
16099
16100 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16101
16102         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16103         a document of zero size.
16104
16105 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16106
16107         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16108         approriately in the c-tor and in require().
16109         (getPackages): output the appropriate LaTeX for natbib support.
16110
16111         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16112         variables "use_natbib" and "use_numerical_citations" when reading the
16113         LyX file.
16114         (readInset): read the various natbib cite commands.
16115         (validate): white-space change.
16116
16117         * bufferparams.[Ch]: new variables "bool use_natbib" and
16118         "bool use_numerical_citations".
16119         (writeFile): output them in the LyX file.
16120
16121 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16122
16123         * lyxfunc.C (getStatus): add support for all the inset insertion
16124         commands.
16125
16126         * text2.C (insertInset):
16127         * paragraph.C (insetAllowed):
16128         * BufferView_pimpl.C (insertInset): update to take in account the
16129         renaming of insertInsetAllowed
16130
16131         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16132
16133         * text2.C (getInset): new method. returns inset at cursor position.
16134
16135         * BufferView_pimpl.C (Dispatch): changes because of this.
16136
16137         * LyXAction.C (init): rename open-stuff to inset-toggle.
16138
16139         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16140
16141         * text2.C (toggleInset): renamed from openStuff; use
16142         Inset::open().
16143
16144 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16145
16146         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16147
16148         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16149
16150 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16151
16152         * buffer.C (readLyXformat2): Add filename to the error dialog
16153
16154 2001-07-18  Juergen Vigna  <jug@sad.it>
16155
16156         * tabular.C (GetCellNumber): put an assert here instead of the check!
16157
16158 2001-07-17  Juergen Vigna  <jug@sad.it>
16159
16160         * BufferView_pimpl.C (toggleSelection): adapted too.
16161
16162         * text.C (selectNextWord): adapted for use with insets.
16163         (selectSelectedWord): ditto
16164
16165 2001-07-17  Juergen Vigna  <jug@sad.it>
16166
16167         * sp_spell.C (PSpell): fix initialitation order.
16168
16169 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16170
16171         * paragraph.C: spacing
16172
16173 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16174
16175         * sp_spell.C: repair language selection for pspell
16176
16177 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16178
16179         * lyxfunc.h: change more methods to begin with lower char.
16180
16181 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16182
16183         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16184         for unknown layouts.
16185
16186 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16187
16188         * buffer.C (readLyXformat2): Generate an error dialog if there are
16189         unknown layouts.
16190
16191 2001-07-16  Juergen Vigna  <jug@sad.it>
16192
16193         * sp_spell.C: always compile ISpell part.
16194
16195         * lyxrc.C: added use_pspell entry and it's handling.
16196
16197 2001-07-13  Juergen Vigna  <jug@sad.it>
16198
16199         * sp_spell.C: removed double includes.
16200
16201 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16202
16203         Consistent use of Lsstream.h:
16204         * Lsstream.h: added using std::stringstream for consistencies sake.
16205
16206         * buffer.C: removed using std::stringstream
16207
16208         * lyxfont.C (stateText):
16209         * paragraph.C (asString):
16210         * text.C (selectNextWord, selectSelectedWord):
16211         * text2.C (setCounter):
16212         * vspace.C (asString, asLatexString):
16213         std::ostringstream -> ostringstream.
16214
16215 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16216
16217         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16218         * commandtags.h: add LFUN_HELP_ABOUTLYX
16219         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16220
16221 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16222
16223         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16224         cursorToggle()
16225         * lyx_gui_misc.C: remove spellchecker
16226         * lyxfunc.C: showSpellchecker
16227         * sp_base.h: added
16228         * sp_ispell.h: added
16229         * sp_pspell.h: added
16230         * sp_spell.C: added
16231         * sp_form.[Ch]: removed
16232         * spellchecker.[Ch]: removed
16233
16234 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16235
16236         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16237         is set.
16238         (simpleTeXSpecialChars): Simply print the input character without
16239         any special translation if pass_thru is set.
16240
16241         * layout.h: Added bool pass_thru to layout class for being able to
16242         implement pass through of a paragraph for Literate Programming.
16243
16244         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16245         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16246         * layout.C (Read): add "passthru" to list of layout tags and add
16247         code to set the pass_thru boolean when it is read.
16248
16249 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16250
16251         * trans_decl.h: remove allowed from KmodInfo
16252
16253         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16254         remove allowed code
16255         (Load): adjust
16256
16257         * paragraph_pimpl.C (erase): use boost::prior
16258
16259         * Painter.C (text): use data() instead of c_str() when length is
16260         also provided.
16261         * WorkArea.C (putClipboard): ditto
16262         * font.h (width): ditto
16263
16264         * BufferView2.C: use it-> instead of (*it). for iterators
16265         * texrow.C: ditto
16266         * paragraph_pimpl.C: ditto
16267         * paragraph.C: ditto
16268         * minibuffer.C: ditto
16269         * language.C: ditto
16270         * kbmap.C: ditto
16271         * encoding.C: ditto
16272         * counters.C: ditto
16273         * converter.C: ditto
16274         * chset.C: ditto
16275         * Variables.C: ditto
16276         * TextCache.C: ditto
16277         * MenuBackend.C: ditto
16278         * LyXAction.C: ditto
16279         * LColor.C: ditto
16280         * FloatList.C: ditto
16281         * DepTable.C: ditto
16282         * ColorHandler.C (LyXColorHandler): ditto
16283
16284 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16285
16286         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16287
16288         * text2.C (openStuff): reintroduce this method (which had been
16289         nuked in NEW_INSETS frenzy).
16290
16291         * lyxfunc.C (Dispatch): when an action has not been handled, use
16292         its name in the error message, not its number.
16293
16294         * paragraph.C (inInset): change method name to begin with lowercase.
16295
16296         * undo_funcs.C:
16297         * text2.C: updates because of this.
16298
16299 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16300
16301         * ToolbarDefaults.C (add): add spaces in error message
16302
16303 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16304
16305         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16306         (readLyXformat2): rename return_par to first_par, use lyxlex's
16307         pushToken and remove the manual push handling.
16308         (parseSingleLyXformat2Token): add another ert comp. variable:
16309         in_tabular, rename return_par to first_par. handle newlines better
16310
16311 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16312
16313         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16314
16315 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16316
16317         * text2.C (getParFromID): removed
16318
16319         * buffer.C (getParFromID): new method moved form lyxtext.
16320         * BufferView2.C (insertErrors): adjust
16321         (setCursorFromRow): adjust
16322         * BufferView_pimpl.C (restorePosition): adjust
16323         * lyxfunc.C (Dispatch): adjust
16324         * undo_funcs.C (textUndo): adjust
16325         (textRedo): adjust
16326         (textHandleUndo): adjust
16327         (textHandleUndo): adjust
16328
16329 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16330
16331         * buffer.C: up' the LYX_FORMAT
16332
16333         * lyxfont.h: turn NO_LATEX on as default
16334
16335         * buffer.C (insertErtContents): new methods of tex style compability.
16336         (parseSingleLyXformat2Token): use it several places.
16337         * tabular.C (OldFormatRead): and here
16338
16339 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16340
16341         * text2.C: remove some commented code.
16342         reindent file.
16343
16344         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16345         * trans.C: changes because of the above.
16346
16347 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16348
16349         * text2.C (setCounter): Fix counters bug with bibliography layout.
16350
16351 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16352
16353         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16354         own member functions
16355         (simpleTeXSpecialChars): ditto
16356
16357 2001-07-06  Juergen Vigna  <jug@sad.it>
16358
16359         * a lot of files: changed the access to LyXText::status and the
16360         call of undo-functions.
16361
16362         * undo.[Ch]: added a inset_id to the undo informations.
16363
16364         * undo_funcs.[Ch]: added and moved here all undo functions.
16365
16366         * lyxtext.h: give the status enum a weight, made status_ a private
16367         variable and made accessor functions for it, removed the whole bunch
16368         of undo-functions as they are now in their own file, make some
16369         functions publically available. Added function ownerParagraph with
16370         int parameter.
16371
16372         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16373         made InInset() a const function, added getParFromID() function.
16374
16375         * buffer.[Ch]: added const version for inset_iterator functions,
16376         added getInsetFromID() function.
16377
16378         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16379         changed undo functions for new version.
16380
16381 2001-07-05  Juergen Vigna  <jug@sad.it>
16382
16383         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16384         unknow mechanism does not call the proper constructor but only this
16385         one also if I request the other!?
16386
16387 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16388
16389         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16390
16391         * text2.C (LyXText): use initialization lists.
16392
16393         * lyxtext.h (Selection): initialize set_ and mark_
16394         (init): remove method
16395
16396 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16397
16398         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16399
16400 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16401
16402         * screen.[Ch]: change method names to begin with lowercase
16403
16404         * BufferView_pimpl.C (updateScrollbar): simplify further and
16405         hopefully make it a bit faster.
16406
16407 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16408
16409         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16410         calling directly xforms functions.
16411
16412         * Painter.C (Painter):
16413         * lyx_cb.C (MenuWrite):
16414         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16415         fl_display.
16416
16417         * lyx_gui.C: remove bogus guiruntime extern declaration.
16418
16419 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16420
16421         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16422         in NEW_INSETS
16423         (redoDrawingOfParagraph): ditto
16424         (redoParagraphs): ditto
16425         (cutSelection): don't create a object for CutAndPaste use the
16426         static method directly
16427         (pasteSelection): ditto
16428
16429         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16430         LyXview (+ rename)
16431
16432 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16433
16434         * modifications to some other files because of this.
16435
16436         * Makefile.am (lyx_SOURCES): add XFormsView
16437
16438         * XFormsView.[Ch]: new files
16439
16440         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16441         the main window. Move the gui dependent stuff to XFormsView
16442
16443 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16444
16445         * tabular.C (GetCellInset): update cur_cell also in the row/col
16446         version of this function.
16447
16448         * lyxfunc.C: no need to include figure_form.h here.
16449
16450         * FontLoader.h:
16451         * lyxfunc.h:
16452         * lyxscreen.h:
16453         * text2.C:
16454         * lyxvc.C: no need to include forms.h here.
16455
16456 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16457
16458         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16459
16460         * lyxfunc.C (Dispatch):
16461         * Spacing.C (set):
16462         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16463         constructor argument.
16464
16465 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16466
16467         * paragraph.C (Paragraph): dont't clear, and just set layout.
16468         (makeSameLayout): use params's copy contructor.
16469
16470         * ParagraphParameters.[Ch] (makeSame): delete method
16471
16472 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16473
16474         * Variables.[Ch]: fix indentation, rename set to isSet
16475
16476 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16477
16478         * lyxfunc.C (Dispatch): fix typo
16479
16480 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16481
16482         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16483         upper_bound.
16484
16485         * bufferlist.C: include assert.h for emergencyWrite().
16486
16487 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16488
16489         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16490           give up at last (bug #425202) !
16491
16492 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16493
16494         * lyx_gui_misc.C:
16495         * sp_form.h:
16496         * sp_form.C:
16497         * spellchecker.h:
16498         * spellchecker.C: strip spellchecker options and bring up
16499           preferences tab instead
16500
16501 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16502
16503         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16504         the istringstream constructor
16505
16506 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16507
16508         * paragraph.C (getLayout): fix return value
16509
16510         * paragraph.h: do not declare getLayout as inline.
16511
16512         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16513
16514 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16515
16516         * lyxcursor.h (operator<): new func
16517         (operator>): new func
16518         (operator>=): new func
16519         (operator<=): new func
16520
16521         * text.C (changeCase): use selection.start and selection.end
16522         (changeRegionCase): require from to be <= to. Require par to be a
16523         valid paragraph.
16524
16525         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16526
16527 2001-06-27  Juergen Vigna  <jug@sad.it>
16528
16529         * text.C (cursorLeftOneWord): changed to return the cursor and added
16530         overlay with BufferView * parameter which calls this one.
16531         (getWord): added
16532         (selectWord): use new getWord function.
16533         (changeCase): renamed from changeWordCase as and extended to work
16534         also on selections.
16535
16536         * lyxtext.h: added enum word_location
16537
16538         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16539         changeCase as this operates now also on selections.
16540
16541 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16542
16543         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16544
16545         * many files: send debug output to Debug::INFO instead of
16546         Debug::ANY.
16547
16548         * converter.C (View):
16549         (Convert):
16550         (Move): send debug output to Debug::FILES instead of console.
16551
16552 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16553
16554         * lyxfunc.C (getStatus): use func_status
16555
16556         * func_status.h: new header, describing the results of
16557         LyXFunc::getStatus;
16558
16559         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16560         LFUN_MATH_HALIGN.
16561
16562 2001-06-25  The LyX Project  <jug@sad.it>
16563
16564         * buffer.C (sgmlOpenTag):
16565         (sgmlCloseTag):
16566         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16567
16568 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16569
16570         * text2.C: remove some dead code
16571
16572         * tabular.C (GetCellInset): store the last cell checked (gotten)
16573
16574         * tabular.h: add the helper for the speedup
16575
16576         * lyxtext.h: remove some dead code
16577
16578 2001-06-26  The LyX Project  <Asger>
16579
16580         * paragraph.C: Change export to LaTeX of alignment to
16581         \begin{center} and family for better roundtrip work with reLyX.
16582
16583         * Tune the math drawing a bit.
16584
16585 2001-06-25  The LyX Project  <Asger>
16586
16587         * LColor.C (LColor): New color for math background. New color
16588         for buttons.
16589
16590 2001-06-25  The LyX Project  <jug@sad.it>
16591
16592         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16593
16594         * lyxfunc.C (Open):
16595         * bufferlist.C (newFile): do not restrict to files ending with
16596         .lyx
16597
16598         * BufferView_pimpl.C (MenuInsertLyXFile):
16599
16600 2001-06-24  The LyX Project  <jug@sad.it>
16601
16602         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16603         of compare_no_case
16604
16605 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16606
16607         * lyxtext.h: rename most methods to begin with a small char.
16608         Lots of changes because of this.
16609
16610         * paragraph.C (Paragraph): do not call fitToSize
16611         (erase): call Pimpl::erase
16612         (insertChar): call Pimpl::insertChar
16613         (insertInset): call Pipl::insertInset
16614         (breakParagraph): do not call fitToSize
16615         (breakParagraphConservative): do not call fitToSize
16616         (fitToSize): remove method
16617
16618         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16619
16620 2001-06-24  The LyX Project  <Asger>
16621
16622         * Fix Qt compilation^2
16623
16624 2001-06-24  The LyX Project  <jug@sad.it>
16625
16626         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16627         depthHook(getDepth()-1).
16628
16629         * paragraph.h:
16630         * ParagraphParameters.h:
16631         * ParameterStruct.h: change type of depth to unsigned int ==
16632         depth_type. Many adaptations to other files before of that.
16633
16634 2001-06-24  The LyX Project  <Asger>
16635
16636         * Fix Qt compilation.
16637
16638 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16639
16640         * paragraph.h: renamed several methods to begin with small letter.
16641         several changes to many parts of the code because of this.
16642
16643 2001-06-23  The LyX Project  <jug@sad.it>
16644
16645         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16646         rewritten to discard all double spaces when KeepEmpty is off
16647         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16648         to only handle newlines but not fiddle with spaces and friends.
16649
16650         * lyxfunc.C (MenuNew): when doing 'new from template', use
16651         template_path as default directory
16652
16653 2001-06-23  The LyX Project  <Asger>
16654
16655         * Clean-up of header file includes all over
16656         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16657
16658 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16659
16660         * paragraph.h: renamed from lyxparagraph.h
16661
16662 2001-06-23  Asger  <lyx@violet.home.sad.it>
16663
16664         * Buffer.h: Removed Buffer::resize
16665         * BufferList.h: Removed BufferList::resize
16666         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16667         the document lazily when we change the width, or the font settings.
16668
16669 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16670
16671         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16672
16673 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16674
16675         * buffer.h: remove out of date comment
16676
16677 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16678
16679         * lyxscreen.h:
16680         * screen.C: fix "theoretical" GC leak
16681
16682 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16683
16684         * LaTeX.C (scanAuxFile):
16685         (deplog): remove trailing \r when reading stream (useful under
16686         win32)
16687
16688 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16689
16690         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16691         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16692         and BufferView::theLockingInset(Inset*), so should use them and not
16693         access bv_->text->the_locking_inset directly.
16694
16695         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16696
16697 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16698
16699         * Makefile.am:
16700         * tex-defs.h: remove old unused file
16701
16702 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16703
16704         * BufferView_pimpl.C: fix typo, remove minibuffer message
16705           when buffer has loaded
16706
16707 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16708
16709         * lyxfunc.C (Dispatch): use stringstream
16710         (MenuNew): use stringstream
16711         (Open): use stringstream
16712
16713         * importer.C (Import): use stringstream
16714
16715         * bufferview_funcs.C (CurrentState): use stringstream
16716
16717         * LaTeX.C (run): use stringstream
16718
16719         * BufferView_pimpl.C (savePosition): use stringstream
16720         (restorePosition): use stringstream
16721         (MenuInsertLyXFile): use stringstream
16722
16723 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16724
16725         * BufferView.C:
16726         * Bullet.C:
16727         * ColorHandler.C:
16728         * FontInfo.C:
16729         * FontLoader.C:
16730         * LColor.C:
16731         * LaTeXFeatures.C:
16732         * Painter.C:
16733         * gettext.C:
16734         * lyx_gui_misc.C:
16735         * lyxserver.C:
16736         * vspace.C: removed // -*- C++ -*- as first line.
16737
16738         * lyxfind.h:
16739         * version.h: added // -*- C++ -*- as first line.
16740
16741 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16742
16743         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16744
16745         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16746         of string
16747
16748 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16749
16750         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16751         of floats.
16752
16753 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16754
16755         * gettext.C: include LString.h even when --disable-nls is on.
16756
16757 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16758
16759         * converter.h (Get): changed argument type from int to
16760         FormatList::size_type to avoid unnecessary conversion.
16761
16762         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16763         before using it.
16764
16765 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16766
16767         * gettext.h: include LString.h even when --disable-nls is on.
16768
16769 2001-06-07  Juergen Vigna  <jug@sad.it>
16770
16771         * text.C (BreakAgain): subst spaces with tabs.
16772
16773         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16774         (resizeInsetsLyXText): set force on resizeLyXText.
16775
16776 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16777
16778         * gettext.h (gettext_init):
16779         (locale_init): use a real definition instead of a macro
16780
16781 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16782
16783         * Bufferview_pimpl.C:
16784         * LColor.h:
16785         * LColor.C: further lcolor tidies
16786
16787 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16788
16789         * BufferView_pimpl.C (updateScrollbar): simplify.
16790
16791         * BufferView2.C: don't include insets/insetinfo.h, change
16792         prototype for insertInset and call the Pimpl version. let
16793         updateInset call Pimpl version.
16794
16795         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16796         gotoInset to BufferView::Pimpl
16797
16798 2001-06-01  Juergen Vigna  <jug@sad.it>
16799
16800         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16801         inside a LockingInset (is the update needed at all?).
16802
16803 2001-05-31  Juergen Vigna  <jug@sad.it>
16804
16805         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16806         here not the old one otherwise how should we compare it afterwards
16807         if it's the same!
16808
16809 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16810
16811         * lyxfont.C:
16812         * tabular.C:
16813         * tabular-old.C:
16814         * FontInfo.C: bring C functions into global namespace when
16815         necessary
16816
16817 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16818
16819         * LString.h: make sure config.h has been loaded before LString.h.
16820
16821         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16822         (one for each char read by EatLine!).
16823
16824         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16825         variables.
16826
16827 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16828
16829         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16830         to the same as the par we break from
16831
16832 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16833
16834         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16835
16836         * MenuBackend.C (expand): also create menu entries for wide
16837         versions of the floats.
16838
16839         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16840
16841         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16842
16843         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16844         frontends/Makefile.am
16845
16846         * text2.C: adjust
16847         * text.C: adjust
16848
16849
16850         * tabular.C (getTokenValue): add std::
16851
16852         * tabular-old.C (getTokenValue): add std::
16853         (getTokenValue): ditto
16854         (getTokenValue): ditto
16855
16856         * screen.C (ToggleSelection): adjust
16857
16858         * lyxtext.h: put selection cursors inside a Selection struct.
16859
16860         * lyxfunc.C (moveCursorUpdate): adjust
16861
16862         * lyxfont.C (latexWriteStartChanges): add std::
16863
16864         * lyxfind.C: adjust
16865
16866         * font.h: delete with(char const *, LyXFont const &)
16867
16868         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16869
16870         * FontInfo.C (getFontname): add std::
16871
16872         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16873         (workAreaButtonPress): adjust
16874         (tripleClick): adjust
16875         (update): adjust
16876         (moveCursorUpdate): adjust
16877         (Dispatch): adjust
16878
16879         * BufferView2.C (gotoInset): adjust
16880
16881 2001-05-30  Juergen Vigna  <jug@sad.it>
16882
16883         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16884         to check pspell I add this as default as I now have new pspell
16885         libraries and they seem to use this.
16886
16887 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16888
16889         * text2.C (CutSelection): make the cursor valid before the call to
16890         ClearSelection.
16891
16892 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16893
16894         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16895         relied on 0 terminated strings and other horrors. Bug found due to
16896         the new assert in lyxstring!
16897
16898         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16899         KP_ keys.
16900
16901 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16902
16903         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16904         to latinkeys.bind.
16905
16906         * lyxfunc.C (processKeySym): change method of getting to the
16907         self-insert char.
16908
16909         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16910         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16911         * BufferView_pimpl.[Ch]: here as private methods.
16912
16913 2001-05-28  Juergen Vigna  <jug@sad.it>
16914
16915         * text.C (SetHeightOfRow): added the update() call again as it is
16916         needed to initialize inset dimensions!
16917
16918 2001-05-16  Juergen Vigna  <jug@sad.it>
16919
16920         * text2.C (SetCharFont): Add new function with BufferView * and
16921         bool toggleall parameters for setting insets internal fonts.
16922         (SetFont): Freeze the undo as we may change fonts in Insets and
16923         all this change should be inside only one Undo!
16924
16925         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16926         setting font's in insets as for them we have the SetFont function!
16927
16928 2001-05-15  Juergen Vigna  <jug@sad.it>
16929
16930         * text2.C (ClearSelection): to be sure we REALLY don't have any
16931         selection anymore!
16932
16933         * tabular.C (TeXCellPreamble): fixed the left border problem for
16934         multicolumn cells.
16935
16936 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16937
16938         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16939         dependancy file
16940
16941 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16942
16943         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16944         LFUN_BREAKPARAGRAPH.
16945
16946         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16947         help test to "internal only", similar for LFUN_INSERT_URL
16948
16949         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16950         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16951         auto_region_delete and deadkeys.
16952
16953 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16954
16955         * LColor.h:
16956         * LColor.C: remove some dead entries, tidy a little
16957
16958 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16959
16960         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16961         commented code.
16962         (Dispatch): implement LFUN_ESCAPE
16963
16964         * commandtags.h: add LFUN_ESCAPE
16965
16966         * LyXAction.C (init): add entry for LFUN_ESCAPE
16967
16968         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16969         Remove commented code.
16970         (insertNote): moved here
16971         (open_new_inset): moved here
16972
16973         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16974         BufferView_pimpl
16975
16976 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16977
16978         * kbmap.C (findbinding): clean it up and make it work correctly.
16979
16980         * lyx_main.C (init): do not pass argc and argv as parameters
16981
16982 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16983
16984         * buffer.C: fix path for OS/2 & Win32
16985
16986         * lyx_gui.C:
16987         * lyx_main:
16988         * lyx_main.C: Added os:: class.
16989
16990         * os2_defines.h: update
16991
16992 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16993
16994         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16995         better by trying again with reduced state.
16996
16997 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16998
16999         * lyxrc.C (read): print error about invalid key sequence only when
17000         debugging (because not all latinX keysyms are known to some X
17001         servers)
17002
17003         * kbsequence.C (getiso): add a few std:: qualifiers
17004         (getiso): comment out extra return statement.
17005
17006 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17007
17008         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17009         handling.
17010         (Dispatch): enhance the accent inset a bit. (not perfect)
17011
17012 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17013
17014         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17015
17016 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17017
17018         * bufferlist.C (emergencyWrite): fix assert() call
17019
17020 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17021
17022         * text.C (InsertChar): Added trivial patch to only send the "you
17023         can not do multiple spaces this way" message once during a
17024         session.
17025
17026 2001-05-08  Baruch Even  <baruch@lyx.org>
17027
17028         * Makefile.am: Changed order of libraries to get LyX to link properly
17029         with the gnome frontend.
17030
17031 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17032
17033         * LaTeXFeatures.h: add a std:: qualifier
17034
17035 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17036
17037         * paragraph.C (String): use stringstream
17038
17039 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17040
17041         * paragraph.C (writeFile): remove footflag arg
17042
17043         * buffer.C (makeLaTeXFile): use stringstream
17044         (latexParagraphs): remove footnot gurba
17045
17046         * LaTeXFeatures.C (getPackages): use stringstream
17047         (getMacros): likewise
17048         (getTClassPreamble): likewise
17049         (getFloatDefinitions): new method
17050
17051         * paragraph.C (writeFile): reindent
17052         (Erase): reindent
17053
17054         * WorkArea.h: revert the xpos + etc changes.
17055
17056         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17057
17058         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17059
17060         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17061         (pasteSelection): likewise
17062         * text2.C (CreateUndo): likewise
17063
17064 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17065
17066         * minibuffer.C (peek_event): temporarily reduce the functionality
17067         of the minibuffer (to allow args on lfuns)
17068
17069         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17070         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17071
17072         * buffer.C (readInset): add compability reading of old float
17073         lists, add reading of new style float list.
17074         (readInset): avoid reevaluation of inscmd.getCmdName()
17075         (getLists): reindent
17076
17077         * MenuBackend.C (MenuItem): implement parsing of
17078         md_floatlistinsert and md_floatinsert.
17079         (expand::LastFiles): move initalizaton of iterators out of loop,
17080         avoid reevaluation.
17081         (expand::Documents): introduce typdedef vector<string> Strings,
17082         and use it.
17083         (expand::ExportFormats): introduce typedef vector<Format const *>
17084         Formats, and use it.
17085         (expand): implement FloatListInsert and FloatInsert.
17086
17087         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17088         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17089         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17090
17091         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17092         handling.
17093         (Dispatch::LFUN_FLOAT_LIST): implement
17094
17095 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17096
17097         * LaTeX.C (run): Fix problem with --export code.
17098
17099 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17100
17101         * BufferView.[Ch] (workarea): removed.
17102         (getClipboard) new method; wrapper for workarea()->getClipboard()
17103
17104         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17105         bug.
17106
17107         * WorkArea.h (width, height, xpos, ypos): These methods all
17108         returned the dimensions of the work_area sub-area of WorkArea,
17109         resulting in a position error if the WorkArea were resized. Now
17110         return the dimensions of the entire WorkArea.
17111
17112         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17113
17114 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17115
17116         * LaTeX.C (deplog): correct the syntax of regex reg1
17117
17118 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17119
17120         * undo.C: remove !NEW_INSETS cruft
17121
17122 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17123
17124         * text2.C: remove !NEW_INSETS cruft
17125
17126         * text.C: remove !NEW_INSETS cruft
17127
17128         * tabular.C: remove !NEW_INSETS cruft
17129
17130         * spellchecker.C: remove !NEW_INSETS cruft
17131
17132         * lyxtext.h: remove !NEW_INSETS cruft
17133
17134         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17135
17136         * lyxfunc.C: remove !NEW_INSETS cruft
17137
17138         * lyxfind.C: remove !NEW_INSETS cruft
17139
17140         * lyx_cb.C: remove !NEW_INSETS cruft
17141
17142         * figureForm.C: remove  !NEW_INSETS cruft
17143
17144         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17145
17146         * buffer.[Ch]: remove !NEW_INSETS cruft
17147
17148         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17149
17150         * CutAndPaste.C: remove !NEW_INSETS cruft
17151
17152         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17153
17154         * BufferView2.C: remove !NEW_INSETS cruft
17155
17156         * BufferView.h: remove !NEW_INSETS cruft
17157
17158 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17159
17160         * Lsstream.h: include LString.h before the sstream headers to
17161         fix problem with gcc 2.95.3 and lyxstring
17162
17163 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17164
17165         * lyx_main.C: add using directives when needed for C functions
17166         declared in std:: namespace.
17167
17168 2001-04-27  Juergen Vigna  <jug@sad.it>
17169
17170         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17171         (SetHeightOfRow): comment out the update call should not be needed!
17172
17173 2001-04-13  Juergen Vigna  <jug@sad.it>
17174
17175         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17176         (LyXTabular): tried to minimize operator= operations (and realized
17177         hopfully Lars wish).
17178
17179 2001-04-27  Juergen Vigna  <jug@sad.it>
17180
17181         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17182
17183 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17184
17185         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17186
17187         * buffer.C (readInset): hack to make listof algorithm work
17188
17189         * BufferView_pimpl.C: hack to make listof algorithm work
17190
17191 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17192
17193         * LyXAction.C: removed all !NEW_INSETS cruft
17194         (init): moved lfun_item in method
17195
17196         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17197
17198 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17199
17200         * BufferView2.C (theLockingInset): white space.
17201
17202 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17203
17204         * minibuffer.C: include <iostream>
17205
17206         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17207
17208         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17209
17210         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17211
17212         * text.[Ch] (TransposeChars): new method
17213
17214 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17215
17216         * call message directly through LyXView instead of through LyXFunc
17217         * BufferView2.C: adjust
17218         * BufferView_pimpl.C: adjust
17219         * FontLoader.C: adjust
17220         * buffer.C: adjust
17221         * bufferview_funcs.C: adjust
17222         * converter.C: adjust
17223         * figureForm.C: adjust
17224         * importer.C: adjust
17225         * lyx_cb.C: adjust
17226         * lyx_gui_misc.C: adjust
17227         * lyxfunc.C: adjust
17228         * lyxvc.C: adjust
17229         * text2.C: adjust
17230         + more files in subdirs
17231
17232         * lyxparagraph.h (size): move up int file
17233         (GetLayout): ditto
17234
17235         * adjust all uses of Assert to lyx::Assert.
17236
17237         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17238         lyxfunctional in namespace lyx
17239         * layout.C (hasLayout): ditto
17240         (GetLayout): ditto
17241         (GetLayout): ditto
17242         (delete_layout): ditto
17243         (NumberOfClass): ditto
17244         * converter.C (GetFormat): ditto
17245         (GetNumber): ditto
17246         (Add): ditto
17247         (Delete): ditto
17248         (SetViewer): ditto
17249         * bufferlist.C (getFileNames): ditto
17250         (emergencyWriteAll): ditto
17251         (exists): ditto
17252         (getBuffer): ditto
17253         * MenuBackend.C (hasSubmenu): ditto
17254         (hasMenu): ditto
17255         (getMenu): ditto
17256         * BufferView_pimpl.C (getInsetByCode): ditto
17257
17258 2001-04-18  Juergen Vigna  <jug@sad.it>
17259
17260         * vspace.C (asLatexString): fixed the 100% problem.
17261
17262 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17263
17264         * lyxfunc.C (Dispatch):
17265         * minibuffer.C:
17266         * minibuffer.h: add a few std:: qualifiers
17267
17268 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17269
17270         * minibuffer.[Ch]: reimplement so that commands is initiated and
17271         run from lyxfunc, simplified som handling, and made the completion
17272         and history code for complete. wip.
17273
17274         * lyxfunc.C (processKeySym): call message
17275         (miniDispatch): new temporary method
17276         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17277         (LFUN_MESSAGE): implement
17278         (LFUN_MESSAGE_PUSH): implement
17279         (LFUN_MESSAGE_POP): implement
17280         (initMiniBuffer): the initial/defualt minibuffer message.
17281
17282         * lyxfont.[Ch]: inline some more getters
17283
17284         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17285
17286         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17287
17288         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17289         (AutoSave): use LFUN_MESSAGE
17290         (Reconfigure): ditto
17291
17292         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17293
17294         * figureForm.C: use LFUN_MESSAGE
17295
17296         * converter.C (runLaTeX): use LFUN_MESSAGE
17297
17298         * bufferview_funcs.C: use LFUN_MESSAGE
17299         (Melt): ditto
17300         (changeDepth): ditto
17301
17302         * bufferparams.h: use boost::
17303
17304         * bufferlist.h: inherit privately from noncopyable
17305
17306         * bufferlist.C (loadLyXFile): remove some commented code.
17307
17308         * buffer.C (runChktex): use LFUN_MESSAGE
17309
17310         * ShareContainer.h: inherit privately from noncopyable
17311
17312         * ParagraphParameters.[hC] (depth): inline it.
17313
17314         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17315         methods.
17316         (message): new method
17317         (messagePush): ditto
17318         (messagePop): ditto
17319         (show): init minibuffer
17320         (showState): direct call
17321
17322         * LaTeX.[Ch]: inherit privately from noncopyable
17323         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17324         instead of WriteStatus.
17325
17326         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17327
17328         * BufferView_pimpl.C (buffer): don't init minibuffer
17329         (workAreaButtonPress): use LFUN_MESSAGE
17330         (workAreaButtonRelease): ditto
17331         (savePosition): ditto
17332         (restorePosition): ditto
17333         (MenuInsertLyXFile): ditto
17334         (workAreaExpose): don't init minibuffer
17335         (update): remove commented code, simplify
17336
17337         * BufferView2.C (openStuff): use LFUN_MESSAGE
17338         (toggleFloat): ditto
17339         (menuUndo): ditto
17340         (menuRedo): ditto
17341         (copyEnvironment): ditto
17342         (pasteEnvironment): ditto
17343         (copy): ditto
17344         (cut): ditto
17345         (paste): ditto
17346         (gotoInset): ditto
17347         (updateInset): remove some commented code
17348
17349         * lastfiles.h: inherit privately from noncopyable
17350         * layout.h: ditto
17351         * lyx_gui.h: ditto
17352         * lyx_main.h: ditto
17353         * lyxlex.h: ditto
17354         * lyxlex_pimpl.h: ditto
17355
17356         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17357         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17358         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17359
17360         * LyXAction.h: inherit privately from noncopyable, add methods
17361         func_begin, func_end, returning iterators to the func map.
17362
17363         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17364         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17365         (func_begin): new method
17366         (func_end): new method
17367
17368         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17369         and not)
17370         (copySelection): ditto
17371         (pasteSelection): ditto
17372
17373         * BufferView.C: whitespace change
17374         * BufferView.h: inherit privately from noncopyable
17375
17376 2001-04-16  Allan Rae  <rae@lyx.org>
17377
17378         * tabular-old.C (l_getline):
17379         * spellchecker.C (sc_check_word):
17380         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17381         an unrecognised preprocessor directive.  So ensure they're wrapped.
17382
17383 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17384
17385         * src/exporter.C (Export): Give an error message when path to file
17386         contains spaces.
17387
17388 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17389
17390         * LaTeX.C (deplog): Always check that foundfile exists.
17391
17392 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17393
17394         * lyx_main.h:
17395         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17396
17397 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17398
17399         * tabular.[Ch] (getLabelList): implement new method
17400
17401         * minibuffer.h: comment ouf setTiimer
17402
17403         * minibuffer.C (ExecutingCB): constify res
17404         (peek_event): constify s
17405         (Set): constify ntext
17406         (Init): constify nicename
17407
17408         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17409
17410         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17411         (savePosition): use two params to Minibuffer::Set
17412         (restorePosition): ditto
17413
17414 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17415
17416         * lyx_main.C: include language.h
17417
17418         * Makefile.am (lyx_main.o): add language.h
17419
17420 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17421
17422         * exporter.C:
17423         * paragraph.C:
17424         * screen.C:
17425         * tabular.C:
17426         * CutAndPaste.C: include gettext.h
17427
17428         * lyxfont.h: remove old hack with ON and OFF.
17429
17430         * lyxparagraph.h:
17431         * lyxfont.h: do not include language.h...
17432
17433         * BufferView2.C:
17434         * LaTeXFeatures.C:
17435         * Painter.C:
17436         * bufferview_funcs.C:
17437         * font.C:
17438         * lyxfont.C:
17439         * text.C:
17440         * text2.C:
17441         * trans_mgr.C:
17442         * paragraph.C: ... but do it here instead
17443
17444 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17445
17446         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17447
17448         * tabular.C: small reformat
17449
17450         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17451         NEW_INSETS version
17452         (GetChar): ditto
17453         (BreakParagraph): ditto
17454         (SetOnlyLayout): ditto
17455         (SetLayout): ditto
17456
17457         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17458         with one arg less.
17459
17460         * lastfiles.C: removed most using decl, add std:: where needed
17461
17462         * buffer.C: ws changes
17463
17464         * MenuBackend.C (class compare_format): put into anon namespace
17465         (expand): constify label, names, action, action2
17466         (expand):
17467
17468         * text.C (SingleWidth): constify font
17469         (IsBoundary): constify rtl2
17470         (GetVisibleRow): constify ww
17471
17472         * LaTeX.C (deplog): constify logfile
17473
17474         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17475         start_x, end_x
17476         (workAreaExpose): constify widthChange, heightChange
17477
17478         * lyxrow.C (par): moved
17479         (height): moved
17480         (next): moved
17481         * lyxrow.h: as inlines here
17482
17483         * lyxfont.h (shape): moved from lyxfont.C
17484         (emph): moved from lyxfont.C
17485
17486         * lyxfont.C (LyXFont): use initialization list for all
17487         constructors
17488         (shape): move to lyxfont.h as inline
17489         (emph): move to lyxfont.h as inline
17490
17491
17492 2001-04-04  Juergen Vigna  <jug@sad.it>
17493
17494         * vspace.C: had to include stdio.h for use of sscanf
17495
17496 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17497
17498         * BufferView.h:
17499         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17500         independent of xforms.
17501
17502 2001-04-02  Juergen Vigna  <jug@sad.it>
17503
17504         * spellchecker.C: fixed namespace placing!
17505
17506 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17507
17508         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17509         the LyXParagraph * is 0.
17510
17511 2001-03-29  Juergen Vigna  <jug@sad.it>
17512
17513         * vspace.C: added support for %, c%, p%, l%.
17514         (stringFromUnit): added helper function.
17515         (asLatexString): changed to give right results for the %-values.
17516
17517         * buffer.C: convert the widthp in a width%.
17518
17519 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17520
17521         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17522         figureForm.[Ch].
17523
17524         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17525         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17526
17527         * lyx_cb.[Ch]: see above.
17528
17529         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17530         form1.[Ch].
17531
17532         * form1.[Ch]:
17533         * lyx.[Ch]: replaced by figure_form.[Ch].
17534
17535         * lyx_gui.C:
17536         * lyx_gui_misc.C:
17537         * lyxfunc.C: changed headers associated with above changes.
17538
17539 2001-03-27  Juergen Vigna  <jug@sad.it>
17540
17541         * BufferView_pimpl.C: set the temporary cursor right!
17542
17543 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17544
17545         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17546
17547 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17548
17549         * LString.h: removed "using std::getline"!
17550
17551         * BufferView_pimpl.C (Dispatch): changes due to changes in
17552         InsetInclude::Params.
17553
17554         * buffer.C (tag_name): removed redundant break statements as they were
17555         producing lots of warnings with my compiler.
17556
17557 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17558
17559         * LString.h: add "using std::getline" when using the real <string>.
17560
17561 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17562
17563         * buffer.C: removed bitset usage.
17564         PAR_TAG moved to an anonymous name space.
17565         (tag_name): new funtion, also in the anonymous namespace.
17566         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17567         (makeDocBookFile): clean code. Completed transition from string arrays
17568         to string vectors.
17569         (SimpleDocBookOnePar): code clean.
17570
17571 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17572
17573         * tabular.C: add some comments.
17574
17575 2001-03-22  Juergen Vigna  <jug@sad.it>
17576
17577         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17578         compatibility read a bit and fixed bug with minipage in different
17579         depth.
17580
17581 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17582
17583         * buffer.C (pop_tag): removed.
17584         (push_tag): removed.
17585         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17586         array replaced with vector. Added support for CDATA sections.
17587         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17588         at any nest level.
17589         (makeDocBookFile): XML conformant declaration of CDATA section,
17590         fixed bug related to <emphasis> in the first paragraph char.
17591         (sgmlOpenTag): exclude empty tags.
17592         (sgmlCloseTag): ditto.
17593
17594         * buffer.h (pop_tag): removed.
17595         (push_tag): removed.
17596
17597 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17598
17599         * language.h (Languages): added size_type and size().
17600
17601 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17602
17603         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17604         response on compability reading of minipages. One probliem is that
17605         the old usage of minipages was flertydig
17606
17607         * several files here and in subdirs: don't use static at file
17608         scope use anon namespaces instead.
17609
17610 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17611
17612         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17613         LaTeX output. This is necessary for Literate document
17614         processing.
17615
17616 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17617
17618         * buffer.C: insert hfill when needed.
17619
17620         * tabular.C (l_getline): use string::erase, small whitespace change.
17621
17622         * BufferView_pimpl.C: try the anon namespace.
17623         * WorkArea.C: ditto
17624
17625 2001-03-16  Juergen Vigna  <jug@sad.it>
17626
17627         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17628         otherwise it won't open options-dialogs.
17629
17630         * buffer.C: honor pextraWidth(p) on converting minipages.
17631
17632         * tabular.C (l_getline): changed the functions to strip trailing \r.
17633
17634 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17635
17636         * BufferView_pimpl.C:
17637         * minibuffer..C: added "using SigC::slot" declaration.
17638
17639 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17640
17641         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17642
17643         * text2.C: ditto
17644
17645         * text.C: ditto
17646
17647         * paragraph.C: ditto
17648
17649         * lyxtext.h: NO_PEXTRA
17650
17651         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17652
17653         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17654         * ParameterStruct.h: ditto
17655         * ParagraphParameters.h: ditto
17656         * lyxparagraph.h: ditto
17657
17658 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17659
17660         * buffer.C: add compability for minipage alignment.
17661         (latexParagraphs): remove unwanted pextra check.
17662
17663         * several files: remove CXX_WORKING_NAMESPACES
17664
17665         * buffer.C (pop_tag): tie is in namespace boost
17666
17667         * BufferView.h: noncopyable is in namespace boost
17668         * lyxlex.h: ditto
17669         * lyx_main.h: ditto
17670         * lyx_gui.h: ditto
17671         * layout.h: ditto
17672         * lastfiles.h: ditto
17673         * bufferlist.h: ditto
17674         * ShareContainer.h: ditto
17675         * LyXView.h: ditto
17676         * LyXAction.h: ditto
17677         * LaTeX.h: ditto
17678
17679 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17680
17681         * Merging changes from BRANCH_MVC back into HEAD.
17682
17683         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17684
17685 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17686
17687         * BufferView_pimpl.C: change from intl.C
17688
17689         * combox.h:
17690         * combox.C:
17691         * Makefile.am: move combox.*
17692
17693         * form1.h:
17694         * form1.C:
17695         * lyx_gui.C:
17696         * intl.h:
17697         * intl.C: remove dialog (covered by prefs)
17698
17699 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17700
17701         * lyxfunc.C (Dispatch): removed redundant break statement.
17702
17703 2001-03-14  Juergen Vigna  <jug@sad.it>
17704
17705         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17706
17707 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17708
17709         * buffer.C: add hack to fix compability reading of minipages.
17710
17711 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17712
17713         * buffer.C (getLists): Cleanup.
17714
17715 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17716
17717         * lyxfont.C (update): don't honor toggleall on font size.
17718
17719 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17720
17721         * bmtable.c:
17722         * bmtable.h:
17723         * Makefile.am: moved to frontends/xforms/
17724
17725         * lyx_gui_misc.C:
17726         * lyxfunc.C:
17727         * BufferView_pimpl.C: changes for moved mathpanel
17728
17729 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17730
17731         * gettext.h: fix gettext_init() in --disable-nls
17732
17733 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17734
17735         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17736
17737 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17738
17739         * lyx.C:
17740         * lyx.h: strip external form
17741
17742 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17743
17744         * BufferView_pimpl.C: add comment, destroySplash()
17745
17746 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17747
17748         * BufferView_pimpl.C:
17749         * LyXAction.C:
17750         * buffer.C:
17751         * commandtags.h:
17752         * lyxfunc.C: use re-worked insetinclude
17753
17754 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17755
17756         * buffer.C: add using std::stringstream.
17757
17758         * lyx_cb.C: readd using std::ios.
17759
17760         * buffer.C: add using std::map.
17761
17762         * BufferView_pimpl.C: add using std::vector.
17763
17764         * ShareContainer.h: add std:: to swap.
17765
17766         * buffer.h: add some typedefs
17767         * buffer.C (getLists): use them
17768         (getLists): renamed from getTocList.
17769         add a counter for the different float types and use it in the
17770         generated string.
17771         (getLists): use the same counter for the NEW_INSETS and the "non"
17772         NEW_INSETS
17773
17774         * lyx_cb.h: remove unused items, includes, using etc.
17775
17776         * ShareContainer.h: remove some commented code, add more comments
17777         and "documentation".
17778
17779 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17780
17781         * buffer.C (getTocList): make the list also when NEW_INSETS is
17782         defined.
17783
17784         * buffer.h: remove TocType
17785
17786         * buffer.C (getTocList): change to return a map<string,
17787         vector<TocItem> >, implement for dynamic number of list.
17788
17789         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17790         * text2.C (PasteSelection): adjust
17791         * CutAndPaste.C (pasteSelection): adjust
17792
17793         * FloatList.C (FloatList): update from the new_insets branch.
17794         * Floating.[Ch]: ditto
17795         * LaTeXFeatures.C: ditto
17796         * buffer.C: ditto
17797         * lyxlex_pimpl.C: ditto
17798
17799         * paragraph.C (Last): remove when NEW_INSETS is defined.
17800
17801         * other file: changes because of the above.
17802
17803 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17804
17805         * lyxparagraph.h: rename next to next_, previous to previous_,
17806         make them private for NEW_INSETS. Rename Next() to next(),
17807         Previous() to previous().
17808
17809         * other files: changes because of the above.
17810
17811 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17812
17813         * BufferView.h:
17814         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17815         problem.
17816
17817 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17818
17819         * main.C (main): pass lyx_localedir to gettext_init().
17820
17821         * gettext.h: remove locale_init and gettext_init macros
17822
17823         * gettext.C (locale_init): new function
17824         (gettext_init): new function
17825
17826         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17827         setlocale().
17828
17829 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17830
17831         * Moved credits to frontends:
17832         * credits.[Ch]: removed
17833         * credits_form.[Ch]: removed
17834         * lyx_gui_misc.C: remove credits stuff
17835         * Makefile.am:
17836
17837 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17838
17839         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17840
17841         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17842         unneeded destructor.
17843
17844         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17845         a standalone pointer again.
17846
17847         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17848
17849 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17850
17851         * Makefile.am:
17852         * filedlg.h:
17853         * filedlg.C:
17854         * LyXAction.C:
17855         * ToolbarDefaults.C:
17856         * bufferlist.C:
17857         * commandtags.h:
17858         * form1.C:
17859         * form1.h:
17860         * lyx_cb.C:
17861         * lyx_cb.h:
17862         * lyxfunc.h:
17863         * lyxfunc.C:
17864         * BufferView_pimpl.C: use new file dialog in GUII
17865
17866         * lyx_cb.h:
17867         * lyx_cb.C: remove LayoutsCB to Toolbar
17868
17869 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17870
17871         * ShareContainer.h (get): add std:: qualifier
17872
17873 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17874
17875         * ShareContainer.h: define a proper ShareContainer::value_type
17876         type (and use typename to please compaq cxx)
17877
17878 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17879
17880         * lyxparagraph.h: move serveral local vars to
17881         ParameterStruct/ParagraphParameters., use ShareContainer in
17882         FontTable., make vars in FontTable private and add getter and
17883         setter.
17884
17885         * paragraph.C: changes because of the above.
17886
17887         * lyxfont.h: remove copy constructor and copy assignment. (the
17888         default ones is ok), move number inside FontBits. move inlines to
17889         lyxfont.C
17890
17891         * lyxfont.C: add number to initializaton of statics, move several
17892         inlines here. constify several local vars. some whitespace
17893         cleanup. Dont hide outerscope variables.
17894
17895         * Spacing.h: add two new constructors to match the set methods.
17896
17897         * ShareContainer.h: new file, will perhaps be moved to support
17898
17899         * ParameterStruct.h: new file
17900
17901         * ParagraphParameters.h: new file
17902
17903         * ParagraphParameters.C: new file
17904
17905         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17906         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17907
17908         * BufferView_pimpl.C: ParagraphParameter changes.
17909         * buffer.C: Likewise.
17910         * bufferview_funcs.C: Likewise.
17911         * text.C: Likewise.
17912         * text2.C: Likewise.
17913
17914 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17915
17916         * lyxfind.C (LyXReplace): do not redefine default argument in
17917         implementation.
17918         (IsStringInText): ditto
17919         (SearchForward): ditto
17920         (SearchBackward): ditto
17921
17922 2001-03-06  Juergen Vigna  <jug@sad.it>
17923
17924         * lyxfind.C (IsStringInText): put parentes around expressions.
17925
17926 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17927
17928         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17929
17930 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17931
17932         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17933
17934         * stl_string_fwd.h: add comment
17935
17936         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17937
17938         * tabular.h:
17939         * tabular.C: remove unused DocBook methods
17940
17941         * intl.C:
17942         * language.C:
17943         * paragraph.C:
17944         * buffer.C:
17945         killed DO_USE_DEFAULT_LANGUAGE
17946
17947 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17948
17949         * lyx_gui.C: do not include language.h.
17950
17951         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17952         arguments in function implementation.
17953
17954 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17955
17956         * BufferView_pimpl.C: add <ctime>
17957
17958 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17959
17960         * BufferView_pimpl.C: add using std::find_if
17961
17962 2001-02-27  José Matos  <jamatos@fep.up.pt>
17963
17964         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17965         by OnlyPath.
17966
17967 2001-02-11  José Matos  <jamatos@fep.up.pt>
17968
17969         * buffer.C (makeDocBookFile): command styles now have a parameter as
17970         "title" by default.
17971
17972 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17973
17974         * layout_forms.[Ch]: removed
17975         * lyx_cb.[Ch]: out character
17976         * lyx_gui.C: out character
17977         * lyx_gui_misc.C: out character
17978         * bufferview_funcs.C: : out character,
17979         added toggleall as parameter in ToggleAndShow
17980
17981 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17982
17983         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17984
17985         * text2.C (SetCurrentFont): Disable number property at boundary.
17986
17987 2001-02-26  Juergen Vigna  <jug@sad.it>
17988
17989         * lyxfunc.C (getStatus): added a string argument override function so
17990         that this is correctly called from LyXFunc::Dispatch if it contains a
17991         do_not_use_argument which is used!
17992         (Dispatch): added check for "custom" export and call appropriate func.
17993
17994 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17995
17996         * lyxrc.C: Add language_command_local, language_use_babel and
17997         language_global_options.
17998
17999         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18000
18001         * buffer.C (makeLaTeXFile): Use language_use_babel and
18002         language_global_options.
18003
18004 2001-02-23  Juergen Vigna  <jug@sad.it>
18005
18006         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18007         which works with LyXText and putted it inside BufferView. Here now we
18008         only call for that part the BufferView::Dispatch() function.
18009
18010         * BufferView.C (Dispatch): added.
18011
18012         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18013         functions which needs to use a LyXText over from LyXFunc.
18014         (MenuInsertLyXFile): added
18015         (getInsetByCode): added
18016         (moveCursorUpdate): added
18017         (static TEXT): added
18018
18019 2001-02-22  Juergen Vigna  <jug@sad.it>
18020
18021         * BufferView_pimpl.C (update): call a status update to see if LyXText
18022         needs it.
18023
18024 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18025
18026         * vc-backend.C (revert): implement for CVS
18027         (getLog): implement for CVS
18028
18029 2001-02-20  Juergen Vigna  <jug@sad.it>
18030
18031         * text2.C (ClearSelection): added BufferView param for inset_owner call
18032
18033         * lyxfunc.C (TEXT): added this function and use it instead of
18034         directly owner->view()-text of getLyXText().
18035
18036 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18037
18038         * src/layout_forms.C: out preamble
18039         * src/layout_forms.h: out preamble
18040         * src/lyx_cb.C: out preamble
18041         * src/lyx_cb.h: out preamble
18042         * src/lyx_gui.C: out preamble
18043         * src/lyx_gui_misc.C: out preamble
18044         * src/lyxfunc.C: connect with guii preamble
18045
18046 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18047
18048         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18049
18050 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18051
18052         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18053         whether to run bibtex.
18054
18055 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18056
18057         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18058
18059 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18060
18061         * Makefile.am (lyx_SOURCES): removed bibforms.h
18062
18063         * vspace.h: doxygen
18064
18065         * text.C (GetVisibleRow): make several local vars const
18066
18067         * tabular.C: small cleanup.
18068
18069         * lyxserver.C (callback): use compare instead of strncmp
18070
18071         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18072         inlines to after class or to paragraph.C
18073
18074         * lyxfont.h: remove friend operator!=
18075
18076         * converter.h: move friend bool operator< to non friend and after
18077         class def.
18078
18079         * combox.h: small cleanup
18080
18081         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18082         to inlines after class def.
18083
18084         * buffer.C (pop_tag): use string operations instead of strcmp
18085
18086         * bmtable.c: doxygen, small cleanup
18087
18088         * LaTeX.h: remove friend operator==
18089
18090 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18091
18092         * screen.C:
18093         * lyxrc.[Ch]:
18094         * lyxfunc.C:
18095         * lyxfont.[Ch]:
18096         * lyx_cb.C:
18097         * intl.[Ch]:
18098         * commandtags.h:
18099         * buffer.C:
18100         * WorkArea.[Ch]:
18101         * LyXAction.C:
18102         * BufferView_pimpl.C:
18103         * BufferView.[Ch]: remove cruft
18104
18105 2001-02-14  Juergen Vigna  <jug@sad.it>
18106
18107         * lyxfunc.C: removed #if 0 unused code
18108
18109         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18110
18111         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18112
18113         * text2.C (SetSelection): added a BufferView * parameter
18114
18115 2001-02-13  Juergen Vigna  <jug@sad.it>
18116
18117         * lyxfunc.C (Dispatch): fixed protected blank problem.
18118         * BufferView2.C (protectedBlank): added LyxText * parameter.
18119
18120         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18121         (AppendColumn): same as above for column_info.
18122
18123         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18124         (moveCursorUpdate): use a LyXText param for support of InsetText.
18125
18126         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18127         (tripleClick): ditto
18128
18129         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18130
18131         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18132
18133         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18134
18135         * text2.C (SetSelection): set correct update status if inset_owner
18136         (ToggleFree): ditto
18137
18138 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18139
18140         * tabular.C: remove some commented code.
18141
18142 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18143
18144         * BufferView_pimpl.C: call hideSplash()
18145
18146         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18147
18148         * include_form.h:
18149         * bibforms.h: remove
18150
18151         * lyxfunc.C:
18152         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18153           add LFUN_CHILD_CREATE
18154
18155         * counters.h: fix tiny typo
18156
18157         * lyx_cb.C:
18158         * lyx.h:
18159         * lyx_gui.C:
18160         * lyx.C: move splash to frontends/xforms/
18161
18162         * lyx_gui_misc.C: move Include and Bibform to frontends
18163
18164         * lyxvc.h: clarify comment
18165
18166         * vspace.C: tiny housekeeping
18167
18168 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18169
18170         * text.C (PrepareToPrint): RTL Fix.
18171
18172         * paragraph.C (GetUChar): New method.
18173         (String):  Use GetUChar.
18174
18175         * buffer.C (asciiParagraph): Use GetUChar.
18176
18177 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18178
18179         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18180
18181 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18182
18183         * buffer.h:
18184         * buffer.C: rename to getLogName(), handle
18185           build log / latex log nicely
18186
18187 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18188
18189         * MenuBackend.C:
18190         * MenuBackend.h: remove support for reference menuitem type.
18191
18192 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18193
18194         * BufferView_pimpl.C: housekeeping
18195         * BufferView_pimpl.h:
18196         * LyXView.h:
18197         * Makefile.am:
18198         * Timeout.C:
18199         * Timeout.h:
18200         * minibuffer.h: move Timeout GUI-I
18201
18202 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18203
18204         * lyxrc.C (read): Update converters data-structures.
18205
18206 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18207
18208         * LaTeX.h (operator!=): add operator != for Aux_Info
18209
18210 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18211
18212         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18213
18214         * LaTeXLog.C: deleted, useful code moved to Buffer
18215
18216         * buffer.h:
18217         * buffer.C: new function getLatexLogName()
18218
18219         * lyx_gui_misc.C:
18220         * lyx_gui.C:
18221         * lyxvc.C:
18222         * lyxvc.h:
18223         * lyxfunc.C: use frontends for LaTeX and VC logs
18224
18225 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18226
18227         * LaTeX.h: yet another std:: that Allan forgot.
18228
18229         * Variables.C (set): renamed from isset(), because this clashes
18230         with some HP-UX macros (grr).
18231
18232 2001-02-06  Allan Rae  <rae@lyx.org>
18233
18234         * LaTeX.h: Another bug fix.  Missing std:: this time.
18235
18236 2001-02-04  Allan Rae  <rae@lyx.org>
18237
18238         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18239         floats problem. I've left it commented out because it's not quite
18240         correct.  It should also test that the current object is a table or
18241         figure inset.  But I haven't gotten around to figuring out how to do
18242         that.  I *think* it'll be something like: "table" == inset.type()
18243
18244         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18245         bool.
18246
18247 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18248
18249         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18250         all the citation/databases/styles in the auxilary file.
18251         (run): Rerun latex if there was a babel language error.
18252
18253 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18254
18255         * text.C (Backspace): Preserve the font when changing newline char
18256         with a space.
18257         (BreakParagraph): If the cursor is before a space, delete the space.
18258
18259         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18260
18261 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18262
18263         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18264         new argument (code).
18265         (ChangeCitationsIfUnique): New method.
18266
18267         * paragraph.C (GetPositionOfInset): Handle bibkey.
18268
18269 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18270
18271         * BufferView_pimpl.h: change type of Position::par_pos to
18272         LyXParagraph::size_type.
18273
18274 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18275
18276         * BufferView_pimpl.C (savePosition, restorePosition): Write
18277         messages to minibuffer.
18278
18279 2001-01-28  José Matos  <jamatos@fep.up.pt>
18280
18281         * buffer.C (makeDocBookFile): adds support for document language.
18282         A silly restriction on the name of LatexCommand types where removed.
18283         Added support for CDATA sections, allows to chars unescaped, used
18284         among others in code, to avoid escape < and >.
18285
18286 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18287
18288         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18289         saved positions instrad of a stack. Furthermore, a position is
18290         stored using paragraph id/paragraph position.
18291
18292         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18293         Remove LFUN_REF_BACK.
18294
18295 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18296
18297         * converter.C (dvipdfm_options): New method.
18298
18299 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18300
18301         * vspace.C (isValidLength): Fix for empty input string.
18302
18303 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18304
18305         * LyXAction.C (init): change description of LFUN_FIGURE to
18306         "Insert Graphics"
18307
18308 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18309
18310         * LaTeX.C: add using directive
18311
18312 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18313
18314         * MenuBackend.C (expand): Fix the sorting of the formats.
18315
18316 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18317
18318         * lyx_main.C: tiny error message fix
18319
18320 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18321
18322         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18323         calling fl_initialize(). This fixes the problem with ',' as
18324         decimal separator in text files.
18325
18326 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18327
18328         * trans.C (process): Fix the keymap bug.
18329
18330 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18331
18332         * LaTeX.C (scanAuxFiles): New method. Provides support for
18333         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18334         (scanLogFile) Scan for "run BibTeX" messages.
18335
18336         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18337         OT1 font encoding. Also, load the aecompl package if the ae
18338         package is loaded.
18339
18340         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18341
18342 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18343
18344         * texrow.C (increasePos): turn two error messages into debug
18345         messages.
18346
18347 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18348
18349         * LaTeX.C (scanAux): Handle the \@input macro.
18350         (runBibTeX): Use scanAux().
18351
18352         * language.C (latex_options_): New field.
18353
18354         * LaTeXFeatures.C (getMacros): Add language macros.
18355
18356         * buffer.C (makeLaTeXFile): Small fix.
18357
18358 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18359
18360         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18361
18362         * text2.C: add a using directive.
18363
18364 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18365
18366         * BufferView2.C:
18367         * lyx_gui_misc.h:
18368         * lyxfr1.C:
18369         * lyxfunc.C: kill LyXBell.
18370
18371 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18372
18373         * text.C (IsBoundary): Remove the error message
18374
18375         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18376
18377         * lyxrc.C (setDefaults): Correct initialization value for
18378         font_norm_type.
18379
18380 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18381
18382         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18383         gotoError().
18384
18385         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18386         and GotoNextNote().
18387
18388         * src/LyXAction.C: Added reference-next.
18389
18390         * text.C (InsertChar): Use contains instead of strchr.
18391
18392         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18393
18394 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18395
18396         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18397         alignment commands (when needed).
18398
18399         * text.C (InsertChar): Add ':' to number separator chars.