]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix undo grouping of ordinary typing (bug 2097)
[lyx.git] / src / ChangeLog
1 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * dociterator.h (StableDocIterator): add access to pos().
4         * undo.C (samePar): new method to check if two
5         iterators are in the same paragraph
6         * undo.C (recordUndo): check for samePar instead of cell identity
7         (which includes pos() and is too strict) (fixes bug 2097)
8
9 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10
11         * text.C (setCursorFromCoordinates): return a bool telling whether
12         dEPM triggered.
13
14         * text3.C (cursorPrevious): update if needed after
15         setCursorFromCoordinates (when dEPM triggered).
16
17         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
18         (otherwise the anchor may be completely wrong and make dEPM assert).
19
20 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
21
22         * buffer.C: version upgrade to 245.
23         * bufferparams.C: remove \quotes_times (bug 2090).
24         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
25         quotation marks as default.
26
27 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
28
29         * CutAndPaste.C (nrOfParagraphs): remove (unused)
30         * CutAndPaste.C (cutSelection): Remove debug message
31         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
32         undo information and only copy if this is a real cut
33         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
34         call
35         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
36         (bug 2059)
37         * CutAndPaste.C (eraseSelection): prevent cursor corruption
38         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
39         superflous cur.selection() setting
40         * CutAndPaste.[Ch] (grabSelection): take a const cursor
41         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
42
43 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
44
45         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
46         change anything.
47
48 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
49
50         * BufferView_pimpl.C: comment layout change
51
52 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
53
54         * LyXAction.C:
55         * lfuns.h:
56         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
57         by bibliography managers (bug 2071).
58
59 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
60
61         * BufferView_pimpl.C (update): choose arguments to update call so
62         that single-par update works most times
63         * text3.C (dispatch): carefully tune updating separately for
64         whole-screen and current-paragraph
65         * rowpainter.C (paintText): 1) replace painting by caching for
66         the two extra paragraphs, because we can;
67         2) suppress greying out of areas below/above drawn area in case of
68         single-par refresh
69         * lyxfunc.C (dispatch): remove superfluous update
70         * LyXAction.[Ch]: introduce SingleParUpdate
71
72 2005-10-05  Angus Leeming  <leeming@lyx.org>
73
74         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
75         always initialised before use.
76
77         * text.C (setHeightOfRow): squash warning about comparison
78         of signed and unsigned types.
79
80 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
81
82         * text.C (cursorX): two fixes involving RtL text drawing
83
84 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
85
86         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
87         items, not only large ones (part of bug 2057)
88
89 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
90
91         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
92         argument, use "newcommand".
93
94 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
95
96         * cursor.C (setSelection): do not open collapsable insets;
97         the insets do by themselves now (autoopen).
98
99 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
100
101         * buffer.C: format is up to 244.
102
103 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
104
105         * text.C (redoParagraph): fix calcultation of inset width wrt 
106         leftMargin (bug 1957).
107
108         * text3.C (dispatch): leave inset to the right when hitting ESC 
109         (bug 2034).
110
111 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
112
113         * text2.C: 
114         * text.C: 
115         * factory.C:
116         * messages.C: include <boost/current_function.hpp> 
117
118 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
119
120         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
121         when command is internal. (bug 1941)
122
123 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
124
125         * text2.C (cursorRight): do not honor boundary when at the end of
126         a paragraph. (bug 2010 again)
127
128 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
129
130         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
131
132 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
133
134         * rowpainter.C (paintText): fix RtL space width display bug (2029)
135
136 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
137
138         * text2.C (setCursor): remove the unused 'boundary' parameter for
139         the CursorSlice version; adapt the LCursor version.
140
141         * lyxrc.C (write): 
142         * paragraph_pimpl.C (markErased): 
143         * cursor.C (bruteFind2, bruteFond3): fix warnings.
144
145 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
146
147         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
148         as is already done for "chapter".
149
150 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
151
152         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
153         textclass; do not record undo if nothing is changed.
154
155 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
156
157         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
158
159 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
160
161         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
162
163 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
164
165         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
166         combox, it is necessary to search for the topmost paragraph in the
167         cursor stack (bug 1926)
168
169 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
170
171         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
172         end of paragraph. (bug 2010)
173
174 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
175
176         * text.C (leftMargin): check for inInset == 0
177
178 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
179
180         * text.C (leftMargin): test for insetbase's new neverIndent()
181         bool instead of listing each and every inset that does not
182         wish par indendation.
183
184 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
185
186         * buffer_funcs.C (setCounter): put the code to compute enum label
187         here (where it belongs).
188
189         * counters.C (enumLabel): move code to buffer_funcs.C.
190
191 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
192
193         * outputparams.[Ch]: store local_font instead of local_language
194         * paragraph.C (simpleTeXOnePar): adapt to the change above
195
196 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
197
198         * buffer_funcs.C:
199         * counters.[Ch]: clean up special code for Hebrew.
200
201 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
202
203         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
204         than 2.
205
206 2005-09-08  Angus Leeming  <leeming@lyx.org>
207
208         * ispell.C:
209         * lyxrc.C: correct grammar describing invocation of the
210         spellchecker.
211
212 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
213
214         * text.C (read): remove unused variable.
215         (readParToken): remove static Change variable (never good in
216         recursive settings...); add it as a parameter instead.
217
218         * paragraph_pimpl.C (acceptChange): make debug info conditional.
219
220         * metricsinfo.C (PainterInfo): add new member erased_.
221
222         * rowpainter.C (RowPainter): add erased_ member, initialized from
223         PainterInfo. 
224         (paintInset): pass erased_ to Inset::draw.
225
226         * lyxfunc.C (lookupChange): new function. Tells whether change 
227         tracking is disabled at a given postion.
228         (getStatus): disable some actions when in deleted text with change
229         tracking. 
230
231 2005-08-03  John Levon  <levon@movementarian.org>
232         
233         * tabular.C (appendColumn, setMultiColumn): adapt to change to
234         InsetText::clear().
235
236         * paragraph_pimpl.C (markErased): add bool argument and handle it.
237         Also make sure to mark insets recursively.
238         (rejectChange, erase): be recursive
239
240         * paragraph.C (markErased): add bool argument.
241 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
242
243         * lyxfind.C (findNextChange): tiny cleanup.
244
245         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
246         change tracking with the cursor in an inset; make sure the first
247         change is not skipped.
248
249 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
250
251         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
252         tabularStackDirty to work around bug 1919 (tabular needs
253         to know whether its own cell paste buffer or the one of 
254         texted is newer.
255         * CutAndPaste.C: mark tabular_stack_ clean after copy.
256
257 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
258
259         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
260
261 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
262
263         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
264         use old deleteion algorithm when changetracking is on.
265
266 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
267
268         * messages.C (get): add debug output.
269
270 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
271
272         * text.C (cursorX): fix bug 1965: cursor movement at
273         line end broken in RtL.
274         (drawSelection): fix bug 1970: drawing of single-line 
275         selection broken for RtL.
276
277 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
278
279         bug 465.
280
281         * dociterator.h (clear, push_back, pop_back): change from
282         protected to public.
283
284         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
285         and changed to just return the value of the item depth; take a
286         ParIterator as argument; take the itemdepth at outer nesting level
287         in account if necessary; cleanup and comment the code.
288         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
289         and changed to just return true if reset is needed; take a
290         ParIterator as argument; cleanup and comment the code.
291         (setCounter): adapt to above changes.
292
293 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
294
295         * text3.C (dispatch): make debug message optional
296
297 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
298
299         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
300         inset. (bug 1963)
301
302 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
303
304         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
305
306 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
307
308         * text.C (insertChar):
309         * text2.C (deleteEmptyParagraphMechanism): take care whether 
310         a blank has been deleted (in change tracking mode) (bug 1254).
311
312 2005-07-20  John Levon  <levon@movementarian.org>
313
314         * text2.C (insertStringAsLines): remove old dubious code,
315         fixing bug 1939.
316
317 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
318
319         * MenuBackend.C (expandToc): use Floating::listName() as title of
320         the floats submenus.
321
322 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
323
324         * toc.[Ch]: Do not use translatable strings (bug 1870).
325
326 2005-07-20  John Levon  <levon@movementarian.org>
327
328         * tabular.C: fix 1748 - setting multicolumn adds
329           left line to the first cell
330
331 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
332
333         bug 1920
334         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
335         pars in one go.
336
337 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
338
339         * messages.C: supress some lyxerr messages
340
341 2005-07-18  Juergen Vigna  <jug@lyx.org>
342
343         * text.C (drawSelection): honor boundary when asking for cursorX.
344
345 2005-07-17  José Matos  <jamatos@fc.up.pt>
346
347         * tabular.C (recalculateMulticolumns): fix handling of one column
348         tables.
349
350 2005-07-17  Juergen Vigna  <jug@lyx.org>
351
352         * text.C (Delete, backspace): fixed so that paragraph with the
353         same layout can be merged by Delete/Backspace.
354
355 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
356
357         * text.C (readParToken): fix spelling.
358
359 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
360
361         * text2.C: fix counter update for DEPM problem reported by
362         Georg Baum
363
364 2005-07-17  Juergen Vigna  <jug@lyx.org>
365
366         * BufferView_pimpl.C (setBuffer): save/restore the
367         cursor/selection when switching buffers
368
369         * buffer.h: 
370         * buffer.C (saveCursor): add saveDocumentIterators to save the
371         cursor when switching buffer.
372
373 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
374
375         * debug.C: fix typo
376         * buffer.C: clarify message
377         
378 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
379
380         * dociterator.C (DocIterator): fix initialization order
381
382 2005-07-17  Juergen Vigna  <jug@lyx.org>
383
384         * text2.C (cursorHome): 
385         * text.C (drawSelection, cursorX): 
386         * dociterator.C (textRow): add boundary to getRow() call
387
388         * paragraph.C (getRow): implementation of below
389
390         * paragraph.h: add parameter boundary for getRow() function
391
392 2005-07-17  José Matos  <jamatos@fc.up.pt>
393
394         * buffer.C:
395         * bufferparams.[Ch]:
396         * tex-strings.[Ch]: new file format, remove support for a4.sty,
397         a4wide.sty and a4widemargins.
398
399 2005-07-17  Juergen Vigna  <jug@lyx.org>
400
401         * text2.C (cursorLeft): fix one of error
402
403 2005-07-17  Juergen Vigna  <jug@lyx.org>
404
405         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
406                    cursorEnd):
407         more fixes for boundary handling
408
409         * text3.C (dispatch): don't reset cursor if boundary has changed
410         on cursor movement.
411
412 2005-07-16  Juergen Vigna  <jug@lyx.org>
413
414         * text2.C (getColumnNearX): hopefully got it right now,
415         check if we are on column 0 for special case.
416
417 2005-07-16  Juergen Vigna  <jug@lyx.org>
418
419         * text2.C (getColumnNearX): handle special case Newline Inset
420
421         * text.C (singleWidth): Just remove bogus check
422
423 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
424
425         * funcrequest.C (split): avoid reading uninitialized char c
426
427 2005-07-16  José Matos  <jamatos@fc.up.pt>
428
429         * buffer.C:
430         * converter.C:
431         * lyxrc.C:
432         * paper.h:
433         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
434         single papersize variable.
435
436 2005-07-16  Juergen Vigna  <jug@lyx.org>
437
438         * text3.C (dispatch): honor boundary when checking if a cursor
439         movement has been done
440
441         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
442         (setCursor, setCursorIntern): fix cursor movement with boundary
443
444 2005-07-16  Juergen Vigna  <jug@lyx.org>
445
446         * text.C (currentState): output the actual Boundary
447
448 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
449
450         * factory.C (createInset): fix bad logic for tabular creation
451
452 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
453
454         * lyx_main.C (init): change some reLyX reference to tex2lyx
455
456 2005-07-16  Juergen Vigna  <jug@lyx.org>
457
458         * dociterator.C (DocIterator): initialize boundary
459
460 2005-07-16  Juergen Vigna  <jug@lyx.org>
461
462         * text2.C (getColumnNearX): Consider rows without trailing blank.  
463
464 2005-07-16  André Pönitz  <poenitz@gmx.net>
465
466         * lyxfont.h: Change order of declarations to give the compiler
467         a better chance to inline things
468
469         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
470         questions on unsaved docs for better scritability
471
472 2005-07-16  André Pönitz  <poenitz@gmx.net>
473
474         * paragraph.h (getChar): remove asserts as the same kind of security
475         can be achieved by using a suitable standard library implementation
476         and the function was in the critical path (25.9% in profiler)
477
478 2005-07-16  Juergen Vigna  <jug@lyx.org>
479
480         * cursor.C (bruteFind2):
481         * bufferview_funcs.C (coordOffset): 
482         * text.C (cursorX,cursorY): Handle cursor position after last char
483         in row before a inset which uses a whole row.
484
485 2005-07-15  José Matos <jamatos@lyx.org>
486
487         * output_plaintext.[Ch] (writeFileAscii): control reference title
488         printing.
489         (asciiParagraph): noparbreak was already deal and was incorrectly
490         used.
491
492 2005-07-15  Juergen Vigna <jug@lyx.org>
493
494         * lyxfunc.C (dispatch): save and restore the cursor after a
495         textclass switch.
496
497 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
498
499         * text.C (backspace): bug 806 for empty keepempty paragraphs we
500         change the layout to default before letting DEPM do its thing.
501
502         * paragraph_funcs.C (breakParagraph): dont reset the layout on
503         keepEmpty paragraphs
504
505         * text.C (setCursorFromCoordinates): add a debug statement
506
507         * text2.C (getColumnNearX): bug 1825 make sure that we don't
508         return a pos that is not on the row
509
510         * output_latex.C (TeXDeeper): get rid of potential dereferencing
511         of past the end iterator
512
513 2005-07-14  André Pönitz  <poenitz@gmx.net>
514
515         * undo.C (recordUndoFullBuffer): implement undo for
516         textclass switches
517
518 2005-07-14  André Pönitz  <poenitz@gmx.net>
519
520         * cursor.C (setSelection): open insets when selection is set there
521         to avoid crashs with cold coord cache
522
523 2005-07-14  André Pönitz  <poenitz@gmx.net>
524
525         * trans_mgr.C (insert): move cursor to the right after inserting
526         a char.
527
528 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
529
530         * BufferView_pimpl.C (update): dampen some of the debug blabbering
531         * factory.C (readInset): ditto
532         * text.C, text2.C: ditto
533
534 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
535
536         * buffer.C: format incremented to 242. There is no file format per
537         se, but the "frenchb" language has been removed from lib/language
538         and has to be translated to "french" by lyx2lyx.
539
540 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
541
542         * cursor_slice.h, dociterator.h: add some documentation
543         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
544
545 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
546
547         * text.C (leftMargin): do not add identation to display() style
548         insets, because they are always centered (bug 1293).
549
550 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
551
552         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
553         formatted_time methods in support/lyxtime.
554
555 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
556
557         * toc.[Ch]: new method getGuiName, which is used by the frontends 
558         to set the toc combo (fixes bug 1870). Make TOC string translatable.
559
560 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
561
562         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
563         StableDocIterator const &)
564         * undo.C (recordUndo): use the above instead of cell.size() comparison
565         (fixes bug 1808; instructed by Andr�.
566
567 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
568
569         * cursor_slice.h: 
570         * dociterator.h: Fix the assert when copying rows/cols in math
571
572 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
573
574         * BufferView_pimpl.C:
575         * LyXAction.C:
576         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
577
578         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
579         (findInset): new functions, refactored from goto Inset that return 
580         the position of a certain inset without setting the buffer's cursor
581         (by Jean-Marc); 
582         (gotoInset): rewrite to call findInset and then set the cursor
583         (by Jean-Marc).
584
585 2005-06-16  Angus Leeming  <leeming@lyx.org>
586
587         * lyxrc.C (output, read): wrap all input and output of paths with
588         calls to os::internal_path and os::external_path, respectively.
589         (output): wrap bind_file inside quotes.
590
591         * format.C (view): enable the viewer to use the '$$s' placeholder.
592
593 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
594
595         * LColor.[Ch] (getFromLaTeXName): new
596
597 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
598
599         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
600
601 2005-06-14  Angus Leeming  <leeming@lyx.org>
602
603         * lyx_main.C (init): ensure that the LyX binary dir is the first
604         element in the PATH on non-POSIX builds.
605
606 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
607
608         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
609
610 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
611
612         * rowpainter.C (paintInset, paintHebrewComposeChar)
613         (paintArabicComposeChar, paintChars): add a LyXFont argument.
614         (paintChars): use getFontSpan to reduce calls to getFont to a
615         minimum; use Paragraph::lookupChange instead of isXXXText.
616         (paintForeignMark): rename LyXFont argument.
617         (paintFromPos): pass a LyXFont object to the various paintXXX
618         methods.
619
620         * FontIterator.C (FontIterator, operator++): use
621         Paragraph::getFontSpan
622
623         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
624         version that returns the font span as a pair.
625
626 2005-06-09  Angus Leeming  <leeming@lyx.org>
627
628         * converter.C (convert): Don't forget "outfile = real_outfile" as
629         the final step in a conversion where the input and output file names
630         are the same. Otherwise, future conversion steps won't work...
631
632 2005-06-09  Angus Leeming  <leeming@lyx.org>
633
634         * lyxsocket.C: remove stub code as it isn't needed by
635         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
636
637 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
638
639         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
640         effectively disabled -x
641
642 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
643
644         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
645         when it actually makes sense.
646
647 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
648
649         * BufferView_pimpl.C: revert to showCursor in connection with
650         Lars's front-end stack
651
652 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
653
654         * text.C (redoParagraph): move cursor right after a bibitem
655         has been inserted.
656
657         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
658
659 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
660
661         * buffer_funcs.C (bufferErrors): fix computation of the end of an
662         error range.
663
664 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
665
666         * BufferView.[Ch] (update):
667         * BufferView_pimpl.[Ch] (update, metrics):
668         * dimension.h (operator==):
669         * lyxfunc.C (dispatch):
670         * metricsinfo.h (ViewMetricsInfo):
671         * rowpainter.C (paintText):
672         * lyxtext.h:
673         * text.C (redoParagraph):
674         * text3.C (dispatch): Make LyX only repaint current paragraph in
675         case of character insert --> speedup. Also fix cursor draw
676         artifacts
677
678 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
679
680         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
681         avoid a crash (bug 1891)
682
683 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
684
685         Fix bug 1892:
686
687         * text2.C (getStringToIndex): constify cur argument.
688
689         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
690         argument has been given
691         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
692         try to invoke LFUN_INSET_APPLY).
693
694         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
695         if no inset was created by doInsertInset
696         (doInsertInset): return true if an inset has been inserted.
697
698 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
699
700         * vspace.C (asGUIName): new method. A version of the space
701         suitable for showing on screen.
702
703 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
704
705         * MenuBackend.C:
706         * lyxrc.C: rename "ASCII" to "Plain Text"
707
708 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
709
710         * buffer_funcs.C (expandLabel): take a Buffer as argument;
711         translate the labelstring.
712         (setCounter): translate labelstring as needed.
713
714         * output_docbook.C (makeCommand): fix expandLabel invokation
715
716 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
717
718         * BufferView.C: fix dialog title
719
720 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
721
722         * lyx_main.C (priv_exec): fix logic error with help from Angus
723         * lyx_main.C (parse_execute): set is_gui = false and remove now
724         obsolete comment about a segfault
725
726 2005-05-18  Angus Leeming  <leeming@lyx.org>
727
728         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
729
730 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
731
732         * tabular.[hC]: added setCellInset to fix tabular paste.
733
734 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
735
736         * buffer.C (save): check if destination is writable before trying
737         to copy a file
738
739 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
740
741         * BufferView_pimpl.C (update): fix processEvents -caused update
742         recursion bug
743
744 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
745
746         * buffer_funcs.C (setCounter): fix test for numbering of
747         environments.
748
749         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
750         depth correctly; use optional argument when it exists
751
752         * lyxtextclass.C: remove unused MaxCounterTags enum
753         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
754         (max_toclevel, min_toclevel): new methods.
755
756         * MenuBackend.C (expandToc2): fix case where depth is smaller than
757         the smallest depth in toc.
758
759         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
760         layouts that should not appear in a table of contents.
761
762 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
763
764         * cursor.h (undispatched, noUpdate): add comments from Andr�
765 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
766
767         * lfuns.h:
768         * LyXAction.C:
769         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
770
771 2005-05-07  André Pönitz  <poenitz@gmx.net>
772
773         * cursor.[Ch] (leaveInset): new function
774
775 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
776
777         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
778
779 2005-05-04  Angus Leeming  <leeming@lyx.org>
780
781         * lyxfunc.C (getStatus): disable the spell checker dialog if
782         none of USE_[AIP]SPELL are defined.
783
784 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
785
786         * tabular.C (setWidthOfCell): remove obsolete comment
787
788 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
789
790         * paragraph.C (bibitem):
791         * buffer_funcs.C (setCounter):
792         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
793
794 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
795
796         * text3.C (getStatus): immediately return after setOnOff
797
798         * rowpainter.C: fix drawing of appendix start
799
800 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
801
802         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
803         SwitchBetweenClasses and remove the unused return value.
804         Handle character styles, too
805
806 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
807
808         * factory.C (createInset): handle undefined character styles
809
810 2005-05-02  Angus Leeming  <leeming@lyx.org>
811
812         * buffer.C: protect the #include of utime.h with a preprocessor
813         guard.
814
815 2005-05-02  Angus Leeming  <leeming@lyx.org>
816
817         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
818         function so that auto-saving works, albeit in a blocking manner.
819
820         * Makefile.am: make compilation of the client sub directory, of
821         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
822         on conditionals set at configure time.
823
824         * SpellBase.[Ch]: no longer an abstract base class. Instead,
825         it can be compiled in its own right but has no-op functionality.
826
827         * aspell.C, pspell.C: remove preprocessor guards. The files should
828         be compiled only if the necessary functionality exists.
829
830         * lyxserver.C, lyxsocket.C: disable on Windows.
831
832 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
833
834         * text.C (leftMargin): Fix the parindent use bug (1764)
835         by dirty trick
836
837 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
838
839         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
840         argument.
841
842 2005-04-25  Angus Leeming  <leeming@lyx.org>
843
844         * Bidi.[Ch]:
845         * coordcache.[Ch]:
846         * ispell.C:
847         * lyxserver.C:
848         * mover.C:
849         * pch.h:
850         include <config.h> in .C files, not .h ones.
851         add licence blurb.
852         protect headers inside preprocessor guards.
853
854 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
855
856         * FuncStatus.h (StatusCodes): document
857
858 2005-04-21  André Pönitz  <poenitz@gmx.net>
859
860         * FuncStatus.h (enabled, onoff): document
861
862 2005-04-19  Angus Leeming  <leeming@lyx.org>
863
864         * BufferView_pimpl.C (cursorToggle): no longer test whether
865         any child processes have been reaped before calling
866         handleCompletedProcesses().
867
868 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
869
870         * text3.C (dispatch): fix, finally fix, the language problem in
871         new lyxtexts, without disabling on-the-fly font changes (Helge's
872         bug report)
873
874 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
875
876         * text3.C (dispatch): set cursor on double/triple click events
877         (bug 1811)
878
879 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
880
881         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
882         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
883
884         * rowpainter.C (paintFirst): simplify the code a little bit. In
885         particular, remove the test for secnumdepth.
886         * text.C (setHeightOfRow): only allocate space for chapter number
887         when updateCounters provided an actual label, instead of looking
888         at secnumdepth directly.
889
890         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
891
892         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
893         paragraphs when secnumdepth is large enough or, for environments,
894         when they are not the first in a sequence.
895
896 2005-04-17  Angus Leeming  <leeming@lyx.org>
897
898         * buffer.C (makeLaTeXFile): replace code to manipulate a path
899         containing space and '~' characters with a call to latex_path().
900
901 2005-04-17  Angus Leeming  <leeming@lyx.org>
902
903         * converter.C (convert): protect all args of convertDefault.sh
904         script with quotes.
905
906 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
907
908         * text3.C (dispatch): change the layout to "Caption" after inserting
909         a float.
910
911 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
912
913         * text3.C (dispatch): fix language problem in newly created
914         textinsets (and main text) in non-english docs
915
916 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
917
918         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
919         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
920         * text3.C (getStatus): disable LFUN_INSET_MODIFY
921
922 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
923
924         * lyxtext.h:
925         * text.C (metrics):
926         * text2.C (getFont):
927         * rowpainter.C (getFont): Fix metrics bug introduced by inset
928         fonts fix
929
930 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
931
932         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
933         output of \item arguments without trailing text.
934
935 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
936
937         * FontIterator.C (operator*): avoid a copy of the font.
938
939 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
940
941         * rowpainter.C (getFont): fix language bug from previous fix
942
943 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
944
945         * rowpainter.C (RowPainter, getFont): fix font inside inset
946         (bugs 1766, 1809)
947
948 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
949
950         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
951         preventing inserted font, deco, delim insets jumping to start of
952         surrounding inset.
953
954 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
955
956         * lyxfunc.C (dispatch): translate message before sending it to the
957         minibuffer.
958
959 2005-03-29  Angus Leeming  <leeming@lyx.org>
960
961         * lyx_main.C (priv_exec): call os::internal_path on each file passed
962         to LyX on the command line.
963
964 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
965
966         * vc-backend.C: use QuoteName to protect file names wherever
967         necessary.
968
969 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
970
971         * buffer.[Ch]:
972         * BranchList.h: fix bugs 1844,1845: document settings don't
973         stick
974
975 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
976
977         * lyxrc.C (setDefaults, read, output, getDescription): add support
978         for tex_allows_spaces.
979
980         * exporter.C (Export): allows files in directory containing spaces
981         if tex_allows_spaces is true.
982
983         * buffer.C (makeLaTeXFile): if the document path contains spaces,
984         output it in double quotes.
985
986 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
987
988         * rowpainter.C: use default text height for drawing change tracker
989         strikeout lines.
990
991 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
992
993         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
994
995 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
996
997         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
998         directory is missing.
999
1000 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1001
1002         * text2.C: fixed the fix, extended to other case.
1003
1004 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1005
1006         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1007
1008 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1009
1010         * text2.C (cursorUp): get rid of a crash
1011         * text.C (x2pos): add an assert
1012
1013 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1014
1015         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1016
1017         * text3.C:
1018         * lyxfunc.C:
1019         * dociterator.C: include <boost/current_function.hpp>, which is
1020         needed when assertions are disabled.
1021
1022 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1023
1024         * text2.C: fix for stuck cursor when traversing two
1025         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1026
1027 2005-02-25  Andreas Vox  <avox@arcor.de>
1028
1029         * output_docbook.C (makeParagraph): suppress trailing newline
1030         after a run of paragraphs
1031
1032 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1033
1034         * paragraph.C: fix for confused change tracker when pasting
1035         text that begins with a lineseparator. [bug 1827]
1036         (setChange(0, Change::INSERTED);)
1037
1038         * paragraph_funcs.C: fix for lost changes on triple-paste
1039         in change tracking mode [bug 1827] (par.setChange()).
1040
1041 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1042
1043         * text2.C (updateCounters, setCounter, expandLabel): move to
1044         buffer_funcs.
1045
1046         * buffer_funcs.C (updateCounters): turn into a free standing
1047         function and add a buffer parameter. Remove dead code for tracking
1048         labelstring change.
1049         (setCounter): change into a free-standing function which gets a
1050         dociterator as argument. Use this iterator to fix captions in a
1051         simple way. When no float is found above the caption, use the
1052         labelstring of the caption layout as default.
1053
1054         * text.C (breakParagraph, backspace):
1055         * text2.C (init, setLayout, changeDepth):
1056         * text3.C (dispatch):
1057         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1058         updateCounters.
1059
1060         * dociterator.C (forwardPar): make it much faster by calling
1061         forwardPos() only when really necessary.
1062
1063         * output_docbook.C (makeCommand): adapt to expandLabel move.
1064
1065         * cursor.C: remove unused variable
1066
1067 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1068
1069         * paragraph_funcs.C: fix crash when pasting insets in change
1070         tracking mode [bug 1277] (honour change type in moveItem).
1071
1072 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1073
1074         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1075
1076 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1077
1078         * BufferView.C (setCursor): change to use a DocIterator.
1079         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1080         (putSelectionAt): adapt to BufferView::setCursor change.
1081
1082         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1083         moved here from LyXText and rewritten to use proper cursor
1084         methods. Fixes bug 1787, 616 and 835.
1085
1086         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1087         when inside an inset (part of bug 781).
1088         (dispatch): adapt to change of BufferView::setCursor.
1089         (getStatus, dispatch): handle LFUN_GOTOERROR,
1090         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1091
1092         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1093         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1094         * text3.C (gotoNextInset, gotoInset): removed.
1095
1096 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1097
1098         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1099
1100 2005-02-15  Angus Leeming  <leeming@lyx.org>
1101
1102         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1103         can be used meaningfully in a comparison.
1104
1105 2005-02-13  André Pönitz  <poenitz@gmx.net>
1106
1107         * bufferview_funcs.C (coordOffset): improve cursor drawing
1108
1109 2005-02-13  André Pönitz  <poenitz@gmx.net>
1110
1111         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1112         * Cursor.C (dispatch): use fixIfBroken
1113         * lyxfunc.C (getStatus): use fixIfBroken
1114
1115 2005-02-15  Angus Leeming  <leeming@lyx.org>
1116
1117         * lyx_main.C (error_handler):
1118         * lyxfunc.C:
1119         * lyxrc.C (setDefaults):
1120         s/GetEnv/getEnv/.
1121         #include "environment.h".
1122
1123         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1124
1125 2005-02-15  Angus Leeming  <leeming@lyx.org>
1126
1127         * lyxserver.C (startPipe): squash MSVC warning "local variable
1128         'fd' used without having been initialized".
1129
1130 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1131
1132         * BufferView_pimpl.C: revert accidental commit.
1133
1134 2005-02-14  André Pönitz  <poenitz@gmx.net>
1135
1136         * dociterator.[Ch]: new member forwardPosNoDescent(),
1137         which doesn't enter nested insets.
1138         * text2.C (setFont): use forwardPosNoDescent() instead
1139         of ForwardPos() (fixes crash on font change).
1140
1141 2005-02-13  Angus Leeming  <leeming@lyx.org>
1142
1143         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1144         only if lyxrc.path_prefix is not empty.
1145
1146 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1147
1148         * bufferparams.C (readGraphicsDriver): prevent crash
1149
1150 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1151
1152         * text2.C (setCounter): check for inInset() == 0
1153
1154 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1155
1156         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1157         but use update() to get correct screen display; use convert
1158         instead of istringstream.
1159         (getStatus): handle LFUN_GOTO_PARAGRAPH
1160
1161         * lyxfunc.C (dispatch, getStatus): do not handle
1162         LFUN_GOTO_PARAGRAPH here.
1163
1164 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1165
1166         * text3.C (dispatch): size() -> depth()
1167
1168         * text2.C: remove some debug output
1169
1170         * paragraph.C: ws changes only
1171
1172         * lyxfunc.C (getStatus): size() -> depth()
1173
1174         * dociterator.h (clear, push_back, pop_back, internalData,
1175         operator[], resize, empty): new functions
1176         Make StableDocIterator and operator== be friends. Don't inherit
1177         from std::vector use a privat class variable slices_ instead.
1178         Modify to fit.
1179
1180         * dociterator.C: update because of not inheriting from std::vector
1181         anymore. Call explictly to slices_ instead. Use depth() instead of
1182         size() and top() instead of back()
1183
1184         * cursor.C: chagne size() -> depth and back() -> top(). Also
1185         remove some direct operator[](i) calls in favour of foo[i]
1186         (getFont): remove some dead code
1187
1188         * bufferview_funcs.C (coordOffset): size() -> depth()
1189
1190         * buffer.C: ws changes only
1191
1192         * CutAndPaste.C (eraseSelection): back() -> top()
1193
1194         * BufferView_pimpl.C (selectionRequested): back() -> top()
1195
1196         * BufferView.C (setCursor): size() -> depth()
1197
1198 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1199
1200         * text3.C (cursorPrevious): return true if depm changed something
1201         (cursorNext): ditto
1202         (dispatch): rename sl to oldTopSlice, remove moving use the new
1203         NoUpdate func attrib instead. Make sure that needsUpdate is set
1204         for function that have NoUpdate, but where depm might have changed
1205         the buffer anyway.
1206
1207         * text2.C (cursorLeft): make us return true if depm changed
1208         something
1209         (cursorRight): ditto
1210         (cursorUpParagraph): ditto
1211         (curosrDownParagraph): ditto
1212         (cursorUp, cursorDown): ditto, make sure to read comments in code
1213         (deleteEmptyParagraphMechanism): remove an assert, also return
1214         true if just a single char was deleted.
1215
1216         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1217         cursor that we modify, to avoid modifying an active cursor before
1218         we call setCursor. This allows depm to run. Also return true if
1219         depm deleted something.
1220
1221         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1222         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1223         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1224         something was changed in the buffer because of them (ie. depm run)
1225
1226         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1227         debug messages. Make update by default be false. Make sure that
1228         the result of update is retained throught several calls down to
1229         dispatch.
1230
1231         * LyXAction.h: add a new func_attrib: NoUpdate
1232
1233         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1234         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1235         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1236         and LFUN_WORDLEFT
1237         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1238
1239 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1240
1241         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1242         bv_->owner(), bv_->buffer() by direct references to the private
1243         members.
1244         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1245         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1246         (fitCursor): center() is in BufferView::Pimpl.
1247         (getStatus, trackChanges, dispatch): no need for a temporary buf
1248         variable
1249         (fitCursor, workAreaDispatch): use workarea().workheight()
1250
1251 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1252
1253         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1254
1255 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1256
1257         * buffer.C: format up to 241.
1258         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1259         break if pasting into ERT
1260         * lyxfunc.C (getStatus): suppress mathpanel and
1261         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1262
1263 2005-02-01  Angus Leeming  <leeming@lyx.org>
1264
1265         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1266
1267 2005-02-01  Angus Leeming  <leeming@lyx.org>
1268
1269         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1270         calling fs::is_directory().
1271
1272 2005-01-31  Angus Leeming  <leeming@lyx.org>
1273
1274         * lyx_main.C (priv_exec): specify explicitly the relative location
1275         of the top level build directory when run in-place.
1276
1277 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1278
1279         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1280         LyXText containing the cursor, not the top-level one.
1281
1282         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1283         true.
1284         (insertStringAsLines): rename par to pit; use temporary variable
1285         par to hold a Paragraph; do not store par.layout() in a variable,
1286         since the pointer may die when breaking paragraphs; pass pars to
1287         breakParagraph() instead of Buffer::paragraphs().
1288
1289 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1290
1291         * lyxlex_pimpl.h: #include <fstream>.
1292
1293         * BufferView.[Ch] (getLyXText): add a const version.
1294
1295         * BufferView_pimpl.C: add debug aids.
1296
1297         * RowList_fwd.h:
1298         * buffer.h:
1299         * lyxrow.h:
1300         * paragraph_funcs.h: add commentary explaining what the class does.
1301
1302
1303         * coordcache.[Ch]: add lots of commentary.
1304         (startUpdating, doneUpdating): debug aids.
1305         (arrays, insets, parPos, getParPos): accessors to private data.
1306
1307         * cursor_slice.[Ch] (text): add a const version.
1308         * dociterator.[Ch] (text, innerText): add const versions.
1309
1310         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1311         bool.
1312
1313         * paragraph.C (getRow, pos2ros): add asserts.
1314
1315         * paragraph.h: add commentary. Lots of.
1316
1317         * paragraph.[Ch] (metrucs, draw): removed.
1318
1319         * cursor.C:
1320         * rowpainter.[Ch]: const-correct changes.
1321
1322         * text.C: various obvious clean-ups. Removal of ancient cruft.
1323         Bug fixes, even.
1324
1325 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1326
1327         * vc-backend.C (find_file): rewrite to use boost.filesystem
1328         (scanMaster): ditto
1329
1330         * main.C (main): set default name check for boost.filesystem to
1331         no check
1332
1333         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1334         (open): ditto
1335         (doImport): ditto
1336         (actOnUpdatedPrefs): ditto
1337
1338         * lyx_main.C (init): rewrite to use boost.filesystem
1339         (queryUserLyXDir): ditto
1340
1341         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1342         (getContentsOfAsciiFile): ditto
1343
1344         * lastfiles.C (readFile): rewrite to use boost.filesystem
1345
1346         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1347
1348         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1349         (loadLyXFile): ditto
1350
1351         * buffer.C (Buffer): adjust for destroydir
1352         (getLogName): rewrite to use boost.filesystem
1353         (setFileName): ditto
1354         (save): use fs::copy_file (from fs_extras)
1355
1356         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1357
1358         * LaTeX.C (run): rewrite to use boost.filesystem
1359         (scanAuxFiles): ditto
1360         (handleFoundFile): ditto
1361
1362 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1363
1364         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1365
1366         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1367
1368 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1369
1370         * lyxlayout.[Ch]: change some vars from float to double
1371
1372         * buffer.C (readFile): make a local var const
1373
1374         * Several files: use convert<> instead of atoi,strToXXX and friends
1375
1376 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1377
1378         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1379         holds the contents of packages.lst. New functions getAvailable
1380         and isAvailable to parse and check that list, resp.
1381
1382         * LyXAction.C:
1383         * lfuns.h:
1384         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1385
1386         * bufferparams.[Ch]: new param output_changes.
1387
1388         * Buffer.C: increase file format to 240.
1389         Use output_changes and isVailable.
1390
1391         * changes.[Ch]:
1392         * paragraph.C:
1393         * paragraph_pimpl.C: Use output_changes and isVailable.
1394
1395 2005-01-23  Angus Leeming  <leeming@lyx.org>
1396
1397         * output_latex.C: #include "insetbibitem.h", rather than
1398         forward declare function bibitemWidest.
1399
1400 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1401
1402         * lyx_main.C (init): make it compile on the Mac.
1403
1404 2005-01-20  Angus Leeming  <leeming@lyx.org>
1405
1406         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1407         (setLyXMisc): (char string literal) != (char string literal) is
1408         performing a comparison on the addresses. Convert one operand
1409         explicitly to string to guarantee expected behaviour.
1410         From MSVC warning.
1411
1412 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1413
1414         * buffer.C:
1415         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1416
1417         * output_plaintext.C: remove unneeded #include gzstream.h.
1418
1419 2005-01-20  Angus Leeming  <leeming@lyx.org>
1420
1421         * SpellBase.h: rename some of the elements of the Result enum.
1422
1423         * aspell_local.h:
1424         * ispell.h:
1425         * pspell.h:
1426         * aspell.C (check):
1427         * ispell.C (check):
1428         * pspell.C (check): ditto
1429
1430 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1431
1432         * buffer.C: add #include <fstream>.
1433
1434         * lyx_main.C (init): Compile fix.
1435
1436         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1437
1438 2005-01-20  Angus Leeming  <leeming@lyx.org>
1439
1440         * mover.h: change commentary to reflect the changed meaning of
1441         the $$s placeholder.
1442
1443 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1444
1445         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1446
1447         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1448
1449 2005-01-20  Angus Leeming  <leeming@lyx.org>
1450
1451         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1452         printing diagnostic data by not dereferecing an iterator past the
1453         end.
1454
1455 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1456
1457         * buffer.C (readHeader): use "&&" rather than "and".
1458
1459         * lyxserver.h (inPipeName, outPipeName): make these const.
1460
1461 2005-01-19  Angus Leeming  <leeming@lyx.org>
1462
1463         * lyx_main.C (error_handler, init): protect SIGHUP with
1464         #ifdef SIGHUP guards.
1465
1466 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1467
1468         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1469
1470 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1471
1472         * text.C (setHeightOfRow): add a margin at the top and bottom of
1473         the document (bug 1761)
1474
1475 2005-01-17  Angus Leeming  <leeming@lyx.org>
1476
1477         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1478         with "python ". Workaround for a brain-dead Windows.
1479
1480 2005-01-16  Angus Leeming  <leeming@lyx.org>
1481
1482         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1483         for MacOSX and Windows to use prependEnvPath.
1484         Strip out the hard-coded block to add elements to the PATH for
1485         MacOSX and replace it with a call to prependEnvPath using the
1486         contents of LyXRC::path_prefix.
1487         (queryUserLyXDir): strip out the code to run reconfigure, instead
1488         returning a boolean indicating the necessity to do so.
1489         (reconfigureUserLyXDir): contains the code to reconfigure the
1490         user support directory. Is now called after the various LyXRC data
1491         files have been read.
1492
1493         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1494
1495 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1496
1497         * converter.[Ch] (convert): take a new parameter try_default. Use
1498         a default converter (imagemagick) if try_default is true.
1499
1500 2005-01-13  Angus Leeming  <leeming@lyx.org>
1501
1502         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1503         os::cygwin_path_fix.
1504         (write): output LyXRC::cygwin_path_fix as necessary.
1505
1506 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1507
1508         * lyxrc.h:
1509         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1510
1511 2005-01-12  Angus Leeming  <leeming@lyx.org>
1512
1513         * lyx_main.C (init): set the PATH variable to include the
1514         directory containing the LyX binary when running on Mac or Windows.
1515
1516 2005-01-12  Angus Leeming  <leeming@lyx.org>
1517
1518         * lyx_main.C (init): remove cruft that purports to set the locale
1519         dir. It doesn't and is not needed anyway.
1520
1521 2005-01-10  Angus Leeming  <leeming@lyx.org>
1522
1523         * Makefile.am: remove the lyx_main.C special casing.
1524
1525         * BufferView_pimpl.C:
1526         * bufferlist.C:
1527         * exporter.C:
1528         * lyx_cb.C:
1529         * lyx_main.C:
1530         * lyxfunc.C:
1531         * messages.C: use support/package.h to provide the paths to the
1532         various directories used by LyX.
1533
1534 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1535
1536         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1537         layout if pasting into an empty paragraph)
1538
1539 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1540
1541         * tex-accent.C: add <string>
1542
1543 2005-01-06  José Matos  <jamatos@lyx.org>
1544
1545         * ParagraphParameters.C (write): put every parameter in its own line.
1546         * paragraph.C (write): reduce number of consecutive empty lines exported.
1547         * buffer.C (LYX_FORMAT): increase file format to 239.
1548
1549 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1550
1551         * everywhere: change support/tostr.h -> support/convert.h
1552
1553         * tabular.C: make all write_attributes templates, tostr -> convert
1554
1555         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1556         (emptyTag): and -> &&, and fix type for ret from getChar
1557         (getFirstWord): fix type for ret from getChar
1558         (onlyText): and -> &&
1559         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1560         getChar
1561
1562         * toc.C (goTo, action):
1563         * text3.C (dispatch):
1564         * text.C (currentState):
1565         * tex-accent.C (DoAccent):
1566         * sgml.C:
1567         * lyxrc.C:
1568         * lyxfunc.C (menuNew):
1569         * lyxfinc.C (replace):
1570         * counters.C (laberItem):
1571         * bufferview_funcs.C (font2string):
1572         * bufferparams.C (writeFile):
1573         * buffer.C (readFile):
1574         * Spacing.C (set):
1575         * MenuBackend.C: tostr -> convert
1576
1577         * LaTeX.C (runMessage): fix format
1578         (scanAuxFiles): tostr -> convert
1579
1580         * BufferView_pimpl.C (savePosition): fix format
1581         (restorePosition): ditto
1582         (dispatch): ditto
1583
1584 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1585
1586         * Spacing.[Ch]: New method getValueAsString().
1587
1588         * Spacing.[Ch]:
1589         * bufferparams.C:
1590         * ParagraphParameters.C:
1591         * lyxlayout.C:
1592         * text.C:
1593         * text3.C: store/read spacing value as string.
1594
1595         * rowpainter.C: change float value (spacing_val) to double.
1596
1597         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1598         broken custom document spacing).
1599
1600 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1601
1602         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1603         namespace, also more use of temp references and const
1604
1605         * cursor.[Ch] (getStatus): move to lyxfunc.C
1606
1607         * bufferparams.C: reformat slightly
1608
1609         * bufferview_funcs.C (font2string): constify arg
1610
1611         * changes.C:
1612         * converter.C:
1613         * counters.C:
1614         * bufferlist.C:
1615         * buffer_funcs.C: (many funcs): constify arg on function
1616         definitions, also make more local vars const, also add ASSERTS on
1617         pointer args.
1618
1619         * buffer.C (LYX_FORMAT): put const in correct place
1620         (many funcs): constify arg on function definitions, also make
1621         more local vars const
1622
1623         * aspell_local.h: remove "struct" from typdef setup
1624
1625         * aspell.C (check): make word_ok const
1626         (nextMiss): simplify slightly
1627         (error): ditto
1628
1629 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1630
1631         * lyxrc.[Ch]: store all float values as strings.
1632         use int (not float) for lyxrc.dpi.
1633
1634 2005-01-04  Angus Leeming  <leeming@lyx.org>
1635
1636         * lyx_cb.C (Reconfigure):
1637         * lyx_main.C (queryUserLyXDir):
1638         to run the <system_lyxdir>/configure correctly on Windows, prefix
1639         the path to the script with "sh " when generating the string that
1640         is passed to system().
1641
1642 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1643
1644         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1645
1646 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1647
1648         * lyxlength.C (asLatexString): get rid of setprecision
1649
1650 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1651
1652         * text2.C (setLayout): remove unused variable endpit.
1653         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1654
1655         * paragraph.C (onlyText): remove unused variable style.
1656
1657         * cursor.C (bruteFind): remove unused variables beg and end.
1658
1659         * Makefile.am (dist_noinset_DATA): not needed anymore
1660
1661         * cheaders/*: remove.
1662
1663 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1664
1665         * text3.C: fix LFUN_MATH_MODE.
1666
1667 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1668
1669         * buffer_funcs.C (countWords): new function. Counts words between
1670         two iterators.
1671
1672         * BufferView_pimpl.C (getStatus, dispatch): handle
1673         LFUN_WORDS_COUNT.
1674
1675         * LyXAction.C (init):
1676         * lfuns.h: add LFUN_WORDS_COUNT.
1677
1678 2004-12-19  Angus Leeming  <leeming@lyx.org>
1679
1680         * buffer.C (save): s/slashify_path/internal_path/.
1681
1682 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1683
1684         * lyxfind.C (findChange): do not search for end of pars, because
1685         the change tracker cannot handle this (fixes bug 1719).
1686
1687 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1688
1689         * paragraph.[Ch] (autoBreakRows): remove
1690
1691         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1692
1693         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1694         avoid using the paragraph one
1695
1696         * text2.C (LyXText, insertStringAsLines): adjust
1697
1698 2004-12-16  Angus Leeming  <leeming@lyx.org>
1699
1700         * bufferlist.C:
1701         * lyx_main.C:
1702         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1703
1704 2004-12-14  Angus Leeming  <leeming@lyx.org>
1705
1706         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1707
1708         * bufferlist.C (emergencyWrite):
1709         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1710         GetEnvPath("HOME").
1711
1712 2004-12-14  Angus Leeming  <leeming@lyx.org>
1713
1714         * main.C: (main): no longer pass pointers to os::init.
1715
1716 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1717
1718         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1719         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1720
1721 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1722
1723         * lyxfunc.C:
1724         * text3.C: remove selection_possible global flag
1725
1726 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1727
1728         * text2.C (getSelectionSpan): remove
1729         (changeDepth, changeDepthAllowed): adjust
1730
1731 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1732
1733         * Makefile.am (BOOST_LIBS): use boost variables
1734
1735 2004-12-03  José Matos  <jamatos@lyx.org>
1736
1737         * buffer.C: format up to 238.
1738
1739 2004-12-03  José Matos  <jamatos@lyx.org>
1740
1741         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1742
1743 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1744
1745         * cursor.C (goUpDown): remove call to idxUpDown2
1746
1747 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1748
1749         * tabular.[Ch]: use size_t-like types for cell, row and column
1750         indices
1751
1752 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1753
1754         * lyxfunc.C (getStatus): do not lose previous information when
1755         calling BufferView::getStatus; do not set a default "Command
1756         disabled" message at the beginning, but just before returning.
1757
1758 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1759
1760         * cursor.h (getStatus): add better comment from src/cursor.C
1761
1762 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1763
1764         * text3.C (getStatus): return false when the lfun is not handled
1765
1766 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1767
1768         * broken_headers.h: remove
1769
1770         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1771
1772 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1773
1774         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1775         offset_ref accessors
1776
1777         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1778         top_y_, merge fitcursor with update
1779         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1780         coord scheme
1781         (metrics): introduce
1782         (workAreaDispatch): adapt to new coord scheme
1783         (redoCurrentBuffer): remove
1784
1785         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1786
1787         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1788         CurStatus enum.
1789
1790         * coordcache.[Ch]: add paragraph cache and helpers
1791
1792         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1793         adjust everywhere
1794
1795         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1796         (targetX, setTargetX): introduce
1797
1798         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1799         baseline -> ascent, as the rest of lyx
1800
1801         * lyxtext.h: remove redoParagraphs, updateParPositions,
1802         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1803         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1804         have ascent/descent (ascent is ascent of first par)
1805
1806         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1807         step of BufferView
1808
1809         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1810
1811         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1812
1813         * pariterator.C: fix infinite loop introduced in par->pit renaming
1814
1815         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1816         in insets and LyXText, draw two off-screen paragraphs using
1817         NullPainter, and adapt to new coord scheme
1818
1819         * text.C:
1820         * text2.C:
1821         * text3.C: adapt lfun handlers to the new coord scheme, which
1822         means: there's only guaranteed coord information for onscreen pars
1823         plus one above and one below. This implies that one can do search
1824         from y coordinates in the range [-1,workHeight]
1825
1826 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1827
1828         * rename a lot of InsetOld to InsetBase
1829
1830 2004-11-25  Angus Leeming  <leeming@lyx.org>
1831
1832         * BufferView_pimpl.C:
1833         * lyx_cb.C:
1834         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1835
1836 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1837
1838         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1839         call BufferView::getStatus if LCursor::getStatus did nothing
1840         (setStatusMessage, getStatusMessage): removed.
1841
1842         * FuncStatus.C (message): new methods. Used to provide an error
1843         message indicating why a command is disabled.
1844         (clear, |=, FuncStatus): update for message.
1845
1846 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1847
1848         * lyxfunc.C (dispatch): always call sendDispatchMessage
1849
1850 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1851
1852         * BufferView.C:
1853         * BufferView_pimpl.C:
1854         * CutAndPaste.C:
1855         * FontIterator.C:
1856         * buffer.C:
1857         * cursor.C:
1858         * cursor_slice.[Ch]:
1859         * dociterator.[Ch]:
1860         * lyxfind.C:
1861         * paragraph_funcs.C:
1862         * pariterator.C:
1863         * rowpainter.C:
1864         * text.C:
1865         * text2.C:
1866         * text3.C:
1867         * undo.C: par->pit renaming
1868
1869 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1870
1871         * tabular.C (cellstruct): use initialization, store a shared_ptr
1872         to insettext instead of the insettext directly, adjust to fit.
1873         (operator=):  new function
1874         (swap): new function
1875         (rowstruct): use initialization
1876         (columnstruct): use initialization
1877         (ltType): use initialization
1878
1879
1880         * lyxlength.h (swap): new function
1881
1882         * LColor.[Ch] (operator=): use the common semantics
1883
1884 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1885
1886         * lyxfind.C (findNextChange): update the bufferview after setting
1887         the selection.
1888
1889 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1890
1891         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1892         number of InsetOptArgs has already been inserted.
1893
1894         * output_latex.C (latexOptArgInsets): new method. This outputs all
1895         the optarg insets, up to the limit defined in the layout file.
1896         (optArgInset): removed
1897         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1898
1899 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1900
1901         * paragraph.C (isLetter): remove special spellchecker-related
1902         code; return true also for digits
1903         (isWord, isKomma): remove
1904
1905         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1906         * lyxfind.C (MatchString()): use isLetter instead of isWord
1907
1908 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1909
1910         * pariterator.h (operatir=): comment out un-implemented member
1911         function.
1912
1913         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1914         static cast.
1915
1916 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1917
1918         * lyxfont.h: include LColor.h to satisfy concept checks.
1919
1920 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1921
1922         * pariterator.h: add typdefs for value_type, difference_type,
1923         pointer and reference to satisfy concept checks. Also add default
1924         constructor for same reason.
1925
1926         * pariterator.C (operator++): add post-increment operator to
1927         satisfy concept checks.
1928
1929         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1930         checks.
1931
1932         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1933
1934         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1935         checks. Also rename base_type to BaseType to follow naming
1936         standard better.
1937
1938         * FloatList.h: include Floating.h to satisfy concept checks.
1939
1940 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1941
1942         * lyxfunc.C (getStatus): when the origin of the request is menu or
1943         toolbar, and the LyXView does not have focus, do as if there was
1944         no buffer (bug 1720)
1945
1946         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1947         FuncRequest to individual entries of LFUN_SEQUENCE
1948
1949 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1950
1951         * output_latex.C (TeXOnePar): override runparams.moving_arg
1952         according to the needprotect value of the current paragraph (bug
1953         1739)
1954
1955         * paragraph.C (simpleTeXOnePar): no need to override
1956         runparams.moving_args here
1957
1958 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1959
1960         * vspace.C: fix off-by-one-error, related to fix #1682
1961
1962 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1963
1964         * lengthcommon.C: a more general fix for bug 1682
1965
1966 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1967
1968         * text.C (backspace): fix crash
1969
1970 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1971
1972         * format.[Ch] (getFormatFromFile): new method
1973         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1974
1975 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1976
1977         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1978
1979 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1980
1981         * lyxfunc.C (dispatch): remove the verbose argument
1982         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1983         instead
1984
1985         * kbmap.C (defkey): set the origin of func to KEYBOARD
1986
1987         * MenuBackend.C (MenuItem):
1988         * ToolbarBackend.C (add): set the origin of func to UI
1989
1990         * funcrequest.[Ch]: add origin member, which indicates which part
1991         of LyX requests an action
1992
1993 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1994
1995         * converter.C (move): don't lie in the error message
1996         * converter.h (isReachable, move): document
1997
1998 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1999
2000         * buffer.C: remove unused using lyx::support::atoi
2001         * paragraph_funcs.C: ditto
2002
2003 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2004
2005         * bufferlist.C (exists): use bind and equal_to instead of
2006         compare_memfun
2007         (getBuffer): ditto
2008         * lyxtextclasslist.C (NumberOfClass): ditto
2009
2010         * cursor.C (insert): use for_each instead of explicit for loop
2011
2012         * bufferlist.C (getFileNames): use std::transform and
2013         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2014
2015         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2016         for loop
2017
2018         * buffer.C (changeLanguage): use for_each instead of explicit for
2019         loop
2020         (hasParWithID): implement using getParFromID
2021
2022         * LaTeXFeatures.C: ws change only
2023
2024         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2025         to cleanup a bit.
2026
2027         * BufferView_pimpl.C (trackChanges): use for_each instead of
2028         expilicit for loop
2029
2030 2004-11-04  André Pönitz  <poenitz@gmx.net>
2031
2032         * undo.h:
2033         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2034
2035         * dociterator.C (asDocIterator): use hard assert again.
2036
2037 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2038
2039         * lyxlength.C (asLatexString): rewrite so that it does not use
2040         snprintf anymore
2041
2042 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2043
2044         * text3.C (specialChar, dispatch): make sure cursor moves to the
2045         right after inserting an inset
2046
2047 2004-11-02  José Matos  <jamatos@lyx.org>
2048
2049         * output_docbook.C (docbook):
2050         * paragraph.C (getID):
2051         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2052         garantee that the output is always legal.
2053
2054         * tabular.C (docbook):
2055         * outputprams.[Ch]: remove mixed contents.
2056
2057 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2058
2059         * text2.C (setCounter): prevent endless loop
2060
2061 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2062
2063         * exporter.C (copyFile): use the mover instead of support::copy()
2064         * exporter.C (Export): pass format and latex name to copyFile()
2065         * exporter.h (addExternalFile): document
2066         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2067
2068 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2069
2070         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2071
2072 2004-10-30  José Matos  <jamatos@lyx.org>
2073
2074         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2075         text and no inset or font change. This allows to use CDATA
2076         sections just for the whole paragraph.
2077
2078 2004-10-30  José Matos  <jamatos@lyx.org>
2079
2080         * paragraph.C (getFirstWord): remove unused variable.
2081
2082 2004-10-30  José Matos  <jamatos@lyx.org>
2083
2084         * paragraph.C (getFirstWord): the content should always be escaped
2085         there.
2086         (simpleDocBookOnePar):
2087         * output_docbook.C (makeEnvironment): replace reference to CDATA
2088         to style pass_thru.
2089
2090 2004-10-30  José Matos  <jamatos@lyx.org>
2091
2092         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2093
2094 2004-10-30  José Matos  <jamatos@lyx.org>
2095
2096         * output_docbook.C (makeParagraphs):
2097         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2098         standard paragraph has only a given type of content drop the wrapper.
2099
2100 2004-10-29  José Matos  <jamatos@lyx.org>
2101
2102         * output_docbook.C (makeEnvironment):
2103         * sgml.C (openTag):
2104         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2105
2106 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2107
2108         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2109         (cleanID): sanitize any id.
2110
2111 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2112
2113         * buffer.C, lyxlex_pimpl.C:
2114         * lyxlex_pimpl.C (setFile):
2115         s/getExtFromContents/getFormatFromContents/
2116
2117 2004-10-28  José Matos  <jamatos@lyx.org>
2118
2119         * output_docbook.C (makeEnvironment): move id to broadest possible
2120         scope.
2121
2122         * sgml.C (openTag): apply substitution of <> for all attributes.
2123
2124 2004-10-28  José Matos  <jamatos@lyx.org>
2125
2126         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2127         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2128         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2129
2130         * sgml.[Ch]: new version for open and closeTag for paragraph and
2131         for strings. Now they handle the ids of paragraphs.
2132
2133 2004-10-26  Angus Leeming  <leeming@lyx.org>
2134
2135         * Makefile.am: add mover.[Ch].
2136
2137         * converter.C (convert, move): use the new Movers to move external
2138         files to the temp directory.
2139
2140         * lyx_main.C (init): ensure that the global system_movers data
2141         is initialised.
2142
2143         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2144         preferences file.
2145
2146         * mover.[Ch]: new files, defining a Mover as a utility to move an
2147         external file between directories and, if necessary, manipulate this
2148         file using a helper script.
2149
2150 2004-10-25  José Matos  <jamatos@lyx.org>
2151
2152         * output_docbook.C (makeCommand): merge two if's that tested the
2153         same condition.
2154
2155 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2156
2157         * sgml.C (escapeString): fix warning in a better way
2158
2159 2004-10-25  José Matos  <jamatos@lyx.org>
2160
2161         * sgml.C (escapeString): import the require boosts header file for
2162         tie, and avoid a signed unsigned comparison.
2163
2164 2004-10-25  José Matos  <jamatos@lyx.org>
2165
2166         * sgml.h: add #include <string>
2167
2168 2004-10-25  José Matos  <jamatos@lyx.org>
2169
2170         * sgml.[Ch] (escapeString): new function to escape all the string.
2171
2172 2004-10-24  José Matos  <jamatos@lyx.org>
2173
2174         * paragraph.[Ch] (getFirstWord): new function to get the first
2175         word. Useful for description.
2176         (simpleDocBookOnePar): remove depth argument, add another that
2177         says where to start the paragraph.
2178
2179         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2180         use the new functions to fix cleanly the support for descriptions.
2181
2182 2004-10-24  José Matos  <jamatos@lyx.org>
2183
2184         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2185         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2186         * output_linuxdoc.C (linuxdocParagraphs):
2187         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2188         add buffer as argument.
2189
2190 2004-10-24  José Matos  <jamatos@lyx.org>
2191
2192         * output_docbook.C (makeEnvironment, searchEnvironment): place
2193         CDATA inside paragraphs and fix scope for listitems.
2194
2195 2004-10-24  José Matos  <jamatos@lyx.org>
2196
2197         * output_docbook.C: remove using statement for stack.
2198
2199 2004-10-23  José Matos  <jamatos@lyx.org>
2200
2201         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2202         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2203         docbook. The new scheme is recursive and makes use of iterators, the
2204         same as latex export works.
2205         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2206         directly with the paragraph contents. This code was moved up to
2207         output_docbook.C (docbookParagraphs).
2208         * sgml.C (openTag, closeTag): removed unneeded newlines.
2209         (closeEnvTags) removed.
2210
2211 2004-10-23  André Pönitz  <poenitz@gmx.net>
2212
2213         * undo.C (textUndoOrRedo):
2214         * dociterator.C (asDocIterator): work around crash
2215
2216         * cursor.C (getStatus): replace ASSERT by more verbose error message
2217           and manual correction of the problem. Should increase stability
2218           while providing more sensible information.
2219
2220 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2221
2222         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2223
2224         * bufferlist.C (previous, next): new methods
2225
2226         * lfuns.h:
2227         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2228
2229 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2230
2231         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2232         entities to preamble.
2233
2234 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2235
2236         * messages.C (Pimpl): strip off translation context information
2237
2238 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2239
2240         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2241         the cursor is correct (bug 1694)
2242
2243 2004-10-13  José Matos  <jamatos@lyx.org>
2244
2245         * output_docbook.C (docbookParagraphs): fix closing tags in the
2246         end of the document.
2247
2248 2004-10-09  José Matos  <jamatos@lyx.org>
2249
2250         * buffer.C: format up to 237.
2251         * bufferparams.C (write): use tostr to convert booleans to strings.
2252
2253 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2254
2255         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2256
2257 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2258
2259         * LaTeX.C: implement use of babel language in xindy.
2260
2261 2004-10-05  José Matos  <jamatos@lyx.org>
2262
2263         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2264         Add new translators to help reading and writing the lyx file.
2265
2266 2004-10-05  José Matos  <jamatos@lyx.org>
2267
2268         * ParagraphParameters.C (read):
2269         * text.C (readParToken): replace nexToken by more appropriate lex
2270         methods.
2271
2272 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2273
2274         * LaTeX.C (runMakeIndex):
2275         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2276         (usually 'makeindex') configurable.
2277
2278         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2279         with a variable rather than with a number.
2280
2281 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2282
2283         * output_latex.C (TeXOnePar): make sure font setting is the first
2284         thing that gets output (and the last at the end). Should fix bug
2285         1404.
2286
2287 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2288
2289         * pch.h: use proper signal include
2290
2291         * LaTeX.h: Use preferred calling of Boost.Signal
2292         * buffer.h: ditto
2293
2294 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2295
2296         * pch.h: dont include <boost/function/function0.hpp>
2297
2298         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2299
2300         * paragraph_pimpl.h: remove usage of ShareContainer
2301
2302         * paragraph_pimpl.C: remove initialization of ShareContainer.
2303
2304 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2305
2306         Fix bug #1666
2307
2308         * BufferView.C (putSelectionAt): change the semantics when
2309         backwards == true: now, this just swaps cursor and anchor wrt the
2310         forward case
2311
2312         * BufferView.h (putSelectionAt): add some documentation
2313
2314         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2315         make sure backwardChar is done at least once (to avoid getting
2316         stuck)
2317         (findNextChange): use putSelectionAt in the forward direction
2318         (operator()): use Paragraph::isWord
2319
2320 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2321
2322         * Spacing.C (set): c_str fix
2323
2324 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2325
2326         * lyx_cb.C (Reconfigure): quote the name of configure script in
2327         case it contains spaces
2328
2329 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2330
2331         * client: new dir
2332
2333         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2334         (BOOST_LIBS): use top_buildir when looking for the file
2335
2336 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2337
2338         * pch.h: do not use include boost/format.hpp, multiple symbols
2339                 will result (gcc bug)
2340
2341
2342 2004-08-23  José Matos  <jamatos@lyx.org>
2343
2344         * bufferparams.C (readToken): fix reading of the author field.
2345
2346 2004-08-20  José Matos  <jamatos@lyx.org>
2347
2348         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2349
2350 2004-08-20  José Matos  <jamatos@lyx.org>
2351
2352         * lyxlex.[Ch] (findToken): remove function.
2353
2354         * ParagraphParameters.C (findToken):
2355         * bufferparams.C (findToken): replace call for previous function
2356         with local copy. This local function has one more argument, the
2357         read string argument.
2358
2359 2004-08-16  José Matos  <jamatos@lyx.org>
2360
2361         * ParagraphParameters.C (write):
2362         * Spacing.C (writeFile):
2363         * bufferparams.C (writeLaTeX):
2364         * lyx_cb.C (Reconfigure):
2365         * paragraph.C (write):
2366         * tabular.C (write): remove unnecessary space at end of line.
2367
2368
2369 2004-08-16  José Matos  <jamatos@lyx.org>
2370
2371         * text.C (readParagraph): remove debug message.
2372
2373 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2374
2375         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2376         crash
2377
2378         * output_plaintext.C (asciiParagraph): set depth correctly
2379
2380         * outputparams.h: add member depth
2381
2382         * paragraph_funcs.C (ownerPar): remove.
2383
2384         * text2.C (setCounter): remove first_pit; comment out some
2385         non-working code that uses ownerPar
2386
2387         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2388         uses ownerPar
2389
2390 2004-08-16  José Matos  <jamatos@lyx.org>
2391
2392         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2393         For the same level of importance use the same chanel to report problems.
2394         (read): add code to deal with \begin_body and \end_body.
2395
2396
2397 2004-08-15  José Matos  <jamatos@lyx.org>
2398
2399         * lyxlex.C (getString): fix comment, buffer::readBody is now
2400         buffer:readDocument.
2401
2402         * tex-strings.C (string_papersize): Default -> default,
2403         Custom -> custom, for consistency with other options.
2404
2405 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2406
2407         * pch.h: new file
2408
2409         * Makefile.am: support pch
2410
2411 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2412
2413         * text.C (readParToken): remove the static LyXFont variable and
2414         pass it as a parameter instead. This fixes a nasty bug where an
2415         inset will be inserted with a bad font in some situations
2416         (readParagraph): adapt
2417
2418         * text2.C (setCounter): reduce number of calls to pars_[pit]
2419
2420         * text.C (singleWidth): add an assert, fix a test
2421
2422         * rowpainter.C (paintText): reduce number of calls to singleWidth
2423
2424         * paragraph.C (isHfill):
2425         (isNewline): ws only
2426
2427 2004-08-14  André Pönitz  <poenitz@gmx.net>
2428
2429         * text.C:
2430         * text2.C:
2431         * rowpainter.C:
2432         * lyxtext.h (several functions): use a Paragraph & argument
2433         instead of par_type
2434
2435 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2436
2437         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2438
2439         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2440
2441         * text.C (singleWidth): remove useless test
2442
2443 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2444
2445         * tabular.h: remove bogus comments
2446
2447         * tabular.C (getDescentOfRow):
2448         (isPartOfMultiColumn): add assertions
2449
2450         * lyxlength.C (inPixels): remove #warning
2451
2452 2004-08-14  André Pönitz  <poenitz@gmx.net>
2453
2454         * paragraph.h: inline getChar()
2455
2456         * BufferView.h: remove unused declarations
2457
2458 2004-08-14  José Matos  <jamatos@lyx.org>
2459
2460         * Buffer.[Ch] (readDocument): new name for old readBody.
2461         * Buffer.C: new file format, new keywords: \begin_document,
2462         \begin_header, \begin_body, \end_body.
2463
2464         * bufferparams.C (readToken): replace all calls to lex.nextToken
2465         by lex.next(). Do the same to eatLine except where really needed.
2466
2467         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2468         line when writing to the lyx file.
2469
2470         * output_plaintext.C (asciiParagraph): fix Bibliography style
2471         handling.
2472
2473         * text.C (read): fix end of file handling.
2474
2475 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2476
2477         * MenuBackend.C (Menu::operator[]): new method to access
2478         individual menu items
2479         (Menu::hasFunc): new method. search for an item that corresponds
2480         to a given func
2481         (MenuBackend::specialMenu): new method
2482         (MenuBackend::expand): if a special menu has been set, skip
2483         entries whose func() appears in this menu
2484
2485 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2486
2487         * text3.C: use Debug::DEBUG a bit more
2488
2489         * text.C (leftMargin): try to simplify a tiny bit change var x to
2490         l_margin. Dont output the wide margins always.
2491         (rightMargin): no margin in inner texts
2492
2493         * rowpainter.h (nestMargin): new func
2494         (changebarMargin): new func
2495         (rightMargin): new func
2496
2497         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2498         now functions.
2499         (paintLast): ditto
2500
2501         * factory.C (createInset): modify setDrawFrame
2502
2503         * cursor.C: use Debug::DEBUG a bit more
2504
2505 2004-08-14  André Pönitz  <poenitz@gmx.net>
2506
2507         * coordcache.[Ch]:
2508         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2509         cache for all insets in (at least partially) visible (top-level)
2510         paragraphs.
2511
2512         * BufferView_pimpl.C: reset external coord cache before every update.
2513         This means the coord cache only contains valid entries.
2514
2515 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2516
2517         bug 1096
2518         * BufferView_pimpl.C (getInsetByCode): move function out of class
2519         and change in to a template in anon namespace. Also fix to do what
2520         suits us better.
2521
2522 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2523
2524         bug 1305
2525         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2526         of char
2527         (breakParagraph): rename par to par_offset and use a local
2528         reference. Add code to keep the language over a rebreak.
2529         (breakParagraphConservative): rename par to par_offset, use a
2530         local reference
2531         (mergeParagraph): ditto
2532         (outerHook): ditto
2533         (isFirstInSequence): ditto
2534         (outerFont): rename pit to par_offset
2535
2536         * paragraph.C: ws change
2537         * paragraph.h: ditto
2538         * text3.C: ditto
2539         * text.C: ditto
2540
2541 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2542
2543         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2544         treatment for ']'
2545
2546         * paragraph.C (simpleTeXOnePar): when we have a \item with
2547         optional argument, enclose the argument with curly brackets (in
2548         case it contains a closing square bracket)
2549
2550         * text2.C (editXY):
2551         * text2.C (editXY):
2552         * text3.C (checkInsetHit): constify
2553
2554 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2555
2556         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2557         documents (bug 1629)
2558
2559 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2560
2561         Fix toggling of collapsable insets with the mouse (bug 1558)
2562
2563         * lyxfunc.C (dispatch): adapt to LCursor changes
2564
2565         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2566         make sure that dispatch is not invoked twice
2567
2568         * cursor.C (needsUpdate): new method
2569         (dispatch): return void
2570         (result): new method, to access the DispatchResult of the cursor.
2571
2572 2004-08-13  José Matos  <jamatos@lyx.org>
2573
2574         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2575
2576 2004-08-13  André Pönitz  <poenitz@gmx.net>
2577
2578         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2579
2580         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2581           multiple cells
2582
2583 2004-08-12  André Pönitz  <poenitz@gmx.net>
2584
2585         * text3.C: take out the 'cursor right' form insertInset and only
2586         do it in those places when it is really needed. Fixes crash on
2587         C-m...
2588
2589 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2590
2591         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2592
2593         * BufferView_pimpl.C (setBuffer): initialize the current font of
2594         the underlying LyXText
2595
2596 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2597
2598         * kbsequence.C (print): use UI native formatting for menu
2599         shortcuts
2600
2601         * text.C (insertChar): call Paragraph::insertChar with a font
2602         argument (cosmetic)
2603
2604         * paragraph.C (insertInset, insertChar): the version that takes a
2605         LyXFont argument is now a wrapper around the other one (the
2606         opposite used to be true).
2607
2608         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2609         argument. Font setting is done in Paragraph now.
2610
2611 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2612
2613         * outputparams.h: add new members intitle and lang.
2614
2615         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2616         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2617
2618 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2619
2620         * text3.C (dispatch): remove special handling of button 4 and 5,
2621         it is now taken care of in the frontend code.
2622
2623 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2624
2625         * Spacing.h: add <string> (STLPort compile fix)
2626
2627 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2628
2629         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2630
2631 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2632
2633         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2634         to bool.
2635
2636         * converter.C (showMessage): inherit from unary_function, make
2637         operator() const.
2638
2639         * buffer.C (writeFile): initialize retval
2640
2641         * InsetList.h: rename private variable list to list_
2642         * InsetList.[Ch]: adjust accordingly.
2643
2644 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2645
2646         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2647         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2648         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2649         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2650         * ParagraphParameters.C, LaTeXFeatures.C: replace
2651         "support/std_sstream.h" with <sstream>
2652
2653 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2654
2655         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2656         * lyxsocket.C (LyXServerSocket): ditto
2657         (serverCallback): ditto
2658
2659 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2660
2661         * LaTeXFeatures.C: check release date when loading jurabib.
2662
2663 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2664
2665         * lyxserver.C (startPipe): call register_socket_callback
2666         (endPipe): call unregister_socket_callback
2667
2668 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2669
2670         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2671         (LyXServerSocket): register the callback
2672         (LyXServerSocket): unregister the callback
2673         (fd): delete function
2674         (serverCallback): improve error checking and setup the callbacks.
2675         (dataCallback): change arg to fd.
2676         (writeln): new func (copied fro the client socket) used for server
2677         write to client.
2678         (LyXDataSocket): simplify
2679         (~LyXDataSocket): close ann unregiser callback
2680         (server): delete function
2681         (fd): delete function
2682         (readln): small changes, improve some std::string usage
2683         (writeln): constify a bit
2684
2685 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2686
2687         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2688         Qt frontend
2689
2690 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2691
2692         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2693         after it has been populated
2694
2695 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2696
2697         * text2.C (insertInset): move cursor when inserting inset.
2698
2699 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2700
2701         * kbmap.C (findbindings): a couple of new methods. returns a
2702         container of kb_sequence objects. The real work is done by the
2703         private recursive version
2704         (printbindings): uses findbindings to print out a bracketed list
2705         of bindings (renamed from findbinding).
2706
2707         * MenuBackend.C (binding): use kb_keymap::findbindings
2708
2709         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2710
2711 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2712
2713         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2714
2715 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2716
2717         * paragraph.C (isWord): return true on insets that report
2718         isLetter().
2719
2720         * text.C (getWord): use Paragraph::isWord to decide what is in a
2721         word and what is not; fix bug 1609.
2722
2723 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2724
2725         * tex-strings.C: add "none" to string_paperpackages[], fixes
2726         off-by-one-error in the paperpackage selection.
2727
2728         * lyxlex.[Ch]:
2729         * tex-strings.[Ch]: char const * string[n]
2730         -> char const * const string[]
2731
2732 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2733
2734         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2735         command, return early.
2736
2737 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2738
2739         * debug.h: add DEBUG to enum and fix size of ANY.
2740
2741         * debug.C: add support for Debug::DEBUG
2742         (showTags): cast errorTags.level to unsigned int
2743
2744         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2745         (redoCurrentBuffer): ditto
2746         (updateScrollbar): ditto
2747         * cursor.C (dispatch): ditto
2748         * text2.C (setLayout): ditto
2749         (setFont): ditto
2750         (updateCounters): ditto
2751         (editXY): ditto
2752         (deleteEmptyParagraphMechanism): ditto
2753
2754 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2755
2756         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2757         annotations to cleanup the Makefile slightly.
2758
2759 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2760
2761         * lyxrc.C: do not set user_email to a default value but use empty
2762         instead. The entry used to be translated, which does not work
2763         since at the point where lyxrc is constructed there is no
2764         translation service available
2765
2766         * messages.C (getLocaleDir): remove and use directly
2767         lyx_localedir() instead
2768
2769 2004-06-02  Angus Leeming  <leeming@lyx.org>
2770
2771         Fix crash caused by dereferencing null pointer 'exportdata' in
2772         OutputParams by creating a new ExportData variable on the heap,
2773         storing it in a boost::shared_ptr.
2774         The crash was triggered when generating an Instant Preview
2775         of an external inset.
2776
2777         * Makefile.am: add outputparams.C
2778
2779         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2780         (c-tor): allocate memory to it.
2781
2782         * exporter.C (c-tor): associated changes.
2783
2784 2004-06-01  Angus Leeming  <leeming@lyx.org>
2785
2786         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2787         contains data before calling isInset(0). (Bug 1513.)
2788
2789 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2790
2791         * exporter.C (checkOverwrite): new method
2792         * exporter.C (copyFile): new method
2793         * exporter.C (Export): copy referenced files to the document dir
2794         * exporter.[Ch]: new class ExportedFile
2795         * exporter.[Ch]: new class ExportData. Contains currently the
2796         names of referenced external files
2797         * outputparams.h: add exportdata member.
2798
2799 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2800
2801         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2802         version.C-tmp
2803
2804 2004-05-19  Angus Leeming  <leeming@lyx.org>
2805
2806         * LaTeXFeatures.C:
2807         * ToolbarBackend.C:
2808         * bufferparams.C:
2809         * lyxfunc.C: small changes due to the introduction of namespace
2810         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2811
2812 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2813
2814         * text3.C (dispatch): supress update when only moving the cursor
2815         * cursor.C (selHandle): remove commented code
2816
2817 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2818
2819         * paragraph.C (startTeXParParams): correct column count
2820         * CutAndPaste.C (pasteSelection): remove const_cast
2821         * output_docbook.C (docbookParagraphs): remove const_cast
2822         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2823         const_cast and return ParagraphList::const_iterator
2824         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2825         * output_plaintext.C (writeFileAscii): remove const_cast
2826         * paragraph.[Ch] (simpleTeXOnePar): make const
2827         * paragraph_funcs.C (outerPar): use const iterators
2828         * paragraph_pimpl.C (validate): use const iterators
2829         * text.C (setHeightOfRow): use const iterators
2830
2831 2004-05-17  Angus Leeming  <leeming@lyx.org>
2832
2833         * lfuns.h:
2834         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2835
2836         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2837         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2838         if the citation engine has changed.
2839
2840 2004-05-14  José Matos  <jamatos@lyx.org>
2841
2842         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2843         if the textclass does not provide it. Have it different for sgml and
2844         xml.
2845         support the language of document.
2846         * output_docbook.C (docbookParagraphs):
2847         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2848         first anchor as the id of the paragraph, remove special case code.
2849         * sgml.C (escapeChar): escape only < & >.
2850
2851 2004-05-14  Angus Leeming  <leeming@lyx.org>
2852
2853         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2854         dependencies on src/frontends/controllers/biblio.h. Define a
2855         CiteEngine_enum wrapper class to enable the enum to be forward
2856         declared.
2857
2858 2004-05-12  Angus Leeming  <leeming@lyx.org>
2859
2860         * buffer.C: up LYX_FORMAT to 234.
2861         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2862         use_numerical_citations with a single biblio::CiteEngine cite_engine
2863         variable.
2864         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2865
2866 2004-05-13  José Matos  <jamatos@lyx.org>
2867
2868         * converter.h:
2869         * converter.C (Converter, readFlags): add xml member.
2870         * outputparams.h: add XML flavor.
2871         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2872
2873 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2874
2875         * lyxfunc.C (dispatch):
2876         (getStatus): fix handling of LFUN_SEQUENCE
2877
2878 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2879
2880         * debug.C (showLevel): do not forget the end-of-line marker
2881
2882 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2883
2884         * kbmap.C (read): do not stop parsing a bind file when an error
2885         occurs (bug 1575)
2886
2887 2004-04-29  Angus Leeming  <leeming@lyx.org>
2888
2889         * cursor.C:
2890         * factory.C:
2891         * pariterator.C:
2892         * text2.C: wrap a bunch of #warning statements
2893         inside #ifdef WITH_WARNINGS blocks.
2894
2895 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2896
2897         * buffer.C: increment format to 233.
2898
2899 2004-04-28  Angus Leeming  <leeming@lyx.org>
2900
2901         * BufferView_pimpl.C:
2902         * lyxfunc.C:
2903         * text3.C:
2904         s/updateToolbar()/updateToolbars()/
2905         s/Toolbar.h/Toolbars.h/
2906
2907 2004-04-28  Angus Leeming  <leeming@lyx.org>
2908
2909         * BufferView.[Ch] (c-tor):
2910         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2911         No longer passes these data to the WorkArea generator.
2912
2913 2004-04-28  Angus Leeming  <leeming@lyx.org>
2914
2915         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2916
2917 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2918
2919         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2920
2921 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2922
2923         * output_latex.C (TeXEnvironment): make sure that there is a line
2924         break before \end{foo} for the last paragraph of a document
2925         (TeXOnePar): if the paragraph is at the end of the document (or
2926         inset) and the language has to be reset, then make sure that the
2927         line break is _before_ the language command, not after (fixes bug
2928         1225); also make sure that the language reset command is the first
2929         thing after the paragraph (to ensure proper nesting of
2930         environments and thus fix bug 1404)
2931
2932 2004-04-21  John Levon  <levon@movementarian.org>
2933
2934         * ToolbarBackend.h:
2935         * ToolbarBackend.C: make "name" be a programmatic name
2936         and a gui_name field.
2937
2938         * lyxfunc.C: display the minibuffer on M-x
2939
2940 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2941
2942         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2943         (bug 1526)
2944
2945 2004-04-19  Angus Leeming  <leeming@lyx.org>
2946
2947         * BufferView_pimpl.C (setBuffer): changed preview interface.
2948
2949         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2950         possible values.
2951
2952 2004-04-19  John Levon  <levon@movementarian.org>
2953
2954         * BufferView_pimpl.C:
2955         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2956
2957 2004-04-05  Angus Leeming  <leeming@lyx.org>
2958
2959         * text.C (redoParagraphs): add call to updateCounters(), thereby
2960         fixing the missing "Figure #:" label from the caption of a
2961         figure float.
2962
2963 2004-04-13  Angus Leeming  <leeming@lyx.org>
2964
2965         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2966         cursor is clicked out of an inset.
2967
2968 2004-04-13  Angus Leeming  <leeming@lyx.org>
2969
2970         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2971         than an InsetOld one.
2972
2973 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2974
2975         * format.[Ch]: add editor to Format
2976         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2977         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2978
2979 2004-04-08  André Pönitz  <poenitz@gmx.net>
2980
2981         * metricsinfo.h: remove PainterInfo::width member
2982
2983 2004-04-08  Angus Leeming  <leeming@lyx.org>
2984
2985         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2986         "\providecommand" rather than "\newcommand", thereby preventing
2987         clashes with packages that define "\boldsymbol" themselves.
2988         Eg, beamer.
2989
2990 2004-04-08  Angus Leeming  <leeming@lyx.org>
2991
2992         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2993         thereby squashing an unnecessary warning.
2994
2995 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2996
2997         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2998         setBuffer()
2999
3000 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3001
3002         * BufferView.C (setCursor): call redoParagraph (some insets could
3003         have been opened)
3004         (putSelectionAt): remove the 'double update' trick
3005
3006         * BufferView_pimpl.C (fitCursor): call refreshPar
3007         (workAreaDispatch): remove an uneeded update call
3008         (dispatch): remove some manual update calls
3009
3010         * cursor.[Ch]: remove cached_y_, updatePos
3011         (selHandle): set noUpdate when appropriate
3012
3013         * lyxfunc.C (dispatch): track if we need an update
3014
3015         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3016
3017         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3018         (paintSelection): cheap optimization, do not call cursorX when not
3019         needed
3020         (paintPars): change signature
3021         (refreshPar): add
3022         (paintText): adjust
3023         (paintTextInset): adjust
3024
3025         * text.C: adjust
3026
3027 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3028
3029         * lengthcommon.C: compilation fix: remove explicit array size from
3030         unit_name[] and friends
3031
3032 2004-04-05  Angus Leeming  <leeming@lyx.org>
3033
3034         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3035
3036         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3037         present only for the preferences dialog.
3038         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3039
3040 2004-04-05  Angus Leeming  <leeming@lyx.org>
3041
3042         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3043         to enable the frontends to export changes to lyxrc correctly.
3044
3045         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3046
3047 2004-04-07  André Pönitz  <poenitz@gmx.net>
3048
3049         * cursor.[Ch] (selClear, adjust): remove math
3050
3051         * cursor_slice.C: more agressive assert
3052
3053         * lyxfunc.C:
3054         * BufferView_pimpl.C: rework mouse event dispatch
3055
3056         * dociterator.C:
3057         * paragraph.C:
3058         * text2.C:
3059         * text3.C: adjust
3060
3061 2004-04-05  André Pönitz  <poenitz@gmx.net>
3062
3063         * cursor.[Ch] (valign, halign...): remove unneeded functions
3064
3065 2004-04-05  Angus Leeming  <leeming@lyx.org>
3066
3067         * lyxlength.[Ch] (unit_name et al.): const-correct.
3068
3069 2004-04-05  Angus Leeming  <leeming@lyx.org>
3070
3071         * BufferView_pimpl.C:
3072         * buffer.C:
3073         * counters.C:
3074         * cursor.C:
3075         * lyxfunc.C
3076         * paragraph.C:
3077         * pariterator.C:
3078         * text.C:
3079         * text2.C:
3080         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3081
3082 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3083
3084         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3085
3086 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3087
3088         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3089         * BufferView_pimpl.[Ch] (getStatus)
3090         * BufferView.[Ch] (getStatus): add
3091         * lyxfunc.C (getStatus): move lfuns handled in
3092         BufferView::dispatch to te function above
3093         * Cursor.C (setSelection): set selection() = true
3094
3095 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3096
3097         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3098
3099 2004-03-31  Angus Leeming  <leeming@lyx.org>
3100
3101         * lyxfunc.C (dispatch): Fall through to the generic
3102         Dialogs::show("preamble").
3103
3104 2004-03-31  Angus Leeming  <leeming@lyx.org>
3105
3106         * lyxfunc.C (dispatch): Fall through to the generic
3107         Dialogs::show("spellchecker").
3108
3109 2004-03-31  Angus Leeming  <leeming@lyx.org>
3110
3111         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3112         preferences dialog.
3113
3114 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3115
3116         * BufferView.C
3117         * cursor.[Ch]
3118         * dociterator.[Ch]:
3119         * insetiterator.[Ch]:
3120         * lyxfind.C:
3121         * lyxfunc.C:
3122         * pariterator.[Ch]:
3123         * text2.C:
3124         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3125
3126 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3127
3128         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3129         insets where we are putting the cursor.
3130
3131 2004-03-31  Angus Leeming  <leeming@lyx.org>
3132
3133         * lfuns.h:
3134         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3135
3136         * lyxrc.[Ch] (read, write): overloaded member functions taking
3137         a std::[io]stream arguments.
3138
3139         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3140
3141 2004-03-31  Angus Leeming  <leeming@lyx.org>
3142
3143         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3144         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3145
3146         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3147         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3148
3149 2004-03-31  Angus Leeming  <leeming@lyx.org>
3150
3151         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3152         the LFUN_ALL_INSETS_TOGGLE code.
3153
3154 2004-03-30  Angus Leeming  <leeming@lyx.org>
3155
3156         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3157         has died. Fall through to the generic Dialogs::show("document").
3158
3159 2004-03-30  Angus Leeming  <leeming@lyx.org>
3160
3161         * lfuns.h:
3162         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3163         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3164
3165         * lyxfunc.C (getStatus, dispatch): define the actions for these
3166         lfuns. Little more than a cut and pste job from ControlDocument.C
3167
3168         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3169
3170 2004-03-30  Angus Leeming  <leeming@lyx.org>
3171
3172         * lfuns.h:
3173         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3174         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3175
3176         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3177         open/closed state of ollapsable insets. Usage:
3178
3179         all-inset-toggle <state> <name>, where
3180         <state> == "open" || "closed" || "toggle" and
3181         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3182
3183         * lyxtext.h, text2.C (toggleInset): removed.
3184
3185         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3186         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3187         now passes LFUN_INSET_TOGGLE to the found inset.
3188
3189         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3190         is now invoked as "all-insets-toggle toggle branch".
3191
3192 2004-03-30  Angus Leeming  <leeming@lyx.org>
3193
3194         * dociterator.C:
3195         * insetiterator.C:
3196         * pariterator.[Ch]: added/corrected header blurb.
3197
3198 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3199
3200         * dociterator.[Ch]: add an inset_ member
3201         (backwardPos): implemented
3202         (backwardPos, forwardPos): use inset_ when the stack is empty.
3203         (doc_iterator_begin, doc_iterator_end): implemented
3204         * pariterator.[Ch]: adjust, add begin, end
3205         * insetiterator.[Ch]: adjust, add begin, end
3206         * cursor.C:
3207         * document.C:
3208         * BufferView.C:
3209         * BufferView_pimpl.C:
3210         * CutAndPaste.C: adjust
3211
3212 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3213
3214         * buffer.C: increment file format to 232.
3215         * LaTeXFeatures.C: add bibtopic package.
3216         * bufferparams.[Ch]: param \use_bibtopic.
3217
3218         * lyxrc.[Ch]: add lyxrc bibtex_command
3219         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3220
3221         * buffer.C: increment file format to 231.
3222
3223 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3224
3225         * dociterator.C: implement forwardPar
3226         * iterators.[Ch]: remove, replaced by
3227         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3228         * BufferView.C:
3229         * BufferView_pimpl.C:
3230         * CutAndPaste.C:
3231         * buffer.C:
3232         * bufferview_funcs.C:
3233         * cursor.C:
3234         * lyxfind.C
3235         * lyxfunc.C
3236         * paragraph_funcs.C
3237         * toc.C:
3238         * Makefile.am: adjust
3239
3240 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3241
3242         * CutAndPaste.C (pasteSelection): fix 2 crashes
3243         (eraseSelection): fix a crash
3244         * paragraph_funcs.C: remove a warning
3245
3246 2004-03-28  Angus Leeming  <leeming@lyx.org>
3247
3248         * lfuns.h:
3249         * LyXAction.C (init): new LFUN_PRINT.
3250
3251         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3252
3253 2004-03-27  Angus Leeming  <leeming@lyx.org>
3254
3255         * lfuns.h:
3256         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3257
3258         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3259
3260 2004-03-27  Angus Leeming  <leeming@lyx.org>
3261
3262         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3263         insetlist always contains non-null pointers to insets.
3264
3265 2004-03-26  Angus Leeming  <leeming@lyx.org>
3266
3267         * src/BufferView_pimpl.C:
3268         * src/CutAndPaste.C:
3269         * src/buffer.C:
3270         * src/iterators.C:
3271         * src/output_plaintext.C:
3272         * src/outputparams.h:
3273         * src/paragraph_funcs.C:
3274         * src/rowpainter.C:
3275         * src/text.C:
3276         * src/text2.C:
3277         * src/frontends/controllers/ControlErrorList.C:
3278         * src/frontends/gtk/FileDialogPrivate.C:
3279         * src/frontends/gtk/GPainter.C:
3280         * src/frontends/gtk/GToolbar.C:
3281         * src/frontends/qt2/QRef.C:
3282         * src/mathed/math_scriptinset.C: squash compiler warnings.
3283
3284 2004-03-26  Angus Leeming  <leeming@lyx.org>
3285
3286         * ispell.C (LaunchIspell::start):
3287         * lyx_cb.C (AutoSaveBuffer::start):
3288         invoke run(DontWait) rather than runNonBlocking().
3289
3290 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3291
3292         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3293
3294 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3295
3296         * kbsequence.C (print): adjust
3297
3298         * kbmap.C (printKeySym): rename and change signature
3299         (printKey): use LyXKeySym::print()
3300
3301 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3302
3303         * undo.C: add using std::advance to compile for stlport
3304
3305 2004-03-24  Angus Leeming  <leeming@lyx.org>
3306
3307         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3308         it leads to a crash when no buffer is present.
3309
3310 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3311             Martin Vermeer  <martin.vermeer@hut.fi>
3312
3313         * lyxfunc.C (dispatch):
3314         * bufferparams.C (readToken): use the new LColor::setColor
3315
3316         * LColor.[Ch] (setColor): new version that takes two strings as
3317         argument and creates a new color entry if necessary
3318
3319 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3320
3321         * buffer.C (makeLaTeXFile): if the main latex file that is
3322         processed is usually a subdocument of some master, then pretend
3323         for a while that it is actually the master
3324
3325 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3326
3327         * buffer.C (getLabelList):
3328         (getBibkeyList): use getMasterBuffer()
3329         (getMasterBuffer): new method. Returns the main document in the
3330         case where one is using included documents.
3331
3332 2004-03-25  André Pönitz  <poenitz@gmx.net>
3333
3334         * Makefile.am:
3335         * iterators.[Ch]:
3336         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3337
3338         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3339
3340         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3341         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3342
3343         * ParameterStruct.h: merge with ParagraphParameters
3344
3345         * lyxtext.h: remove LyXText::parOffset() and getPar()
3346
3347         * text3.C: Remove all 'manual' update calls. We do now one per user
3348         interaction which is completely sufficient.
3349
3350         * Bidi.C:
3351         * BufferView.[Ch]:
3352         * BufferView_pimpl.C:
3353         * FontIterator.[Ch]:
3354         * MenuBackend.C:
3355         * ParagraphParameters.[Ch]:
3356         * buffer.C:
3357         * buffer.h:
3358         * bufferlist.C:
3359         * cursor.[Ch]:
3360         * cursor_slice.[Ch]:
3361         * dociterator.[Ch]:
3362         * errorlist.[Ch]:
3363         * factory.C:
3364         * lfuns.h:
3365         * lyxfind.C:
3366         * lyxfunc.C:
3367         * output_docbook.[Ch]:
3368         * output_latex.[Ch]:
3369         * output_linuxdoc.[Ch]:
3370         * output_plaintext.[Ch]:
3371         * paragraph.[Ch]:
3372         * paragraph_funcs.[Ch]:
3373         * paragraph_pimpl.[Ch]:
3374         * rowpainter.C:
3375         * tabular.[Ch]:
3376         * text.C:
3377         * text2.C:
3378         * toc.C:
3379         * undo.[Ch]: adjust
3380
3381         * frontends/controllers/ControlDocument.C:
3382         * frontends/controllers/ControlErrorList.C:
3383         * frontends/controllers/ControlSpellchecker.C:
3384         * insets/inset.C:
3385         * insets/inset.h:
3386         * insets/insetbase.h:
3387         * insets/insetbibitem.C:
3388         * insets/insetbox.C:
3389         * insets/insetbranch.C:
3390         * insets/insetcaption.C:
3391         * insets/insetcharstyle.C:
3392         * insets/insetcharstyle.h:
3393         * insets/insetcollapsable.C:
3394         * insets/insetcollapsable.h:
3395         * insets/insetert.C:
3396         * insets/insetfloat.C:
3397         * insets/insetfoot.C:
3398         * insets/insetmarginal.C:
3399         * insets/insetnote.C:
3400         * insets/insetoptarg.C:
3401         * insets/insettabular.C:
3402         * insets/insettext.C:
3403         * insets/insettext.h:
3404         * insets/insetwrap.C:
3405         * mathed/math_mboxinset.C:
3406         * mathed/math_nestinset.C:
3407         * mathed/math_scriptinset.C:
3408         * mathed/math_scriptinset.h:
3409         * support/types.h:
3410
3411 2004-03-24  Angus Leeming  <leeming@lyx.org>
3412
3413         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3414         deal with any child processes that have finished but are waiting to
3415         communicate this fact to the rest of LyX.
3416
3417 2004-03-24  Angus Leeming  <leeming@lyx.org>
3418
3419         64-bit compile fixes.
3420
3421         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3422         (c-tor): pass lyx::pos_types rather than ints.
3423
3424         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3425         lyx::pos_type.
3426
3427         * text.C (Delete): compile fix.
3428         (getPar): ensure that function declaration is the same as that in
3429         the header file.
3430
3431 2004-03-23  Angus Leeming  <leeming@lyx.org>
3432
3433         * ispell.C (LaunchIspell):
3434         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3435         a boost::shred_ptr rather than a std::auto_ptr.
3436
3437 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3438
3439         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3440         handle LFUN_FILE_INSERT_*
3441
3442         * lyxrc.C (setDefaults, getDescription, output, read):
3443         * lyxrc.h: remove ps_command
3444
3445 2004-03-22  Angus Leeming  <leeming@lyx.org>
3446
3447         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3448         Ensure that error_handler is processed once only and that all data
3449         is saved before attempting to output any warning messages.
3450
3451         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3452
3453 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3454
3455         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3456
3457 2004-03-19  André Pönitz  <poenitz@gmx.net>
3458
3459         * cursor.[Ch] (reset): take main text inset as argument
3460
3461         * BufferView: adjust
3462         * BufferView_pimpl.C: adjust
3463
3464         * paragraph.[Ch]: fix completely broken operator=()
3465
3466 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3467
3468         * LColor.C (getFromLyXName): make sure that the color name is used
3469         as lowercase.
3470
3471 2004-03-17  Angus Leeming  <leeming@lyx.org>
3472
3473         * lfuns.h:
3474         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3475
3476         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3477         dialog and to kill a forked process.
3478
3479 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3480
3481         * text2.C (setCursorFromCoordinates): fix font problem
3482
3483 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3484
3485         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3486         bogus "rebuild cursor" code
3487
3488 2004-03-11  André Pönitz  <poenitz@gmx.net>
3489
3490         * buffer.[Ch]: use InsetText instead of LyXText as container for
3491         the main lyx text.
3492
3493         * dociterator.[Ch]: drop the BufferView * member which is not needed
3494         anymore after the change to buffer.C
3495
3496         * paragraph_funcs.C:
3497         * text.C:
3498         * text2.C:
3499         * BufferView.[Ch]:
3500         * BufferView_pimpl.[Ch]:
3501         * cursor.[Ch]:
3502         * cursor_slice.[Ch]: adjust
3503
3504         * text3.C: fix bug in mathDispatch
3505
3506 2004-03-08  André Pönitz  <poenitz@gmx.net>
3507
3508         * undo.[Ch]: use 'StableDocumentIterator' as base for
3509         the Undo struct.
3510
3511 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3512
3513         * LaTeXFeatures.C:
3514         * bufferparams.[Ch]: add jurabib support and param.
3515
3516         * LaTeX.C: add FIXME/comment.
3517
3518 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3519
3520         * buffer.C: increment file format to 230.
3521
3522 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3523
3524         * cursor.C (dispatch): avoid infinite loops
3525
3526 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3527
3528         * rowpainter.C (paintSelection): fix x coordinates
3529
3530 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3531
3532         * text.C (rowBreakPoint): fix breaking before displayed insets
3533
3534 2004-03-01  André Pönitz  <poenitz@gmx.net>
3535
3536         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3537
3538         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3539
3540         * Makefile.am:
3541         * BufferView.C:
3542         * BufferView_pimpl.C:
3543         * buffer.C:
3544         * lyxfind.C:
3545         * lyxfunc.C:
3546         * text.C:
3547         * text2.C:
3548         * text3.C: adjust
3549
3550 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3551
3552         * lyxtext.h:
3553         * text.C:
3554         * text2.C:
3555         * rowpainter.C:
3556         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3557         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3558
3559 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3560
3561         * Bidi.[Ch] (computeTables): const correctness
3562         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3563         fill_hfill, fill_label_hfill and x from Row
3564         * lyxtext.h: prepareToPrint returns a RowMetrics
3565         * rowPainter.C: adjust
3566         * text.C (prepareToPrint): use width, not textWidth. adjust
3567         (redoParagraphInternal, cursorX): adjust
3568         * text2.C (getColumnNearX): adjust
3569         (init): put a default value to the top LyXText::width
3570
3571 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3572
3573         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3574
3575 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3576
3577         * lyxtext.h: add FontIterator class
3578
3579         * text.C (FontIterator, operator*, operator->, operator++): add
3580         (rowBreakPoint, setRowWidth): adjust (fixing a
3581         rebreaking bug)
3582
3583 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3584
3585         * BufferView_pimpl.C (workAreaDispatch): allow also
3586         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3587
3588 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3589
3590         * text.C (rowBreakPoint): fix a bug showing with very large insets
3591
3592 2004-02-25  André Pönitz  <poenitz@gmx.net>
3593
3594         * text3.C:
3595         * cursor.[Ch]: move some mathed specific code to mathed
3596
3597 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3598
3599         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3600         use_tempdir in preferences
3601         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3602         tempfile creation
3603         * lyx_main.C: ensure that tempdir is valid
3604         * lyxlex.h: correct typo
3605         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3606         * paragraph.[Ch] (isMultiLingual): make const
3607         * cursor.[Ch] (openable): make const
3608
3609 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3610
3611         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3612
3613 2004-02-20  André Pönitz  <poenitz@gmx.net>
3614
3615         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3616
3617         * cursor.[Ch]: prepare for localized getStatus()
3618
3619         * lyxtext.h:
3620         * tabular.C:
3621         * text.C:
3622         * text2.C:
3623         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3624
3625 2004-02-20  André Pönitz  <poenitz@gmx.net>
3626
3627         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3628
3629 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3630
3631         * text2.C (setCursorFromCoordinates): switch to absolute coords
3632         (cursorUp): adjust
3633         (cursorDown): adjust
3634         * text3.C (dispatch): adjust
3635
3636 2004-02-16  André Pönitz  <poenitz@gmx.net>
3637
3638         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3639           insets/ChangeLog)
3640
3641         * cursor_slice.[Ch]: remove unneeded acessor function
3642
3643         * lyxtext.h: rename rtl() to isRTL()
3644
3645         * rowpainter.C:
3646         * tabular.C:
3647         * text.C:
3648         * text2.C:
3649         * text3.C: adjust
3650
3651 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3652
3653         * rowpainter.C (paintSelection): coord fix
3654
3655 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3656
3657         * Spacing.C: compile fix
3658
3659 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3660
3661         * cursor.C (dispatch): restore current_ before returning
3662
3663 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3664
3665         * text2.C (cursorUp, cursorDown): fix coords
3666         (moveUp): fix crash
3667
3668 2004-02-12  André Pönitz  <poenitz@gmx.net>
3669
3670         * lyxtext.h:
3671         * text.C:
3672         * text2.C:
3673         * text3.C: add LCursor & parameter to most cursor movement functions
3674           remove usage of LyXText::cursorRow() and cursorPar()
3675
3676         * cursor.[Ch]: add textRow() needed members
3677
3678         * BufferView.C:
3679         * BufferView_pimpl.C:
3680         * paragraph.[Ch]:
3681         * BufferView.C:
3682         * BufferView_pimpl.C: adjust
3683
3684 2004-02-11  André Pönitz  <poenitz@gmx.net>
3685
3686         * lyxfunc.C:
3687         * BufferView.[Ch]:
3688         * BufferView_pimpl.C: shift undo/redo handling
3689
3690         * cursor.[Ch]: fix mathed crash
3691
3692         * lyxfind.C:
3693         * lyxtext.h: move selectionAsText to LCursor
3694
3695         * output_latex.C:
3696         * paragraph.C:
3697         * text.C:
3698         * text2.C:
3699         * text3.C: adjust
3700
3701         * rowpainter.C: fix excessive drawing
3702
3703 2004-02-06  André Pönitz  <poenitz@gmx.net>
3704
3705         * BufferView.[Ch]:
3706         * BufferView_pimpl.[Ch]:
3707         * text3.C: move some text specific LFUN handling
3708
3709 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3710
3711         * text3.C (checkInsetHit): adjust coords
3712         * text2.C (getColumnNearX): adjust coords
3713         (edit): adjust coords
3714         * text.C (getRowNearY): add two asserts
3715
3716 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3717
3718         * converter.C:
3719         * format.C: add using std::distance to compile on gcc 2.95/stlport
3720
3721 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3722
3723         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3724
3725 2004-02-04  André Pönitz  <poenitz@gmx.net>
3726
3727         * BufferView.[Ch] (insertInset):
3728         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3729
3730         * text2.C:
3731         * text3.C: adjust
3732
3733 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3734
3735         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3736         on the default clause of the switch
3737         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3738         wasn't catched by LCursor::dispatch
3739
3740 2004-02-03  André Pönitz  <poenitz@gmx.net>
3741
3742         * BufferView.C:
3743         * cursor.[Ch]: some additional asserts
3744
3745         * undo.[Ch]: remove LyXText dependency in interface
3746
3747         * lyxfunc.C: adjust
3748
3749         * lyxtext.h (firstPar, lastPar): remove dead functions
3750
3751         * text.C:
3752         * text2.C:
3753         * text3.C:
3754         * paragraph.[Ch]: adjust
3755
3756 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3757
3758         * lyxfind.C (find): fix argument order in call to ::find
3759
3760 2004-02-02  André Pönitz  <poenitz@gmx.net>
3761
3762         * cursor.[Ch]: remove direct access to anchor
3763
3764         * text.C: remove findText() hack
3765
3766 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3767
3768         * iterators.[Ch] (lockPath): remove in favour of...
3769         * BufferView.[Ch] (setCursor): this addition
3770         * BufferView.C (putSelectionAt): adjust
3771         * undo.C (performUndoOrRedo): adjust
3772         * lyxfunc.C (dispatch): adjust
3773
3774 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3775
3776         * iterators.C (lockPath): add a missing slice
3777         * undo.C (performUndoOrRedo): remove redundant positioning code
3778
3779 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3780
3781         * vc-backend.C (scanMaster): ";" -> ';'
3782
3783 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3784
3785         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3786         std::binary_function
3787
3788         * lyxtextclass.C (compare_name): rename to...
3789         (LayoutNamesEqual): ...this
3790
3791         * lyxlex_pimpl.C (compare_tags): inherit from
3792         std::binary_function, put back into anon namespace
3793
3794         * lyxfind.C (MatchString): inherig from std::binary_function
3795         (findChange): use empty() istead of !size()
3796
3797         * format.C (FormatNamesEqual): new functor
3798         (getFormat): use it
3799         (getNumber): use it
3800         (add): use it
3801         (erase): use it
3802         (setViewer): use it
3803
3804         * converter.C (compare_Converter): rename to...
3805         (ConverterEqual): ...this, and fixup a bit.
3806         (getConverter): use it, and make function const
3807         (getNumber): use it, and make function const
3808         (add): use it
3809         (erase): use it:
3810
3811         * bufferlist.C: add using boost::bind
3812
3813         * MenuBackend.C (MenuNamesEqual): new functor
3814         (hasMenu): use it, and make function const
3815         (hasSubmenu): use nested bind to get rid of compare_memfun.
3816
3817 2004-01-30  André Pönitz  <poenitz@gmx.net>
3818
3819         * BufferView_pimpl.C:
3820         * cursor.C:
3821         * cursor.h:
3822         * cursor_slice.[Ch]:
3823         * lyxfunc.C:
3824         * lyxtext.h:
3825         * paragraph_funcs.C:
3826         * paragraph_funcs.h:
3827         * rowpainter.C:
3828         * text.C:
3829         * text2.C:
3830         * text3.C: move some of the edit(x,y) handling to the insets
3831         some coordinate changes.
3832
3833 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3834
3835         * text.C: add using statements for std::advance and std::distance
3836
3837         * paragraph.C: add using statement for std::distance
3838
3839         * lyxfind.C: add using statement for std::advance
3840
3841         * cursor.C (region): remove std:: from swap
3842         (openable): use nucleus in stead of operator->
3843
3844         * BufferView.C: add using statements for std::distance and std::swap
3845
3846 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3847
3848         * iterators.C: Remove the pimple, move the needed structures to
3849         the header file. Create accessor for the positions stack.
3850         (asPosIterator): remove function
3851
3852         * PosIterator.C (PosIterator): move constructors to top of file
3853         (PosIterator): reimplement the constructor taking a ParIterator in
3854         terms of setFrom.
3855         (setFrom): new function
3856         (operator!=): inline it
3857
3858 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3859
3860         * lyxfind.C (replaceAll): use std::advance
3861
3862         * iterators.h: inherit from std::iterator.
3863
3864         * PosIterator.C (advance, distance): remove
3865         * PosIterator.h: interit from std::iterator.
3866
3867 2004-01-26  André Pönitz  <poenitz@gmx.net>
3868
3869         * BufferView.[Ch]:
3870         * BufferView_pimpl.[Ch]:
3871         * InsetList.[Ch]:
3872         * PosIterator.[Ch]:
3873         * buffer.h:
3874         * bufferview_funcs.C:
3875         * cursor.[Ch]:
3876         * cursor_slice.h:
3877         * factory.[Ch]:
3878         * iterators.[Ch]:
3879         * lyxfind.C:
3880         * lyxfunc.C:
3881         * lyxtext.h:
3882         * output_docbook.C:
3883         * output_latex.C:
3884         * output_linuxdoc.C:
3885         * output_plaintext.C:
3886         * paragraph.[Ch]:
3887         * paragraph_funcs.[Ch]:
3888         * paragraph_pimpl.[Ch]:
3889         * rowpainter.C:
3890         * tabular.C:
3891         * tabular.h:
3892         * text.C:
3893         * text2.C:
3894         * text3.C: more IU:  dumps most of the rest of the mathcursor
3895     implementation into cursor.[Ch]; "globalize" a bit of it.
3896
3897 2004-01-25  Angus Leeming  <leeming@lyx.org>
3898
3899         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3900
3901 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3902
3903         * LaTeXFeatures.h: add nice_ and nice() const
3904         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3905
3906 2004-01-20  André Pönitz  <poenitz@gmx.net>
3907
3908         * BufferView.[Ch]:
3909         * BufferView_pimpl.C:
3910         * PosIterator.C:
3911         * bufferview_funcs.C:
3912         * cursor.[Ch]:
3913         * cursor_slice.[Ch]:
3914         * factory.C:
3915         * iterators.C:
3916         * lyx_cb.C:
3917         * lyxfind.C:
3918         * lyxfunc.C:
3919         * lyxtext.h:
3920         * rowpainter.C:
3921         * text.C:
3922         * text2.C:
3923         * text3.C:
3924         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3925           LCursor and mathcursor parts to LCursor and InsetBase.
3926
3927 2004-01-15  André Pönitz  <poenitz@gmx.net>
3928
3929         * cursor_slice.[Ch]: add a few covienience functions
3930
3931         * funcrequest.[Ch]: remove BufferView * member
3932
3933         * BufferView_pimpl.C:
3934         * cursor.C:
3935         * factory.[Ch]:
3936         * lyxfind.[Ch]:
3937         * lyxfunc.C:
3938         * lyxtext.h:
3939         * text3.C:
3940         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3941
3942 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3943
3944         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3945         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3946
3947 2004-01-13  André Pönitz  <poenitz@gmx.net>
3948
3949         * textcursor.[Ch]:
3950         * lyxtext.h: hide cursor and selection anchor behind accessor function
3951
3952         * BufferView.C:
3953         * BufferView_pimpl.[Ch]:
3954         * PosIterator.C:
3955         * bufferview_funcs.C:
3956         * cursor.h:
3957         * lyxfind.C:
3958         * lyxfunc.C:
3959         * text.C:
3960         * text2.C:
3961         * text3.C:
3962         * undo.C: adjust
3963
3964         * cursor.h:
3965         * cursor_slice.[Ch]: some integer type changes for inset unification
3966
3967         * lyxcursor.[hC]: remove, it's CursorSlice now.
3968
3969         * Makefile.am:
3970         * BufferView_pimpl.[Ch]:
3971         * bufferview_funcs.C:
3972         * cursor_slice.C:
3973         * lyxtext.h:
3974         * text.C:
3975         * text2.C:
3976         * text3.C:
3977         * textcursor.[Ch]: adjust
3978
3979 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3980
3981         * text2.C (undoSpan): add and use
3982         * text.C (breakParagraph): use undoSpan (fix bug 578)
3983         * lyxtext.h: adjust
3984
3985 2004-01-08  Angus Leeming  <leeming@lyx.org>
3986
3987         * BufferView_pimpl.C (MenuInsertLyXFile):
3988         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3989         * lyxfunc.C (menuNew, open, doImport):
3990         FileFilterList change to the FileDialog open and save functions.
3991
3992 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3993
3994         * ShareContainer.h: make isEqual and isUnique adaptable
3995
3996         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3997
3998 2004-01-07  Angus Leeming  <leeming@lyx.org>
3999
4000         * LyXAction.C:
4001         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4002
4003         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4004
4005         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4006         functions replacing find, replace and replaceAll.
4007
4008         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4009         LFUN_WORDFIND(FORWARD|BACKWARD).
4010
4011 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4012
4013         * text.C (breakParagraph): remove an outdated #warning
4014
4015 2004-01-07  André Pönitz  <poenitz@gmx.net>
4016
4017         * lyxfind.C: somewhat clearer logic
4018
4019         * text.C: prevent crash in cursorX on unitialized row cache
4020
4021 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4022
4023         * lyxcursor.[Ch] (operator>): add
4024         * textcursor.C (selStart, selEnd): use std::min and std::max
4025
4026 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4027
4028         * Chktex.C: include boost/format.hpp
4029
4030 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4031
4032         * InsetList.C: replace functor MathcIt with adaptable functor
4033         InsetTablePosLess
4034         (insetIterator): modify accordingly
4035
4036         * BranchList.h: move the BranchNamesEqual functor here from...
4037         * BranchList.C: ... to here
4038
4039         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4040         SameName and match.
4041         (add): replace a finding loop with std::find_if.
4042
4043 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4044
4045         * output_docbook.C: moving LatexParam functionality into
4046         .layout files
4047
4048 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4049
4050         * buffer.C: increment format to 229.
4051
4052 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4053
4054         * LaTeXFeatures.C:
4055         * lyx_sty.[Ch]: remove minipageindent_def
4056
4057         * LyXAction.C:
4058         * factory.C:
4059         * lfuns.h:
4060         * lyxfunc.C:
4061         * text3.C: remove LFUN_INSET_MINIPAGE
4062
4063 2003-12-28  Angus Leeming  <leeming@lyx.org>
4064
4065         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4066
4067 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4068
4069         * text2.C (setParagraph): fix off-by-one crash
4070
4071 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4072
4073         * output_docbook.C: header stuff for AGU
4074
4075 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4076
4077         * text2.C (redoCursor): remove
4078         * text.C:
4079         * text3.C:
4080         * BufferView_pimpl.C: remove calls to redoCursor and
4081         setCursor(cursor.par(), cursor.pos()) all around
4082
4083 2003-12-15  Angus Leeming  <leeming@lyx.org>
4084
4085         * buffer.C: up the format to 228.
4086
4087 2003-12-15  André Pönitz  <poenitz@gmx.net>
4088
4089         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4090         slices
4091
4092         * Makefile.am:
4093
4094         * BufferView_pimpl.C:
4095         * cursor.[Ch]:
4096         * lyxcursor.[Ch]:
4097         * rowpainter.[Ch]:
4098         * lyxtext.h:
4099         * text.C:
4100         * text2.C:
4101         * text3.C: adjust
4102
4103 2003-12-15  Angus Leeming  <leeming@lyx.org>
4104
4105         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4106         than getFromGUIName to manipulate the color.
4107
4108 2003-12-14  Angus Leeming  <leeming@lyx.org>
4109
4110         * BranchList.[Ch]: minimize the API.
4111         (Branch::getBranch, getColor): now return a 'const &'.
4112         (Branch::setSelected) now returns a bool set to true if the
4113         selection status changes.
4114         (BranchList::clear, size, getColor, setColor, setSelected,
4115         allBranches, allSelected, separator): removed.
4116         (BranchList::find): new functions, returning the Branch with
4117         the given name.
4118         (BranchList::add, remove): return a bool indicating that
4119         the operation was successful.
4120
4121         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4122         new InsetBranch::isBranchSlected member function.
4123
4124         * LColor.[Ch]: mimimize the API.
4125         (fill): renamed as addColor and made private.
4126         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4127         versions of these functions taking a string arg have been removed.
4128
4129         * bufferparams.C (readToken):
4130         * lyxfunc.C (dispatch):
4131         * lyxrc.C (read): changes due to the altered BranchList and
4132         LColor APIs.
4133
4134         * factory.C (createInset, readInset): changes due to altered
4135         InsetBranch c-tor.
4136
4137 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4138
4139         * factory.C:
4140         * lyxfunc.C: remove insetminipage. "minipage-insert"
4141         now produces a frameless minipage box inset.
4142
4143 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4144
4145         * textcursor.[Ch] (selStart,selEnd): add new methods
4146         remove selection::start, end, use LyXCursor::operator<
4147         * lyxcursor.[Ch] (operator<): add
4148         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4149         * BufferView.[Ch] (unsetXSel): add
4150         * text2.C (clearSelection): use unsetXSel,adjust
4151         * text.C: adjust
4152         * text3.C: adjust
4153         * rowpainter.C: adjust
4154         * bufferview_funcs.C (put_selection_at): adjust
4155
4156 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4157
4158         * BufferView_pimpl.C: small coord. correction
4159
4160 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4161
4162         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4163         dragging over the splash screen.
4164
4165 2003-12-11  Angus Leeming  <leeming@lyx.org>
4166
4167         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4168         as it is now handled in LyXText::dispatch.
4169
4170         * text3.C (doInsertInset): remove a level of nesting.
4171
4172 2003-12-11  Angus Leeming  <leeming@lyx.org>
4173
4174         * factory.C (createInset): changes due to the changed interface to
4175         InsetCommandMailer::string2params.
4176
4177 2003-12-10  Angus Leeming  <leeming@lyx.org>
4178
4179         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4180         'dialog-show-new-inset <inset name>'
4181
4182 2003-12-10  Angus Leeming  <leeming@lyx.org>
4183
4184         * buffer.C: up the format to 227.
4185
4186         * factory.C: the box inset is now identified simply by 'Box'.
4187
4188 2003-12-10  Angus Leeming  <leeming@lyx.org>
4189
4190         * buffer.C: up the format to 226.
4191
4192         * factory.C: the note inset is now identified simply by 'Note'.
4193
4194 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4195
4196         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4197         when a pit is enough. Standarize a couple of loops.
4198
4199 2003-12-05  Angus Leeming  <leeming@lyx.org>
4200
4201         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4202         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4203         data to the re-worked "log" dialog.
4204
4205 2003-12-03  André Pönitz  <poenitz@gmx.net>
4206
4207         * PosIterator.C:
4208         * iterators.C:
4209         * lyxtext.h:
4210         * output_latex.C:
4211         * paragraph_funcs.C:
4212         * text.C:
4213         * text2.C: use Inset::getText instead of Inset::getParagraph
4214
4215 2003-12-03  André Pönitz  <poenitz@gmx.net>
4216
4217         * buffer.[Ch]:
4218         * lyxtext.h:
4219         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4220         InsetText::read() as LyXText::read()
4221
4222 2003-12-02  Angus Leeming  <leeming@lyx.org>
4223
4224         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4225         type. Add a comment in the implementation that the function uses
4226         the stream's bad() function rather than fail() as the std::streams
4227         would do.
4228
4229 2003-12-02  André Pönitz  <poenitz@gmx.net>
4230
4231         * lyxlex.[Ch]: make interface more similar to std::stream
4232
4233         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4234
4235 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4236
4237         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4238
4239 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4240
4241         * vspace.[Ch]: remove VSpace::NONE
4242
4243 2003-12-01  André Pönitz  <poenitz@gmx.net>
4244
4245         * buffer.[Ch]:
4246         * lyxtext.h: move ParagraphList member to LyXText
4247         rename LyXText::ownerParagraphs to LyXText::paragraph
4248
4249         * CutAndPaste.C:
4250         * bufferview_funcs.C:
4251         * iterators.[Ch]:
4252         * lyx_cb.C:
4253         * paragraph.C:
4254         * rowpainter.C:
4255         * tabular.C:
4256         * text.C:
4257         * text2.C:
4258         * text3.C: adjust
4259
4260         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4261
4262         * undo.C: fix cursor positioning
4263
4264 2003-12-01  John Levon  <levon@movementarian.org>
4265
4266         * BufferView_pimpl.C: fix a crash on exit with
4267         a buffer open
4268
4269 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4270
4271         * BranchList.C: fix setSelected() method.
4272
4273 2003-11-28  André Pönitz  <poenitz@gmx.net>
4274
4275         * ParagraphParameters.[Ch]:
4276         * ParameterStruct.h: remove space above/below from Paragraph to
4277          InsetVSpace
4278
4279         * BufferView_pimpl.C:
4280         * factory.C:
4281         * lyxfunc.C:
4282         * lyxtext.h:
4283         * output_latex.C:
4284         * paragraph.C:
4285         * paragraph_funcs.C:
4286         * rowpainter.[Ch]:
4287         * text.C:
4288         * text2.C:
4289         * text3.C: adjust
4290
4291 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4292
4293         * factory.C: Syntax change for CharStyles
4294
4295 2003-11-28  André Pönitz  <poenitz@gmx.net>
4296
4297         * BufferView.[Ch]:
4298         * BufferView.[Ch]:
4299         * buffer.[Ch]:
4300         * buffer.[Ch]: move LyXText member
4301
4302 2003-11-28  André Pönitz  <poenitz@gmx.net>
4303
4304         * BufferView.[Ch]: make LyXText * text a private member
4305
4306         * BufferView_pimpl.C:
4307         * cursor.C:
4308         * iterators.C:
4309         * lyx_cb.C:
4310         * lyxfind.C:
4311         * lyxtext.h:
4312         * rowpainter.[Ch]:
4313         * text.C:
4314         * text2.C:
4315         * undo.C: adjust
4316
4317         * output_plaintext.C: cleanup
4318
4319 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4320
4321         * buffer.C:
4322         * lyxtextclass.[Ch]: parametrize SGML document header
4323
4324 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4325
4326         * converter.[Ch]:
4327         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4328         getFlavor().
4329
4330 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4331
4332         * text2.C (setFont): rework using PosIterator (no more recursive)
4333         (setCharFont): no more needed
4334         (setLayout): no more selection cursors fiddling (done by redoCursor)
4335         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4336         destroy remaining ones)
4337
4338 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4339
4340         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4341         * lyxtext.h: ditto
4342         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4343         selection cursors
4344         * lyxfunc.C: adjust
4345         * text3.C: adjust + re-allow multi par depth changes
4346         * textcursor.C: simplify a bit
4347
4348 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4349
4350         * src/buffer.C:
4351         * src/lyxlayout.C:
4352         * src/lyxlayout.h:
4353         * src/lyxtext.h:
4354         * src/output_docbook.C:
4355         * src/output_latex.C:
4356         * src/paragraph.C:
4357         * src/paragraph.h:
4358         * src/sgml.C:
4359         * src/sgml.h:
4360         * src/text2.C: Introducing a number of tags parametrizing various
4361         XML formats that we may want to support
4362
4363 2003-11-25  André Pönitz  <poenitz@gmx.net>
4364
4365         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4366
4367         * lyxtext.h (leftMargin/rightMargin): simplify interface
4368
4369         * rowpainter.C:
4370         * text.C:
4371         * text2.C:
4372         * text3.C: adjust
4373
4374 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4375
4376         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4377         master file to any child files. Fixes bug 546.
4378
4379 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4380
4381         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4382
4383 2003-11-24  André Pönitz  <poenitz@gmx.net>
4384
4385         * rowpainter.C: simplification
4386
4387         * text2.C (updateCounters): remove call to redoParagraph on
4388         changed labels as this is far too expensive.
4389
4390 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4391
4392         * converter.C (convert): fix a crash: this function gets
4393         called with buffer == 0 from importer code.
4394
4395 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4396
4397         * text3.C (cursorPrevious): make sure that we do not compare
4398         iterators form different containers.
4399         (cursorNext): ditto
4400
4401         * rowpainter.C (paintSelection): make sure that we do not compare
4402         iterators from different containers.
4403
4404         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4405         iterators from different ParagraphList containers.
4406         [NEXT] ditto
4407
4408         * text2.C (LyXText): change order of initialization slightly
4409         (operator=): new function. copy all variables except cache_par_
4410         (moveUp): make sure that we do not compare iterators from
4411         different ParagraphList constainers.
4412         (moveDown): ditto
4413
4414         * text.C (firstPar): new function
4415         (lastPar): new function
4416         (endPar): new function
4417
4418         * lyxtext.h: move things around and group public functions, public
4419         variables, private functions, private variables
4420
4421 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4422
4423         * factory.C: change call to InsetERT constructor to avoid
4424         additional invocation of method status
4425         * text2.C (toggleInset): remove redundant update() call
4426         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4427         instead of a Bufferview pointer
4428
4429 2003-11-21  André Pönitz  <poenitz@gmx.net>
4430
4431         * rowpainter.C: simplification
4432
4433 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4434
4435         * text3.C (dispatch): make possible to extend a word/row selection
4436         with the mouse
4437
4438 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4439
4440         * lyxtext.h: x0_,y0_ -> xo_,yo_
4441         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4442         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4443         * rowpainter.C (paintRows): paint full paragraphs
4444
4445 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4446
4447         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4448         screen coordinates)
4449
4450 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4451
4452         * lyxtext.h: add x0_, y0_
4453         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4454         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4455
4456 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4457
4458         * text2.C (setCursorIntern): move the x_target update here *
4459         * text3.C: change some bv() to true/false in calls to
4460         cursorUp/Down/Right/Left
4461         * cursor.C: use helper function.
4462
4463 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4464
4465         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4466         * paragraph_funcs.[Ch]: correct comment
4467         * rowpainter.C: do not paint selections away from bv->cursor()
4468         Fix a long standing selection painting bug.
4469         * text3.C: generalize mouse-selection code to LyXTexts other that
4470         top one
4471         * textcursor.C: do not use y coords if we can use par offsets
4472
4473 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4474
4475         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4476         cursor position after e.g. inset insert)
4477
4478 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4479
4480         * lyxfind.C (replace): adjust to locking removal + some
4481         code simplification
4482
4483 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4484
4485         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4486         of the path
4487
4488 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4489
4490         * lyxlayout.[Ch]:
4491         * output_docbook.C: XML sanitation: new layout
4492         parameters InnerTag and CommandDepth
4493
4494 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4495
4496         * BufferView_pimpl.C:
4497         * factory.C:
4498         * text3.C: Fix the insertion and modification of button-style
4499         insets
4500
4501 2003-11-13  André Pönitz  <poenitz@gmx.net>
4502
4503         * InsetList.[Ch]: remove deleteLyXText
4504
4505         * paragraph.[Ch]: cache beginOfBody position
4506
4507         * Bidi.C:
4508         * text.C:
4509         * text2.C:
4510         * text3.C: remove superfluous update() calls
4511
4512         * vspace.C: cleanup
4513
4514 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4515
4516         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4517         * BufferView.C (fitLockedInsetCursor): remove
4518         * cursor.[Ch] (getDim): add
4519         * text.C (getRowNearY): add faster version
4520         * text3.C: remove some update calls
4521
4522 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4523
4524         * LaTeXFeatures.C:
4525         * LyXAction.C:
4526         * MenuBackend.C:
4527         * MenuBackend.h:
4528         * dispatchresult.h:
4529         * factory.C:
4530         * lfuns.h:
4531         * lyxfunc.C:
4532         * lyxtextclass.C:
4533         * lyxtextclass.h:
4534         * text3.C: The Character Style /XML short element patch.
4535
4536 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4537
4538         * text3.C:
4539         * factory.C: Small step to solving 'unable to insert some insets'
4540         problem
4541
4542 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4543
4544         * cursor.[Ch] (updatePos): new function for updating the y
4545         position of the tip inset
4546         * bufferview_funcs.C (put_selection_at):
4547         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4548
4549 2003-11-11  André Pönitz  <poenitz@gmx.net>
4550
4551         * text.C: remove big comment on invalid Paragraph pointers as it is
4552         not valid anymore
4553
4554 2003-11-11  André Pönitz  <poenitz@gmx.net>
4555
4556         * text_funcs.[Ch]: merge with ...
4557
4558         * text.C: ... this
4559
4560         * lyxtext.h:
4561         * text2.C:
4562         * text3.C: adjust
4563
4564         * Makefile.am: remove text_funcs.[Ch]
4565
4566 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4567
4568         * cursor.C (getPos): return absolute cached y coord
4569
4570         * BufferView_pimpl.C (fitCursor): new simplistic code
4571         (workAreaDispatch): add a fitCursor call
4572
4573 2003-11-10  André Pönitz  <poenitz@gmx.net>
4574
4575         * BufferView.[Ch]:
4576         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4577
4578 2003-11-10  André Pönitz  <poenitz@gmx.net>
4579
4580         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4581         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4582         indicate that the cursor needs to leave an inset
4583
4584         * lyxtext.h: remove inset locking
4585
4586         * cursor.[Ch]: re-implement functionality provided by inset locking
4587
4588         * BufferView.[Ch]:
4589         * BufferView_pimpl.[Ch]:
4590         * LyXAction.C:
4591         * bufferview_funcs.[Ch]:
4592         * factory.C:
4593         * funcrequest.[Ch]:
4594         * iterators.C:
4595         * lyx_cb.C:
4596         * lyxfind.C:
4597         * lyxfunc.C:
4598         * text.C:
4599         * text2.C:
4600         * text3.C:
4601         * undo.C: adjust
4602
4603 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4604
4605         * PosIterator.[Ch]: replace the stack with a vector, add inset
4606         accesor
4607         * iterators.[C]: adjust
4608
4609 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4610
4611         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4612         replaced
4613         * paragraph_funcs.C (readParToken): put the correct id in the
4614         error item, not the id of the top paragraph
4615
4616 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4617
4618         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4619         * bufferview_funcs.C (put_selection_at): use the above
4620
4621 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4622
4623         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4624
4625 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4626
4627         * output_linuxdoc.h:
4628         * output_plaintext.h:
4629         * output.h:
4630         * output_docbook.h: add #include statements
4631
4632 2003-11-05  José Matos  <jamatos@lyx.org>
4633
4634         * output_docbook.[Ch]:
4635         * output_latex.[Ch]:
4636         * output_linuxdoc.[Ch]:
4637         * output_plaintext.[Ch]: New files for output formats.
4638         * output.[Ch]: New file for helper functions.
4639
4640         * buffer.[Ch]:
4641         * paragraph_funcs.[Ch]: output functions moved to new files.
4642
4643         * outputparams.h: rename of latexrunparams.h
4644
4645         * LaTeX.[Ch]:
4646         * buffer.[Ch]:
4647         * bufferlist.[Ch]:
4648         * converter.[Ch]:
4649         * exporter.C:
4650         * paragraph.[Ch]:
4651         * paragraph_funcs.[Ch]:
4652         * paragraph_pimpl.[Ch]:
4653         * tabular.[Ch]: rename ascii to plaintext
4654         and LatexRunParams to OutputParams.
4655
4656 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4657
4658         * iterators.[Ch] (text): require bv argument
4659         * undo.C (recordUndo):
4660         * lyxfunc.C (dispatch):
4661         * bufferview_funcs.C (put_selection_at): adjust
4662
4663 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4664
4665         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4666
4667 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4668
4669         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4670         nestings
4671
4672 2003-11-04  André Pönitz  <poenitz@gmx.net>
4673
4674         * cursor.[Ch]: restructure
4675
4676         * BufferView.[Ch]:
4677         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4678
4679         * iterators.[Ch] (asCursor): remove
4680
4681         * lfuns.h: remove LFUN_INSET_EDIT
4682
4683         * lyxfunc.C:
4684         * tabular.C:
4685         * text.C:
4686         * text2.C:
4687         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4688
4689 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4690
4691         * lyxfind.[Ch]: complete overhaul
4692         * BufferView_pimpl.C:
4693         * lyxfunc.C: adjust
4694         * paragraph.[Ch] (insert): add
4695
4696 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4697
4698         * BufferView.[Ch]:
4699         * lyxtext.h:
4700         * text.C: remove dead spellcheck code
4701
4702 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4703
4704         * dispatchresult.h: add a val setter
4705
4706         * cursor.C (dispatch): use a tempvar for data_[i]
4707
4708 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4709
4710         * PosIterator.[Ch]: compile fix
4711
4712 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4713
4714         * text.C (cursorPar): deactivate the cursor cache
4715
4716 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4717
4718         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4719
4720 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4721
4722         * text3.C (dispatch): adjust for new DisptchResult semantics.
4723
4724         * lyxfunc.C (dispatch): handle update when return from
4725         Cursor::dispatch, adjust for new DispatchResult semantics.
4726
4727         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4728         DispatchResult(true) mean to not update. Add class functions for
4729         setting dispatched and update, as well as reading.
4730
4731         * cursor.C (dispatch): don't handle update here
4732
4733 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4734
4735         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4736         * trans_mgr.C: adjust
4737
4738         * paragraph_funcs.C (readParToken): exception safety
4739
4740         * lyxvc.h: store the vcs pointer in a scoped_ptr
4741         * lyxvc.C: adjust
4742
4743         * lyxsocket.C (serverCallback): exception safety
4744
4745         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4746
4747         * ispell.C (clone): make it return a auto_ptr
4748
4749         * factory.C (createInset): exception safety
4750         (readInset): exception safety
4751
4752         * bufferlist.C (newBuffer): exception safety
4753
4754         * Thesaurus.C (Thesaurus): use initialization for aik_
4755
4756         * MenuBackend.C (expandToc): exception safety.
4757
4758 2003-11-03  André Pönitz  <poenitz@gmx.net>
4759
4760         * buffer.C:
4761         * buffer.h:
4762         * bufferview_funcs.C: remove getInsetFromId()
4763
4764         * lyxcursor.[Ch]:
4765         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4766
4767         * lyxfunc.C:
4768         * text2.C:
4769         * text3.C: adjust
4770
4771 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4772
4773         * PosIterator.C (distance, advance): new
4774         * bufferview_funcs.[Ch] (put_selection_at): new
4775         * iterators.[Ch] (lockPath): new
4776
4777 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4778
4779         * iterators.[Ch] (asPosIterator): added
4780         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4781         * PosIterator.[Ch]: added
4782
4783 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4784
4785         * text3.C:
4786         * lyxfunc.C:
4787         * cursor.C (dispatch):
4788         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4789
4790         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4791         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4792         contructor, add a class function dispatched. Remove operator>=
4793
4794 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4795
4796         * debug.C: only use the default constructor for debugstream
4797         (lyxerr) here.
4798
4799         * main.C (main): include debug.h and setup the lyxerr streambuf
4800         here.
4801
4802 2003-10-31  José Matos  <jamatos@lyx.org>
4803
4804         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4805
4806         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4807         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4808         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4809         * paragraph_pimpl.C (simpleTeXSpecialC):
4810         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4811         add LatexRunParams argument.
4812
4813         * exporter.C (Export): change call accordingly.
4814
4815         * latexrunparams.h: add new member to take care of the other backends.
4816 2003-10-30  José Matos  <jamatos@lyx.org>
4817
4818         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4819         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4820         factorise code for paragraph output.
4821         * buffer.[Ch]:
4822         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4823         move functions.
4824
4825 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4826
4827         * text3.C (dispatch):
4828         * lyxfunc.C (dispatch):
4829         * cursor.C (dispatch):
4830         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4831
4832         * dispatchresult.h: make the dispatch_result_t ctor explicit
4833
4834 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4835
4836         * sgml.[Ch]:
4837         * buffer.C: small refactoring of docbook stuff
4838
4839 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4840
4841         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4842         meaning.
4843
4844 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4845
4846         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4847         operator dispatch_result_t, and operators for == != and >=
4848
4849         * cursor.C (dispatch): adjust for operator dispatch_result_t
4850         removal. comment out call to update
4851
4852         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4853
4854 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4855
4856         * text3.C:
4857         * text2.C:
4858         * text.C:
4859         * lyxtext.h:
4860         * lyxfunc.C:
4861         * cursor.C:
4862         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4863         (dispatch):
4864
4865         * dispatchresult.h: new file, DispatchResult broken out of
4866         insets/insetbase.h
4867
4868         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4869
4870 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4871
4872         * text.C (rowBreakPoint): put a hack inside #if 0
4873
4874 2003-10-28  André Pönitz  <poenitz@gmx.net>
4875
4876         * lyxtext.h:
4877         * metricsinfo.C:
4878         * paragraph_funcs.C:
4879         * rowpainter.C:
4880         * text.C:
4881         * text2.C: general cleanup (lots of small stuff)
4882
4883 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4884
4885         * text2.C (cursorEnd): simple fix to the "end key goes to one
4886         before the end on last row" bug
4887
4888 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4889
4890         * text.C (backspace): fix the "zombie characters"
4891
4892 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4893
4894         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4895
4896 2003-10-27  André Pönitz  <poenitz@gmx.net>
4897
4898         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4899
4900         * factory.C: handle new InsetPagebreak, InsetLine
4901
4902         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4903         and move handling into new InsetPagebreak, InsetLine
4904
4905         * BufferView_pimpl.C:
4906         * LyXAction.C:
4907         * ParagraphParameters.C:
4908         * ParameterStruct.h:
4909         * lyxfunc.C:
4910         * lyxtext.h:
4911         * paragraph.C:
4912         * paragraph.h:
4913         * paragraph_funcs.C:
4914         * paragraph_pimpl.C:
4915         * rowpainter.C:
4916         * text.C:
4917         * text2.C:
4918         * text3.C: adjust
4919
4920 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4921
4922         * text.C:
4923         * lyxrow_funcs.[Ch]:
4924         * Bidi.C:
4925         * paragraph.C:
4926         * lyxtext.h:
4927         * rowpainter.C:
4928         * text2.C:
4929         * text3.C: remove lastPos uses in favour of Row::endpos
4930
4931 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4932
4933         * undo.C (performUndoOrRedo): fix two crashes by setting a
4934         cursor by hand and reordering some calls. Use bv->lockInset instead
4935         of inset->edit because the latter loses cursor information
4936
4937 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4938
4939         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4940         by Martin
4941         (rowBreakPoint): fix width. change point to point + 1.
4942         Add a missing check.
4943
4944 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4945
4946         * MenuBackend.C:
4947         * lyxfunc.C: fix (at least partly) the problems
4948         with the Nav menu and headers inside branch insets
4949         reported by Kayvan
4950
4951 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4952
4953         * paragraph.C (getChar): add strong asserts
4954
4955         * lyxrow_funcs.C (lastPos): remove hideous hack
4956
4957         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4958         (fill): adjust to that (avoid an infinite loop)
4959
4960 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4961
4962         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4963
4964 2003-10-23  André Pönitz  <poenitz@gmx.net>
4965
4966         * RowList_fwd.h: change list<> to vector<> to gain speed
4967         after suggestion from Alfredo
4968
4969 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4970
4971         * lyxtext.h: move the bidi stuff from here...
4972         * text.C: and here
4973         * text2.C: and here
4974         * Bidi.[Ch]: ... to here
4975
4976 2003-10-23  André Pönitz  <poenitz@gmx.net>
4977
4978         * lyxtext.h:
4979         * text.C (isLastRow, isFirstRow): new functions
4980
4981         * paragraph.h: new width cache member
4982
4983         * rowpainter.C: replace RowList::iterator with Row & where possible
4984
4985         * lyxfunc.C: replace several view()->text with a single call
4986
4987         * toc.C: fix 'unused' warning
4988
4989 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4990
4991         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4992         when woring with stream::pos_type
4993         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4994
4995 2003-10-22  André Pönitz  <poenitz@gmx.net>
4996
4997         * lyxtext.h:
4998         * text.C: use Row & instead of RowList::iterator
4999
5000         * lyxrow.h: rename end() to endpos()
5001
5002         * rowpainter.C:
5003         * text.C:
5004         * text2.C: adjust
5005
5006 2003-10-22  Angus Leeming  <leeming@lyx.org>
5007
5008         * buffer.[Ch] (fully_loaded): new member function, returning true
5009         only when the file has been loaded fully.
5010         Used to prevent the premature generation of previews and by the
5011         citation inset to prevent computation of the natbib-style label.
5012
5013         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5014         templates are all set up.
5015
5016         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5017
5018 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5019
5020         * text.C: fixed an "oops" in the "is a bit silly"
5021         bug fix
5022
5023 2003-10-21  André Pönitz  <poenitz@gmx.net>
5024
5025         * FuncStatus.[Ch]: small stuff, whitespace
5026
5027         * lyxfont.[Ch]: operator<<() for debug reasons
5028
5029         * lyxfunc.C:
5030         * lyxrow_funcs.C:
5031         * lyxtext.h: whitespace, spelling
5032
5033         * paragraph.C: naming of variables
5034
5035         * text.C:
5036         * text2.C: small stuff
5037
5038
5039 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5040
5041         * text.C: (1) finish off the inset display() work;
5042         (2) fix the "is a bit silly" bug (accessing char
5043         past end of par).
5044
5045 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5046
5047         * text.C: re-introduce display() for insets, fixing the
5048         various bugs (stretch of line above, math inset
5049         positioning, ...)
5050
5051 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5052
5053         * text.C (rightMargin): remove spurious semicolon
5054
5055         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5056         1415)
5057
5058 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5059
5060         * text3.C: fix one crash due to wrong cursor def
5061
5062 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5063
5064         * vc-backend.C (scanMaster): make the regex static
5065
5066         * LaTeX.C (scanAuxFile): make the regexs static
5067
5068         * text3.C (doInsertInset, dispatch, dispatch):
5069         * text2.C (cursorUp, cursorDown):
5070         * text.C (selectNextWordToSpellcheck):
5071         * BufferView_pimpl.C (dispatch):
5072         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5073
5074 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5075
5076         * lyxsocket.C: include <cerrno>
5077
5078 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5079
5080         * lyxfunc.C (dispatch): remove textcache stuff
5081
5082         * bufferlist.C (release): remove textcache stuff
5083         (closeAll): ditto
5084
5085         * TextCache.C: delete file
5086         * TextCache.h: delete file
5087
5088         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5089
5090         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5091         delete of the bv_->text.
5092         (resizeCurrentBuffer): remove texcache stuff
5093         (workAreaResize): ditto
5094
5095 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5096
5097         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5098         action.
5099
5100 2003-10-16  André Pönitz  <poenitz@gmx.net>
5101
5102         * lyxrow.[Ch]:
5103         * paragraph.h:
5104         * rowpainter.C:
5105         * text.C:
5106         * text2.C:
5107         * text3.C: speed up by storing y positions per paragraph plus per-row
5108         offset instead of having a 'full' y position in the row.
5109
5110 2003-10-15  André Pönitz  <poenitz@gmx.net>
5111
5112         * iterators.[Ch]:
5113         * iterators.[Ch]:
5114         * undo.[Ch]: make undo aware of inner insets
5115
5116 2003-10-14  Angus Leeming  <leeming@lyx.org>
5117
5118         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5119         static member functions LyX::ref() and LyX::cref.
5120         (lastfiles): new accessor functions for the new lastfiles_ member var.
5121         (addLyXView, views_): add a new LyXView to the list of views_.
5122         (updateInset): loop over all LyXViews to call their own updateInset
5123         member function, returning a pointer to the Buffer owning the inset.
5124
5125         * BufferView_pimpl.C (loadLyXFile):
5126         * MenuBackend.C (expandLastfiles):
5127         * bufferlist.C (MenuWrite, QuitLyX):
5128         lastfiles is no longer a global variable.
5129         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5130
5131         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5132         static function. Access through LyX::cref().emergencyCleanup().
5133
5134 2003-10-14  André Pönitz  <poenitz@gmx.net>
5135
5136         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5137
5138         * undo.[Ch]: restoring part of 'undo in insets'
5139
5140         * Makefile.am:
5141         * undo_funcs.[Ch]: merge with undo.[Ch]
5142
5143         * tabular.C: small cleansing stuff
5144
5145 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5146
5147         * paragraph_funcs.C (readParToken): report unknown insets as error
5148         boxes. Use the outer paragraph as location (also for unknown
5149         tokens).
5150
5151         * factory.C (readInset): do not abort on reading an unknown inset.
5152         Eat it and return 0.
5153
5154 2003-10-13  Angus Leeming  <leeming@lyx.org>
5155
5156         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5157
5158         * lyxrc.C: displayTranslator is now a function,
5159         declared in GraphicsTypes.h.
5160
5161 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5162
5163         * format.C: new placeholder $$a to pass the socket address.
5164
5165         * bufferlist.[Ch]: new function getBufferFromTmp.
5166
5167         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5168           files in the temporary dir.
5169
5170 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5171
5172         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5173
5174         * Makefile.am: add lyxsocket.[Ch].
5175
5176         * lyx_main.C (error_handler): handle SIGPIPE.
5177
5178 2003-10-13  André Pönitz  <poenitz@gmx.net>
5179
5180         * BufferView_pimpl.C:
5181         * lyxtext.h:
5182         * text.C:
5183         * text2.C:
5184         * text3.C:
5185         * undo_funcs.[Ch]: use paroffset_type instead of
5186           ParagraphList::iterators to prevent multiple conversion
5187           (and get a more robust interface)
5188
5189 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5190
5191         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5192         * lyxtext.h: ditto
5193         * text3.C (dispatch): ditto
5194
5195 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5196
5197         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5198         move the onlyfile, use onlyfile instead of foundfile in a couple
5199         of places.
5200
5201         * DepTable.C (update): flush the error stream a bit more
5202
5203 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5204
5205         * lyxserver.C (callback): adjust
5206
5207         * lyxfunc.C (getStatus): add a missing brace in commented code
5208         (ensureBufferClean): reindent
5209         (dispatch): delete version taking a string
5210
5211 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5212
5213         * LaTeX.C (deplog): move found file handlig from here...
5214         (handleFoundFile): .. to new function here.
5215         (deplog): make sure to discover several files mentioned on the
5216         same log line.
5217
5218 2003-10-10  André Pönitz  <poenitz@gmx.net>
5219
5220         * lyxfunc.C:
5221         * lyxtext.h:
5222         * tabular.C:
5223         * text.C:
5224         * text2.C:
5225         * text3.C: fix some of the tabular crashes
5226
5227 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5228
5229         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5230
5231         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5232
5233 2003-10-09  André Pönitz  <poenitz@gmx.net>
5234
5235         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5236
5237         * BufferView.C:
5238         * BufferView_pimpl.C:
5239         * bufferview_funcs.C:
5240         * lyx_cb.C:
5241         * lyxcursor.C:
5242         * lyxfind.C:
5243         * lyxfunc.C:
5244         * lyxtext.h:
5245         * text.C:
5246         * text2.C:
5247         * text3.C:
5248         * text_funcs.[Ch]:
5249         * textcursor.[Ch]:
5250         * undo_funcs.C: adjust
5251
5252 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5253
5254         * text2.C (incrementItemDepth): new function, use a backtracking
5255         algorithm to discover the correct item depth.
5256         (resetEnumCounterIfNeeded): new function, use a backtracking
5257         algorithm to discover if counter reset is needed.
5258         (setCounter): use them. Simplify a bit. Add different labels for
5259         different item depths for itemize.
5260
5261         * paragraph.C (Paragraph): remove initialization of enumdepth
5262         (operator=): ditto
5263
5264         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5265         enumerate and itemize. Change the type of itemdepth to signed char.
5266
5267 2003-10-08  André Pönitz  <poenitz@gmx.net>
5268
5269         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5270           thing assignable.
5271         * text.C:
5272         * text2.C: adjust
5273
5274         * tabular.[Ch]: fix crash after 'row-insert'
5275
5276 2003-10-08  Angus Leeming  <leeming@lyx.org>
5277
5278         Fix doxygen warnings.
5279
5280         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5281         Remove CutAndPaste:: prefix from header file declaration.
5282
5283         * LColor.h (fill): remove LColor:: prefix from declaration.
5284
5285         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5286         use lyx::depth_type rather than Paragraph::depth_type so that
5287         header file and .C file match.
5288
5289         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5290
5291         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5292         * aspell.C: \file aspell_local.C -> \file aspell.C
5293         * gettext.C: \file gettext.C -> \file src/gettext.C
5294         * gettext.h: \file gettext.h -> \file src/gettext.h
5295         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5296         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5297         * text.C: \file text.C -> \file src/text.C
5298
5299         * toc.C: move comment so that doxygen is not confused.
5300
5301 2003-10-07  Angus Leeming  <leeming@lyx.org>
5302
5303         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5304
5305 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5306
5307         * aspell.C:
5308         * aspell_local.h: add forgotten std::string's.
5309
5310 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5311
5312         * LaTeXFeatures.C:
5313         * LyXAction.C:
5314         * factory.C:
5315         * lfuns.h:
5316         * lyxfunc.C:
5317         * text3.C: The Box patch. Fancybox support, minipage, parbox
5318
5319 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5320
5321         * CutAndPaste.h:
5322         * DepTable.h:
5323         * FloatList.h:
5324         * LaTeXFeatures.h:
5325         * ParagraphParameters.h:
5326         * TextCache.h:
5327         * Thesaurus.h:
5328         * bufferlist.h:
5329         * exporter.h:
5330         * importer.h:
5331         * lastfiles.h:
5332         * lyxfind.h:
5333         * lyxfont.h:
5334         * lyxlex.h:
5335         * lyxtextclasslist.h:
5336         * messages.h:
5337         * paragraph.h:
5338         * paragraph_pimpl.C:
5339         * textcursor.h: add <string> and other small fixes to make Lars'
5340         std::string patch compile with STLport.
5341
5342 2003-10-06  Angus Leeming  <leeming@lyx.org>
5343
5344         * LColor.h: Add missing #include <string>.
5345
5346 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5347
5348         * All most all file in all subdirs: Make <string> be the prefered
5349         way of getting to std::string, add using declarations.
5350
5351 2003-10-06  André Pönitz  <poenitz@gmx.net>
5352
5353         * metricsinfo.C: initialize LyXFont before changing attribute.
5354         (fixes the 'math in \emph is upright' bug)
5355
5356 2003-10-06  André Pönitz  <poenitz@gmx.net>
5357
5358         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5359
5360 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5361
5362         * graph.C:
5363         * paragraph_pimpl.C: Small fixes to build using STLport
5364
5365 2003-10-02  André Pönitz  <poenitz@gmx.net>
5366
5367         * lyxfunc.C:
5368         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5369
5370 2003-10-01  André Pönitz  <poenitz@gmx.net>
5371
5372         * factory.C: assert early
5373
5374 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5375
5376         * lyx_main.C: remove the global debug object
5377
5378         * debug.h: adjust for new debugstream
5379
5380         * debug.C: adjust for new debugstream and keep the global debug
5381         object here.
5382
5383 2003-09-22  Angus Leeming  <leeming@lyx.org>
5384
5385         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5386         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5387         an incomplete class LyXFont.
5388
5389 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5390
5391         * factory.C: bug fix in branches
5392
5393 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5394
5395         * lyxfunc.C (processKeySym): adjust
5396         (dispatch): adjust
5397         (dispatch): change arg name from ev to func, adjust
5398         (sendDispatchMessage): ditto
5399
5400         * lyx_main.C (defaultKeyBindings): adjust keybindings
5401         (deadKeyBindings): ditto
5402
5403         * kbsequence.C (addkey): return a FuncRequest
5404
5405         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5406
5407         * kbmap.C (bind): take a FuncRequest as arg, adjust
5408         (read): adjust
5409         (lookup): adjust
5410         (defkey): change to take a FuncRequest as arg, adjust
5411         (findbinding): take a FuncRequest as arg, adjust.
5412
5413         * funcrequest.h (operator=): added
5414
5415         * funcrequest.C (FuncRequest): default kb_action changed from
5416         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5417
5418         * buffer.C (dispatch): simplify
5419         (dispatch): adjust to take a FuncRequest as arg, adjust
5420
5421         * boost.C (assertion_failed): change assertion message slightly
5422
5423         * ToolbarBackend.C (read): simplify
5424
5425         * MenuBackend.C (binding): adjust call to findbinding, add a
5426         message if no binding is found.
5427         (read): simplify
5428         (expandToc): correct by adding a empty FuncRequest
5429
5430         * LyXAction.C: include <boost/assert.hpp>
5431         (isPseudoAction): delete function
5432         (LookupFunc): change name to...
5433         (lookupFunc): this. change return type to FuncRequest.
5434         (getActionName): take kb_action as arg, simplify
5435         (funcHasFlag): add an assert, simplify.
5436
5437 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5438
5439         * toc.C (action): return a FuncRequest, simplify
5440
5441         * lyxfunc.C (processKeySym): adjust
5442         (getStatus): delete version that takes an int.
5443         (getStatus): adjust
5444         (dispatch): delete version that takes action as int
5445         (dispatch): adjust
5446         (sendDispatchMessage): simplify and adjust
5447
5448         * funcrequest.C (getArg): take unsigned int as arg
5449
5450         * ToolbarBackend.C (read): adjust
5451         (add): delete version that takes func as a string.
5452         (getIton): take a FuncRequest as arg
5453
5454         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5455         action.
5456
5457         * MenuBackend.C (MenuItem): add a new construct that only takes a
5458         Kind, simplify the constructor use for submenus.
5459         (add): adjust
5460         (expandLastfiles): adjust
5461         (expandDocuments): adjust
5462         (expandFormats): adjust
5463         (expandFloatListInsert): adjust
5464         (expandFloatInsert): adjust
5465         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5466
5467         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5468         Remove class variables lyx_pseudo_map and lyx_arg_map
5469
5470         * LyXAction.C (searchActionArg): delete function
5471         (getPseudoAction): delete function
5472         (retrieveActionArg): delete function
5473         (LookupFunc): make it return kb_action, simplify.
5474         (getActionName): simplify
5475
5476         * factory.C (createInset): fix new bug
5477
5478 2003-09-19  Angus Leeming  <leeming@lyx.org>
5479
5480         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5481         masterFilename_ parameter in the include inset.
5482
5483         * factory.C (createInset): changes due to the changes to InsetInclude.
5484
5485 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5486
5487         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5488
5489 2003-09-18  Angus Leeming  <leeming@lyx.org>
5490
5491         * buffer.C:
5492         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5493         Inset::fillWithBibKeys.
5494         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5495
5496 2003-09-18  Angus Leeming  <leeming@lyx.org>
5497
5498         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5499         variables.
5500         (ctor): pass and store a 'Buffer const &'
5501         (buffer): new member function.
5502
5503         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5504         '*this' to the LaTeXFeatures ctor.
5505
5506 2003-09-18  Angus Leeming  <leeming@lyx.org>
5507
5508         * LColor.h:
5509         * lyxfont.C:
5510         * lyxfont.h:
5511         * lyxtext.h:
5512         * text.C: rename EnumLColor as LColor_color.
5513
5514 2003-09-18  Angus Leeming  <leeming@lyx.org>
5515
5516         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5517         remove #include "insets/insetbase.h" from cursor.h.
5518
5519 2003-09-18  Angus Leeming  <leeming@lyx.org>
5520
5521         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5522         InsetOld_code to remove #include "inset.h".
5523
5524         * iterators.C: add #include "insets/inset.h"
5525
5526 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5527
5528         * BufferView.C: remove more locking stuff that apparently doesn't
5529         do anything sensible.
5530
5531 2003-09-16  André Pönitz  <poenitz@gmx.net>
5532
5533         * paragraph.[Ch]:
5534         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5535           performance boost.
5536
5537 2003-09-16  Angus Leeming  <leeming@lyx.org>
5538
5539         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5540
5541         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5542         arg/return type.
5543
5544         * paragraph.h: remove #include "lyxfont.h". Forward declare
5545         LyXFont_size.
5546
5547 2003-09-16  Angus Leeming  <leeming@lyx.org>
5548
5549         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5550         of support/textutils.h.
5551         (isWord): move the contents of support/textutils.h's IsWordChar here.
5552
5553         * buffer.C:
5554         * lyxfind.C:
5555         * rowpainter.C:
5556         * text.C:
5557         * text2.C: add #include "paragraph.h".
5558
5559         * rowpainter.C:
5560         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5561
5562 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5563
5564         * main.C:
5565         * lyx_main.C:
5566         * lyx_cb.C:
5567         * buffer.C:
5568         * LaTeX.C: use namespace alias for lyx::support::os
5569
5570 2003-09-16  Angus Leeming  <leeming@lyx.org>
5571
5572         * bufferparams.C:
5573         * bufferview_funcs.C:
5574         * factory.C:
5575         * lyxfunc.C:
5576         * paragraph_pimpl.C:
5577         * rowpainter.C:
5578         * text.C: add #include "LColor.h".
5579
5580 2003-09-16  Angus Leeming  <leeming@lyx.org>
5581
5582         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5583         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5584         return LyXFont &.
5585         Store the FontBits::color variable as an int rather than as an
5586         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5587         file.
5588
5589         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5590         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5591         string calls together.
5592
5593         * lyxrc.C: add #include "LColor.h".
5594
5595 2003-09-15  Angus Leeming  <leeming@lyx.org>
5596
5597         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5598         a cow_ptr.
5599
5600 2003-09-15  Angus Leeming  <leeming@lyx.org>
5601
5602         * LColor.h: add an EnumLColor wrapper for LColor::color.
5603
5604         * lyxfont.[Ch] (color, setColor, realColor):
5605         * lyxtext.h, text.C (backgroundColor):
5606         pass EnumLColor args to/from the functions, rather than LColor::color
5607         ones.
5608
5609         * lyxfont.h:
5610         * lyxtext.h: forward declare EnumLColor.
5611
5612         * lyx_main.C: add #include "LColor.h".
5613
5614 2003-09-15  Angus Leeming  <leeming@lyx.org>
5615
5616         * .cvsignore: add lyx-gtk.
5617
5618 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5619
5620         * Chktex.C
5621         * LaTeX.C
5622         * LaTeXFeatures.C
5623         * ParagraphParameters.C
5624         * Spacing.C
5625         * buffer.C
5626         * bufferparams.C
5627         * bufferview_funcs.C
5628         * chset.C
5629         * counters.C
5630         * funcrequest.C
5631         * lyxfont.C
5632         * lyxgluelength.C
5633         * lyxlength.C
5634         * paragraph.C
5635         * paragraph_funcs.C
5636         * text3.C
5637         * vc-backend.C: remove usage of STRCONV
5638
5639 2003-09-15  Angus Leeming  <leeming@lyx.org>
5640
5641         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5642         explicitly define the color passed to the painter.
5643
5644 2003-09-15  Angus Leeming  <leeming@lyx.org>
5645
5646         * bufferparams.C (BufferParams): reorder member initializers to avoid
5647         compiler warning.
5648
5649 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5650
5651         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5652         * text.C (updateRowPositions): remove an unusual nop
5653
5654 2003-09-12  André Pönitz  <poenitz@gmx.net>
5655
5656         * BufferView_pimpl.C:
5657         * Bullet.C:
5658         * layout.h:
5659         * lyxfunc.C:
5660         * lyxlayout.[Ch]:
5661         * lyxtextclass.C:
5662         * rowpainter.C:
5663         * text.C:
5664         * text2.C:
5665         * Counters.[Ch]: finish the 'automatic counters' job
5666
5667 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5668
5669         * aspell.C: include <boost/assert.cpp> (compile fix)
5670
5671 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5672
5673         * boost.C (assertion_failed): use lyx::support::abort instead of
5674         assert.
5675
5676 2003-09-10  Angus Leeming  <leeming@lyx.org>
5677
5678         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5679         with their _fwd progeny.
5680
5681 2003-09-09  Angus Leeming  <leeming@lyx.org>
5682
5683         134 files throughtout the source tree: replace 'using namespace abc;'
5684         directives with the appropriate 'using abc::xyz;' declarations.
5685
5686 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5687
5688         * boost.C (emergencyCleanup): moved here from LAssert.c
5689         (assertion_failed): new function, called by BOOST_ASSERT
5690
5691         * several files: change Assert to BOOST_ASSERT
5692
5693 2003-09-09  Angus Leeming  <leeming@lyx.org>
5694
5695         * buffer.[Ch]: Add an Impl class and move Buffer's member
5696         variables into it. As a result move several header files out of
5697         buffer.h.
5698
5699         Add header files to lots of .C files all over the tree as a result.
5700
5701 2003-09-09  Angus Leeming  <leeming@lyx.org>
5702
5703         * buffer.[Ch]: make Buffer's member variables private. Add
5704         accessor functions.
5705
5706         Lots of changes all over the tree as a result.
5707
5708 2003-09-08  Angus Leeming  <leeming@lyx.org>
5709
5710         * graph.C: #include <config.h>.
5711
5712 2003-09-08  Angus Leeming  <leeming@lyx.org>
5713
5714         * BranchList.C:
5715         * BufferView.C:
5716         * BufferView_pimpl.C:
5717         * CutAndPaste.C:
5718         * DepTable.C:
5719         * LaTeX.C:
5720         * LaTeXFeatures.C:
5721         * LyXAction.C:
5722         * MenuBackend.C:
5723         * TextCache.C:
5724         * aspell.C:
5725         * buffer.C:
5726         * bufferlist.C:
5727         * changes.C:
5728         * chset.C:
5729         * converter.C:
5730         * counters.C:
5731         * debug.C:
5732         * graph.C:
5733         * ispell.C:
5734         * lyx_cb.C:
5735         * lyxfind.C:
5736         * lyxfunc.C:
5737         * lyxlex_pimpl.C:
5738         * lyxrc.C:
5739         * lyxrow.C:
5740         * paragraph.C:
5741         * rowpainter.C:
5742         * texrow.C:
5743         * text.C:
5744         * text2.C:
5745         * toc.C: remove redundant using directives.
5746
5747 2003-09-07  Angus Leeming  <leeming@lyx.org>
5748
5749         * LaTeXFeatures.h: remove #include "support/types.h".
5750         * ToolbarBackend.h: remove #include <algorithm>.
5751         * changes.h: remove #include <ctime>.
5752         * debug.h: remove #include <iosfwd>.
5753         * graph.h: remove #include "support/std_string.h".
5754         * lyx_main.h: remove #include <csignal>.
5755         * lyxlex_pimpl.h: remove #include <fstream>.
5756         * sgml.h: remove #include <algorithm>, <utility>.
5757         * toc.h: remove #include "support/std_ostream.h".
5758         Add #include <iosfwd>.
5759
5760 2003-09-07  Angus Leeming  <leeming@lyx.org>
5761
5762         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5763
5764         * converter.h: forward declare LatexRunParams.
5765         * encoding.h: remove #include "lyxrc.h".
5766         * lyxtext.h: remove #include "LColor.h".
5767         * lyxtextclass.h: remove #include "support/types.h".
5768         * trans.h: remove #include "tex-accent.h".
5769         * trans_mgr.h: remove #include "tex-accent.h".
5770         * insets/inset.h: remove #include "support/types.h", <vector>.
5771         * insets/insetcollapsable.h: remove #include "LColor.h".
5772         * insets/insetinclude.h: remove #include "dimension.h".
5773         * insets/insetlatexaccent.h: remove #include "dimension.h".
5774         * insets/insetoptarg.h:: remove #include "insettext.h".
5775         * insets/insettext.h: remove #include "dimension.h",
5776         <boost/shared_ptr.hpp>
5777
5778         * insets/renderers.h: add #include "dimension.h".
5779         * insets/updatableinset.h: add #include "support/types.h".
5780
5781         * many .C files: Associated changes.
5782
5783 2003-09-06  Angus Leeming  <leeming@lyx.org>
5784
5785         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5786         one, inside testInvariant.
5787
5788         * PrinterParams.C: new file.
5789         * PrinterParams.[Ch]: move the function bodies out of line.
5790
5791 2003-09-06  Angus Leeming  <leeming@lyx.org>
5792
5793         * ParagraphParameters.h: forward declare ParameterStruct rather than
5794         including its header file.
5795         (depth): moved out-of-line.
5796
5797 2003-09-06  Angus Leeming  <leeming@lyx.org>
5798
5799         * BufferView_pimpl.h:
5800         * kbmap.h:
5801         * kbsequence.h:
5802         * lyxfunc.h: forward declare LyXKeySym rather than
5803         #include "frontends/LyXKeySym.h".
5804
5805         * BufferView_pimpl.C:
5806         * kbmap.C:
5807         * kbsequence.C:
5808         * lyxfunc.C: associated changes.
5809
5810 2003-09-06  Angus Leeming  <leeming@lyx.org>
5811
5812         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5813         As a result, can remove the #include "insets/inset.h" from BufferView.h
5814
5815 2003-09-06  Angus Leeming  <leeming@lyx.org>
5816
5817         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5818         As a result, can remove the #include "insets/inset.h" from BufferView.h
5819
5820 2003-09-06  Angus Leeming  <leeming@lyx.org>
5821
5822         * buffer_funcs.C:
5823         * buffer.h:
5824         * bufferlist.C:
5825         * BufferView.C:
5826         * bufferview_funcs.C:
5827         * BufferView_pimpl.C:
5828         * CutAndPaste.C:
5829         * lyx_cb.C:
5830         * lyxfunc.C:
5831         * paragraph.h:
5832         * ParagraphParameters.C:
5833         * tabular.C:
5834         * text3.C:
5835         * toc.C:
5836         * undo_funcs.C:
5837         * frontends/controllers/ControlDocument.C:
5838         * insets/insetcaption.C: rearrange the #includes into some sort of
5839         coherent order.
5840
5841         * buffer.h: remove #includes ErrorList.h, undo.h
5842
5843 2003-09-06  Angus Leeming  <leeming@lyx.org>
5844
5845         * support/types.h: add a 'depth_type' typedef, used to store the
5846         nesting depth of a paragraph.
5847
5848         * paragraph.h:
5849         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5850         defining explicitly.
5851
5852         * buffer.h:
5853         * paragraph_funcs.h:
5854         * ParagraphParameters.h:
5855         * sgml.h: use lyx::depth_type rather than Paragraph or
5856         ParameterStruct's depth_type.
5857
5858         * buffer.h
5859         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5860
5861         * BufferView.C:
5862         * BufferView_pimpl.C:
5863         * CutAndPaste.C:
5864         * ParagraphParameters.C:
5865         * buffer_funcs.C:
5866         * bufferlist.C:
5867         * bufferview_funcs.C:
5868         * lyx_cb.C:
5869         * lyxfunc.C:
5870         * tabular.C:
5871         * text3.C:
5872         * toc.C:
5873         * undo_funcs.C:
5874         * frontends/LyXView.C:
5875         * frontends/controllers/ControlDocument.C:
5876         * frontends/controllers/ControlErrorList.C:
5877         * insets/insetbibitem.C:
5878         * insets/insetbranch.C:
5879         * insets/insetcaption.C:
5880         * insets/insetcollapsable.C:
5881         * insets/insetenv.C:
5882         * insets/insetert.C:
5883         * insets/insetfloat.C:
5884         * insets/insetfoot.C:
5885         * insets/insetfootlike.C:
5886         * insets/insetnewline.C:
5887         * insets/insetquotes.C:
5888         * insets/insettabular.C:
5889         * insets/insettext.C:
5890         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5891
5892         * frontends/controllers/ControlChanges.C: #include "changes.h".
5893
5894 2003-09-06  Angus Leeming  <leeming@lyx.org>
5895
5896         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5897         than #including paragraph.h.
5898
5899         * ParagraphList.h:
5900         * RowList.h: deleted. Superfluous.
5901
5902         * CutAndPaste.h:
5903         * iterators.h:
5904         * lyxcursor.h:
5905         * lyxtext.h:
5906         * text_funcs.h:
5907         * undo.h:
5908         * undo_funcs.h:
5909         * insets/inset.h:
5910         * insets/insettext.h: use ParagraphList_fwd.h rather than
5911         ParagraphList.h.
5912
5913         * paragraph.h: don't forward declare ParagraphList.
5914
5915         * buffer.h:
5916         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5917         rather than ParagraphList.h. paragraph.h is still needed for the
5918         Paragraph::depth_type parameters.
5919
5920         * textcursor.h: enable it to compile stand-alone in light of the
5921         above changes.
5922
5923         * bufferview_funcs.C:
5924         * iterators.C:
5925         * lyxfunc.C:
5926         * lyxrow_funcs.C:
5927         * paragraph.C:
5928         * rowpainter.C:
5929         * text.C:
5930         * text2.C:
5931         * text3.C:
5932         * text_funcs.C:
5933         * textcursor.C:
5934         * undo.C:
5935         * frontends/controllers/ControlParagraph.C:
5936         * frontends/controllers/ControlTabular.C:
5937         * insets/insetmarginal.C:
5938         * insets/insetminipage.C:
5939         * insets/insetnote.C:
5940         * insets/insetoptarg.C: add header files needed to compile again.
5941
5942 2003-09-06  Angus Leeming  <leeming@lyx.org>
5943
5944         * RowList_fwd.h: new file, forward-declaring Row rather than
5945         #including lyxrow.h.
5946
5947         * lyxrow_funcs.h:
5948         * lyxtext.h:
5949         * paragraph.h:
5950         * insets/insettext.h: use it instead of RowList.h
5951
5952         * bufferview_funcs.C:
5953         * lyxfunc.C:
5954         * lyxrow_funcs.C:
5955         * paragraph.C:
5956         * rowpainter.C:
5957         * text.C:
5958         * text2.C:
5959         * text3.C: #include "RowList.h".
5960
5961 2003-09-05  Angus Leeming  <leeming@lyx.org>
5962
5963         * factory.C (createInset):
5964         * vspace.C (c-tor): replace sscanf call with an istringstream.
5965         * ispell.C: re-add missing HP/UX headers.
5966         * lyxserver.C: re-add missing  os2 headers.
5967
5968 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5969
5970         * BranchList.C:
5971         * graph.C:
5972         * ispell.C:
5973         * lastfiles.C:
5974         * lyx_cb.C:
5975         * lyxserver.C:
5976         * texrow.C:
5977         * text3.C: re-add missing system headers, needed for 2.95.2.
5978
5979 2003-09-05  Angus Leeming  <leeming@lyx.org>
5980
5981         Changes most place everywhere due to the removal of using directives
5982         from support/std_sstream.h.
5983
5984 2003-09-05  Angus Leeming  <leeming@lyx.org>
5985
5986         Replace LString.h with support/std_string.h,
5987         Lsstream.h with support/std_sstream.h,
5988         support/LIstream.h with support/std_istream.h,
5989         support/LOstream.h with support/std_ostream.h.
5990
5991         Changes resulting throughout the tree.
5992
5993 2003-09-05  Angus Leeming  <leeming@lyx.org>
5994
5995         * sgml.h: ensure that the header file can be compiled stand-alone.
5996         * *.C: strip out redundant #includes. (320 in total.)
5997
5998 2003-09-04  Angus Leeming  <leeming@lyx.org>
5999
6000         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6001         here (from getPackages).
6002
6003         * debug.[Ch]: add a new EXTERNAL tag.
6004
6005 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6006
6007         * text2.C (cursorEnd): simplify
6008         (setCursor): adjust
6009         (getColumnNearX): adjust
6010
6011         * text.C (computeBidiTables): adjust
6012         (fill): adjust
6013
6014         * rowpainter.C (paintChars): adjust
6015         (paintSelection): adjust
6016         (paintChangeBar): adjust
6017         (paintText): adjust
6018
6019         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6020         lastPos instead.
6021         (numberOfSeparators): adjust
6022
6023 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6024
6025         * LyXAction.C:
6026         * box.[Ch]:
6027         * lfuns.h:
6028         * lyxfunc.C:
6029         * text3.C: Restricts the mouse click functionality
6030         of insets like bibtex, include, toc and floatlist to the visible
6031         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6032         up the dialogs. Cursor has to be in front of the inset (i.e.
6033         start of row) for this to function.
6034
6035 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6036
6037         * bufferview_funcs.C (currentState): output row information
6038
6039 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6040
6041         * bufferview_funcs.C (currentState): output paragraph position
6042
6043 2003-09-04  Angus Leeming  <leeming@lyx.org>
6044
6045         * FloatList.h: move out #include "Floating.h".
6046         * LaTeX.h: move out #include "DepTable.h".
6047         * LyXAction.h: move out #include "funcrequest.h".
6048         * buffer.h: move out #include "author.h", "iterators.h".
6049         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6050         * lyx_main.h: move out #include "errorlist.h".
6051         * lyxfunc.h: move out #include "FuncStatus.h".
6052         * lyxtext: move out #include "lyxcursor.h".
6053         * paragraph_pimpl.h: move out #include "counters.h".
6054
6055 2003-09-03  Angus Leeming  <leeming@lyx.org>
6056
6057         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6058         preamble_snippets list, enabling us to add snippets to the preamble
6059         only if the snippet was not there already.
6060
6061 2003-09-04  Angus Leeming  <leeming@lyx.org>
6062
6063         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6064
6065 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6066
6067         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6068         update
6069
6070 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6071
6072         * BranchList.C: point fix, earlier forgotten
6073
6074 2003-09-02  Angus Leeming  <leeming@lyx.org>
6075
6076         * box.C (contains): renamed from 'contained' after a fantastic
6077         amount of hot air.
6078
6079 2003-09-02  John Levon  <levon@movementarian.org>
6080
6081         * BufferView.C:
6082         * lyxcursor.h:
6083         * lyxcursor.C:
6084         * lyxfunc.C:
6085         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6086
6087 2003-09-02  John Levon  <levon@movementarian.org>
6088
6089         * text2.C: simplification of cursorEnd(), including partial
6090         fix for bug 1376
6091
6092 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6093
6094         * buffer.C (readFile): add a space
6095
6096 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6097
6098         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6099
6100 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6101
6102         * buffer.C (readFile): new function, take a filename and a
6103         ParagraphList::iterator
6104         (readFile): adjust
6105         (readFile): adjust, make it private. don't use setStream, make
6106         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6107         always contain the filename.
6108
6109         * BufferView.C (insertLyXFile): simplify and make it work for
6110         gzipped files.
6111
6112 2003-08-30  John Levon  <levon@movementarian.org>
6113
6114         * Makefile.am: fix dist (from Kayvan)
6115
6116 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6117
6118         * most files: change to use const Buffer refs
6119
6120 2003-08-27  André Pönitz  <poenitz@gmx.net>
6121
6122         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6123         on top of ownerPar().
6124
6125 2003-08-27  John Levon  <levon@movementarian.org>
6126
6127         * funcrequest.C: properly initialise POD members
6128
6129 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6130
6131         * lyxtext.h (top_y): move top_y from here
6132         * text.C:
6133         * text2.C:
6134         * text3.C:
6135         * BufferView.[Ch]:
6136         * BufferView_pimpl.[Ch]: to here
6137         * frontends/screen.C:
6138         * insets/insettabular.C:
6139         * insets/insettext.C: adjust
6140         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6141
6142 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6143
6144         * BufferView.[Ch]:
6145         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6146
6147 2003-08-26  André Pönitz  <poenitz@gmx.net>
6148
6149         * paragraph_func.[Ch] (outerPar): new function
6150
6151         * paragraph.C:
6152         * paragraph_funcs.C:
6153         * paragraph_funcs.h:
6154         * paragraph_pimpl.C:
6155         * text2.C: remove Inset::par_owner
6156
6157 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6158
6159         * lyxrow_funcs.C:
6160         * lyxtext.h:
6161         * text.C:
6162         * text2.C: eliminates the needFullRow/display() stuff
6163         altogether, putting the logic in metrics/draw in the insets.
6164
6165 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6166
6167         * text2.C (redoParagraphInternal, redoParagraphs):
6168         * text.C (redoParagraph): add a call to updateRowPositions at the
6169         end of each 'metrics-like' call. Remove all others.
6170         (getRow): remove the 'y-computing' version.
6171         (getRowNearY): do not compute nor return the real y. Solve the
6172         'y < 0' problem and simplify.
6173
6174 2003-08-22  Angus Leeming  <leeming@lyx.org>
6175
6176         * *.[Ch]: clean-up of licence and author blurbs.
6177         Also move config.h out of a few .h files and into a few .C files.
6178
6179 2003-08-22  André Pönitz  <poenitz@gmx.net>
6180
6181         * lyxrow.[Ch]: add x_ and *fill_ members
6182
6183         * lyxtext.h:
6184         * text.C:
6185         * rowpainter.C:
6186         * text2.C: adjust/remove prepareToPrint() calls
6187
6188 2003-08-22  André Pönitz  <poenitz@gmx.net>
6189
6190         * lyxrow.[Ch]: add  end_ member
6191
6192         * lyxrow_funcs.C: use LyXRow::end_
6193
6194         * lyxtext.h (singleWidth): add LyXFont parameter
6195
6196         * rowpainter.C:
6197         * text2.C: adjust LyXText::singleWidth() calls
6198
6199         * text.C (redoParagraph): simplify row breaking logic
6200
6201
6202 2003-08-19  André Pönitz  <poenitz@gmx.net>
6203
6204         * funcrequest.C: initialize button_ member
6205
6206         * text3.C:
6207         * rowpainter.[Ch]: interface consolidation
6208
6209 2003-08-18  André Pönitz  <poenitz@gmx.net>
6210
6211         * BufferView.C:
6212         * BufferView_pimpl.C:
6213         * lyxfind.C:
6214         * paragraph_funcs.C:
6215         * rowpainter.C:
6216         * text3.C: remove LyXScreen::draw() and fitCursor calls
6217
6218         * BranchList.h: remove spurious semicolons
6219
6220         * MenuBackend.C: fix branchlist related crash
6221
6222 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6223
6224         * BranchList.[Ch]:
6225         * InsetList.[Ch]:
6226         * LColor.[Ch]:
6227         * LyXAction.C:
6228         * Makefile.am:
6229         * MenuBackend.[Ch]:
6230         * bufferparams.[Ch]:
6231         * factory.C:
6232         * lfuns.h:
6233         * lyxfunc.C:
6234         * text3.C: implements the 'branch inset'
6235         idea. This allows the output of various versions of a document
6236         from a single source version, selectively outputing or suppressing
6237         output of parts of the text.
6238         This implementation contains a 'branch list editor' in a separate
6239         tab of the document settings dialog. Branches are user definable
6240         and have a "display colour" to distinguish them on-screen.
6241
6242         ColorHandler was somewhat cleaned up.
6243         (1) make possible a dynamically growing LColor list by allowing
6244         the graphic context cache to grow along (vector);
6245         (2) eliminate an IMHO unnecessary step in colour allocation.
6246
6247 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6248
6249         * BufferView_pimpl.C: compile fix
6250
6251 2003-08-15  André Pönitz  <poenitz@gmx.net>
6252
6253         * rowpainter.C: remove extra metrics calls
6254
6255         * lyxtext.h: merge the two constructors into a single one,
6256           pass reference to owner's par list
6257
6258         * BufferView_pimpl.C:
6259         * text.C:
6260         * text2.C: adjust
6261
6262 2003-08-15  André Pönitz  <poenitz@gmx.net>
6263
6264         * lyxrow_funcs.[Ch]:
6265         * lyxtext.h:
6266         * paragraph.h:
6267         * paragraph_funcs.C:
6268         * rowpainter.C:
6269         * text.C:
6270         * text2.C:
6271         * text3.C:
6272         * text_funcs.C: split LyXText::rowlist_ into individual
6273         Paragraph::rows_ chunks
6274
6275         * BufferView.[Ch]:
6276         * BufferView_pimpl.[Ch]:
6277         * lyxfind.C:
6278         * lyxtext.h:
6279         * text3.C: remove toggleSelection()
6280
6281 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6282
6283         * bufferlist.C: beautify two alerts (shorter text of buttons)
6284         * buffer.C: Remove redundant ' ' from message
6285         * tabular.h:
6286         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6287         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6288         rename VALIGN_CENTER to VALIGN_MIDDLE
6289
6290 2003-08-11  André Pönitz  <poenitz@gmx.net>
6291
6292         * lyxtext.h (getPar):
6293         * text.C: new function
6294
6295 2003-08-11  André Pönitz  <poenitz@gmx.net>
6296
6297         * Makefile.am:
6298         * tracer.[Ch]: remove unneeded files
6299
6300         * InsetList.[Ch]: remove resizeInsetsLyXText()
6301
6302         * lyxtext.h:
6303         * text.C:
6304         * text2.C:
6305         * text3.C: merge insertParagraphs() and appendParagraph()
6306         remove breakAgain(), update()
6307
6308         * BufferView_pimpl.[Ch]:
6309         * bufferview_funcs.[Ch]:
6310         * lyxfunc.C:
6311         * paragraph.[Ch]:
6312         * rowpainter.C:
6313         * tabular.C: adjust after text & InsetList changes.
6314
6315 2003-08-08  André Pönitz  <poenitz@gmx.net>
6316
6317         * text.C (insertChar, backspace): replace rowlist fiddling
6318         with rebreak of full par
6319
6320         * lyxtext.h:
6321         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6322         checkParagraph, updateInset): removed
6323
6324 2003-08-07  André Pönitz  <poenitz@gmx.net>
6325
6326         * paragraph.C:
6327         * text3.C: merge some LFUN handlers, remove dead code
6328
6329 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6330
6331         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6332
6333 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6334
6335         * text2.C (DEPM): fix part of bug 1255 and 1256
6336
6337 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6338
6339         * BufferView_pimpl.C (workAreaDispatch): change to use
6340         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6341         that are no mouse related.
6342
6343 2003-08-05  André Pönitz  <poenitz@gmx.net>
6344
6345         * BufferView.[Ch]:
6346         * BufferView_pimpl.[Ch]:
6347         * bufferview_funcs.C:
6348         * text2.C:
6349         * text3.C: rip out "deep update"
6350
6351         * textcursor.[Ch] (last_sel_cursor): remove unused member
6352
6353 2003-08-04  André Pönitz  <poenitz@gmx.net>
6354
6355         * BufferView.[Ch]:
6356         * BufferView_pimpl.[Ch]:
6357         * ParagraphParameters.C:
6358         * bufferview_funcs.C:
6359         * lyx_cb.C:
6360         * lyxfind.C:
6361         * lyxfunc.C:
6362         * text.C:
6363         * text2.C:
6364         * text3.C: replace "complicated" BufferView::update(...) calls with
6365         simpler ones.
6366
6367         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6368
6369 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6370
6371         * Makefile.am (lyx_SOURCES): add paper.h
6372
6373 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6374
6375         * Makefile.am: move things around so that both lyx-qt and
6376         lyx-xforms can be built (according to --with-frontend). Then lyx
6377         is a symbolic link to lyx-[firstfrontend]
6378
6379 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6380
6381         * Always use std::endl with lyxerr
6382
6383 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6384
6385         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6386
6387 2003-08-01  André Pönitz  <poenitz@gmx.net>
6388
6389         * BufferView.[Ch]:
6390         * BufferView_pimpl.[Ch]:
6391         * lyxfunc.C:
6392         * text3.C: merge BufferView::repaint() and BufferView::update()
6393
6394 2003-08-01  José Matos  <jamatos@lyx.org>
6395
6396         * buffer.[Ch]: file_format is no longer a buffer data element.
6397
6398 2003-08-01  André Pönitz  <poenitz@gmx.net>
6399
6400         * BufferView.C:
6401         * lyxtext.h:
6402         * text.C:
6403         * text2.C: make redoParagraph more independent of current cursor
6404
6405         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6406         * text.C:
6407         * text2.C: remove unneeded members
6408
6409 2003-07-30  André Pönitz  <poenitz@gmx.net>
6410
6411         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6412
6413         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6414           create a single function...
6415
6416         * paragraph_funcs.C (moveItem): ... here.
6417
6418         * text.C:
6419           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6420
6421 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6422
6423         * LColor.[Ch]: Add comment and greyedout logical colors.
6424
6425 2003-07-30  André Pönitz  <poenitz@gmx.net>
6426
6427         * tabular.C: don't use Assert too heavily. This crashes where it
6428           shouldn't
6429
6430 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6431
6432         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6433         is disabled (bug 1232)
6434
6435 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6436
6437         * factory.C: limited 'arg' scope
6438
6439 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6440
6441         * factory.C: fixed Note submenu issues
6442
6443 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6444
6445         * factory.C: submenu for Note/Comment/Greyedout
6446
6447 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6448
6449         * lyx_main.C (LyX):
6450         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6451
6452 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6453
6454         * LaTeXFeatures.C:
6455         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6456         greyedout. Patch provided by Jürgen Spitzmüller.
6457
6458 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6459
6460         * kbmap.C (read): fix error message when reading bind files
6461
6462 2003-07-29  Angus Leeming  <leeming@lyx.org>
6463
6464         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6465         certainly does not do what it purports to do. I am doing it, and
6466         us, a favour by killing it.
6467
6468 2003-07-28  José Matos  <jamatos@lyx.org>
6469
6470         * buffer.C (readBody, do_writeFile):
6471         * paragraph.C(readParagraph): \end_document replaces \the_end.
6472
6473 2003-07-29  André Pönitz  <poenitz@gmx.net>
6474
6475         * BufferView.[Ch]:
6476         * BufferView_pimpl.[Ch]:
6477         * lyxfunc.C:
6478         * text2.C:
6479         * text3.C:
6480         * textcursor.[Ch]: remove toggleToggle & Co
6481
6482 2003-07-28  José Matos  <jamatos@fep.up.pt>
6483
6484         * buffer.C (readParagraph):
6485         * params_func (readParToken, readParagraph):
6486         * paragraph.C (write): \layout -> \begin_layout.
6487
6488 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6489
6490         * lyxlex_pimpl.C (setFile): clean up slightly.
6491
6492         * bufferparams.h: add compressed var
6493
6494         * buffer_funcs.C (readFile): adjust for LyXLex change
6495         (newFile): ditto + simplify
6496
6497         * buffer.C (writeFile): handle writing of compressed files
6498
6499         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6500         Check if the file is compressed and set a bufferparm if so.
6501
6502         * Makefile.am (lyx_LDADD): remove explicit -lz
6503
6504 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6505
6506         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6507         makeDocBookFile): put the real LyX version in the first line of
6508         the file
6509
6510         * version.h:
6511         * version.C.in: remove lyx_docversion
6512
6513         * tabular.C (write_attribute): add a template-based version to
6514         write enums properly
6515
6516 2003-07-28  André Pönitz  <poenitz@gmx.net>
6517
6518         * lyxtext.h:
6519         * text.C:
6520         * text2.C:
6521         * text3.C: use doubles again for x-coordinates. They are needed.
6522
6523 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6524
6525         * messages.C (getLocaleDir): use lyx_localedir()
6526
6527         * lyxlex_pimpl.C (setFile): compress stuff
6528
6529         * buffer.C (writeFile): add some compression stuff
6530         (do_writeFile): new func, dont call expliti close... will this
6531         breake anything?
6532
6533         * Makefile.am (lyx_LDADD): add -lz
6534
6535 2003-07-28  José Matos  <jamatos@fep.up.pt>
6536
6537         * buffer.C: increment file format.
6538         * paragraph_funcs (readParagraph, readParToken):
6539         * paragraph.C (readParagraph): add \end_layout.
6540
6541 2003-07-27  Angus Leeming  <leeming@lyx.org>
6542
6543         * Makefile.am: remove special casing for configure-time setting of
6544         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6545
6546         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6547         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6548
6549 2003-07-26  André Pönitz  <poenitz@gmx.net>
6550
6551         * paragraph_func.[Ch]:
6552         * paragraph.C (realizeFont): inline it whereever it is used
6553
6554         * rowpainter.C:
6555         * text.C:
6556         * text2.C:
6557         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6558
6559
6560 2003-07-26  André Pönitz  <poenitz@gmx.net>
6561
6562         *       lyxtext.h:
6563         * text.C:
6564         * text2.C: get rid of LyXText::need_break_row
6565
6566 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6567
6568         * toc.[Ch]: put namespace toc inside namespace lyx
6569
6570         * MenuBackend.C (expandToc2): adjust for lyx::toc
6571         (expandToc): ditto
6572
6573         * lyxfunc.C (dispatch): adjust for lyx::find
6574
6575         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6576         lyx::find instead. Reorganize a bit.
6577         (LyXReplace): rename to replace
6578         (LyXFind): rename to find
6579
6580         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6581         (dispatch): ditto
6582
6583 2003-07-26  André Pönitz  <poenitz@gmx.net>
6584
6585         * text.C (setHeightOfRow): restrict scope of temporary variable
6586
6587         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6588           code (never has been used?)
6589
6590 2003-07-27  Asger Alstrup  <alstrup@local>
6591
6592         * text.C (fill): Optimise algorithm to exploit that we can reuse
6593         the LyXFont for many characters.
6594         (setHeightOfRow): Same thing.
6595         (rowBreakPoint): Same thing.
6596
6597 2003-07-26  Asger Alstrup  <alstrup@local>
6598
6599         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6600
6601         * text.C (singleWidth): Spurious font copying in hot-spot
6602         singleWidth avoided. Reorder tests for arabic for efficiency.
6603
6604         * text.C (fill): handle empty paragraphs better.
6605
6606 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6607
6608         * ispell.C:
6609         * encoding.h: add includes
6610
6611         * lyxrc.C: remove reading of bind files
6612
6613         * lyx_main.C (init): setup bindings and menus only if we have a
6614         gui.
6615
6616         * kbmap.C (read): new method. Do the actual reading of bind
6617         files.
6618
6619         * converter.C (dvipdfm_options):
6620         * bufferparams.C:
6621         * lyxrc.C (read):
6622         (output): adapt PAPER_* enums.
6623
6624         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6625
6626         * bufferparams.h: remove paper-related enums from there
6627
6628         * paper.h: New file. A trivial header file to hold paper-related
6629         enums. It should later expand to contain many paper-related
6630         horrors access.
6631
6632         * lyxrc.C: declare extern displayTranslator
6633
6634 2003-07-27  José Matos  <jamatos@fep.up.pt>
6635
6636         * tabular.[Ch] (linuxdoc): add support for tables and figures
6637         (linuxdoc).
6638
6639 2003-07-27  José Matos  <jamatos@fep.up.pt>
6640
6641         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6642         consistency in both functions.
6643         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6644
6645 2003-07-26  Asger Alstrup  <alstrup@local>
6646
6647         * rowpainter.C (paintRows): Change algorithm to work directly on
6648         the insets rather than asking every character in the document
6649         whether its an inset.
6650
6651 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6652
6653         * buffer.C (openFileWrite): factorize some code
6654
6655 2003-07-26  Angus Leeming  <leeming@lyx.org>
6656
6657         * lyx_cb.C:
6658         * lyx_main.[Ch]: replace occurances of system_tempdir with
6659         os::getTmpDir().
6660
6661 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6662
6663         * rename Inset to InsetOld
6664
6665 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6666
6667         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6668         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6669         which I think is a bit clearer. EDIT is gone, since it was
6670         premature optimisation, and broken for mathed anyway.
6671         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6672         with cursor positioning in insets as well (math insets still do not
6673         work, but that's a different story anyway.) It mysteriously
6674         crashes sometimes with undo in the first paragraph, but I'm fairly
6675         confident that this is a compiler bug.
6676
6677 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6678
6679         * paragraph.C (Paragraph): adjust for new clone return type
6680         (operator==): ditto
6681         (copyIntoMinibuffer): ditto
6682
6683 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6684
6685         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6686         by not having a special case, and always doing a full rebreak of
6687         the document after undo.
6688
6689 2003-07-23  Angus Leeming  <leeming@lyx.org>
6690
6691         * factory.C (createInset): InsetExternal::setParams now takes a
6692         Buffer const * arg.
6693
6694 2003-07-23  Angus Leeming  <leeming@lyx.org>
6695
6696         * factory.C (createInset): changed interface to the external and
6697         graphics mailers' string2params functions.
6698
6699 2003-07-23  Angus Leeming  <leeming@lyx.org>
6700
6701         * factory.C (createInset): pass a
6702         Buffer const * parameter to InsetExternalMailer's string2params.
6703
6704 2003-07-22  John Levon  <levon@movementarian.org>
6705
6706         * Thesaurus.h: include the right aiksaurus header
6707
6708 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6709
6710         * MenuBackend.C (expand): check menu shortcuts unconditionally
6711
6712 2003-07-21  Angus Leeming  <leeming@lyx.org>
6713
6714         * factory.C (createInset): pass a
6715         buffer_path parameter to InsetGraphicsMailer's string2params.
6716
6717 2003-07-21  Angus Leeming  <leeming@lyx.org>
6718
6719         * BufferView_pimpl.C (buffer):
6720         * buffer.C (d-tor):
6721         * lyx_main.C (LyX):
6722         * lyxfunc.C (dispatch):
6723         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6724         rather than the grfx shortcut.
6725
6726 2003-07-21  André Pönitz  <poenitz@gmx.net>
6727
6728         * rowpainter.C: remove unused variables
6729
6730         * tabular_funcs.C:
6731         * tabular_funcs.h: move to tabular.C
6732         * Makefile.am: adjust
6733
6734         * tabular.[Ch]: basic optical cleaning
6735
6736         * author.h: pass references, not values
6737
6738 2003-07-18  André Pönitz  <poenitz@gmx.net>
6739
6740         * lyxtext.h:
6741         * metricsinfo.C:
6742         * metricsinfo.h:
6743         * rowpainter.C:
6744         * text.C:
6745         * text2.C:
6746         * text3.C: two-phase drawing for InsetText and InsetTabular
6747         some float -> int changes.
6748
6749 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6750
6751         * lyx_main.C: fix the fix
6752
6753 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6754
6755         * lyx_main.C: fix a crash in batch mode if no files specified
6756         * converter.C: ws
6757
6758 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6759
6760         * format.[Ch] (papersize): moved to BufferParams
6761         * converter.[Ch] (dvips_options): moved to BufferParams
6762         (dvipdfm_options): moved to anon namespace
6763         * bufferparams.[Ch]: added above functions.
6764
6765 2003-07-17  André Pönitz  <poenitz@gmx.net>
6766
6767         * lyxtext.h:
6768         * rowpainter.C:
6769         * text2.C: don't call inset->update() anymore
6770
6771         * metricsinfo.[Ch]: add convenience constructor
6772
6773 2003-07-16  André Pönitz  <poenitz@gmx.net>
6774
6775         * lyxcursor.[Ch]:
6776         * lyxfunc.[Ch]:
6777         * text.C:
6778         * text2.C: replace the LyXCursor::irow_ member with
6779          on-demand computation of the value
6780
6781 2003-07-16  John Levon  <levon@movementarian.org>
6782
6783         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6784
6785 2003-07-15  André Pönitz  <poenitz@gmx.net>
6786
6787         * text.C:
6788         * text2.C: remove no more needed refresh_row
6789
6790 2003-07-15  André Pönitz  <poenitz@gmx.net>
6791
6792         * lyxtext.h:
6793         * rowpainter.C:
6794         * text2.C:
6795         * text3.C: refresh_status tristate -> need_update bool
6796
6797 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6798
6799         * lyxtext.h (init): remove reinit argument (act as if always true)
6800         * text2.C: adjust to that
6801
6802 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6803
6804         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6805         * text3.C: use it to delete selections in some cases
6806         (bugs 441, 673, 702, 954).
6807
6808 2003-07-14  André Pönitz  <poenitz@gmx.net>
6809
6810         * rowpainter.[Ch]: reduce interface
6811
6812 2003-07-14  André Pönitz  <poenitz@gmx.net>
6813
6814         * BufferView_pimpl.C:
6815         * text2.C: adjust after removing unused BufferView * argument
6816
6817 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6818
6819         * text2.C (init): fix a crash fired on resize
6820
6821 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6822
6823         * buffer.[Ch]: added new closing signal
6824         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6825         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6826         BufferView::Pimpl via the closing the signal
6827
6828 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6829
6830         * buffer.[Ch]: take out all bv-related from buffer
6831         * BufferView.C:
6832         * BufferView_pimpl.[Ch]: connect to new signals
6833         * CutAndPaste.C: removed useless asserts
6834         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6835         * lyxvc.[Ch]:
6836         * vc-backend.[Ch]:
6837         * lyxfunc.C: moved view-related funciontality from vc here
6838         * paragraph.C: removed outdated comments
6839         * text.C: ws
6840
6841 2003-07-10  André Pönitz  <poenitz@gmx.net>
6842
6843         * BufferView_pimpl.C:
6844         * tabular.h:
6845         * tabular_funcs.C:
6846         * text.C:
6847         * text2.C: remove InsetText::InnerCache, clean up consequences
6848
6849 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6850
6851         * ispell.C: fix two typos in error messages
6852
6853 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6854
6855         * Extend Note inset to other forms of annotation like Comment
6856         and Greyedout. Right button click gives dialog.
6857
6858         Files modified or added (+):
6859
6860         * insetnote.[Ch]
6861         * FormNote.[Ch]      +
6862         * ControlNote.[Ch]   +
6863         * form_note.fd       +
6864         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6865         frontends/controllers
6866         * xforms/Dialogs.C
6867         * factory.C
6868
6869 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6870
6871         * aspell.C: add missing namespace lyx::support
6872
6873 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6874
6875         * BufferView.[Ch] (newFile): Add
6876         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6877         * LaTeX.[Ch] (message): added this signal and use it
6878         * buffer.[Ch] (busy, message): added these signals and use them
6879         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6880         * converter.C:
6881         * exporter.C:
6882         * format.C:
6883         * importer.C: use buffer signals instead of direct bv calling
6884         * lyx_cb.[Ch] (ShowMessage): removed
6885         * lyx_main.C:
6886         * lyxfunc.C:
6887         * paragraph_funcs.C:
6888         * text2.C: use buffer signals
6889
6890 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6891
6892         * introduce namespace lyx::graphics
6893
6894 2003-07-02  André Pönitz  <poenitz@gmx.net>
6895
6896         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6897
6898 2003-07-01  André Pönitz  <poenitz@gmx.net>
6899
6900         * text.C:
6901         * text2.C:
6902         * text3.C:
6903         * text_funcs.[Ch]:
6904         * textcursor.h:
6905         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6906           text*.C to text_func.C
6907
6908 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6909
6910         * introduce namespace lyx::support
6911
6912 2003-06-30  André Pönitz  <poenitz@gmx.net>
6913
6914         * Chktex.C:
6915         * funcrequest.C:
6916         * lyxtext.h:
6917         * text.C: re-enable --with-included-string
6918
6919 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6920
6921         * textcursor.C: add <config.h>
6922
6923         * text.C (getWord): remove const from word_location arg
6924
6925         * lyxvc.C (getLogFile): fix const type order
6926
6927         * lyxtext.h: remove const from word_location arg, add arg name
6928
6929         * lyxlayout.h: currect type on labeltype.
6930
6931         * importer.C: correct \file
6932
6933         * converter.C (intToFormat): use std:: on ret val, ws changes
6934
6935         * bufferlist.h: correct \file
6936
6937         * buffer.C (makeLinuxDocFile): fix const type order
6938         (makeDocBookFile): ditto
6939         (fillWithBibKeys): use std:: on stdlib args.
6940
6941         * CutAndPaste.C: fix authors.
6942         (availableSelections): use std:: on return vector
6943
6944 2003-06-27  André Pönitz  <poenitz@gmx.net>
6945
6946         * BufferView_pimpl.C:
6947         * bufferview_funcs.C:
6948         * lyxcursor.C:
6949         * lyxcursor.h:
6950         * lyxfunc.C:
6951         * lyxtext.h:
6952         * rowpainter.C:
6953         * text.C:
6954         * text2.C:
6955         * text3.C: remove LyXCursor::row_ member
6956
6957         * lyxtext.h:
6958         * text.C: rename fullRebreak() to partialRebreak() and implement
6959           a fullRebreak() that really bereks fully
6960
6961         * textcursor.h: new struct for cursor-related data
6962
6963 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6964
6965         * lyx_main.C (LyX): get full path of document loaded on the
6966         command line
6967
6968 2003-06-26  André Pönitz  <poenitz@gmx.net>
6969
6970         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6971           remove unused/broken operator>,<,>=.
6972
6973         *       text.C: remove only use of broken operator<= in an Assert().
6974
6975 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6976
6977         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6978         moved errorlist_.clear to showErrorList
6979
6980 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6981
6982         * converter.C (scanLog, runLaTeX):
6983         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6984         move the bv->showErrorList call to the callers
6985         * lyxfunc.C: i.e. here...
6986         * text2.C: and here
6987         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6988         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6989         namespace, the second to...
6990         * buffer_funcs (BufferFormat, parseErrors): added
6991         * errorlist.C (ErrorList(TeXErrors const &)): removed
6992
6993 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6994
6995         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6996
6997 2003-06-24  "Garst R. Reese" <reese@isn.net>
6998
6999         * debug.C: fix typo
7000
7001 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7002
7003         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7004
7005         * version.C.in: change docversion to 1.4
7006
7007 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7008
7009         * buffer.C: fix a bug just introduced
7010
7011 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7012
7013         * buffer.[Ch]: added the parseError signal and use it, removed
7014         sgmlError
7015         * BufferView.[Ch] (addError): moved to ...
7016         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7017         to the Buffer::parseError signal to catch (guess what) parse errors
7018         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7019
7020 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7021
7022         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7023         ability to create a buffer and to return an existing one from
7024         the list. Moved these functions to...
7025         * buffer_funcs.[Ch]: added
7026         * BufferView.[Ch] (loadLyXFile): added
7027         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7028         job removed from bufferlist::loadLyXFile.
7029         * buffer.C (setReadOnly): make it work without view
7030         (i.e added an if (users))
7031
7032 2003-06-19  Angus Leeming  <leeming@lyx.org>
7033
7034         * lfuns.h:
7035         * LyXAction.C (init):
7036         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7037         with LFUN_DIALOG_SHOW <name> <data>.
7038
7039 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7040
7041         * CutAndPaste.C (availableSelections): small compilation fix for
7042         ancient (gcc 2.9x) compilers
7043
7044 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7045
7046         * text3.C (cursorNext): add tmp var
7047
7048         * text2.C (updateCounters): for function calling out of for clause
7049         (replaceSelectionWithString): ditto
7050         (insertStringAsParagraphs): ditto
7051         (getColumnNearX): add tmp var
7052         (setCursorFromCoordinates): add tmp var
7053         (cursorDownParagraph): add tmp var
7054         (deleteEmptyParagraphMechanism): add tmp var
7055
7056         * text.C (insertChar): add tmp var
7057
7058         * rowpainter.C (paintDepthBar): add tmp var
7059
7060         * CutAndPaste.C (availableSelections): potentially check all
7061         paragraphs in a cut to fill the shown strings.
7062
7063 2003-06-18  André Pönitz  <poenitz@gmx.net>
7064
7065         * kbmap.[Ch]: use vector<> instead of list<>
7066
7067 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7068
7069         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7070         pasteSelection with index
7071
7072         * text2.C (pasteSelection): modify, call pasteSelection with index
7073
7074         * paragraph.C (asString): reimplement version with no interval to
7075         call the one with interval.
7076
7077         * lyxtext.h: add index arg to pasteSelection
7078
7079         * MenuBackend.C (MenuItem): handle PasteRecent
7080         (Menu::read::Menutags): add md_pasterecent
7081         (read): handle it
7082         (expandPasteRecent): new function
7083         (expand): use it
7084
7085         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7086
7087         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7088         the limited stack
7089         (availableSelections): new function
7090
7091 2003-06-17  Angus Leeming  <leeming@lyx.org>
7092
7093         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7094
7095 2003-06-17  Angus Leeming  <leeming@lyx.org>
7096
7097         * lfuns.h:
7098         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7099
7100         * lyxfunc.C (dispatch): invoke it.
7101
7102 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7103
7104         * iterators.C (operator++, ParPosition): reintroduce some
7105         const_cast for the benefit of older compilers.
7106
7107 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7108
7109         * text3.C (dispatch): do not modify clipboard when doing
7110         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7111         LFUN_DELETE_SKIP on a selection selection
7112
7113 2003-06-16  André Pönitz  <poenitz@gmx.net>
7114
7115         * BufferView.C:
7116         * buffer.C:
7117         * buffer.h:
7118         * paragraph.C:
7119         * tabular.[Ch]: IU of clone() and getLabelList();
7120
7121 2003-06-13  André Pönitz  <poenitz@gmx.net>
7122
7123         * tabular.h: compactification
7124
7125 2003-06-12  André Pönitz  <poenitz@gmx.net>
7126
7127         * tabular.C:
7128         * tabular.h:
7129         * tabular_funcs.h: some renaming plus whitespace
7130
7131 2003-06-12  André Pönitz  <poenitz@gmx.net>
7132
7133         * BufferView.C:
7134         * BufferView_pimpl.C:
7135         * CutAndPaste.C:
7136         * buffer.C:
7137         * iterators.[Ch]:
7138         * lyxfunc.C:
7139         * text.C:
7140         * toc.C: Return a Paragraph & for ParIterator::operator*()
7141
7142 2003-06-11  John Levon  <levon@movementarian.org>
7143
7144         * lyx_main.C:
7145         * ToolbarBackend.h:
7146         * ToolbarBackend.C: add "Toolbars" section and
7147         put the flags there
7148
7149 2003-06-10  Angus Leeming  <leeming@lyx.org>
7150
7151         * lfuns.h:
7152         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7153
7154         * lyxfunc.C (dispatch): invoke it.
7155
7156 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7157
7158         * main.C: protect <ios> with HAVE_IOS
7159         (main): protect sync_with_stdio with HAVE_IOS
7160
7161 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7162
7163         * text2.C (cutSelection): adjust
7164         (pasteSelection): adjust
7165
7166         * messages.C: handle get of empty string
7167
7168         * main.C (main): use sync_with_stdio(false)
7169
7170         * lyxfunc.C (dispatch): adjust
7171
7172         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7173         (WriteAs): remove unneeded BufferView arg.
7174
7175         * bufferparams.h: use correct types on papersize, papersize2 and
7176         paperpackage.
7177
7178         * bufferparams.C (readToken): adjust for type
7179         (writeLaTeX): add missing cases to switch.
7180
7181         * bufferlist.C (quitWriteBuffer): adjust
7182         (close): adjust
7183
7184         * buffer.C (asciiParagraph): remove some commented code.
7185
7186         * CutAndPaste.C: remove current_view extern variable.
7187         (cutSelection): add BufferParams arg.
7188         (eraseSelection): add BufferParams arg.
7189         (pasteSelection): add Buffer const & arg
7190
7191 2003-06-07  John Levon  <levon@movementarian.org>
7192
7193         * buffer.C:
7194         * paragraph_funcs.C:
7195         * paragraph_pimpl.C:
7196         * text.C:
7197         * text2.C:
7198         * paragraph.h:
7199         * paragraph.C: allow InsetERT to freely space lines,
7200         and some consolidation of code
7201
7202 2003-06-06  José Matos  <jamatos@fep.up.pt>
7203
7204         * buffer.C (makeDocBookFile): fix bug #821
7205
7206 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7207
7208         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7209
7210 2003-06-04  Angus Leeming  <leeming@lyx.org>
7211
7212         * buffer.C: bump format to 224.
7213
7214 2003-06-05  André Pönitz  <poenitz@gmx.net>
7215
7216         * text2.C (redoParagraphs): remove two const_cast<>
7217
7218 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7219
7220         * ParagraphList.h: remove last remnants of NO_STD_LIST
7221
7222 2003-06-03  Angus Leeming  <leeming@lyx.org>
7223
7224         * factory.C (createInset): small change to the way InsetExternal's params
7225         are set.
7226
7227 2003-06-04  André Pönitz  <poenitz@gmx.net>
7228
7229         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7230
7231         * paragraph_pimpl.h:
7232         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7233
7234         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7235
7236         * undo_funcs.C: make some simple cases of undo work again
7237
7238 2003-06-03  John Levon  <levon@movementarian.org>
7239
7240         * ispell.C: HPUX doesn't have sys/select.h
7241         (from Albert Chin)
7242
7243 2003-06-03  John Levon  <levon@movementarian.org>
7244
7245         * CutAndPaste.C: update tabular and include inset
7246         buffer references
7247
7248         * buffer.h:
7249         * paragraph.h:
7250         * paragraph.C: remove owningBuffer(), don't pass Buffer
7251         to clone()
7252
7253         * factory.C: insetGraphicsParams changed
7254
7255 2003-06-02  John Levon  <levon@movementarian.org>
7256
7257         * LyXAction.C:
7258         * factory.C:
7259         * lfuns.h:
7260         * lyxfunc.C:
7261         * text3.C: remove insetparent
7262
7263 2003-06-02  John Levon  <levon@movementarian.org>
7264
7265         * buffer.h:
7266         * buffer.C: fix inset_iterator.end(), move out of line
7267         (bug 1149)
7268
7269 2003-06-01  John Levon  <levon@movementarian.org>
7270
7271         * text3.C: use a proper cut/paste when doing inset
7272         insert (from Jürgen Spitzmüller)
7273
7274 2003-06-01  John Levon  <levon@movementarian.org>
7275
7276         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7277
7278 2003-05-30  André Pönitz  <poenitz@gmx.net>
7279
7280         * rowpainter.C: unify second drawing phase
7281
7282 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7283
7284         * trans_mgr.C: remove one case of current_view
7285
7286         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7287
7288         * paragraph_funcs.h: remove paragraph.h include
7289
7290         * paragraph.h: delete NO_STD_LIST stuff
7291
7292         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7293
7294         * buffer.h: remove paragraph.h include
7295
7296         * ParagraphList.C: delete file
7297
7298         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7299
7300         * toc.C (getTocList): adjust
7301
7302         * paragraph_pimpl.C (validate): adjust
7303
7304         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7305
7306         * paragraph.C (Paragraph): adjust
7307         (getPositionOfInset): use const_iterator, adjust
7308         (bibitem): use const_iterator, adjust
7309         (setInsetOwner): adjust
7310
7311         * iterators.C (operator++): adjust
7312
7313         * InsetList.[Ch]: Replace selfmade iterator with standard
7314         vector::iterator also introduce const_iterator. Remove getPos,
7315         getInset and setInset from InsetTable. Adjust accordingly.
7316
7317         * BufferView.C (lockInset): adjust
7318         (ChangeInsets): adjust
7319
7320         * tabular.[Ch]: delete commented same_id functions
7321
7322 2003-05-28  John Levon  <levon@movementarian.org>
7323
7324         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7325
7326 2003-05-28  André Pönitz  <poenitz@gmx.net>
7327
7328         * metricsinfo.[Ch]: remove 'fullredraw' member
7329
7330 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7331
7332         * lyxtextclass.C (operator): remove caching.
7333
7334 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7335
7336         * text3.C: adjust
7337
7338         * text2.C (cursorBottom): adjust
7339         (setCounter): use ParagraphList::find, adjust
7340
7341         * text.C (workWidth): use ParagraphList::find, adjust
7342
7343         * lyxcursor.C (LyXCursor): adjust
7344
7345         * buffer.C (inset_iterator): adjust
7346
7347         * ParagraphList.h: make iterator(value_type) private, make
7348         ParagraphList a friend of iterator.
7349
7350         * ParagraphList.C (find): new function
7351
7352         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7353
7354 2003-05-27  André Pönitz  <poenitz@gmx.net>
7355
7356         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7357
7358 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7359
7360         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7361
7362 2003-05-26  John Levon  <levon@movementarian.org>
7363
7364         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7365
7366 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7367
7368         * remove same_id from function signatures, adjust.
7369
7370 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7371
7372         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7373
7374         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7375
7376         * paragraph.C (Paragraph): get rid of same_ids parameter
7377
7378         * ParagraphList.C (insert): adjust
7379         (push_back): adjust
7380
7381 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7382
7383         * paragraph_funcs.C (breakParagraph): adjust
7384         (breakParagraphConservative): adjust
7385
7386         * buffer.C (readParagraph): adjust
7387
7388         * ParagraphList.C (insert): take a reference instead of a pointer
7389         (insert): adjust
7390
7391         * paragraph.[Ch] (id): new function
7392
7393         * bufferlist.C (newFile): adjust
7394
7395         * ParagraphList.C (ParagraphList): adjust
7396         (assign): adjust
7397         (push_back): take a reference instead of a pointer.
7398
7399         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7400
7401         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7402         instead.
7403
7404         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7405         set else use old code.
7406
7407         * ParagraphList.C: remove all NO_NEXT code and only compile this
7408         code of NO_STD_LIST is set.
7409
7410 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7411
7412         * BufferView_pimpl.C:
7413         * TextCache.C:
7414         * TextCache.h:
7415         * bufferlist.C:
7416         * errorlist.h:
7417         * format.C:
7418         * format.h:
7419         * graph.C:
7420         * lyxfunc.C:
7421         * lyxrc.C:
7422         * graphics/GraphicsConverter.C:
7423         * graphics/PreviewLoader.C: header adjustment
7424
7425 2003-05-23  Angus Leeming  <leeming@lyx.org>
7426
7427         * LaTeXFeatures.[Ch] (useBabel): new method.
7428         * bufferparams.C (writeLaTeX): use it.
7429
7430 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7431
7432         * ParagraphList.h (set): remove unused function.
7433
7434 2003-05-23  André Pönitz  <poenitz@gmx.net>
7435
7436         * BufferView.C:
7437         * BufferView_pimpl.C:
7438         * buffer.C:
7439         * buffer.h:
7440         * lyxfunc.C:
7441         * undo_funcs.C: setUndo reworked
7442
7443         * iterators.[Ch]: add access to topmost ParagraphList
7444
7445         * lyxtext.[Ch] (workWidth): add a const
7446
7447 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7448
7449         * texrow.[Ch] (increasePos): remove function
7450         * exporter.C (export): removed unused var and outdated comment
7451
7452 2003-05-23  Angus Leeming  <leeming@lyx.org>
7453
7454         * latexrunparams.h: rename fragile as moving_arg.
7455         * paragraph.C (simpleTeXOnePar): ditto.
7456         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7457
7458 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7459
7460         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7461         (createUndo): ditto
7462         (textUndoOrRedo): comment out a currently unused var.
7463
7464         * paragraph.h (NO_NEXT): enable NO_NEXT
7465
7466         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7467
7468         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7469
7470         * exporter.C (Export): adjust for removeAutoInsets removal.
7471
7472         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7473
7474         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7475
7476         * BufferView.[Ch] (removeAutoInsets): delete function
7477
7478 2003-05-22  Angus Leeming  <leeming@lyx.org>
7479
7480         * latexrunparams.h: add a free_spacing variable.
7481
7482         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7483         to pass moving_arg, as the data is stored in runparams.fragile.
7484
7485         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7486         to Inset::latexOptional or to simpleTeXOnePar.
7487
7488         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7489         free_spacing arg to Inset::latexOptional.
7490
7491         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7492         free_spacing arg.
7493
7494 2003-05-22  Angus Leeming  <leeming@lyx.org>
7495
7496         * latexrunparams.h: add fragile and use_babel variables.
7497
7498         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7499         * buffer.C (makeLaTeXFile): store this returned value in
7500         runparams.use_babel, thus passing it to the inset::latex methods.
7501
7502         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7503         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7504
7505         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7506         longer has a fragile arg, as it is stored in runparams.fragile.
7507
7508         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7509         moving_arg parameter as the data is stored in runparams.fragile.
7510
7511         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7512         a fragile parameter as the data is stored in runparams.fragile.
7513
7514 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7515
7516         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7517
7518 2003-05-22  Angus Leeming  <leeming@lyx.org>
7519
7520         * latexrunparams.h: add a 'bool nice' which defaults to false.
7521
7522         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7523         now encapsulated within runparams.
7524
7525         * bufferlist.C (updateIncludedTeXfiles):
7526         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7527
7528 2003-05-22  Angus Leeming  <leeming@lyx.org>
7529
7530         * latexrunparams.h: new file containing struct LatexRunParams.
7531         * Makefile.am: add new file.
7532
7533         * LaTeX.[Ch] (c-tor, run):
7534         * buffer.[Ch] (makeLaTeXFile):
7535         * bufferlist.[Ch] (updateIncludedTeXfiles):
7536         * converter.C (convert, scanLog):
7537         * converter.[Ch] (runLaTeX):
7538         * exporter.C (Export):
7539         * paragraph.[Ch] (simpleTeXOnePar):
7540         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7541         * paragraph_funcs.[Ch] (latexParagraphs):
7542         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7543         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7544         pass around a LatexRunParams parameter.
7545
7546 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7547
7548         * paragraph.[Ch]: remove unused constructor
7549
7550         * ParagraphList.C (erase): new function, taking two iterators
7551
7552 2003-05-22  André Pönitz  <poenitz@gmx.net>
7553
7554         * undo_funcs.C: remove duplicated code
7555
7556         * iterator.[Ch]: operator=
7557
7558 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7559
7560         * tabular.C (SetMultiColumn): ws changes
7561
7562         * rowpainter.C (paintFirst): get rid of a ->previous
7563
7564         * lyx_cb.C (getPossibleLabel): parlist simplification
7565
7566         * BufferView.C (ChangeInsets): simplify slightly.
7567
7568 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7569
7570         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7571         * lfuns.h: new LFUN_SPACE
7572         * lyxfunc.C: protected space has a new lfun
7573         * paragraph_funcs.C: read new space insets
7574         * text3.C:
7575         * factory.C: handle new space insets
7576
7577 2003-05-22  André Pönitz  <poenitz@gmx.net>
7578
7579         * BufferView.C:
7580         * BufferView_pimpl.C:
7581         * buffer.[Ch]:
7582         * lyxfunc.C:
7583         * undo_funcs.C: return a ParIterator from getParFromID.
7584
7585         * iterators.[Ch]: add two const's
7586
7587 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7588
7589         * toc.C (getTocList): adjust
7590
7591         * iterators.[Ch]: rework for parlist
7592
7593         * buffer.C (par_iterator_begin): adjust
7594         (par_iterator_end): adjust
7595
7596         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7597
7598         * BufferView.C (removeAutoInsets): adjust
7599         (ChangeInsets): adjust
7600
7601 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7602
7603         * text.C (top_y): fix bug 1110
7604
7605 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7606
7607         * errorlist.[Ch]: added
7608         * buffer.C:
7609         * BufferView.[Ch]:
7610         * BufferView_pimpl.C:
7611         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7612         instead
7613
7614 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7615
7616         * Makefile.am: ensure that lyx is relinked upon changes to the
7617         various "convenience" libs.
7618
7619 2003-05-20  Angus Leeming  <leeming@lyx.org>
7620
7621         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7622         files are compiled in alphabetical order again.
7623
7624         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7625
7626 2003-05-19  Angus Leeming  <leeming@lyx.org>
7627
7628         * gettext.[Ch]: remove "char const * _(char const *)".
7629
7630 2003-05-19  André Pönitz  <poenitz@gmx.net>
7631
7632         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7633
7634         * Makefile.am:
7635         * BufferView.C:
7636         * DepTable.h:
7637         * LaTeXFeatures.C:
7638         * buffer.C:
7639         * lyxfont.C:
7640         * lyxlex.h:
7641         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7642
7643 2003-05-19  André Pönitz  <poenitz@gmx.net>
7644
7645         * buffer.C:
7646         * lyxlayout.[Ch]:
7647         * lyxtextclass.[Ch]:
7648         * paragraph.C:
7649         * paragraph_funcs.[Ch]:
7650         * text2.C:
7651         * text3.C: more insetenv work
7652
7653 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7654
7655         * ParagraphParameters.C (params2string): small bug fixed
7656
7657 2003-05-16  André Pönitz  <poenitz@gmx.net>
7658
7659         * debug.C:
7660         * bufferview_funcs.C: patch from Kornel Benko to prevent
7661           crash when _(...) is called twice in a statement
7662
7663 2003-05-16  André Pönitz  <poenitz@gmx.net>
7664
7665         * BufferView.C:
7666         * lyxfunc.C:
7667         * text.C:
7668         * text2.C:
7669         * text3.C:
7670         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7671
7672 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7673
7674         * lyx_main.C (init): remove spurious static_cast
7675
7676 2003-05-14  André Pönitz  <poenitz@gmx.net>
7677
7678         * BufferView.C: fix format string
7679
7680 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7681
7682         * BufferView.[Ch] (insertErrors): removed
7683         * BufferView.[Ch] (showErrorList): added
7684         * buffer.C (runChkTeX):
7685         * converter.C (scanLog): call showErrorList instead of inserterrors
7686
7687 2003-05-13  André Pönitz  <poenitz@gmx.net>
7688
7689         * BufferView_pimpl.C:
7690         * buffer.C:
7691         * bufferview_func.C:
7692         * MenuBackend.C:
7693         * lyxfunc.C:
7694         * lyxrc.C:
7695         * tex-accent.C:
7696         * text3.C:
7697         * toc.C:
7698         * tabular_funcs.h: tostr() from its own header
7699
7700         * ParagraphParameters.C:
7701         * ToolbarBackend.C:
7702         * bufferparams.C:
7703         * format.C:
7704         * lyxlex_pimpl.C:
7705         * text3.C: STRCONV()
7706
7707 2003-05-12  André Pönitz  <poenitz@gmx.net>
7708
7709         * BufferView.C:
7710         * BufferView_pimpl.C:
7711         * CutAndPaste.C:
7712         * LaTeX.C:
7713         * LaTeXFeatures.C:
7714         * ParagraphParameters.C:
7715         * buffer.C:
7716         * bufferlist.C:
7717         * bufferparams.C:
7718         * bufferview_funcs.C:
7719         * converter.C:
7720         * counters.C:
7721         * debug.C:
7722         * exporter.C:
7723         * format.C:
7724         * importer.C:
7725         * lyx_cb.C:
7726         * lyx_main.C:
7727         * lyxfont.C:
7728         * lyxfunc.C:
7729         * lyxvc.C:
7730         * paragraph.C:
7731         * paragraph_funcs.C:
7732         * tabular.C:
7733         * tabular_funcs.C:
7734         * text2.C:
7735         * text3.C:  boost::format -> bformat  all over the place
7736
7737
7738 2003-05-09  André Pönitz  <poenitz@gmx.net>
7739
7740         * LColor.[Ch]: Pimpl the #include <map> away
7741
7742 2003-05-09  John Levon  <levon@movementarian.org>
7743
7744         * bufferlist.C: never remove emergency saves
7745
7746 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7747
7748         * Makefile.am: better lib building
7749
7750 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7751
7752         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7753         instead.
7754         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7755         (simpleTeXSpecialChars): adjust
7756         (simpleTeXSpecialChars): adjust
7757         * paragraph.C (simpleTeXOnePar): adjust
7758         * buffer.C (makeLaTeXFile): adjust
7759
7760         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7761
7762         * text2.C (changeDepth): parlist cleanup
7763         (getColumnNearX): ditto
7764
7765         * rowpainter.C (getLabelFont): parlist cleanup
7766
7767         * bufferlist.C (newFile): parlist cleanup
7768
7769         * CutAndPaste.C (eraseSelection): parlist cleanup
7770
7771         * BufferView_pimpl.C (trackChanges): parlist cleanup
7772         (dispatch): ditto
7773
7774         * BufferView.C (lockInset): parlist cleanup.
7775         (ChangeInsets): ditto
7776
7777 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7778
7779         * CutAndPaste.h: Update file header.
7780
7781         * CutAndPaste.C: Update file header.
7782         Store the parts cut out of the Document in a limited_stack.
7783         (copySelection): adjust
7784         (pasteSelection): new function, takes the index in the limited stack.
7785         (nrOfParagraphs): adjust
7786         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7787         simplify error inset insertion.
7788         (checkPastePossible): adjust
7789
7790 2003-05-06  John Levon  <levon@movementarian.org>
7791
7792         * text2.C: don't cast wrap inset to float
7793
7794 2003-05-05  André Pönitz  <poenitz@gmx.net>
7795
7796         * iterator.C:
7797         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7798
7799         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7800           few naked Paragraph *.
7801
7802 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7803
7804         * bufferparams.C: Output warning if a document with missing
7805         TeX document class is loaded
7806         * exporter.C: Disable TeX exports if the document class is missing
7807         * lyxtextclass.C:
7808         * lyxtextclass.h:
7809         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7810         isTeXClassAvailable()
7811
7812 2003-05-03  John Levon  <levon@movementarian.org>
7813
7814         * BufferView.h:
7815         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7816         explicit cursor show/hide
7817
7818         * BufferView_pimpl.h:
7819         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7820         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7821
7822         * lyxfunc.C: hide cursor before dispatching.
7823
7824         * lyx_cb.C:
7825         * lyxfind.C:
7826         * text.C:
7827         * text3.C: remove explicit cursor hides
7828
7829 2003-05-02  André Pönitz  <poenitz@gmx.net>
7830
7831         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7832
7833         * undo_funcs.C:
7834         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7835           linked lists
7836
7837         * text2.C: tiny whitespace
7838
7839 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7840
7841         * undo_funcs.C: almost only ws changes.
7842
7843         * ParagraphList.C (splice): just return if pl is empty.
7844
7845 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7846
7847         * ParagraphList.C (splice): new function.
7848
7849         * CutAndPaste.C (pasteSelection): use it
7850
7851 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7852
7853         * CutAndPaste.C (pasteSelection): remove the last next and
7854         previous from this file.
7855
7856 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7857
7858         * CutAndPaste.C (pasteSelection): more clean up, user proper
7859         ParagraphList functions for pasteing.
7860
7861         * ParagraphList.C (insert): new function, three arg insert
7862
7863 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7864
7865         * ParagraphList.C (insert): new function, three arg insert
7866
7867         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7868         not on paragraphs.
7869
7870 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7871
7872         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7873
7874 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7875
7876         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7877
7878 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7879
7880         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7881         (copySelection): clean up a bit.
7882         (pasteSelection): use make_pair
7883
7884         * ParagraphList.C (ParagraphList): implement copy constructor
7885         (operator=): implement, base on copy constructor.
7886         (assign): new func
7887
7888         * paragraph.C (erase): return a bool
7889
7890         * paragraph_pimpl.C (erasePos): remove function, move contents...
7891         (erase): ... here. Return a bool.
7892         (erase): call erase instead of erasePos.
7893
7894 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7895
7896         * ParagraphList.h: define PitPosPair
7897         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7898         ParagraphList, fix a bug on pasting multiple pars
7899         * text2.C: change interface to C&P
7900
7901 2003-04-30  André Pönitz  <poenitz@gmx.net>
7902
7903         * undo_func.C: revert part of yesterday's patch 2
7904
7905 2003-04-30  John Levon  <levon@movementarian.org>
7906
7907         * LColor.C: s/tabular/table/
7908
7909 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7910
7911         * text3.C (dispatch): do not convert iterator -> pointer
7912         * undo_funcs.C (setCursorParUndo): ditto
7913         * text_funcs.C (transposeChars): ditto
7914
7915         * text2.C (setLayout): ws changes only
7916
7917         * text.C (breakParagraph): do not convert iterator -> pointer
7918         (insertChar): ditto
7919         (acceptChange): ditto
7920         (rejectChange): ditto
7921         (changeCase): ditto
7922         (Delete): ditto
7923         (backspace): ditto
7924
7925         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7926         pointer
7927
7928 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7929
7930         * text3.C (gotoInset): YABG (yet another bad getChar)
7931
7932 2003-04-29  André Pönitz  <poenitz@gmx.net>
7933
7934         * paragraph.h: make operator= private unimplemented as long as
7935           it is unusable
7936
7937         * ParagraphList.C: whitespace
7938
7939         * paragraph.[Ch]:
7940         * paragraph_pimpl.[Ch]:
7941         * paragraph_funcs.C:
7942         * CutAndPaste.C:
7943         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7944
7945         * text2.C:
7946           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7947
7948 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7949
7950         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7951         * paragraph.[Ch] (erase):
7952         * paragraph_pimpl.[Ch] (erase): change return type and value
7953         * text2.C (cutSelection): some rework
7954
7955 2003-04-28  John Levon  <levon@movementarian.org>
7956
7957         * bufferlist.C: changes for unsaved changes dialog
7958
7959 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7960
7961         * bufferlist.C (newFile): set language (messages_) for new
7962         documents also.
7963
7964         * buffer.C (readFile): ws changes only.
7965
7966 2003-04-28  André Pönitz  <poenitz@gmx.net>
7967
7968         * undo_funcs.C:
7969         * lyxfunc.C:
7970         * buffer.[Ch]:
7971         * BufferView_pimpl.C:
7972         * BufferView.C: getParFromID related ParagraphList::iterator changes
7973
7974 2003-04-28  André Pönitz  <poenitz@gmx.net>
7975
7976         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7977           Changes
7978
7979 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7980
7981         * messages.C: remove one more localedir class variable.
7982
7983 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7984
7985         * messages.C (getLocaleDir): singleton generation function
7986         (Pimpl): use it.
7987         (Messages): add a default constructor.
7988
7989         * main.C (main): do not setup localedir here, do not call
7990         gettext_init.
7991
7992         * gettext.C (_): use it.
7993         (gettext_init): delete funciton
7994
7995 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7996
7997         * gettext.C (getLyXMessages): new singleton generating function.
7998
7999         * buffer.C (updateDocLang): adjust
8000
8001         * Makefile.am (messages.o): add target
8002         (main.o): remove target
8003
8004 2003-04-27  John Levon  <levon@movementarian.org>
8005
8006         * bufferlist.C:
8007         * lyx_cb.C:
8008         * lyxfunc.C:
8009         * lyxvc.C: specify cancel button in Alert::prompt
8010
8011 2003-04-26  John Levon  <levon@movementarian.org>
8012
8013         * text3.C:
8014         * lyxfunc.C:
8015         * lfuns.h:
8016         * LyXAction.C: add LFUN_INSET_SETTINGS
8017
8018         * lyxfunc.C: don't enable tabular-feature when there's
8019         just any locking inset
8020
8021 2003-04-26  John Levon  <levon@movementarian.org>
8022
8023         * bufferlist.C: re-add Cancel to buffer close question
8024
8025         * lyxfunc.C: fix import UI a bit
8026
8027 2003-04-25  John Levon  <levon@movementarian.org>
8028
8029         * gettext.C: remove the broken asserts for now
8030
8031 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8032
8033         * messages.C: make case where setlocale cannot comply work better.
8034
8035         * buffer.C (updateDocLang): new function
8036         (changeLanguage): use it
8037         (readFile): use it
8038
8039         * text2.C (setCounter): use B_ a bit.
8040
8041         * lyxlayout.C (Read): be sure to trim the label strings.
8042
8043         * messages.C (Messages): fix typo in comment
8044
8045         * buffer.C (readFile): set message_ after file is loaded.
8046         (makeDocBookFile): remove double return
8047         (changeLanguage): reset message_ upon language change.
8048         (B_): new func, use this to get translated buffer strings.
8049
8050         * main.C: add myself and Jean Marc as authors.
8051
8052 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8053
8054         * messages.[hC]: pimplify Messages, and three different pimpls to be
8055         used in different circumstances.
8056
8057         * gettext.[Ch]: change for use with new message code.
8058
8059 2003-04-24 André Pönitz <poenitz@gmx.net>
8060
8061         * factory.C: support for eqref
8062
8063 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8064
8065         * messages.[Ch]: add missing char
8066
8067         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8068
8069         * messages.[Ch]: New files
8070
8071 2003-04-18  John Levon  <levon@movementarian.org>
8072
8073         * BufferView.h:
8074         * BufferView.C:
8075         * BufferView_pimpl.C:
8076         * lfuns.h:
8077         * LyXAction.C:
8078         * lyxtext.h:
8079         * text2.C: remove layout-copy/paste (bug 778)
8080
8081 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8082
8083         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8084
8085 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8086
8087         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8088         if they succeed. Act accordingly.
8089
8090 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8091
8092         * text2.C (setCharFont): adjust
8093         (setCounter): adjust
8094         (insertStringAsLines): adjust
8095
8096         * text.C (leftMargin): adjust
8097         (setHeightOfRow): adjust
8098
8099         * rowpainter.C (paintFirst): adjust
8100         (paintLast): adjust
8101
8102         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8103         (outerHook): ditto
8104         (isFirstInSequence): ditto
8105         (getEndLabel): ditto
8106         (outerFont): adjust
8107
8108         * paragraph.C (getParLanguage): comment out some hard stuff.
8109
8110         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8111         (sgmlError): ditto
8112         (simpleDocBookOnePar): ditto
8113         (makeDocBookFile): use ParagraphList::iterator
8114
8115         * CutAndPaste.C (pasteSelection): adjust
8116
8117 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8118
8119         * text2.C (getFont): adjust
8120         (getLayoutFont): adjust
8121         (getLabelFont): adjust
8122
8123         * paragraph_funcs.C (TeXOnePar): adjust
8124
8125         * buffer.C (simpleLinuxDocOnePar): adjust
8126         (simpleDocBookOnePar): adjust
8127
8128         * CutAndPaste.C (pasteSelection): adjust
8129
8130         * BufferView.C (getEncoding): adjust
8131
8132         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8133
8134 2003-04-16  John Levon  <levon@movementarian.org>
8135
8136         * lyxfind.C: use parlist stuff for search/changes
8137
8138 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8139
8140         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8141
8142         * text2.C (deleteEmptyParagraphMechanism): adjust
8143
8144         * text2.[Ch] (ownerParagraph): delete func (both of them
8145
8146 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8147
8148         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8149
8150 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8151
8152         * ParagraphList.C: prepare for NO_NEXT
8153
8154 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8155
8156         * text2.C (getFont): adjust
8157         (getLayoutFont): adjust
8158         (getLabelFont): adjust
8159
8160         * paragraph.C (getFont): adjust
8161         (getLabelFont): adjust
8162         (getLayoutFont): adjust
8163
8164         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8165
8166 2003-04-15  John Levon  <levon@movementarian.org>
8167
8168         From Angus Leeming
8169
8170         * lyx_main.C: handle Include in .ui files
8171
8172 2003-04-15  John Levon  <levon@movementarian.org>
8173
8174         * MenuBackend.C: make the doc files length shorter
8175
8176         * ToolbarBackend.h:
8177         * ToolbarBackend.C: handle toolbar placement flags,
8178         Minibuffer
8179
8180 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8181
8182         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8183         adjust
8184
8185         * paragraph_funcs.C (TeXOnePar): adjust
8186
8187         * paragraph.C (getLabelFont): add outerfont arg, adjust
8188         (getLayoutFont): ditto
8189         (simpleTeXOnePar): adjust
8190
8191         * paragraph_pimpl.C (realizeFont): delete func
8192
8193 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8194
8195         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8196         row argument, constify cur argument.
8197
8198 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8199
8200         * text2.C (getFont): adjust
8201         (getLayoutFont): adjust
8202         (getLabelFont): adjust
8203
8204         * paragraph_funcs.C (TeXOnePar): adjust
8205         (outerFont): new func...
8206         (realizeFont): ...moved out from here, changed this to facilitate
8207         transition
8208
8209         * paragraph.C (getFont): take outerfont as arg, adjust
8210         (simpleTeXOnePar): add outerfont arg, adjust
8211
8212         * buffer.C (simpleLinuxDocOnePar): adjust
8213         (simpleDocBookOnePar): adjust
8214
8215         * CutAndPaste.C (pasteSelection): adjust
8216
8217         * BufferView.C (getEncoding): adjust
8218
8219 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8220
8221         * text2.C (setCharFont): adjust
8222         (setCounter): adjust
8223
8224         * text.C (leftMargin): adjust
8225         (setHeightOfRow): adjust
8226
8227         * rowpainter.C (paintFirst): adjust
8228         (paintLast): adjust
8229
8230         * paragraph_pimpl.C (realizeFont): adjust
8231
8232         * paragraph.C (isFirstInSequence): move from here...
8233         * paragraph_funcs.C (isFirstInSequence): ...to here
8234
8235         * paragraph.C (outerHook): move from here...
8236         * paragraph_funcs.C (outerHook): ...to here
8237
8238         * paragraph.C (depthHook): move from here...
8239         * paragraph_funcs.C (depthHook): ...to here
8240
8241         * paragraph.C (getEndLabel): move from here...
8242         * paragraph_funcs.C (getEndLabel): ...to here
8243
8244         * text2.C (realizeFont): move from here...
8245         * paragraph_funcs.C (realizeFont): ...to here
8246
8247 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8248
8249         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8250
8251 2003-04-14  Angus Leeming  <leeming@lyx.org>
8252
8253         * LColor.[Ch]: scrap LColor mathcursor.
8254
8255 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8256
8257         * lyxlex.[Ch] (text): delete function
8258         * trans.C (Load): adjust
8259         * paragraph_funcs.C (readParToken): adjust
8260
8261 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8262
8263         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8264         vector<char> instead of a char[].
8265
8266         * lyxlex_pimpl.C (getString): adjust
8267         (next): adjust
8268         (lex): use getString
8269         (eatLine): adjust
8270         (nextToken): adjust
8271
8272         * lyxlex.C (text): use pimpl_->getString()
8273         (getBool): ditto
8274         (findToken): ditto
8275
8276 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8277
8278         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8279         (makeFontEntriesLayoutSpecific): temp var for par.size()
8280         (setLayout): temp var for ownerParagraphs().end()
8281         (fullRebreak): temp var for rows().end()
8282         (selectionAsString): temp var for boost::next(startpit), realize
8283         that the while really is a regular for loop.
8284         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8285         setCursor in one place.
8286         (setParagraph): temp vr for ownerParagraphs().end()
8287         (updateCounters): make the while loop a for loop
8288         (cutSelection): temp var for ownerParagraphs().end()
8289         (updateInset): make the do {} while() a regular for loop
8290         (getCursorX): use temp vars
8291         (setCurrentFont): use temp vars
8292         (getColumnNearX): use temp vars
8293
8294 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8295
8296         * text.C (transformChar): use temp var for getChar
8297         (computeBidiTables): use temp var for row->par()
8298         (fill): move temp vars for row->par() and pit->layout() earlier in
8299         the function.
8300         (labelFill): use temp var for row->par()
8301         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8302         asc and desc, realize that pit never changes and that firstpit is
8303         just a duplicate and not needed. Exchange rit->par() with pit in a
8304         lot of places.
8305         (breakAgain): use a temp var for boost::next(rit)
8306         (breakAgainOneRow): ditto
8307         (breakParagraph): use a temp var for rows().begin()
8308         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8309         (cursorRightOneWord): use temp var for cursor.par() and
8310         cursor.pos(), remove usage of tmpcursor.
8311         (cursorLeftOneWord): use temp var for cursor.par() and
8312         cursor.pos() only set cur at end of function.
8313
8314 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8315
8316         * text.C, text2.C: exchange all usage of Paragraph::next with
8317         boost::next(ParagraphList::iterator)
8318
8319         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8320
8321         * text2.C (cursorTop): simplify implementation
8322         (cursorBottom): ditto
8323         (setParagraph): use ParagraphList::iterator
8324         (setCurrentFont): adjust
8325         (getColumnNearX): adjust
8326         (cursorRight): adjust
8327         (cursorLeft): remove usage of Paragraph::previous
8328         (cursorUpParagraph): ditto
8329         (deleteEmptyParagraphMechanism): slight cleanup
8330
8331         * text.C (isBoundary): take a Paragraph const & instead of a
8332         pointer as arg.
8333         (addressBreakPoint): ditto
8334         (leftMargin): remove usage of Paragraph::previous.
8335         (setHeightOfRow): ditto
8336         (cursorLeftOneWord): ditto
8337         (selectNextWordToSpellcheck): ditto
8338         (Delete): ditto
8339         (backspace): ditto
8340         (breakParagraph): remove one usage of Paragraph::next
8341         (redoParagraph): ditto
8342         (acceptChange): ditto
8343         (insertChar): adjust
8344         (rowBreakPoint): adjust
8345
8346         * bufferview_funcs.C (toggleAndShow): adjust
8347
8348 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8349
8350         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8351         methods to access it.
8352         * lyxtext.h:
8353         * text.C: Added updateRowPositions to compute all row positions.
8354         Make top_y and getRowNearY() to use the cached y position
8355
8356 2003-04-11  John Levon  <levon@movementarian.org>
8357
8358         * text.C (rowBreakPoint): reintroduce the labelEnd
8359         checks, code copied from the row fill stuff. Deep voodoo.
8360
8361         * text.C (fill): add a comment and debugging for the
8362         next poor soul.
8363
8364 2003-04-11  John Levon  <levon@movementarian.org>
8365
8366         * text.C: make sure fullrow insets get wrapped to the next line,
8367         even when they're in a manual label
8368
8369 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8370
8371         * text2.C (insertParagraph): make it take ParagraphList::iterator
8372         as arg.
8373         (setLayout): make it return ParagraphList::iterator
8374         (redoParagraphs): ditto
8375         (setCounter): ditto
8376         (checkParagraph): ditto
8377
8378         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8379
8380         * text2.C: adjust several funcs.
8381         (realizeFont): take a ParagraphList::iterator as arg.
8382         (getLayoutFont): ditto
8383         (getLabelFont): ditto
8384         (setCharFont): ditto
8385
8386         * text.C: adjust several funcs.
8387
8388 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8389
8390         * text.C (selectNextWordToSpellcheck): don't accidentally
8391         skip insets
8392
8393 2003-04-10  John Levon  <levon@movementarian.org>
8394
8395         * ToolbarBackend.C (getIcon): special handling for
8396         LFUN_MATH_DELIM
8397
8398 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8399
8400         * text2.C (cursorRight): a getChar assert fixed
8401
8402 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8403
8404         * text2.C (getFont): change to take a ParagraphList::iterator
8405         instead of Paragraph*
8406         Adjust several functions.
8407
8408         * text.C (transformChar): change to take a ParagraphList::iterator
8409         instead of Paragraph*
8410         (singleWidth): ditto
8411         Adjust several functions.
8412
8413         * rowpainter.C: adjust several functions
8414         * rowpainter.h:store a ParagraphList::iterator and not a
8415         Paragraph&.
8416
8417
8418 2003-04-09  John Levon  <levon@movementarian.org>
8419
8420         * lyxfunc.C:
8421         * lfuns.h:
8422         * LyXAction.h:
8423         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8424         and the "help" bits as well
8425
8426 2003-04-09  John Levon  <levon@movementarian.org>
8427
8428         * ToolbarBackend.h:
8429         * ToolbarBackend.C: allow multiple toolbars
8430
8431 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8432
8433         * undo_funcs.C (setCursorParUndo): adjust
8434
8435         * text_funcs.C (transposeChars): adjust
8436
8437         * text3.C (gotoNextInset): adjust
8438         (dispatch): adjust
8439
8440         * text2.C (setLayout): adjust
8441         (changeDepth): adjust
8442         (setFont): adjust
8443         (redoParagraphs): adjust
8444         (selectionAsString): adjust
8445         (setParagraph): adjust
8446         (insertInset): adjust
8447         (cutSelection): adjust
8448         (copySelection): adjust
8449         (pasteSelection): adjust
8450         (insertStringAsLines): adjust
8451         (updateInset): adjust
8452         (setCursor): change to take a ParagraphList::iterator parameter
8453         (setCursorIntern): change to take a ParagraphList::iterator parameter
8454         (setCurrentFont): adjust
8455         (cursorLeft): adjust
8456         (cursorRight): adjust
8457         (deleteEmptyParagraphMechanism): adjust
8458
8459         * text.C (breakParagraph): adjust
8460         (insertChar): adjust
8461         (acceptChange): adjust
8462         (rejectChange): adjust
8463         (selectNextWordToSpellcheck): adjust
8464         (changeCase): adjust
8465         (Delete): adjust
8466         (backspace): adjust
8467
8468         * lyxfind.C (SearchForward): adjust
8469         (SearchBackward): adjust
8470         (nextChange): adjust
8471
8472         * lyxcursor.C (par): adjust
8473
8474         * lyxcursor.h: store a ParagraphList::iterator instead of a
8475         Paragraph*
8476
8477         * lyx_cb.C (getPossibleLabel): adjust
8478
8479         * bufferview_funcs.C (toggleAndShow): adjust
8480
8481         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8482         (dispatch): adjust
8483
8484         * BufferView.C (removeAutoInsets): adjust
8485         (lockedInsetStoreUndo): adjust
8486
8487 2003-04-09  John Levon  <levon@movementarian.org>
8488
8489         * ToolbarBackend.C: try icon without argument
8490         if with argument fails
8491
8492 2003-04-08  John Levon  <levon@movementarian.org>
8493
8494         * ToolbarBackend.h:
8495         * ToolbarBackend.C: add getIcon(), handle tooltip,
8496         and change from "Icon" to "Item".
8497
8498 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8499
8500         * BufferView.C (lockInset): another bad getchar crunched
8501
8502 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8503
8504         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8505         again)
8506
8507 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8508
8509         * lyxfind.C (searchForward, searchBackwards): bug 782
8510
8511 2003-04-07  John Levon  <levon@movementarian.org>
8512
8513         * paragraph.C: remove dead comment
8514
8515         * text.C: remove troublesome depth-fiddling code
8516         in leftMargin() and rightMargin() (bug 1017)
8517
8518         * text.C: fix breaking of rows in nested lists
8519         (bug 1004)
8520
8521         * text2.C (updateCounters): fix up depth values
8522         (bug 1013)
8523
8524 2003-04-07  John Levon  <levon@movementarian.org>
8525
8526         * BufferView_pimpl.C: clear message when doc finishes resizing,
8527         and after a mouse event
8528
8529         * lyxfunc.C: clear message after exiting inset
8530
8531 2003-04-07  John Levon  <levon@movementarian.org>
8532
8533         * bufferview_funcs.C: show math status not outside
8534         status in the statusbar
8535
8536 2003-04-07  John Levon  <levon@movementarian.org>
8537
8538         * lyxfunc.C: note status changed after a depth change
8539
8540 2003-04-04  Angus Leeming  <leeming@lyx.org>
8541
8542         * LaTeX.h: move AuxInfo operator==, != out of line.
8543         Remove LaTeX virtual destructor; nothing derives from it.
8544         Move operator()() out of public area and rename it startscript().
8545         Change protected for private.
8546
8547 2003-04-04  Angus Leeming  <leeming@lyx.org>
8548
8549         * lyxfunc.C:
8550         * text2.C: remove unneeded #includes.
8551
8552 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8553
8554         * text2.C (dEPM): fix the heigth of the next row
8555
8556 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8557
8558         * text.C: squashed an invalid getChar requester + some ws changes
8559
8560 2003-04-03  John Levon  <levon@movementarian.org>
8561
8562         * bufferview_funcs.h:
8563         * bufferview_funcs.C:
8564         * lyxfunc.C:
8565         * lyxtext.h:
8566         * text2.C: make getStatus work for the env depth lfuns
8567
8568 2003-04-03  John Levon  <levon@movementarian.org>
8569
8570         * bufferview_funcs.h:
8571         * bufferview_funcs.C:
8572         * lyxfunc.C:
8573         * lyxtext.h:
8574         * text2.C: parlistize decDepth(), by merging it with incDepth()
8575
8576 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8577
8578         * lyxrow.h: store a ParagraphList::iterator instead of a
8579         Paragraph* and adjust other class functions to suit.
8580
8581         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8582         above.
8583
8584 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8585
8586         * text2.C (setCursor): do not anchor to cursor row for the time being
8587
8588 2003-04-02  John Levon  <levon@movementarian.org>
8589
8590         * LyXAction.C:
8591         * lfuns.h:
8592         * lyx_main.C:
8593         * lyxtext.h:
8594         * text.C:
8595         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8596
8597 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8598
8599         * paragraph.h: make ParagraphList and ParagraphList::iterator
8600         friends of Paragraph.
8601
8602         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8603
8604         * ParagraphList.C: Use the private next_ and previous_ from
8605         Paragraph.
8606
8607 2003-04-01  John Levon  <levon@movementarian.org>
8608
8609         * ToolbarBackend.h:
8610         * ToolbarBackend.C:
8611         * Makefile.am: rename, remove defaults gunk
8612
8613         * MenuBackend.h:
8614         * MenuBackend.C: remove defaults gunk
8615
8616         * Languages.h:
8617         * Languages.C: remove defaults gunk
8618
8619         * lyx_main.h:
8620         * lyx_main.C: error out if files couldn't be found.
8621
8622 2003-04-02  John Levon  <levon@movementarian.org>
8623
8624         * text2.C: make incDepth() use parlist
8625
8626 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8627
8628         * undo_funcs.C (firstUndoParagraph): adjust
8629
8630         * text3.C (gotoInset): adjust
8631         (dispatch): adjust, and rewrite loop.
8632
8633         * text2.C (init): adjust, and rewrite loop.
8634         (redoParagraphs): adjust
8635         (updateInset): adjust, and rewrite loop.
8636         (deleteEmptyParagraphMechanism): adjust
8637
8638         * tabular.C (LyXTabular): adjust
8639         (SetMultiColumn): adjust
8640         (TeXRow): adjust
8641
8642         * lyxtext.[Ch] (ownerParagraph): delete function
8643         (ownerParagraphs): new function returns a ParagraphList.
8644
8645         * BufferView.C (removeAutoInsets): adjust
8646         (insertErrors): adjust
8647         (setCursorFromRow): adjust
8648
8649 2003-04-01  Angus Leeming  <leeming@lyx.org>
8650
8651         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8652         in the frontends.
8653
8654 2003-04-02  John Levon  <levon@movementarian.org>
8655
8656         * lyxtext.h:
8657         * text.C:
8658         * Makefile.am:
8659         * text_funcs.h:
8660         * text_funcs.C: make transposeChars a free function
8661
8662         * lyxrow_funcs.C: remove wrong comment
8663
8664 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8665
8666         * lyxtext.h: adjust
8667         * rowpainter.C: adjust
8668         * text.C: adjust
8669         * text2.C: adjust
8670         * text3.C: adjust
8671
8672         * lyxrow_funcs. [Ch]: new files
8673
8674         * lyxrow.[Ch]: remove next and previous pointers
8675         (next,previous): remove accessor functions
8676         (isParEnd): move to lyxrow_funcs
8677         (lastPos): move to lyxrow_funcs
8678         (nextRowIsAllInset): move to lyxrow_funcs
8679         (lastPrintablePos): move to lyxrow_funcs
8680         (numberOfSeparators): move to lyxrow_funcs
8681         (numberOfHfills): move to lyxrow_funcs
8682         (numberOfLabelHfills): move to lyxrow_funcs
8683         (hfillExpansion): move to lyxrow_funcs
8684
8685         * lyxfunc.C: adjust
8686
8687         * bufferview_funcs.C (toggleAndShow): adjust
8688
8689         * RowList.h: Remove class RowList from file leave just a
8690         std::list<Row>.
8691
8692         * RowList.C: delete file
8693
8694         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8695         and lyxrow_funcs.h
8696
8697 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8698
8699         * text3.C (cursorPrevious): adjust
8700         (cursorNext): adjust
8701         (dispatch): adjust
8702
8703         * text2.C (redoHeightOfParagraph): adjust
8704         (redoDrawingOfParagraph): adjust
8705         (setCursor): adjust
8706
8707         * text.C (breakParagraph): adjust
8708         (insertChar): adjust
8709         (backspace): adjust
8710
8711         * rowpainter.C (RowPainter): adjust
8712         (leftMargin): simplify and adjust
8713         (most rowpainter functions): adjust.
8714
8715         * rowpainter.h: store the row as RowList::iterator not as Row*
8716
8717         * lyxcursor.C (row): taka RowList::iterator as arg
8718         (irow): ditto
8719
8720         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8721         of Row*.
8722
8723 2003-04-01  Angus Leeming  <leeming@lyx.org>
8724
8725         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8726         stuff like bool Bool.
8727
8728 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8729
8730         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8731         rewrite a loop
8732
8733 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8734
8735         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8736         RowList::iterator.
8737
8738         * lyxtext.h (rows): drop one version and leve a const variant that
8739         returns a RowList::iterator.
8740
8741 2003-03-31  Angus Leeming  <leeming@lyx.org>
8742
8743         * text.C (fill): ensure that the signature is the same as that in the
8744         header file.
8745
8746 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8747
8748         * text2.C (redoParagraphs): adjust
8749         (updateCounters): adjust
8750         (checkParagraph): adjust
8751         (getColumnNearX): adjust and reformat a bit.
8752
8753         * text.C (top_y): adjust
8754         (workWidth): adjust
8755         (leftMargin): adjust
8756         (prepareToPrint): adjust
8757         (getRow): adjust
8758         (getRowNearY): adjust
8759
8760         * lyxtext.h: make rowlist_ mutable.
8761
8762         * RowList.h: add const_iterator
8763         * RowList.C: adjust for RowList::const_iterator.
8764
8765         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8766         adjust.
8767
8768 2003-03-31  John Levon  <levon@movementarian.org>
8769
8770         * lyxrc.h:
8771         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8772
8773         * lyx_main.C: set default fonts from using lyx_gui funcs
8774
8775         * exporter.C: pdf_mode moved from lyxrc
8776
8777         * lyx_cb.C:
8778         * lyxfunc.C: changes from above
8779
8780 2003-03-31  John Levon  <levon@movementarian.org>
8781
8782         * lyx_main.C: fix to the last fix
8783
8784 2003-03-31  John Levon  <levon@movementarian.org>
8785
8786         * bufferlist.C: "Load original" -> "Load Original"
8787
8788         * converter.C:
8789         * exporter.C:
8790         * importer.C:
8791         * lyx_main.C:
8792         * format.C: more Alert cleanups
8793
8794 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8795
8796         * text2.C (removeParagraph): make it take a RowList::iterator as
8797         arg, adjust.
8798         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8799         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8800
8801         * text.C (anchor_row): make it take a RowList::iterator as arg,
8802         adjust.
8803         (computeBidiTables): make it take a const reference to Row instead
8804         of Row pointer, adjust.
8805         (leftMargin): make it take a RowList::iterator as arg, adjust.
8806         (rowBreakPoint): adjust
8807         (breakAgainOneRow): make it take a RowList::iterator as arg,
8808         adjust.
8809         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8810
8811         * bufferview_funcs.C (toggleAndShow): adjust
8812
8813 2003-03-30  John Levon  <levon@movementarian.org>
8814
8815         * Makefile.am:
8816         * BoostFormat.h:
8817         * boost-inst.C: moved to support
8818
8819         * several files: changes as a result
8820
8821 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8822
8823         * text2.C (LyXText): adjust.
8824         (init): adjust
8825         (removeRow): make it take a RowList::iterator as arg, adjust.
8826         (fullRebreak): adjust
8827         (deleteEmptyParagraphMechanism): adjust
8828         (clearPaint): adjust
8829         (postPaint): adjust
8830
8831         * text.C (top_y): adjust
8832         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8833         (breakAgain): make it take a RowList::iterator as arg, adjust.
8834         (breakParagraph): adjust
8835         (insertChar): adjust
8836         (backspace): adjust
8837
8838         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8839         need_break_row, and refresh_row.
8840
8841         * text3.C (dispatch): adjust
8842
8843         * text2.C (checkParagraph): adjust
8844         (setCursor): adjust
8845         (setCursorFromCoordinates): adjust
8846
8847         * text.C (top_y): adjust
8848         (workWidth): adjust
8849         (getRow): make it return a RowList::iterator, adjust
8850         (getRowNearY): make it return a RowList::iterator, adjust
8851
8852         * text2.C (init): adjust
8853         (insertRow): remove function
8854         (insertParagraph): adjust
8855         (redoParagraphs): adjust
8856         (fullRebreak): adjust
8857         (updateCounters): adjust
8858
8859         * text.C (top_y): rewrite to use RowList iterators.
8860         (top_y): adjust
8861         (setHeightOfRow): rewrite to sue RowList iterators.
8862         (appendParagraph): adjust
8863         (breakAgain): adjust
8864         (breakAgainOneRow): adjust
8865         (breakParagraph): adjust
8866         (getRow): adjust
8867         (getRowNearY): adjust, and remove commented code.
8868
8869         * lyxtext.h (firstRow): delete function
8870         (lastRow): delete function
8871         (rows): new function (const and non-const versions.)
8872         (insertRow): delete function
8873
8874         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8875
8876 2003-03-29  John Levon  <levon@movementarian.org>
8877
8878         * BufferView_pimpl.C: always update scrollbar top
8879         because pasting text when we're anchored could mean we
8880         miss an update altogether
8881
8882 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8883
8884         * text2.C (init): use rowlist_.end() and not 0.
8885         (insertRow): change to take a RowList::iterator as arg, adjust
8886         for this.
8887         (insertParagraph): change to take a RowList::iterator as arg,
8888         adjust for this.
8889         (redoParagraphs): remove some debug msgs.
8890
8891         * text.C (appendParagraph): change to take a RowList::iterator
8892         arg, adjust for this.
8893         (breakAgain): add an assert
8894         (breakAgainOneRow): ditto
8895
8896 2003-03-29  John Levon  <levon@movementarian.org>
8897
8898         * text2.C: do not clear selection after inc/decDepth
8899         (bug 550)
8900
8901 2003-03-29  John Levon  <levon@movementarian.org>
8902
8903         * BufferView.C:
8904         * buffer.C: fix broken strerrors according to Lars
8905
8906 2003-03-29  John Levon  <levon@movementarian.org>
8907
8908         * converters.C: more Alert cleanups
8909
8910 2003-03-29  John Levon  <levon@movementarian.org>
8911
8912         * bufferview_funcs.C: remove pointless Alert
8913
8914         * buffer.C: fix confusing error message when
8915         a template is chmoded 000
8916
8917 2003-03-29  John Levon  <levon@movementarian.org>
8918
8919         * BufferView.C:
8920         * BufferView.h:
8921         * BufferView_pimpl.C: Alert fixes
8922
8923         * Makefile.am:
8924         * tabular.C:
8925         * tabular-old.C: remove unused table compat reading
8926
8927 2003-03-29  John Levon  <levon@movementarian.org>
8928
8929         * BufferView.C:
8930         * buffer.C:
8931         * lyx_cb.h:
8932         * lyx_cb.C: more Alert cleanups
8933
8934         * lyxfunc.C: don't allow chktex if not latex document
8935
8936 2003-03-29  John Levon  <levon@movementarian.org>
8937
8938         * lyx_cb.C:
8939         * BufferView.C:
8940         * buffer.C: warnings pushed down from support/,
8941         kill err_alert
8942
8943 2003-03-29  John Levon  <levon@movementarian.org>
8944
8945         * lyxfunc.C: safety check for C-r (revert)
8946
8947 2003-03-29  John Levon  <levon@movementarian.org>
8948
8949         * bufferlist.h:
8950         * bufferlist.C: several UI fixes using Alert::prompt.
8951         Fix the pointless looping quit code. Fix stupid revert
8952         behaviour (bug 938)
8953
8954         * lyxvc.h:
8955         * lyxvc.C:
8956         * lyx_cb.C: use Alert::prompt
8957
8958         * lyx_main.C: remove a silly question
8959
8960         * lyxfunc.C: remove a couple of silly questions,
8961         use Alert::prompt
8962
8963 2003-03-28  John Levon  <levon@movementarian.org>
8964
8965         * text2.C: fix bug 974 (End on empty par)
8966
8967 2003-03-28  John Levon  <levon@movementarian.org>
8968
8969         * BufferView_pimpl.C:
8970         * LyXAction.C:
8971         * lfuns.h: remove do-nothing math greek lfuns
8972
8973 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8974
8975         * lyxgluelength.h (isValidGlueLength): add default arg on
8976         parameter 2. Remove default arg from friend in class.
8977
8978         * lyxlength.h (isValidLength): add default arg on parameter 2.
8979         Remove default arg from friend in class.
8980
8981         * text2.C (LyXText): adjust, initialize refresh_row.
8982         (init): adjust
8983         (removeRow): adjust
8984         (insertRow): adjust
8985         (insertParagraph): adjst
8986         (redoParagraphs): adjust
8987         (fullRebreak): adjust
8988         (updateCounters): adjust
8989         (deleteEmptyParagraphMechanism): first attempt at fixing a
8990         crashing bug.
8991
8992         * text.C (top_y): adjust
8993         (setHeightOfRow): adjust
8994         (getRow): adjust
8995         (getRowNearY): adjust
8996
8997         * lyxtext.h: include RowList.h
8998         (~LyXText): not needed anymore, deleted.
8999         (firstRow): modify for RowList
9000         (lastRow): new function
9001         Delete firstrow and lastrow class variables, add a Rowlist
9002         rowlist_ class variable.
9003
9004         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9005         paragraph is empty.
9006
9007         * RowList.C (insert): fix case where it == begin().
9008
9009 2003-03-26  Angus Leeming  <leeming@lyx.org>
9010
9011         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9012         the thesaurus dialog.
9013
9014 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9015
9016         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9017
9018         * RowList.[Ch]: new files
9019
9020         * ParagraphList.C (erase): handle the case where it == begin
9021         correctly.
9022
9023 2003-03-25  John Levon  <levon@movementarian.org>
9024
9025         * Makefile.am:
9026         * aspell_local.h:
9027         * aspell.C: add new aspell support
9028
9029         * lyxrc.h:
9030         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9031         have it accessible.
9032
9033 2003-03-25  Angus Leeming  <leeming@lyx.org>
9034
9035         * lfuns.h:
9036         * LyXAction.C (init): new LFUN_INSET_INSERT.
9037
9038         * BufferView_pimpl.C (dispatch): split out part of the
9039         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9040
9041         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9042         LFUN_INSET_APPLY.
9043
9044 2003-03-25  Angus Leeming  <leeming@lyx.org>
9045
9046         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9047
9048 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9049
9050         * text2.C:
9051         * text3.C: remove useless row->height(0)
9052
9053 2003-03-25  John Levon  <levon@movementarian.org>
9054
9055         * lyxtext.h:
9056         * text2.C:
9057         * text3.C: rename the refreshing stuff to better names
9058
9059 2003-03-24  John Levon  <levon@movementarian.org>
9060
9061         * BufferView_pimpl.h:
9062         * BufferView_pimpl.C: update layout choice on a mouse
9063         press/release
9064
9065 2003-03-23  John Levon  <levon@movementarian.org>
9066
9067         * Makefile.am: fix commandtags.h reference
9068
9069 2003-03-22  John Levon  <levon@movementarian.org>
9070
9071         * BufferView_pimpl.C:
9072         * lyxtext.h:
9073         * rowpainter.C:
9074         * rowpainter.h:
9075         * text.C:
9076         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9077
9078 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9079
9080         * lyxtext.h:
9081         * text.C: take the rtl methods out of line
9082
9083 2003-03-21 André Pönitz <poenitz@gmx.net>
9084
9085         * metricsinfo.[Ch]: new files containing structures to be passed around
9086         during the two-phase-drawing...
9087
9088 2003-03-21 André Pönitz <poenitz@gmx.net>
9089
9090         * lyxtextclass.C: read 'environment' tag.
9091
9092 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9093
9094         * text2.C (removeRow): fix bug 964
9095
9096 2003-03-20  John Levon  <levon@movementarian.org>
9097
9098         * rowpainter.C:
9099         * text.C:
9100         * text2.C: paint cleanups. Inset::update() dropped font
9101         parameter
9102
9103 2003-03-19  John Levon  <levon@movementarian.org>
9104
9105         * lyxfunc.C: only fitcursor/markDirty if available()
9106
9107 2003-03-19  John Levon  <levon@movementarian.org>
9108
9109         * commandtags.h: rename to ...
9110
9111         * lfuns.h: ... this, and renumber / cleanup
9112
9113 2003-03-19  John Levon  <levon@movementarian.org>
9114
9115         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9116         fit the cursor after an lfun
9117
9118         * BufferView.h:
9119         * BufferView.C:
9120         * BufferView_pimpl.h:
9121         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9122
9123         * LyXAction.C: layout-character should have ReadOnly
9124
9125         * ParagraphParameters.C:
9126         * buffer.C:
9127         * bufferview_funcs.C:
9128         * lyx_cb.C:
9129         * lyxfind.C:
9130         * lyxtext.h:
9131         * text.C:
9132         * text2.C:
9133         * text3.C:
9134         * undo_funcs.C: changes from above
9135
9136 2003-03-18  John Levon  <levon@movementarian.org>
9137
9138         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9139         remove it from update()
9140
9141         * lyxfunc.C: update layout choice after an lfun
9142
9143         * text3.C: remove extra updateLayoutChoice()s
9144
9145 2003-03-18  John Levon  <levon@movementarian.org>
9146
9147         * text.C: top_y change means full repaint, fix
9148         a drawing bug with cursor movement
9149
9150 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9151
9152         * lyxtext.h:
9153         * text.C:
9154         * text2.C: anchor row on setCursor
9155
9156 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9157
9158         * lyxtext.h: remove almost all mutable keywords
9159         * text.C:
9160         * text2.C:
9161         * text3.C: remove const keywords accordingly
9162
9163 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9164
9165         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9166         anon namespace
9167         (TeXEnvironment): ditto
9168         (TeXOnePar): ditto
9169
9170 2003-03-17  John Levon  <levon@movementarian.org>
9171
9172         * text.C (rowBreakPoint): remove attempt to fix displayed
9173         math insets inside a manual label
9174
9175 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9176
9177         * lyxtext.h: remove BufferView* as first arg from almost all class
9178         functions.
9179         * other files: adjust.
9180
9181 2003-03-17  John Levon  <levon@movementarian.org>
9182
9183         * lyxtext.h:
9184         * undo_funcs.C:
9185         * text2.C: more paint cleanups
9186
9187         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9188
9189         * rowpainter.h:
9190         * rowpainter.C: remove "smart" background painting code
9191
9192 2003-03-16  John Levon  <levon@movementarian.org>
9193
9194         * lyxtext.h:
9195         * text.C:
9196         * text2.C:
9197         * text3.C: add helper functions for setting refresh_row/y
9198
9199 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9200
9201         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9202         newline inset which *can* get inserted in the pass_thru layouts.
9203         This is primarily for literate documents.
9204
9205 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9206
9207         * buffer.C: increment LYX_FORMAT to 223
9208
9209 2003-03-14 André Pönitz <poenitz@gmx.net>
9210
9211         * textclass.h: prepare for environment handling, ws changes
9212         * lyxlayout.C: read latexheader and latexfooter tags
9213
9214 2003-03-14  John Levon  <levon@movementarian.org>
9215
9216         * text2.C: rewrite ::status() a bit
9217
9218 2003-03-13  John Levon  <levon@movementarian.org>
9219
9220         * lyxtext.h: add some docs
9221
9222 2003-03-13  John Levon  <levon@movementarian.org>
9223
9224         * lyxtext.h:
9225         * text.C:
9226         * text2.C:
9227         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9228
9229 2003-03-13  John Levon  <levon@movementarian.org>
9230
9231         * text3.C: fix appendix redrawing
9232
9233 2003-03-13  John Levon  <levon@movementarian.org>
9234
9235         * text.C (setHeightOfRow):
9236         * rowpainter.h:
9237         * rowpainter.C: make appendix mark have the text
9238           "Appendix" so the user knows what it is
9239
9240         * LColor.h:
9241         * LColor.C: s/appendixline/appendix/ from above
9242
9243 2003-03-13  John Levon  <levon@movementarian.org>
9244
9245         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9246
9247         * text.C: fix a getChar(pos) bug properly
9248
9249 2003-03-13  Angus Leeming  <leeming@lyx.org>
9250
9251         * commandtags.h:
9252         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9253         Probably only temporary. Let's see how things pan out.
9254
9255         * BufferView.C (unlockInset):
9256         * BufferView_pimpl.C (fitCursor):
9257         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9258
9259         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9260         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9261
9262         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9263         new functions that convert ParagraphParameters to and from a string.
9264
9265         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9266         BufferView::Pimpl's dispatch.
9267         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9268
9269 2003-03-13 André Pönitz <poenitz@gmx.net>
9270
9271         * lyxfunc.C:
9272         * text3.C:
9273         * factory.C: make it aware of InsetEnv
9274
9275 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9276
9277         * text2.C (setCursor): never ask for one past last
9278         (setCursor): add some debugging messages.
9279
9280         * text.C (singleWidth): never ask for one past last
9281         (singleWidth): ditto
9282         (leftMargin): ditto
9283         (rightMargin): ditto
9284         (rowBreakPoint): ditto
9285         (setHeightOfRow): ditto
9286         (prepareToPrint): ditto
9287
9288         * rowpainter.C (paintBackground): never ask for one past last
9289         (paintText): never ask for one past last
9290
9291         * paragraph_pimpl.C (getChar): make the assert stricter, never
9292         allow the one past last pos to be taken
9293
9294         * paragraph.C (getChar): ws changes only
9295
9296         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9297         (numberOfSeparators): ditto
9298         (numberOfHfills): ditto
9299
9300 2003-03-12  John Levon  <levon@movementarian.org>
9301
9302         * author.h:
9303         * author.C:
9304         * bufferparams.h:
9305         * bufferparams.C:
9306         * paragraph_funcs.C: fix per-buffer authorlists
9307
9308 2003-03-12  John Levon  <levon@movementarian.org>
9309
9310         * text.C: fix newline in right address
9311
9312 2003-03-12  Angus Leeming  <leeming@lyx.org>
9313
9314         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9315         duplicate those in LyXFunc::dispatch.
9316
9317         * commandtags.h:
9318         * LyXAction.C:
9319         * ToolbarDefaults.C:
9320         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9321         Add LFUN_FONTFREE_UPDATE.
9322
9323         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9324         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9325
9326         * bufferview_func.[Ch]: several new functions to facilliate
9327         transfer of data to and from the character dialog.
9328
9329 2003-03-12  John Levon  <levon@movementarian.org>
9330
9331         * buffer.C:
9332         * paragraph.h:
9333         * paragraph.C:
9334         * paragraph_funcs.C:
9335         * paragraph_pimpl.C:
9336         * sgml.C:
9337         * tabular.C:
9338         * text.C:
9339         * text3.C: remove META_NEWLINE in favour of an inset
9340
9341         * rowpainter.h:
9342         * rowpainter.C: remove paintNewline (done by inset)
9343
9344 2003-03-12  John Levon  <levon@movementarian.org>
9345
9346         * paragraph_pimpl.C: complain about bad getChar()s
9347         for a while at least
9348
9349 2003-03-12  John Levon  <levon@movementarian.org>
9350
9351         * buffer.h:
9352         * buffer.C: move paragraph read into a separate function,
9353         a little renaming to reflect that.
9354
9355         * bufferparams.h:
9356         * bufferparams.C: remove the author_ids map, not necessary now
9357
9358         * factory.h:
9359         * factory.C: moved Buffer::readInset to here
9360
9361         * paragraph_funcs.h:
9362         * paragraph_funcs.C: readParagraph free function moved from
9363         buffer.C
9364
9365         * tabular.C: name change
9366
9367 2003-03-12  John Levon  <levon@movementarian.org>
9368
9369         * buffer.C:
9370         * ParagraphParameters.C: move par params input to
9371         a read() method
9372
9373         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9374         behave like a normal read from the stream wrt reading
9375         a line vs. a \\token
9376
9377 2003-03-12  John Levon  <levon@movementarian.org>
9378
9379         * paragraph.C:
9380         * ParagraphParameters.h:
9381         * ParagraphParameters.C: move output code to a
9382         ::write() method
9383
9384 2003-03-12  John Levon  <levon@movementarian.org>
9385
9386         * BufferView.C (insertLyXFile):
9387         * buffer.h:
9388         * buffer.C:
9389         * tabular.C: use a parlist iterator for creating the
9390           document.
9391
9392 2003-03-12  John Levon  <levon@movementarian.org>
9393
9394         * buffer.C: make current_change static local not
9395           static file-scope
9396
9397 2003-03-12  John Levon  <levon@movementarian.org>
9398
9399         * buffer.C: fix insertStringAsLines for change tracking
9400
9401 2003-03-12  John Levon  <levon@movementarian.org>
9402
9403         * BufferView.C:
9404         * tabular.C:
9405         * buffer.h:
9406         * buffer.C:
9407         * bufferparams.h:
9408         * bufferparams.C: move author list into params. Rename some
9409           functions. Move the header reading into a separate token
9410           loop. Move the header token reading into BufferParams.
9411
9412 2003-03-12  John Levon  <levon@movementarian.org>
9413
9414         * changes.C: put debug inside lyxerr.debugging() checks
9415
9416 2003-03-11 André Pönitz <poenitz@gmx.net>
9417
9418         * factory.C: make it aware of InsetHFill
9419
9420 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9421
9422         * buffer.C (latexParagraphs): move function from here...
9423         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9424         args.
9425
9426 2003-03-10  Angus Leeming  <leeming@lyx.org>
9427
9428         * LyXAction.C (init): fix bug in poplating array with multiple entries
9429         with the same LFUN (spotted by JMarc).
9430
9431 2003-03-10  John Levon  <levon@movementarian.org>
9432
9433         * text.C:
9434         * text2.C: move getColumnNearX() near its
9435         only call site
9436
9437 2003-03-10  John Levon  <levon@movementarian.org>
9438
9439         * text.C: fix break before a minipage
9440
9441 2003-03-10  John Levon  <levon@movementarian.org>
9442
9443         * text.C: fix the last commit
9444
9445 2003-03-09  John Levon  <levon@movementarian.org>
9446
9447         * lyxtext.h:
9448         * text.C:
9449         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9450         bug 365 (don't break before insets unless needed). Don't
9451         return a value > last under any circumstances.
9452
9453 2003-03-09  Angus Leeming  <leeming@lyx.org>
9454
9455         * BufferView_pimpl.C (trackChanges, dispatch): call
9456         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9457
9458 2003-03-09  Angus Leeming  <leeming@lyx.org>
9459
9460         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9461         than Dialogs::showAboutlyx().
9462
9463 2003-03-09  Angus Leeming  <leeming@lyx.org>
9464
9465         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9466         than Dialogs::showTabularCreate().
9467
9468 2003-03-09  John Levon  <levon@movementarian.org>
9469
9470         * lyxtext.h:
9471         * text.C:
9472         * text2.C: 3rd arg to nextBreakPoint was always the same.
9473           Use references.
9474
9475 2003-03-08  John Levon  <levon@movementarian.org>
9476
9477         * lyxrow.C:
9478         * paragraph.C:
9479         * paragraph.h:
9480         * rowpainter.C:
9481         * text.C:
9482         * text2.C: Remove the "main" bit from the "main body"
9483           notion.
9484
9485 2003-03-08  John Levon  <levon@movementarian.org>
9486
9487         * text.C (leftMargin): The left margin of an empty
9488         manual label paragraph should not include the label width
9489         string length.
9490
9491         * text.C (prepareToPrint): don't attempt to measure hfills
9492         for empty manual label paragraphs - the answer should be 0
9493
9494 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9495
9496         * CutAndPaste.C: remove commented code and reindent.
9497
9498 2003-03-08  John Levon  <levon@movementarian.org>
9499
9500         * lyxfunc.h:
9501         * lyxfunc.C: move reloadBuffer()
9502
9503         * BufferView.h:
9504         * BufferView.C: to here
9505
9506         * lyxvc.C: add comment
9507
9508         * vc-backend.h:
9509         * vc-backend.C: call bv->reload() to avoid
9510           getStatus() check on MENURELOAD
9511
9512 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9513
9514         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9515         to an old format .dep file.
9516
9517 2003-03-07  Angus Leeming  <leeming@lyx.org>
9518
9519         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9520         when the LFUN_MOUSE_RELEASE should have been handled by
9521         inset->localDispatch.
9522
9523 2003-03-07  Angus Leeming  <leeming@lyx.org>
9524
9525         * BufferView_pimpl.C (dispatch):
9526         * LyXAction.C (init):
9527         * ToolbarDefaults.C (init):
9528         * commandtags.h:
9529         * lyxfunc.C (getStatus):
9530         remove LFUN_INSET_GRAPHICS.
9531
9532         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9533
9534 2003-03-07  Angus Leeming  <leeming@lyx.org>
9535
9536         * commandtags.h:
9537         * LyXAction.C (init):
9538         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9539
9540         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9541
9542         * commandtags.h:
9543         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9544
9545         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9546         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9547
9548 2003-03-07  Angus Leeming  <leeming@lyx.org>
9549
9550         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9551         remove "ert".
9552
9553 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9554
9555         * ParagraphList.C (front): new function
9556         (back): implement
9557
9558 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9559
9560         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9561         and top_row_offset_. removed var first_y.
9562         * text.C (top_y):
9563         * text2.C (LyXText, removeRow):
9564         * text3.C:
9565         * BufferView_pimpl.C:
9566         use these methods instead of using first_y
9567
9568 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9569
9570         * text2.C (pasteSelection): adjust for checkPastePossible
9571
9572         * CutAndPaste.C: remove Paragraph * buf and replace with
9573         ParagraphList paragraphs.
9574         (DeleteBuffer): delete
9575         (cutSelection): change the tc type to textclass_type
9576         (copySelection): change the tc type to textclass_type
9577         (copySelection): adjust for ParagraphList
9578         (pasteSelection): change the tc type to textclass_type
9579         (pasteSelection): adjust for Paragraphlist
9580         (nrOfParagraphs): simplify for ParagraphList
9581         (checkPastePossible): simplify for ParagraphList
9582         (checkPastePossible): remove unused arg
9583
9584         * ParagraphList.C (insert): handle the case where there are no
9585         paragraphs yet.
9586
9587         * CutAndPaste.h: make CutAndPaste a namespace.
9588
9589         * text3.C (dispatch): adjust
9590
9591         * text.C (breakParagraph): add a ParagraphList as arg
9592
9593         * paragraph_funcs.C (breakParagraph): change to take a
9594         BufferParams and a ParagraphList as args.
9595         (breakParagraphConservative): ditto
9596         (mergeParagraph): ditto
9597         (TeXDeeper): add a ParagraphList arg
9598         (TeXEnvironment): ditto
9599         (TeXOnePar): ditto
9600
9601         * buffer.C (readLyXformat2): adjust
9602         (insertStringAsLines): adjust
9603         (latexParagraphs): adjust
9604
9605         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9606         (cutSelection): adjust
9607         (pasteSelection): adjust
9608
9609         * BufferView_pimpl.C (insertInset): adjust
9610
9611 2003-03-05  Angus Leeming  <leeming@lyx.org>
9612
9613         * commandtags.h:
9614         * LyXAction.C (init):
9615         * BufferView_pimpl.C (dispatch):
9616         * lyxfunc.C (getStatus):
9617         remove LFUN_CHILD_INSERT.
9618
9619         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9620
9621 2003-03-05  Angus Leeming  <leeming@lyx.org>
9622
9623         * commandtags.h:
9624         * LyXAction.C (init):
9625         * src/factory.C (createInset):
9626         * lyxfunc.C (getStatus):
9627         * text3.C (dispatch):
9628         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9629
9630         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9631
9632 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9633
9634         * ParagraphList.C (insert): handle insert right before end()
9635         (erase): fix cases where it can be first or last paragraph.
9636
9637 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9638
9639         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9640         Paragraph::next and Paragraph::previous
9641         (TeXOnePar): ditto
9642
9643         * text.C (breakParagraph): adjust
9644
9645         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9646         BufferParams& as arg.
9647         (breakParagraph): use ParagraphList::insert
9648         (breakParagraphConservative): take a Buffer* instead of a
9649         BufferParams& as arg.
9650         (breakParagraphConservative): use ParagraphList::insert.
9651
9652         * buffer.C (insertStringAsLines): un-const it
9653         (insertStringAsLines): adjust
9654
9655         * ParagraphList.C (insert): new function
9656
9657         * CutAndPaste.C (pasteSelection): adjust
9658
9659         * text.C (backspace): adjust
9660
9661         * tabular.C (SetMultiColumn): adjust
9662
9663         * CutAndPaste.C (cutSelection): adjust
9664         (pasteSelection): adjust
9665
9666         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9667         Buffer const * as arg
9668
9669         * ParagraphList.C (erase): new function
9670         * paragraph_funcs.C (mergeParagraph): use it
9671         (mergeParagraph): make it take a Buffer* instead of a
9672         BufferParams* as arg
9673
9674         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9675         as arg
9676         (breakParagraphConservative): ditto
9677
9678         * paragraph.h: remove the breakParagraph friend
9679
9680         * paragraph.C (eraseIntern): new function
9681         (setChange): new function
9682
9683         * paragraph_funcs.C (mergeParagraph): make it take a
9684         ParagraphList::iterator instead of a Paragraph *, adjust
9685         accordingly.
9686
9687         * paragraph.h: move an #endif so that the change tracking stuff
9688         also works in the NO_NEXT case.
9689
9690 2003-03-04  Angus Leeming  <leeming@lyx.org>
9691
9692         * commandtags.h:
9693         * LyXAction.C: new LFUN_INSET_MODIFY.
9694
9695         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9696         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9697
9698 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9699
9700         * several files: ws changes only
9701
9702         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9703         (TeXEnvironment): ditto
9704         (TeXDeeper): ditto
9705
9706         * buffer.C (makeLaTeXFile): adjust
9707         (latexParagraphs): make it take ParagraphList::iterator as args
9708
9709 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9710
9711         * buffer.C (latexParagraphs): adjust
9712
9713         * paragraph.C (TeXOnePar): move function...
9714         (optArgInset): move function...
9715         (TeXEnvironment): move function...
9716         * paragraph_pimpl.C (TeXDeeper): move function...
9717         * paragraph_funcs.C: ...here
9718
9719         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9720
9721 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9722
9723         * buffer.C (readInset): remove compability code for old Figure and
9724         InsetInfo insets
9725
9726 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9727
9728         * buffer.C: ws changes
9729         (readInset):
9730
9731         * BufferView_pimpl.C: ditto
9732         * author.C: ditto
9733         * buffer.h: ditto
9734         * bufferlist.h: ditto
9735         * changes.h: ditto
9736         * lyxfunc.C: ditto
9737
9738 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9739
9740         * converter.[Ch]: split into itself +
9741         * graph.[Ch]
9742         * format.[Ch]
9743         * Makefile.am: += graph.[Ch] + format.[Ch]
9744         * MenuBackend.C
9745         * buffer.C
9746         * exporter.C
9747         * importer.C
9748         * lyx_main.C
9749         * lyxfunc.C
9750         * lyxrc.C: added #include "format.h"
9751
9752 2003-02-27  Angus Leeming  <leeming@lyx.org>
9753
9754         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9755           a label.
9756
9757         * factory.C (createInset): add "label" to the factory.
9758
9759         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9760           string and do no more.
9761
9762 2003-02-27  Angus Leeming  <leeming@lyx.org>
9763
9764         * commandtags.h:
9765         * LyXAction.C (init):
9766         * factory.C (createInset):
9767         * BufferView_pimpl.C (dispatch):
9768           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9769
9770         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9771
9772         * lyxfunc.C (dispatch):
9773         * text3.C (dispatch): pass name to params2string.
9774
9775 2003-02-26  Angus Leeming  <leeming@lyx.org>
9776
9777         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9778           blocks together.
9779           Rearrange the ~includes. Strip out the unnecessary ones.
9780
9781         * factory.C (createInset): reformat.
9782           create new insets for the various LFUN_XYZ_APPLY lfuns.
9783
9784 2003-02-26  John Levon  <levon@movementarian.org>
9785
9786         * lyxrow.h:
9787         * lyxrow.C: add isParStart,isParEnd helpers
9788
9789         * paragraph.h: make isInserted/DeletedText take refs
9790
9791         * paragraph_funcs.h:
9792         * paragraph_funcs.C: remove #if 0'd code
9793
9794         * lyxtext.h:
9795         * text3.C:
9796         * text2.C:
9797         * text.C: use lyxrow helpers above.
9798           Move draw and paint routines to RowPainter.
9799           Make several methods use refs not pointers.
9800           Make backgroundColor() const.
9801           Add markChangeInDraw(), isInInset().
9802           Merge changeRegionCase into changeCase.
9803           Make workWidth() shouldn't-happen code into an Assert.
9804
9805         * rowpainter.h:
9806         * rowpainter.C: new class for painting a row.
9807
9808         * vspace.h:
9809         * vspace.C: make inPixels take a ref
9810
9811 2003-02-26  Angus Leeming  <leeming@lyx.org>
9812
9813         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9814         LFUN_REF_APPLY.
9815
9816 2003-02-25  John Levon  <levon@movementarian.org>
9817
9818         * ispell.C: give the forked command a more accurate name
9819
9820 2003-02-22  John Levon  <levon@movementarian.org>
9821
9822         * toc.h:
9823         * toc.C: make TocItem store an id not a Paragraph *
9824           (bug #913)
9825
9826 2003-02-21  Angus Leeming  <leeming@lyx.org>
9827
9828         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9829           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9830           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9831           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9832           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9833           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9834
9835         * BufferView_pimpl.C (dispatch):
9836         * LyXAction.C (init):
9837         * factory.C (createInset):
9838         * lyxfunc.C (getStatus, dispatch):
9839         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9840
9841 2003-02-21  Angus Leeming  <leeming@lyx.org>
9842
9843         * BufferView_pimpl.C (MenuInsertLyXFile):
9844         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9845         * lyxfunc.C (menuNew, open, doImport):
9846           no longer pass a LyXView & to fileDlg.
9847
9848 2003-02-21  Angus Leeming  <leeming@lyx.org>
9849
9850         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9851         * LyXAction.C: change, BIBKEY to BIBITEM.
9852         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9853         Change InsetBibKey to InsetBibitem.
9854         Change BIBKEY_CODE to BIBITEM_CODE.
9855         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9856         * factory.C: replace insetbib.h with insetbibitem.h.
9857         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9858         * paragraph.C: replace insetbib.h with insetbibitem.h.
9859         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9860         Change bibkey() to bibitem().
9861         * text.C: remove insetbib.h.
9862         * text2.C: replace insetbib.h with insetbibitem.h.
9863         change bibkey() to bibitem().
9864         * text3.C: remove insetbib.h.
9865         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9866
9867 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9868
9869         * lyxrc.C (output): enclose user email in quotes (in case there are
9870         several words)
9871
9872 2003-02-18  John Levon  <levon@movementarian.org>
9873
9874         * buffer.h: add std::
9875
9876 2003-02-17  John Levon  <levon@movementarian.org>
9877
9878         * SpellBase.h:
9879         * ispell.h:
9880         * ispell.C:
9881         * pspell.h:
9882         * pspell.C: reworking. Especially in ispell, a large
9883           number of clean ups and bug fixes.
9884
9885         * lyxfunc.C: fix revert to behave sensibly
9886
9887 2003-02-17 André Pönitz <poenitz@gmx.net>
9888
9889         * LyXAction.C:
9890         * commandtags.h: new LFUN_INSERT_BIBKEY
9891
9892         * layout.h:
9893         * lyxlayout.C:
9894         * buffer.C:
9895         * factory.C:
9896         * text.C:
9897         * text2.C:
9898         * text3.C:
9899         * paragraph.[Ch]:
9900         * paragraph_func.C: remove special bibkey handling
9901
9902 2003-02-17  John Levon  <levon@movementarian.org>
9903
9904         * text.C (Delete): fix case where delete at the end of
9905           the very first paragraph would not merge the pars
9906
9907 2003-02-17  John Levon  <levon@movementarian.org>
9908
9909         * lyxrow.C: fix lastPrintablePos()
9910
9911 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9912
9913         * bufferparams.C (writeLaTeX): add a std:here
9914
9915         * buffer.C: and remove a using directive there
9916
9917 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9918
9919         * buffer.C (makeLaTeXFile): move the code that generates the
9920           preamble...
9921
9922         * bufferparams.C (writeLaTeX): ... in this new method
9923
9924         * LaTeXFeatures.C (getEncodingSet): make const
9925           (getLanguages): make const
9926
9927         * MenuBackend.C (binding): returns the binding associated to this
9928           action
9929           (add): sets the status of each item by calling getStatus. Adds
9930           some intelligence.
9931           (read): add support for OptSubMenu
9932           (expand): remove extra separator at the end of expanded menu
9933
9934 2003-02-15  John Levon  <levon@movementarian.org>
9935
9936         * BufferView.C:
9937         * BufferView_pimpl.C:
9938         * bufferlist.h:
9939         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9940           inset code that had no actual effect. Remove unneeded status
9941           code.
9942
9943 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9944
9945         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9946           in preamble
9947
9948 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9949
9950         * text.C (drawLengthMarker): also draw an arrow marker for
9951           symbolic lengths (medskip...)
9952
9953 2003-02-14  John Levon  <levon@movementarian.org>
9954
9955         * tabular.h:
9956         * tabular.C: better method names
9957
9958 2003-02-14  John Levon  <levon@movementarian.org>
9959
9960         * BufferView_pimpl.C:
9961         * bufferlist.C:
9962         * buffer.C:
9963         * converter.C:
9964         * lyx_cb.C:
9965         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9966           it's a more accurate name. Remove some pointless uses.
9967
9968 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9969
9970         * text2.C (LyXText): change order of initilizers to shut off
9971           warnings
9972
9973 2003-02-14  John Levon  <levon@movementarian.org>
9974
9975         * buffer.C: use ParIterator for getParFromID()
9976
9977         * paragraph.h:
9978         * paragraph.C:
9979         * paragraph_pimpl.h:
9980         * paragraph_pimpl.C: remove unused getParFromID()
9981
9982 2003-02-14  John Levon  <levon@movementarian.org>
9983
9984         * buffer.C: remove some very old #if 0'd parse code
9985
9986 2003-02-13  John Levon  <levon@movementarian.org>
9987
9988         * text.h:
9989         * text.C:
9990         * text2.C: move hfillExpansion(), numberOfSeparators(),
9991           rowLast(), rowLastPrintable(), numberofHfills(),
9992           numberOfLabelHfills() ...
9993
9994         * lyxrow.h:
9995         * lyxrow.C: ... to member functions here.
9996
9997         * paragraph.h:
9998         * paragraph.C:
9999         * lyxtext.h:
10000         * text.C: remove LyXText::beginningOfMainBody(), and call
10001           p->beginningOfMainBody() directly. Move the check for
10002           LABEL_MANUAL into the latter.
10003
10004         * text.h:
10005         * text.C:
10006         * text2.C:
10007         * vspace.C:
10008         * BufferView.h:
10009         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10010
10011         * text.h:
10012         * text.C:
10013         * text2.C:
10014         * text3.C:
10015         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10016           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10017
10018 2003-02-13  John Levon  <levon@movementarian.org>
10019
10020         * CutAndPaste.C: remove debug
10021
10022 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10023
10024         * paragraph.C (asString): remove two unused variables
10025
10026         * lyxtextclass.C (readTitleType):
10027           (Read):
10028           (LyXTextClass): handle new members titletype_ and titlename_
10029
10030         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10031
10032 2003-02-09  John Levon  <levon@movementarian.org>
10033
10034         * buffer.h:
10035         * buffer.C: replace hand-coded list with a map for the dep clean
10036
10037 2003-02-08  John Levon  <levon@movementarian.org>
10038
10039         * LaTeX.C: consolidate code into showRunMessage() helper
10040
10041 2003-02-08  John Levon  <levon@movementarian.org>
10042
10043         * lyxfind.C:
10044         * lyxtext.h:
10045         * text2.C:
10046         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10047           and pass the size in explicitly
10048
10049         * BufferView_pimpl.h:
10050         * BufferView_pimpl.C:
10051         * BufferView.h:
10052         * BufferView.C: add getCurrentChange()
10053
10054         * BufferView_pimpl.h:
10055         * BufferView_pimpl.C: handle change lfuns
10056
10057         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10058           for changes. Mark pasted paragraphs as new.
10059
10060         * support/lyxtime.h:
10061         * support/lyxtime.C:
10062         * DepTable.C: abstract time_t as lyx::time_type
10063
10064         * LColor.h:
10065         * LColor.C: add colours for new text, deleted text, changebars
10066
10067         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10068           package use "usenames" option.
10069
10070         * commandtags.h:
10071         * lyxfunc.C:
10072         * LyXAction.C: add change lfuns
10073
10074         * Makefile.am:
10075         * author.h:
10076         * author.C: author handling
10077
10078         * buffer.h:
10079         * buffer.C: add a per-buffer author list, with first entry as
10080           current author. Handle new .lyx tokens for change tracking. Output
10081           author list to .lyx file. Output dvipost stuff to .tex preamble.
10082           Bump lyx format to 222.
10083
10084         * bufferlist.h:
10085         * bufferlist.C: add setCurrentAuthor() to reset current author details
10086           in all buffers.
10087
10088         * bufferparams.h:
10089         * bufferparams.C: add param for tracking
10090
10091         * bufferview_funcs.C: output change info in minibuffer
10092
10093         * Makefile.am:
10094         * changes.h:
10095         * changes.C: add change-tracking structure
10096
10097         * debug.h:
10098         * debug.C: add CHANGES debug flag
10099
10100         * lyxfind.h:
10101         * lyxfind.C: add code for finding the next change piece
10102
10103         * lyxrc.h:
10104         * lyxrc.C: add user_name and user_email
10105
10106         * lyxrow.h:
10107         * lyxrow.C: add a metric for the top of the text line
10108
10109         * lyxtext.h:
10110         * text.C: implement accept/rejectChange()
10111
10112         * lyxtext.h:
10113         * text.C: paint changebars. Paint new/deleted text in the chosen
10114         colours. Strike through deleted text.
10115
10116         * paragraph.h:
10117         * paragraph.C:
10118         * paragraph_pimpl.h:
10119         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10120           in the current change to the insert functions. Rework erase to
10121           mark text as deleted, adding an eraseIntern() and a range-based
10122           erase(). Implement per-paragraph change lookup and
10123           accept/reject.
10124
10125         * paragraph_funcs.C: Fixup paste for change tracking.
10126
10127         * tabular.C: mark added row/columns as new.
10128
10129         * text.C: fix rowLast() to never return -1. Don't allow
10130           spellchecking of deleted text. Track transpose changes. Don't
10131           allow paragraph break or merge where appropriate.
10132
10133         * text2.C: leave cursor at end of selection after a cut.
10134
10135 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10136
10137         * text.C (getLengthMarkerHeight):
10138         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10139         visible on screen too.
10140
10141 2003-02-07  John Levon  <levon@movementarian.org>
10142
10143         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10144
10145 2003-02-05  Angus Leeming  <leeming@lyx.org>
10146
10147         * lyxserver.C (read_ready): revert my patch of 11 September last year
10148         as it sends PC cpu through the roof. Presumably this means that
10149         the lyxserver will no longer run on an Alpha...
10150
10151 2003-01-30  Angus Leeming  <leeming@lyx.org>
10152
10153         * factory.C (createInset): create an InsetCommandParam of type "index"
10154         and use it to 'do the right thing'.
10155
10156         * text2.C (getStringToIndex): ensure that cursor position is always
10157         reset to the reset_cursor position.
10158
10159 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10160
10161         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10162         disabled.
10163
10164 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10165
10166         * bufferview.C:
10167         * lyxcb.C:
10168         * lyxfunc.C: Output messages with identical spelling, punctuation,
10169         and spaces
10170
10171 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10172
10173         * MenuBackend.C (expandFormats): List only viewable export formats
10174         in "View" menu
10175
10176         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10177         message
10178
10179         * lyxfunc.C (getStatus): Make sure that formats other than
10180         "fax" can also be disabled
10181
10182 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10183
10184         * text3.C (dispatch): put the lfuns that insert insets in 3
10185         groups, and call doInsertInset with appropriate arguments.
10186         (doInsertInset): new function, that creates an inset and inserts
10187         it according to some boolean parameters.
10188
10189 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10190
10191         * buffer.C (readFile): remember to pass on 'par' when calling
10192         readFile recursively.
10193
10194 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10195
10196         * MenuBackend.C (expandFormats): add "..." to import formats.
10197
10198 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10199
10200         * paragraph.C (asString): Remove XForms RTL hacks.
10201
10202 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10203         * buffer.C: fix typo
10204
10205 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10206
10207         * Makefile.am (LIBS): delete var
10208         (lyx_LDADD): add @LIBS@ here instead.
10209
10210 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10211
10212         * Clarify the meaning of "wheel mouse jump"
10213
10214 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10215
10216         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10217         tabular in a float
10218
10219 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10220
10221         * importer.C (Loaders): do not preallocate 3 elements in the
10222         vector, since one ends up with 6 elements otherwise
10223
10224 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10225
10226         * DepTable.C (write): write the file name as last element of the
10227         .dep file (because it may contain spaces)
10228         (read): read info in the right order
10229
10230 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10231
10232         * paragraph_pimpl.C (simpleTeXBlanks):
10233         (simpleTeXSpecialChars):
10234         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10235
10236         * tabular.C (latex): add some missing case statements. Reindent.
10237
10238         * MenuBackend.C (expandToc): remove unused variable.
10239
10240 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10241
10242         * LColor.C:
10243         * LaTeX.C:
10244         * LyXAction.C:
10245         * MenuBackend.C:
10246         * buffer.C:
10247         * exporter.C:
10248         * lyxfunc.C:
10249         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10250         and the like.
10251
10252 2003-01-05  John Levon  <levon@movementarian.org>
10253
10254         * BufferView.h:
10255         * BufferView.C: add getEncoding()
10256
10257         * kbsequence.h:
10258         * kbsequence.C: do not store last keypress
10259
10260         * lyxfunc.h:
10261         * lyxfunc.C: store last keypress here instead. Pass encoding
10262           to getISOEncoded()
10263
10264 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10265
10266         * lyx_main.C (init): remove annoying error message when following
10267         symbolic links (bug #780)
10268
10269 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10270
10271         * text.C (insertChar):
10272         * lyxrc.C (getDescription): remove extra spaces
10273
10274 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10275
10276         * lyxrc.C (getDescription): remove extra spaces
10277
10278 2002-12-20  John Levon  <levon@movementarian.org>
10279
10280         * text3.C: hack fix for page up/down across tall rows
10281
10282 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10283
10284         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10285         not been invoked
10286
10287 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10288
10289         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10290         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10291         thesaurus is not compiled in
10292
10293 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10294
10295         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10296
10297 2002-12-16  Angus Leeming  <leeming@lyx.org>
10298
10299         * lyxrc.[Ch]:
10300         * lyx_main.C (init): remove override_x_deadkeys stuff.
10301
10302 2002-12-12  John Levon  <levon@movementarian.org>
10303
10304         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10305           insert. Only remove shift modifier under strict
10306           circumstances.
10307
10308 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10309
10310         * MenuBackend.C (expandToc): fix crash.
10311
10312 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10313
10314         * MenuBackend.C (expandToc): gettext on float names.
10315
10316 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10317
10318         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10319         implement bool empty() [bug 490]
10320
10321 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10322
10323         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10324
10325 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10326
10327         * several files: ws changes
10328
10329 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10330
10331         * text2.C (setCounter): clean up a bit, use boost.format.
10332         (updateCounters): initialize par upon declaration.
10333
10334         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10335         if the layout exists. We do not just store the layout any more.
10336         (SwitchLayoutsBetweenClasses): use boost.format
10337
10338 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10339
10340         * converter.C (convert): if from and to files are the same, use a
10341         temporary files as intermediary
10342
10343 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10344
10345         * commandtags.h:
10346         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10347
10348 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10349
10350         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10351
10352 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10353
10354         * tabular.C (asciiPrintCell): use string(size, char) instead of
10355         explicit loop.
10356
10357         * sgml.C (openTag): fix order of arguments to string constructor
10358         (closeTag): ditto
10359
10360         * lyxfunc.C (dispatch): use boost.format
10361
10362         * lots of files: change "c" -> 'c'
10363
10364 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10365
10366         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10367
10368 2002-11-25  Angus Leeming  <leeming@lyx.org>
10369
10370         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10371
10372         * lyx_main.C (init): compile fix.
10373
10374 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10375
10376         * lyx_cb.C (start): boost.formatify
10377         do not include <iostream>
10378
10379         * lengthcommon.C: ws only
10380
10381         * boost-inst.C,BoostFormat.h: add more explict instantations
10382
10383 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10384
10385         * lots of files: handle USE_BOOST_FORMAT
10386
10387 2002-11-21  John Levon  <levon@movementarian.org>
10388
10389         * pspell.C: fix compile
10390
10391 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10392
10393         * lyxfunc.C (dispatch): use boost::format
10394         (open): ditto
10395         (doImport): ditto
10396
10397         * lyxfont.C (stateText): use boost::format
10398
10399         * lyx_main.C (LyX): use boost::format
10400         (init): ditto
10401         (queryUserLyXDir): ditto
10402         (readRcFile): ditto
10403         (parse_dbg): ditto
10404         (typedef boost::function): use the recommened syntax.
10405
10406         * importer.C (Import): use boost::format
10407
10408         * debug.C (showLevel): use boost::format
10409
10410         * converter.C (view): use boost::format
10411         (convert): ditto
10412         (move): ditto
10413         (scanLog): ditto
10414
10415         * bufferview_funcs.C (currentState): use boost::format
10416
10417         * bufferlist.C (emergencyWrite): use boost::format
10418
10419         * buffer.C (readLyXformat2): use boost::format
10420         (parseSingleLyXformat2Token): ditto
10421
10422         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10423
10424         * LaTeX.C (run): use boost::format
10425
10426         * Chktex.C (scanLogFile): use boost::format
10427
10428         * BufferView_pimpl.C (savePosition): use boost::format
10429         (restorePosition): ditto
10430         (MenuInsertLyXFile): ditto
10431
10432         * BoostFormat.h: help file for explicit instation.
10433
10434 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10435
10436         * tabular.C (latex): Support for block alignment in fixed width
10437         columns.
10438
10439 2002-11-17  John Levon  <levon@movementarian.org>
10440
10441         * BufferView_pimpl.C:
10442         * lyx_cb.C:
10443         * lyxfunc.C: split filedialog into open/save
10444
10445 2002-11-08  Juergen Vigna  <jug@sad.it>
10446
10447         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10448         by my last patch (hopefully).
10449
10450 2002-11-08  John Levon  <levon@movementarian.org>
10451
10452         * iterators.h:
10453         * iterators.C:
10454         * buffer.h:
10455         * buffer.C:
10456         * paragraph.h:
10457         * paragraph.C:
10458         * toc.h:
10459         * toc.C: ParConstIterator, and use it (from Lars)
10460
10461 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10462
10463         * lyxtextclass.[Ch]: revise and add doxygen comments
10464
10465 2002-11-07  John Levon  <levon@movementarian.org>
10466
10467         * text.C: fix progress value for spellchecker
10468
10469         * toc.C: fix navigate menu for insetwrap inside minipage
10470
10471         * paragraph_funcs.C: added FIXME for suspect code
10472
10473 2002-11-07  John Levon  <levon@movementarian.org>
10474
10475         * BufferView_pimpl.C: fix redrawing of insets
10476           on buffer switch
10477
10478 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10479
10480         * text2.C (updateCounters): fix bug 668
10481
10482 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10483
10484         * text3.C (dispatch): Do not make the buffer dirty when moving the
10485         cursor.
10486
10487 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10488
10489         * vc-backend.C: STRCONV
10490         (scanMaster): ditto
10491
10492         * text2.C (setCounter): STRCONV
10493
10494         * paragraph.C (asString): STRCONV
10495
10496         * lyxlength.C (asString): STRCONV
10497         (asLatexString): ditto
10498
10499         * lyxgluelength.C (asString): STRCONV
10500         (asLatexString): ditto
10501
10502         * lyxfunc.C (dispatch): STRCONV
10503         (open): ditto
10504
10505         * lyxfont.C (stateText): STRCONV
10506
10507         * importer.C (Import): STRCONV
10508
10509         * counters.C (labelItem): STRCONV
10510         (numberLabel): ditto
10511         (numberLabel): remove unused ostringstream o
10512
10513         * chset.C: STRCONV
10514         (loadFile): ditto
10515
10516         * bufferview_funcs.C (currentState): STRCONV
10517
10518         * buffer.C (readFile): STRCONV
10519         (asciiParagraph): ditto
10520         (makeLaTeXFile): ditto
10521
10522         * Spacing.C (writeEnvirBegin): STRCONV
10523
10524         * LaTeXFeatures.C (getLanguages): STRCONV
10525         (getPackages): ditto
10526         (getMacros): ditto
10527         (getBabelOptions): ditto
10528         (getTClassPreamble): ditto
10529         (getLyXSGMLEntities): ditto
10530         (getIncludedFiles): ditto
10531
10532         * LaTeX.C: STRCONV
10533         (run): ditto
10534         (scanAuxFile): ditto
10535         (deplog): ditto
10536
10537         * LString.h: add the STRCONV macros
10538
10539         * BufferView_pimpl.C (savePosition): STRCONV
10540         (restorePosition): ditto
10541         (MenuInsertLyXFile): ditto
10542
10543         * vc-backend.C (scanMaster): change from submatch[...] to
10544         submatch.str(...)
10545
10546         * funcrequest.C: include config.h
10547
10548         * factory.C: include config.h
10549
10550         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10551
10552         * box.C: include config.h
10553
10554         * LaTeX.C (scanAuxFile): change from submatch[...] to
10555         submatch.str(...)
10556         (deplog): ditto
10557
10558 2002-10-25  Angus Leeming  <leeming@lyx.org>
10559
10560         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10561
10562         * ispell.[Ch] (setError): new method.
10563         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10564         Use setError() insetead of goto END.
10565
10566         * lyx_cb.C (AutoSave): move out child process into new class
10567         AutoSaveBuffer.
10568
10569 2002-10-30  John Levon  <levon@movementarian.org>
10570
10571         * text3.C: make start appendix undoable
10572
10573 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10574
10575         * lyxlength.C (inPixels): Fix returned value.
10576
10577         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10578         environment.
10579
10580 2002-10-24  Angus Leeming  <leeming@lyx.org>
10581
10582         * lyxgluelength.h: no need to forward declare BufferParams
10583         or BufferView, so don't.
10584
10585 2002-10-21  John Levon  <levon@movementarian.org>
10586
10587         * BufferView.C: menuUndo ->undo, redo
10588
10589         * BufferView.h: document, remove dead, make some methods private
10590
10591         * paragraph_funcs.h:
10592         * paragraph_funcs.C:
10593         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10594
10595         * buffer.h:
10596         * buffer.C:
10597         * sgml.h:
10598         * sgml.C: move sgml open/close tag into sgml.C
10599
10600         * bufferview_funcs.h: unused prototype
10601
10602         * lyxfunc.h:
10603         * lyxfunc.C: remove unused
10604
10605         * lyxtext.h:
10606         * text.C: remove unused
10607
10608 2002-10-21  John Levon  <levon@movementarian.org>
10609
10610         * BufferView.h:
10611         * BufferView.C:
10612         * BufferView_pimpl.h:
10613         * BufferView_pimpl.C: fix mouse wheel handling based on
10614           patch from Darren Freeman
10615
10616 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10617
10618         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10619
10620 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10621
10622         * lyxlength.C (inPixels): Fix hanfling of negative length.
10623         Fix LyXLength::MU case.
10624
10625 2002-10-16  John Levon  <levon@movementarian.org>
10626
10627         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10628
10629 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10630
10631         * converter.C (view): add support for $$i (file name) and $$p
10632         (file path) for the viewer command. If $$i is not specified, then
10633         it is appended to the command (for compatibility with old syntax)
10634
10635 2002-10-14  Juergen Vigna  <jug@sad.it>
10636
10637         * undo_funcs.C (textHandleUndo): alter the order in which the
10638         new undopar is added to the LyXText, as we have to set first
10639         the right prev/next and then add it as otherwise the rebuild of
10640         LyXText is not correct. Also reset the cursor to the right paragraph,
10641         with this IMO we could remove the hack in "redoParagraphs()".
10642
10643 2002-10-09  Angus Leeming  <leeming@lyx.org>
10644
10645         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10646         to turn off an optimisation if a new inset is to be inserted.
10647
10648 2002-10-11 André Pönitz <poenitz@gmx.net>
10649
10650         * lyxtext.h: make some functions public to allow access
10651         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10652
10653 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10654
10655         * text3.C (dispatch): when changing layout, avoid an infinite loop
10656         [bug #652]
10657
10658 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10659
10660         * lyxrc.C (read): treat a viewer or converter command of "none" as
10661         if it were empty.
10662
10663         * MenuBackend.C (expandFormats): for an update, also allow the
10664         formats that are not viewable
10665
10666         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10667         script if it is newer than the lyxrc.defaults in user directory
10668
10669 2002-10-07 André Pönitz <poenitz@gmx.net>
10670
10671         * text.C: Vitaly Lipatov's small i18n fix
10672
10673 2002-09-25  Angus Leeming  <leeming@lyx.org>
10674
10675         * ispell.h: doxygen fix.
10676
10677 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10678
10679         * buffer.h (readFile): Add a new argument to the method, to allow
10680         reading of old-format templates.
10681
10682 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10683
10684         * toc.C (getTocList): Get TOC from InsetWrap.
10685
10686 2002-09-16  John Levon  <levon@movementarian.org>
10687
10688         * lyxfunc.C: check tabular for cut/copy too
10689
10690 2002-09-12  John Levon  <levon@movementarian.org>
10691
10692         * LyXAction.C: tidy
10693
10694         * factory.h:
10695         * factory.C: add header
10696
10697         * paragraph_funcs.h:
10698         * paragraph_funcs.C: cleanup
10699
10700 2002-09-11  John Levon  <levon@movementarian.org>
10701
10702         * PrinterParams.h: odd/even default to true
10703
10704 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10705
10706         * PrinterParams.h: update printer parameters for new xforms dialog
10707
10708 2002-09-11  Angus Leeming  <leeming@lyx.org>
10709
10710         * lyxserver.C (read_ready): re-write to make it more transparent
10711         and to make it work in coherent fashion under Tru64 Unix.
10712
10713 2002-09-11  André Pönitz <poenitz@gmx.net>
10714
10715         * commandtags.h:
10716         * LyXAction.C:
10717         * text3.C: implement LFUN_WORDSEL
10718
10719 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10720
10721         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10722         make floatlist_ a boost::shared_ptr<FloatList>
10723
10724         * lyxtextclass.C: include FloatList.h
10725         (LyXTextClass): initialize floatlist_
10726         (TextClassTags): add TC_NOFLOAT
10727         (Read): match "nofloat" to TC_NOFLOAT and use it.
10728         (readFloat): modify call to floatlist_
10729         (floats): ditto
10730         (floats): ditto
10731
10732         * FloatList.[Ch] (FloatList): remove commented out float
10733         initialization.
10734         (erase): new function
10735
10736 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10737
10738         * MenuBackend.C (expandToc): fix crash when there is no document
10739         open
10740
10741 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10742
10743         * many files: Add insetwrap.
10744
10745 2002-09-09  John Levon  <levon@movementarian.org>
10746
10747         * text2.C: remove confusing and awkward depth wraparound
10748
10749 2002-09-09  John Levon  <levon@movementarian.org>
10750
10751         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10752
10753         * buffer.h:
10754         * buffer.C: remove getIncludeonlyList()
10755
10756         * paragraph.C:
10757         * lyxfunc.C: remove headers
10758
10759 2002-09-09  Juergen Vigna  <jug@sad.it>
10760
10761         * text.C (getColumnNearX): fix form Michael this is most
10762         probably a cut&paste bug.
10763
10764 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10765
10766         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10767
10768         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10769         references, ws changes.
10770
10771         * text2.C (init): update counters after init
10772         (insertParagraph): no need to set counter on idividual paragraphs.
10773         (setCounter): access the counters object in the textclass object
10774         on in the buffer object.
10775         (updateCounters): ditto
10776
10777         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10778         shared_ptr<Counters> to avoid loading counters.h in all
10779         compilation units.
10780         (LyXTextClass): initialize ctrs_
10781         (TextClassTags): add TC_COUNTER, and ...
10782         (Read): use it here.
10783         (CounterTags): new tags
10784         (readCounter): new function
10785         (counters): new funtion
10786         (defaultLayoutName): return a const reference
10787
10788         * counters.C (Counters): remove contructor
10789         (newCounter): remove a couple of unneeded statements.
10790         (newCounter): simplify a bit.
10791         (numberLabel): some small formatting changes.
10792
10793         * buffer.[Ch]: remove all traces of counters, move the Counters
10794         object to the LyXTextClass.
10795
10796 2002-09-06  Alain Castera  <castera@in2p3.fr>
10797
10798         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10799         package to set the horizontal alignment on fixed width columns.
10800
10801         * lyx_sty.C:
10802         * lyx_sty.h: added tabularnewline macro def.
10803
10804         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10805
10806 2002-09-06  John Levon  <levon@movementarian.org>
10807
10808         * LyXAction.C: tooltips for sub/superscript
10809
10810         * MenuBackend.C: a bit more verbose
10811
10812         * lyxfunc.C: tiny clean
10813
10814         * undo_funcs.C: document undo_frozen
10815
10816 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10817
10818         * counters.C (Counters): add missing algorithm counter.
10819
10820         * text2.C (setCounter): lookup the counter with layouts latexname
10821         instead of by section number.
10822         (setCounter): use a hackish way to lookup the correct enum
10823         counter.
10824         a float name->type change
10825         reset enum couners with counter name directly instead of depth value.
10826
10827         * counters.C (Counters): remove the push_backs, change to use the
10828         float type not the float name.
10829         (labelItem): remove unused string, float name->type change
10830
10831         * counters.h: don't include vector, loose the enums and sects vectors
10832
10833 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10834
10835         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10836         (Read): add float->TC_FLOAT to textclassTags
10837         (Read): and handle it in the switch
10838         (readFloat): new function
10839
10840         * FloatList.C (FloatList): comment out the hardcoded float
10841         definitions.
10842
10843         * lyxlayout.h: ws change.
10844
10845 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10846
10847         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10848
10849 2002-09-03  Angus Leeming  <leeming@lyx.org>
10850
10851         * BufferView_pimpl.h: qualified name is not allowed in member
10852         declaration: WorkArea & Pimpl::workarea() const;
10853
10854         * factory.C: added using std::endl directive.
10855
10856         * text3.C: added using std::find and std::vector directives.
10857
10858 2002-08-29  André Pönitz <poenitz@gmx.net>
10859
10860         * lyxtext.h:
10861         * text2.C: remove unused member number_of_rows
10862
10863         * Makefile.am:
10864         * BufferView2.C: remove file, move contents to...
10865         * BufferView.C: ... here
10866
10867         * BufferView_pimpl.C:
10868         * factory.C: move more inset creation to factory
10869
10870         * vspace.C: avoid direct usage of LyXText, ws changes
10871
10872         * BufferView.[Ch]:
10873                 don't provide direct access to WorkArea, use two simple
10874                 acessors haveSelction() and workHeight() instead
10875
10876
10877 2002-08-29  John Levon  <levon@movementarian.org>
10878
10879         * BufferView_pimpl.C (dispatch): do not continue when
10880           no buffer
10881
10882 2002-08-28  André Pönitz <poenitz@gmx.net>
10883
10884         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10885
10886         * BufferView.h:
10887         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10888
10889 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10890
10891         * buffer.C: increment LYX_FORMAT to 221
10892
10893         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10894         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10895
10896         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10897
10898         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10899
10900 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10901
10902         * factory.C (createInset): use LyXTextClass::floats
10903
10904         * MenuBackend.C (expandFloatListInsert):
10905         (expandFloatInsert):
10906         (expandToc):
10907
10908         * text2.C (setCounter):
10909
10910         * LaTeXFeatures.C (useFloat):
10911         (getFloatDefinitions):
10912
10913         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10914
10915         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10916         floatlist_, with accessor floats().
10917
10918         * FloatList.h: remove global FloatList
10919
10920 2002-08-26  André Pönitz <poenitz@gmx.net>
10921
10922         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10923
10924         * BufferView.h:
10925         * BufferView2.C:
10926         * BufferView_pimpl.C:
10927         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10928
10929 2002-08-25  John Levon  <levon@movementarian.org>
10930
10931         * LyXAction.C: fix margin note description
10932
10933 2002-08-24  John Levon  <levon@movementarian.org>
10934
10935         * buffer.C:
10936         * bufferlist.C:
10937         * bufferview_funcs.C:
10938         * lyxfont.C:
10939         * undo_funcs.C: cleanups
10940
10941         * lyxfunc.C: disable CUT/COPY when no selection
10942
10943 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10944
10945         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10946         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10947
10948         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10949         Add backward compatibility to "mono", "gray" and "no".
10950
10951 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10952
10953         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10954         (and file_format >= 200).
10955
10956 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10957
10958         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10959
10960 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10961
10962         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10963
10964 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10965
10966         * BufferView_pimpl.C:
10967         * LyXAction.C:
10968         * buffer.C:
10969         * commandtags.h:
10970         * lyxfunc.C:
10971         * paragraph.[Ch]:
10972         * text2.C:
10973         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10974         inset and code to make it  work with the paragraph code. The inset
10975         can be anywhere in the paragraph, but will only do the expected
10976         thing in LaTeX if the layout file contains the parameter line
10977                         OptionalArgs    1
10978         (or more generally, a nonzero value) for that layout.
10979
10980 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10981
10982         * paragraph.h: remove the declaration of undefined counters class
10983         function.
10984
10985 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10986
10987         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10988         Dr. Richard Hawkins.
10989
10990 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10991
10992         * paragraph_funcs.h: remove some unneeded includes
10993
10994         * text.C (backspace): pasteParagraph now in global scipe
10995
10996         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10997         (pasteSelection): ditto
10998
10999         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11000         * paragraph_funcs.C (pasteParagraph): ... here
11001
11002 2002-08-20  André Pönitz <poenitz@gmx.net>
11003
11004         * commandtags.h: new LFUNs for swapping/copying table row/colums
11005
11006         * LyXAction.C:
11007         * lyxfunc.C: support for new lfuns
11008
11009 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11010
11011         * tabular.C:
11012         * buffer.[Ch]: remove NO_COMPABILITY stuff
11013
11014 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11015
11016         * boost.C (throw_exception): new file, with helper function for
11017         boost compiled without exceptions.
11018
11019         * paragraph.h:
11020         * lyxlength.C:
11021         * buffer.C:
11022         * ParameterStruct.h:
11023         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11024
11025         * bufferlist.C (emergencyWriteAll): use boost bind
11026
11027         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11028
11029         * text.C: include paragraph_funcs.h
11030         (breakParagraph): breakParagraph is now in global scope
11031
11032         * paragraph_funcs.[Ch]: new files
11033
11034         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11035         global scope
11036
11037         * buffer.C: include paragraph_funcs.h
11038         (insertStringAsLines): breakParagraph is now in global scope
11039
11040         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11041         paragraph_funcs.C
11042
11043         * CutAndPaste.C: include paragraph_funcs.h
11044         (cutSelection): breakParagraphConservative is now in global scope
11045         (pasteSelection): ditto
11046
11047         * buffer.h: declare oprator== and operator!= for
11048         Buffer::inset_iterator
11049
11050         * bufferlist.C (emergencyWrite): don't use fmt(...)
11051
11052         * text3.C: add using std::endl
11053
11054         * BufferView.C (moveCursorUpdate): remove default arg
11055
11056 2002-08-20  André Pönitz <poenitz@gmx.net>
11057
11058         * buffer.[Ch]: move inline functions to .C
11059
11060         * BufferView2.C:
11061         * BufferView_pimpl.C:
11062         * text.C:
11063         * buffer.[Ch]: use improved inset_iterator
11064
11065         * buffer.C:
11066         * paragraph.[Ch]: write one paragraph at a time
11067
11068 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11069
11070         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11071         style if style is not specified.
11072
11073 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11074
11075         * text2.C (setCounter): when searching for right label for a
11076         caption, make sure to recurse to parent insets (so that a caption
11077         in a minipage in a figure float works) (bug #568)
11078
11079 2002-08-20  André Pönitz <poenitz@gmx.net>
11080
11081         * text3.C: new file for LyXText::dispatch() and helpers
11082
11083         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11084
11085         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11086
11087 2002-08-19  André Pönitz <poenitz@gmx.net>
11088
11089         * lyxtext.h:
11090         * text.C: new LyXText::dispatch()
11091
11092         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11093
11094 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11095
11096         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11097
11098         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11099         Hebrew text.
11100
11101 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11102
11103         * Makefile.am: use $(variables) instead of @substitutions@
11104
11105 2002-08-15  André Pönitz <poenitz@gmx.net>
11106
11107         * lyxfunc.C:
11108         * BufferView_pimpl.C: streamlining mathed <-> outer world
11109         interaction
11110
11111         * commandtags.h:
11112         * LyXAction.C: remove unused LFUN_MATH
11113
11114 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11115
11116         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11117
11118 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11119
11120         * paragraph.C (Paragraph): reformat a bit
11121         (cutIntoMinibuffer): use builtin InsetList function instad of
11122         doing it manually.
11123         (getInset): ditto
11124
11125         * buffer.C: include boost/bind.hpp, add using std::for_each
11126         (writeFileAscii): use ParagraphList iterators
11127         (validate): use for_each for validate traversal of paragraphs
11128         (getBibkeyList): use ParagraphList iterators
11129         (resizeInsets): use for_each to resizeInsetsLyXText for all
11130         paragraphs.
11131         (getParFromID): use ParagraphList iterators
11132
11133         * BufferView2.C (lockInset): use paragraph list and iterators
11134
11135 2002-08-14  John Levon  <levon@movementarian.org>
11136
11137         * lyxserver.C: remove spurious xforms include
11138
11139 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11140
11141         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11142
11143 2002-08-13  André Pönitz <poenitz@gmx.net>
11144
11145         * LyXAction.[Ch]:
11146         * lyxfunc.C: further cleaning
11147
11148 2002-08-13  André Pönitz <poenitz@gmx.net>
11149
11150         * funcrequest.h: new constructor
11151
11152         * funcrequest.C: move stuff here from .h
11153
11154         * Makefile.am:
11155         * BufferView_pimpl.C:
11156         * LyXAction.C:
11157         * toc.C:
11158         * lyxfunc.C: subsequent changes
11159
11160         * lyxfunc.h: new view() member function
11161
11162         * lyxfunc.C: subsequent changes
11163
11164 2002-08-13  Angus Leeming  <leeming@lyx.org>
11165
11166         * BufferView2.C:
11167         * BufferView_pimpl.C:
11168         * buffer.C:
11169         * converter.C:
11170         * importer.C:
11171         * lyxfunc.C:
11172         * lyxvc.C:
11173         * toc.C:
11174         * vc-backend.C:
11175         changes due to the changed LyXView interface that now returns references
11176         to member variables not pointers.
11177
11178 2002-08-13  Angus Leeming  <leeming@lyx.org>
11179
11180         * WordLangTuple (word, lang_code): return references to strings,
11181         not strings.
11182
11183         * BufferView.h:
11184         * SpellBase.h:
11185         * lyxtext.h: forward-declare WordLangTuple.
11186
11187         * BufferView2.C:
11188         * ispell.C:
11189         * pspell.C:
11190         * text.C: #include "WordLangTuple.h".
11191
11192         * lyxtext.h:
11193         * text.C: (selectNextWordToSpellcheck): constify return type.
11194
11195 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11196
11197         * buffer.C:
11198         * buffer.h:
11199         * lyxtext.h:
11200         * paragraph.C:
11201         * paragraph_pimpl.h:
11202         * text.C:
11203         * text2.C:
11204         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11205         suggested by Angus.
11206         Made updateCounter always count from start of buffer, and removed
11207         second argument (par).
11208         Reverted floats number display to '#'. Perhaps I'll try again when the
11209         code base is sanitized a bit.
11210
11211 2002-08-12  Angus Leeming  <leeming@lyx.org>
11212
11213         * buffer.[Ch] (getLabelList): constify.
11214
11215 2002-08-07  André Pönitz <poenitz@gmx.net>
11216
11217         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11218
11219         * funcrequest.h: extension to keep mouse (x,y) position
11220
11221 2002-08-12  Juergen Vigna  <jug@sad.it>
11222
11223         * BufferView2.C (insertErrors): forbid undo when inserting error
11224         insets.
11225
11226         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11227
11228 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11229
11230         * ParagraphList.[Ch]: new files
11231
11232         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11233
11234         * BufferView2.C (lockInset): ParagraphList changes
11235         * toc.C: ditto
11236         * text2.C: ditto
11237         * bufferlist.C: ditto
11238         * buffer.h: ditto
11239         * buffer.C: ditto
11240
11241 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11242
11243         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11244         unused class variable counter_,
11245
11246         * paragraph.[Ch] (getFirstCounter): delete unused function
11247
11248         * counters.C: include LAssert.h
11249         (reset): add a new function with no arg, change other version to
11250         not have def. arg and to not allow empty arg.
11251
11252         * text2.C (setCounter): remove empty arg from call to Counters::reset
11253
11254 2002-08-11  John Levon  <levon@movementarian.org>
11255
11256         * Makefile.am: add WordLangTuple.h
11257
11258 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11259
11260         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11261         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11262
11263         * insets/insettext.C: InsetList changes
11264
11265         * graphics/GraphicsSupport.C (operator()): InsetList changes
11266
11267         * toc.C (getTocList): InsetList changes
11268
11269         * paragraph_pimpl.[Ch]: InsetList changes
11270
11271         * paragraph.[Ch]: InsetList changes
11272
11273         * buffer.C (inset_iterator): InsetList changes
11274         (setParagraph): ditto
11275         * buffer.h (inset_iterator): ditto
11276         * iterators.C (operator++): ditto
11277         * iterators.h: ditto
11278
11279         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11280
11281         * InsetList.[Ch]: new files, most InsetList handling moved out of
11282         paragraph.C.
11283
11284         * BufferView2.C (removeAutoInsets): InsetList changes
11285         (lockInset): ditto
11286         (ChangeInsets): ditto
11287
11288 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11289
11290         * paragraph_pimpl.h (empty): new function
11291
11292         * paragraph.[Ch] (empty): new function
11293
11294         * other files: use the new Paragraph::empty function
11295
11296 2002-08-09  John Levon  <levon@movementarian.org>
11297
11298         * lyxtext.h: remove unused refresh_height
11299
11300 2002-08-09  John Levon  <levon@movementarian.org>
11301
11302         * Makefile.am:
11303         * sgml.h:
11304         * sgml.C:
11305         * buffer.C:
11306         * paragraph.h:
11307         * paragraph.C: move sgml char escaping out of paragraph
11308
11309         * paragraph.h:
11310         * paragraph.C: remove id setter
11311
11312         * buffer.C:
11313         * paragraph.C:
11314         * paragraph_pimpl.C: remove dead tex_code_break_column
11315
11316         * bufferview_funcs.C: small cleanup
11317
11318         * lyxfunc.C: remove dead proto
11319
11320         * lyxtext.h: make some stuff private. Remove some dead stuff.
11321
11322         * lyxgluelength.C: make as[LyX]String() readable
11323
11324 2002-08-08  John Levon  <levon@movementarian.org>
11325
11326         * LyXAction.h:
11327         * LyXAction.C:
11328         * MenuBackend.C:
11329         * ToolbarDefaults.C:
11330         * lyxfunc.C:
11331         * lyxrc.C:
11332         * toc.C: lyxaction cleanup
11333
11334 2002-08-08  John Levon  <levon@movementarian.org>
11335
11336         * BufferView2.C: small cleanup
11337
11338         * lyxfind.h:
11339         * lyxfind.C: move unnecessary header into the .C
11340
11341 2002-08-08  John Levon  <levon@movementarian.org>
11342
11343         * funcrequest.h: just tedious nonsense
11344
11345         * lyx_main.h:
11346         * lyx_main.C: cleanups
11347
11348         * buffer.C:
11349         * vspace.C: remove dead header lyx_main.h
11350
11351 2002-08-07  Angus Leeming  <leeming@lyx.org>
11352
11353         * Paragraph.[Ch]:
11354         * paragraph_pimpl.h:
11355         Forward declare class Counters in paragraph.h by moving the ctrs member
11356         variable into Paragraph::Pimpl.
11357         (counters): new method, returning a reference to pimpl_->ctrs.
11358
11359         * text2.C: ensuing changes.
11360
11361 2002-08-07  John Levon  <levon@movementarian.org>
11362
11363         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11364
11365         * BufferView_pimpl.C: announce X selection on double/triple
11366           click
11367
11368         * lyx_main.C: use correct bool in batch dispatch
11369
11370         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11371
11372 2002-08-07  André Pönitz <poenitz@gmx.net>
11373
11374         * funcrequest.h: new class to wrap a kb_action and its argument
11375
11376         * BufferView.[Ch]:
11377         * BufferView_pimpl[Ch]:
11378         * LaTeX.C:
11379         * LyXAction.[Ch]:
11380         * lyxfunc.[Ch]:
11381         * lyxrc.C: subsequent changes
11382
11383
11384 2002-08-07  John Levon  <levon@movementarian.org>
11385
11386         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11387           document options change.
11388
11389 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11390
11391         * counters.[Ch]
11392         * text2.C
11393         * paragraph.[Ch]
11394         * makefile.am: move counters functionality over from
11395         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11396
11397 2002-08-06  John Levon  <levon@movementarian.org>
11398
11399         * WordLangTuple.h: new file for word + language code tuple
11400
11401         * SpellBase.h:
11402         * pspell.h:
11403         * pspell.C:
11404         * ispell.h:
11405         * ispell.C:
11406         * lyxtext.h:
11407         * text.C:
11408         * text2.C:
11409         * BufferView.h:
11410         * BufferView2.C: use WordLangTuple
11411
11412         * layout.h:
11413         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11414
11415 2002-08-06  John Levon  <levon@movementarian.org>
11416
11417         * lyx_main.C: fix cmdline batch handling
11418
11419 2002-08-06  André Pönitz <poenitz@gmx.net>
11420
11421         * lyxrc.C: set default for show_banner to true
11422
11423 2002-08-06  John Levon  <levon@movementarian.org>
11424
11425         * pspell.C: fix a crash, and allow new aspell to work
11426
11427 2002-08-06  John Levon  <levon@movementarian.org>
11428
11429         * lyxfunc.C:
11430         * kbmap.C: small cleanup
11431
11432         * vspace.h:
11433         * vspace.C: add const
11434
11435 2002-08-05  John Levon  <levon@movementarian.org>
11436
11437         * LyXAction.C: back to tabular-insert
11438
11439 2002-08-04  John Levon  <levon@movementarian.org>
11440
11441         * BufferView.h:
11442         * BufferView.C: cosmetic change
11443
11444         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11445
11446         * bufferlist.C:
11447         * buffer.h:
11448         * buffer.C:
11449         * lyxcb.h:
11450         * lyxcb.C:
11451         * lyxserver.C:
11452         * lyxvc.C:
11453         * vc-backend.C:
11454         * BufferView2.C: purge all "Lyx" not "LyX" strings
11455
11456         * lyxcursor.h:
11457         * lyxcursor.C: attempt to add some documentation
11458
11459         * lyxfunc.C:
11460         * commandtags.h:
11461         * LyXAction.C:
11462         * ToolbarDefaults.C:
11463         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11464           merge with LFUN_TABULAR_INSERT
11465
11466         * Makefile.am:
11467         * SpellBase.h:
11468         * ispell.h:
11469         * ispell.C:
11470         * pspell.h:
11471         * pspell.C: split up i/pspell implementations into separate
11472           files, many cleanups
11473
11474         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11475
11476         * text2.C: some cleanup
11477
11478         * lyxfunc.C: don't check for isp_command == "none" any more, it
11479           didn't make any sense
11480
11481 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11482
11483         * counters.[Ch]
11484         * text2.C
11485         * paragraph.[Ch]
11486         * makefile.am: move counters functionality over
11487         from text2.C/paragraph.[Ch] to counters.[Ch], and
11488         make proper C++.
11489 2002-08-02  John Levon  <levon@movementarian.org>
11490
11491         * buffer.C: s/lyxconvert/lyx2lyx/
11492
11493 2002-08-02  Angus Leeming  <leeming@lyx.org>
11494
11495         * lyxlex.C: revert John's change as it breaks reading of the user
11496         preamble.
11497
11498 2002-08-02  Angus Leeming  <leeming@lyx.org>
11499
11500         * importer.C (Import):
11501         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11502         changes due to LyXView::view() now returning a boost::shared_ptr.
11503
11504 2002-08-02  John Levon  <levon@movementarian.org>
11505
11506         * lyxlex.C: small cleanup
11507
11508 2002-08-02  John Levon  <levon@movementarian.org>
11509
11510         * text2.C (status): small cleanup, no logic change
11511
11512 2002-08-01  John Levon  <levon@movementarian.org>
11513
11514         * buffer.h:
11515         * buffer.C (writeFile): don't output alerts, caller
11516           handles this
11517
11518         * bufferlist.C:
11519         * lyx_cb.C: from above
11520
11521         * lyxfunc.C: allow to open non-existent files
11522
11523 2002-07-31  John Levon  <levon@movementarian.org>
11524
11525         * lyxserver.C: don't let incidental errors get
11526           in the way (errno)
11527
11528 2002-07-30  John Levon  <levon@movementarian.org>
11529
11530         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11531
11532 2002-07-30  John Levon  <levon@movementarian.org>
11533
11534         * lyxserver.h:
11535         * lyxserver.C: remove I/O callback too
11536
11537 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11538
11539         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11540         log.
11541
11542 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11543
11544         * many files: strip,frontStrip -> trim,ltrim,rtrim
11545
11546 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11547
11548         * PrinterParams.h: remove extern containsOnly, and include
11549         support/lstrings.h instead.
11550
11551         * LaTeX.C (scanAuxFile): modify because of strip changes
11552         (deplog): ditto
11553         * buffer.C (makeLaTeXFile): ditto
11554         * bufferparams.C (writeFile): ditt
11555         * lyxfont.C (stateText): ditto
11556         * lyxserver.C (read_ready): ditto
11557         * vc-backend.C (scanMaster): ditto
11558
11559         * BufferView_pimpl.h: ws changes
11560
11561         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11562
11563 2002-07-26  André Pönitz <poenitz@gmx.net>
11564
11565         * kb_sequence.C: remove unnedred usings
11566
11567 2002-07-26  Juergen Vigna  <jug@sad.it>
11568
11569         * lyxfind.C (LyXReplace): we have to check better if the returned
11570         text is not of theLockingInset()->getLockingInset().
11571
11572 2002-07-25  Juergen Vigna  <jug@sad.it>
11573
11574         * lyxfind.C (LyXReplace): don't replace if we don't get the
11575         right LyXText.
11576
11577         * undo_funcs.C (createUndo): remove debugging code.
11578
11579 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11580
11581         * buffer.C (parseSingleLyXformat2Token): Use default placement
11582         when reading old floats.
11583
11584         * FloatList.C (FloatList): Change the default placement of figure
11585         and tables to "tbp".
11586
11587 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11588
11589         * MenuBackend.C: using std::max
11590
11591 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11592
11593         * MenuBackend.C (expandToc):
11594         (expandToc2): code moved from xforms menu frontend. It is now
11595         generic and TOCs are transparent to menu frontends.
11596
11597 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11598
11599         * toc.C (getTocList): protect against buf=0
11600
11601         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11602         Menu as first parameter. Now, this calls itself recursively to
11603         expand a whole tree (this will be useful for TOC handling)
11604         (expandFloatInsert): remove 'wide' version of floats
11605
11606         * MenuBackend.h (submenuname): returns the name of the submenu.
11607         (submenu): returns the submenu itself, provided it has been
11608         created by MenuBackend::expand
11609
11610 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11611
11612         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11613         insets which have noFontChange == true. (bug #172)
11614
11615 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11616
11617         * BufferView_pimpl.C: add connection objects and use them...
11618         (Pimpl): here.
11619
11620 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11621
11622         * MenuBackend.C (expandLastfiles):
11623         (expandDocuments):
11624         (expandFormats):
11625         (expandFloatListInsert):
11626         (expandFloatInsert):
11627         (expand): split expand in parts
11628
11629 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11630
11631         * lyx_gui.C: use lyx_gui::exit()
11632
11633 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11634
11635         * LyXAction.C: show the failing pseudo action
11636
11637 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11638
11639         * buffer.C (readFile): Run the lyxconvert script in order to read
11640         old files.
11641
11642 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11643
11644         * LyXAction.C:
11645         * commandtags.h:
11646         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11647
11648 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11649
11650         * LyXAction.C:
11651         * commandtags.h:
11652         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11653
11654 2002-07-22  Herbert Voss  <voss@lyx.org>
11655
11656         * lengthcommon.C:
11657         * lyxlength.[Ch]: add support for the vertical lengths
11658
11659 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11660
11661         * toc.[Ch]: std:: fixes
11662
11663 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11664
11665         * lyxrc.C: do not include lyx_main.h
11666
11667         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11668         for layouts
11669
11670         * lyxrc.C:
11671         * encoding.C:
11672         * bufferlist.C:
11673         * BufferView2.C: include "lyxlex.h"
11674
11675         * tabular.h:
11676         * bufferparams.h: do not #include "lyxlex.h"
11677
11678         * lyxtextclasslist.C (Add): remove method
11679         (classlist): renamed to classlist_
11680
11681         * paragraph_pimpl.C:
11682         * paragraph.C:
11683         * text2.C:
11684         * CutAndPaste.C:
11685         * bufferview_funcs.C:
11686         * bufferlist.C:
11687         * text.C:
11688         * LaTeXFeatures.C:
11689         * buffer.C:
11690         * toc.C (getTocList): use BufferParams::getLyXTextClass
11691
11692         * toc.C (getTocList): use InsetFloat::addToToc
11693
11694         * toc.[Ch]: new files, containing helper functions to handle table
11695         of contents
11696
11697         * lyxfunc.C (dispatch): no need to remove spaces around command
11698         given as a string
11699         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11700         first command of the sequence; it is not very clever, but I do not
11701         have a better idea, actually
11702
11703         * LyXAction.C (LookupFunc): make sure to remove space at the
11704         beginning and end of the command
11705
11706 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11707
11708         * MenuBackend.C (getMenubar): new method: return the menubar of
11709         this menu set
11710         (read): treat differently reading of menu and menubar (in
11711         particular, the menubar has no name now)
11712         (Menu::menubar): remove
11713
11714         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11715         saving is finished
11716
11717 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11718
11719         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11720         a bibitem inset in a RTL paragraph.
11721
11722 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11723
11724         * paragraph_pimpl.C: constify
11725
11726         * BufferView_pimpl.C:
11727         * LaTeX.C:
11728         * lyxfunc.C: fix dispatch in a nicer way
11729
11730 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11731
11732         * lyxfunc.C (dispatch):
11733         * BufferView_pimpl.C:
11734         * BufferView_pimpl.h:
11735         * BufferView.C:
11736         * BufferView.h: rename Dispatch() to dispatch()
11737
11738         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11739
11740         * lyxlayout.C (Read): honor DependsOn tag
11741
11742         * lyxlayout.[Ch] (depends_on): new method
11743
11744         * version.C.in: update lyx_docversion
11745
11746         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11747
11748         * paragraph.C (validate): remove from here...
11749         * paragraph_pimpl.C (validate): ... and move here
11750         (isTextAt): make it const
11751
11752         * buffer.C (getLists): ws cleanup
11753
11754 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11755
11756         * language.C (read): Use iso8859-1 encoding in latex_lang
11757         (this prevents LyX from crashing when using iso10646-1 encoding).
11758
11759 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11760
11761         * text2.C (toggleInset): if cursor is inside an inset, close the
11762         inset and leave cursor _after_ it
11763
11764 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11765
11766         * lyxfunc.C: move minibuffer completion handling out of here
11767
11768 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11769
11770         * BufferView_pimpl.C:
11771         * LaTeX.C: fix dispatch calls
11772
11773 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11774
11775         * text.C (drawChars): Fix Arabic text rendering.
11776
11777 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11778
11779         * LyXAction.C:
11780         * commandtags.h:
11781         * lyxfunc.C: remove message-push/pop
11782
11783         * lyxserver.C:
11784         * lyxfunc.h:
11785         * lyxfunc.C: rationalise some code by removing verboseDispatch
11786           in favour of a bool argument to dispatch()
11787
11788 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11789
11790         * lyx_main.C (init): make sure to read symlinks as absolute paths
11791
11792 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11793
11794         * lyxfunc.h:
11795         * lyxfunc.C: no need for commandshortcut to be a member
11796
11797 2002-07-15  André Pönitz <poenitz@gmx.net>
11798
11799         * converter.C: add support for $$s (scripts from lib/scripts dir)
11800         * lyx_main.C: white space
11801
11802 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11803
11804         * bufferlist.C:
11805         * lyxrc.h:
11806         * lyxrc.C: remove second exit confirmation
11807
11808 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11809
11810         * BufferView.h:
11811         * BufferView.C:
11812         * BufferView2.C:
11813         * BufferView_pimpl.h:
11814         * BufferView_pimpl.C:
11815         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11816
11817 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11818
11819         * MenuBackend.C (expand): add numeric shortcuts to document menu
11820
11821         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11822
11823 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11824
11825         * lyxfont.C (setLyXFamily):
11826         (setLyXSeries):
11827         (setLyXShape):
11828         (setLyXSize):
11829         (setLyXMisc):
11830         (lyxRead):
11831         * debug.C (value):
11832         * buffer.C (asciiParagraph): use ascii_lowercase
11833
11834 2002-07-15  Mike Fabian  <mfabian@suse.de>
11835
11836         * lyxlex_pimpl.C (search_kw):
11837         * lyxlex.C (getLongString):
11838         * converter.h (operator<):
11839         * converter.C (operator<):
11840         * buffer.C (parseSingleLyXformat2Token):
11841         (asciiParagraph):
11842         * ToolbarDefaults.C (read):
11843         * MenuBackend.C (checkShortcuts):
11844         (read):
11845         * LColor.C (getFromGUIName):
11846         (getFromLyXName): use the compare_ascii_no_case instead of
11847         compare_no_case, because in turkish, 'i' is not the lowercase
11848         version of 'I', and thus turkish locale breaks parsing of tags.
11849
11850 2002-07-16  Angus Leeming  <leeming@lyx.org>
11851
11852         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11853         now takes a Buffer const & argument.
11854
11855 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11856
11857         * BufferView.C (resize): check there's a buffer to resize
11858
11859 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11860
11861         * lyxfunc.C: remove dead code
11862
11863         * lyxserver.h:
11864         * lyxserver.C: use lyx_guii::set_read_callback
11865
11866 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11867
11868         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11869         an inset in a RTL paragraph.
11870
11871 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11872
11873         * lyxfunc.C: repaint after a font size update
11874
11875 2002-07-15  André Pönitz <poenitz@gmx.net>
11876
11877         * lyxlength.C: inBP should be able to return negative values
11878
11879 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11880
11881         * lyxfunc.C: use lyx_gui::update_fonts()
11882
11883 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11884
11885         * lyxfunc.C: use lyx_gui::update_color()
11886
11887 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11888
11889         * bufferlist.C:
11890         * lyxfunc.h:
11891         * lyxfunc.C:
11892         * lyxrc.h:
11893         * lyxrc.C: remove file->new asks for name option, and let
11894           buffer-new take an argument
11895
11896 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11897
11898         * BufferView_pimpl.C: remove unneeded extra repaint()
11899
11900 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11901
11902         * LyXAction.C: allow command-sequence with NoBuffer
11903
11904         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11905
11906 2002-07-10  Angus Leeming  <leeming@lyx.org>
11907
11908         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11909
11910 2002-07-09  Angus Leeming  <leeming@lyx.org>
11911
11912         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11913
11914 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11915
11916         * lengthcommon.h: whitespace
11917
11918         * lyxfunc.C: update scrollbar after goto paragraph
11919
11920         * lyxtext.h: factor out page break drawing, and fix it so
11921           page break/added space paints as selected nicely
11922
11923 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11924
11925         * BufferView_pimpl.C: add FIXMEs, clean up a little
11926
11927 2002-07-09  André Pönitz <poenitz@gmx.net>
11928
11929         * lyxfont.[Ch]: support for wasy symbols
11930
11931 2002-07-08  André Pönitz <poenitz@gmx.net>
11932
11933         * BufferView_pimpl.C: apply John's patch for #93.
11934
11935 2002-07-05  Angus Leeming  <leeming@lyx.org>
11936
11937         * BufferView_pimpl.C (buffer): generate previews if desired.
11938
11939         * LColor.h: add "preview" to the color enum.
11940
11941         * LColor.C (LColor): add a corresponding entry to the items array.
11942
11943         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11944         with this buffer.
11945
11946 2002-07-05  Angus Leeming  <leeming@lyx.org>
11947
11948         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11949         The body of the code is now in the method that is passed an ostream &
11950         rather than a file name.
11951         Pass an additional only_preamble parameter, useful for the forthcoming
11952         preview stuff.
11953
11954 2002-07-03  André Pönitz <poenitz@gmx.net>
11955
11956         * lyxfunc.C: simplify getStatus() a bit for math stuff
11957
11958 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11959
11960         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11961
11962 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11963
11964         * text.C (changeRegionCase): do not change case of all the
11965         document when region ends at paragraph end (bug #461)
11966
11967 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11968
11969         * paragraph.C (startTeXParParams):
11970         (endTeXParParams): add \protect when necessary
11971
11972 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11973
11974         * BufferView_pimpl.C (workAreaExpose): remove warning
11975
11976 2002-06-27  Angus Leeming  <leeming@lyx.org>
11977
11978         * Makefile.am: add lyxlayout_ptr_fwd.h.
11979
11980 2002-06-26  André Pönitz <poenitz@gmx.net>
11981
11982         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11983
11984 2002-06-25  Angus Leeming  <leeming@lyx.org>
11985
11986         * lyxfunc.C (dispatch): Comment out the call to
11987         grfx::GCache::changeDisplay. The method no longer exists now that the
11988         pixmap generation part of the graphics loader has been moved into
11989         InsetGraphics.
11990
11991 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11992
11993         * text2.C: layout as layout
11994
11995         * text.C: layout as layout
11996
11997         * tabular.C (OldFormatRead): layout as layout
11998
11999         * paragraph_pimpl.C (TeXDeeper): layout as layout
12000         (realizeFont): layout as layout
12001
12002         * paragraph.C (writeFile): layout as layout
12003         (validate): layout as layout
12004         (getFont): layout as layout
12005         (getLabelFont): layout as layout
12006         (getLayoutFont): layout as layout
12007         (breakParagraph): layout as layout
12008         (stripLeadingSpaces): layout as layout
12009         (getEndLabel): layout as layout
12010         (getMaxDepthAfter): layout as layout
12011         (applyLayout): layout as layout
12012         (TeXOnePar): layout as layout
12013         (simpleTeXOnePar): layout as layout
12014         (TeXEnvironment): layout as layout
12015         (layout): layout as layout
12016         (layout): layout as layout
12017
12018         * lyxtextclass.C (compare_name): new functor to work with
12019         shared_ptr, layout as layout
12020         (Read): layout as layout
12021         (hasLayout): layout as layout
12022         (operator): layout as layout
12023         (delete_layout): layout as layout
12024         (defaultLayout): layout as layout
12025
12026         * lyxlayout_ptr_fwd.h: new file
12027
12028         * lyxlayout.C (Read): layout as layout
12029
12030         * lyx_cb.C (MenuInsertLabel): layout as layout
12031
12032         * bufferlist.C (newFile): layout as layout
12033
12034         * buffer.C (readLyXformat2): layout as layout
12035         (parseSingleLyXformat2Token): layout as layout
12036         (insertStringAsLines): layout as layout
12037         (asciiParagraph): layout as layout
12038         (latexParagraphs): layout as layout
12039         (makeLinuxDocFile): layout as layout
12040         (simpleLinuxDocOnePar): layout as layout
12041         (makeDocBookFile): layout as layout
12042         (simpleDocBookOnePar): layout as layout
12043         (getLists): layout as layout
12044
12045         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12046
12047         * CutAndPaste.C (cutSelection): layout as layout
12048         (pasteSelection): layout as layout
12049         (SwitchLayoutsBetweenClasses): layout as layout
12050
12051         * BufferView_pimpl.C (Dispatch): layout as layout
12052         (smartQuote): layout as layout
12053
12054         * BufferView2.C (unlockInset): layout as layout
12055
12056 2002-06-24  André Pönitz <poenitz@gmx.net>
12057
12058         * lyxfunc.C: fix #487
12059
12060 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12061
12062         * lyxrc.h:
12063         * lyxrc.C:
12064         * lyxfunc.C: remove display_shortcuts, show_banner
12065
12066 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12067
12068         * Buffer_pimpl.C: oops, update on resize
12069
12070 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12071
12072         * buffer.C:
12073         * converter.C:
12074         * exporter.C:
12075         * lyxfunc.C:
12076         * BufferView.h:
12077         * BufferView.C: use repaint()
12078
12079         * BufferView_pimpl.h:
12080         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12081           as it's a clearer description. Remove superfluous
12082           redraws.
12083
12084 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12085
12086         * text.C: fix bug 488. Not ideal, but getting
12087           getWord() to work properly for the insets that
12088           matter is more difficult ...
12089
12090 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12091
12092         * BufferView_pimpl.C:
12093         * LyXAction.C:
12094         * commandtags.h:
12095         * lyxfunc.C: remove the six million index lyxfuncs to just
12096           one, and DTRT (bug 458)
12097
12098 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * BufferView.h:
12101         * BufferView.C:
12102         * BufferView_pimpl.h:
12103         * BufferView_pimpl.C: clean up resize() stuff,
12104           and unnecessary updateScreen()s
12105
12106 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12107
12108         * BufferView.h:
12109         * BufferView.C:
12110         * BufferView_pimpl.h:
12111         * BufferView_pimpl.C:
12112         * lyxfind.h:
12113         * lyxfind.C:
12114         * minibuffer.C: remove focus management of workarea,
12115           not needed. Use screen's greyOut()
12116
12117 2002-06-17  Herbert Voss  <voss@lyx.org>
12118
12119         * converter.C: (convert) do not post a message, when converting
12120         fails, let the calling function decide what to do in this case
12121
12122 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12123
12124         * lyxfunc.C: tidy up a little
12125
12126 2002-06-16    <alstrup@diku.dk>
12127
12128         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12129         Got rid of FORMS_H_LOCATION include. Now we are
12130         GUII.
12131
12132 2002-06-15  LyX Development team  <lyx@rilke>
12133
12134         * buffer.[Ch] (sgmlOpenTag):
12135         (sgmlCloseTag): Added support for avoiding pernicious mixed
12136         content. Return number of lines written.
12137
12138         (makeLinuxDocFile):
12139         (makeDocBookFile): Fixed calls to sgml*Tag.
12140         Simple white space clean.
12141
12142         (simpleDocBookOnePar): Simple white space clean.
12143
12144         * tabular.[Ch] (docBook): Renamed to docbook and got another
12145         argument to related with the pernicious mixed content.
12146
12147         (docbookRow): Fixed calls for docbook inset method.
12148
12149 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12150
12151         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12152         so it's X11 independent.
12153
12154         * kb*.[Ch]: ditto.
12155
12156         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12157
12158 2002-06-15  Lyx Development team  <lyx@electronia>
12159
12160         * intl.h: Renamed getTrans to getTransManager.
12161
12162 2002-06-14  Angus Leeming  <leeming@lyx.org>
12163
12164         * Makefile.am: nuke forgotten stl_string_fwd.h.
12165
12166 2002-06-12  Angus Leeming  <leeming@lyx.org>
12167
12168         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12169
12170 2002-06-13  Angus Leeming  <leeming@lyx.org>
12171
12172         * LaTeX.C:
12173         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12174
12175 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12176
12177         * kbmap.C (getiso): add support for cyrillic and greek
12178
12179 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12180
12181         * BufferView.h:
12182         * BufferView.C:
12183         * BufferView_pimpl.h:
12184         * BufferView_pimpl.C: move bogus scrolling logic
12185           to xforms
12186
12187 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12188
12189         * lyxfunc.C:
12190         * BufferView_pimpl.C: view->resize() change
12191
12192 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12193
12194         * BufferView_pimpl.C: topCursorVisible
12195           prototype change
12196
12197 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12198
12199         * Makefile.am:
12200         * lyx_gui.h:
12201         * lyx_gui.C: move to frontends/
12202
12203         * main.C:
12204         * lyx_main.h:
12205         * lyx_main.C: changes from above
12206
12207 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12208
12209         * intl.C:
12210         * intl.h:
12211         * kbmap.C:
12212         * kbsequence.C:
12213         * lyx_cb.C:
12214         * lyx_main.C: minor tidy
12215
12216 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12217
12218         * BufferView_pimpl.h:
12219         * BufferView_pimpl.C:
12220         * BufferView.h:
12221         * BufferView.C: make painter() const,
12222           remove dead code
12223
12224         * BufferView2.C: use screen() accessor
12225
12226         * lyx_main.h:
12227         * lyx_main.C: some minor cleanup
12228
12229 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12230
12231         * BufferView_pimpl.h:
12232         * BufferView_pimpl.C: remove enter/leaveView,
12233           use workHeight()
12234
12235 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12236
12237         * BufferView.h:
12238         * BufferView.C:
12239         * BufferView2.C:
12240         * BufferView_pimpl.h:
12241         * BufferView_pimpl.C: only construct screen once,
12242           rename
12243
12244         * lyxrc.C: remove pointless comment
12245
12246 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12247
12248         * BufferView.h:
12249         * BufferView.C: remove active() and belowMouse()
12250
12251         * BufferView_pimpl.h:
12252         * BufferView_pimpl.C: use workarea() not workarea_,
12253           and make it use a scoped_ptr instead
12254
12255 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12256
12257         * lyx_gui.C: add debug message on BadWindow
12258
12259 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12260
12261         * sp_spell.C: fdopen is not part of the C++ standard.
12262
12263         * paragraph.C (InsetIterator): use >= instead of ==
12264
12265 2002-06-07  Angus Leeming  <leeming@lyx.org>
12266
12267         Fixes needed to compile with Compaq cxx 6.5.
12268         * BufferView_pimpl.C:
12269         * DepTable.C:
12270         * buffer.C:
12271         * converter.C:
12272         * encoding.C:
12273         * lyx_gui.C:
12274         * lyx_main.C:
12275         * lyxtextclasslist.C:
12276         * minibuffer.C:
12277         * sp_spell.C:
12278         * tabular_funcs.C:
12279         * vc-backend.C:
12280         all c-library variables have been moved into namespace std. Wrap
12281         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12282
12283         * lyxlength.C:
12284         * tabular-old.C:
12285         * tabular.C:
12286         Add a using std::abs declaration.
12287
12288         * kbmap.h (modifier_pair):
12289         * paragraph.h (InsetTable, InsetList):
12290         * lyxfont.h (FontBits):
12291         type definition made public.
12292
12293         * bufferlist.C (emergencyWriteAll): the compiler complains that
12294         there is more than one possible lyx::class_fun template to choose from.
12295         I re-named the void specialisation as lyx::void_class_fun.
12296
12297         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12298
12299         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12300         the compiler is is unable to find tostr in write_attribute.
12301
12302 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12303
12304         * buffer.C (sgmlError): hide #warning
12305
12306 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12307
12308         * xtl/*: get rid of xtl, which is not in use anyway
12309
12310         * LyXAction.C (init):
12311         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12312         were unimplemented xtl experimentation
12313
12314 2002-06-04  André Pönitz <poenitz@gmx.net>
12315
12316         * lyxfunc.C: disable array operation on simple formulae
12317
12318 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12319
12320         * converter.C: constify a bit
12321
12322 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12323
12324         * lyx_gui.C: check xforms version correctly
12325
12326 2002-04-30  Herbert Voss  <voss@lyx.org>
12327
12328         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12329         "keep" option
12330
12331 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12332
12333         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12334           attempt to register it with a VCS)
12335
12336 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12337
12338         * lyx_main.C (init): honor variables LYX_DIR_13x and
12339         LYX_USERDIR_13x
12340
12341 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12342
12343         * buffer.h:
12344         * buffer.C:
12345         * lyx_main.C: fix a crash on bad command line,
12346           and give a useful exit status on error
12347
12348         * lyxfunc.C (doImport): allow -i lyx to work
12349
12350 2002-03-30  André Pönitz <poenitz@gmx.net>
12351
12352         * lyxfunc.C: mathed font changes
12353
12354 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12355
12356         * LaTeX.C:
12357         * importer.h:
12358         * importer.C:
12359         * lyx_sty.h:
12360         * lyx_sty.C:
12361         * lyxlex.C:
12362         * lyxrow.h:
12363         * lyxtext.h:
12364         * paragraph.h:
12365         * paragraph.C:
12366         * texrow.h:
12367         * texrow.C:
12368         * text.C:
12369         * trans_mgr.h: srcdocs, and some minor cleanups
12370
12371 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12372
12373         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12374         call getFont all the time)
12375
12376 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12377
12378         * switch from SigC signals to boost::signals
12379
12380 2002-05-29  André Pönitz <poenitz@gmx.net>
12381
12382         * paragraph_pimpl.C (getChar): don't call size() too often...
12383
12384 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12385
12386         * paragraph_pimpl.C (insertChar): do not try to update tables when
12387         appending (pos == size())
12388
12389         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12390         in order to reduce drastically the number of comparisons needed to
12391         parse a large document
12392
12393 2002-05-29  André Pönitz <poenitz@gmx.net>
12394
12395         * text.C:
12396         * text2.C:
12397         * lyxtextclass.C:
12398         * sp_pspell.h:
12399         * textclasslist.[Ch]:
12400         * sp_ispell.h: whitespace change
12401
12402 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12403
12404         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12405         lyxaction directly now.
12406
12407 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12408
12409         * trans.C:
12410         * lyxfont.C:
12411         * lyxvc.C: remove unused headers
12412
12413 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12414
12415         * Makefile.am:
12416         * buffer.h:
12417         * undostack.h:
12418         * undostack.C:
12419         * undo_funcs.h:
12420         * undo_funcs.C: some cleanups. Use shared_ptr
12421           and a template for the undo stacks.
12422
12423 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12424
12425         * BufferView_pimpl.h:
12426         * BufferView_pimpl.C:
12427         * kbmap.h:
12428         * kbmap.C:
12429         * kbsequence.h:
12430         * kbsequence.C:
12431         * lyxfunc.h:
12432         * lyxfunc.C:
12433         * text2.C: use key_state/mouse_state
12434
12435 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12436
12437         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12438         and LSubstring
12439
12440         * chset.C: change include order
12441         (loadFile): use boost regex and get rid of LRegex and LSubstring
12442
12443         * Makefile.am (BOOST_LIBS): new variable
12444         (lyx_LDADD): use it
12445
12446         * LaTeX.C: change include order.
12447         (scanAuxFile): use boost regex and get rid of LRegex and
12448         LSubstring
12449         (deplog): ditto
12450
12451 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12452
12453         * ColorHandler.h:
12454         * ColorHandler.C:
12455         * FontInfo.h:
12456         * FontInfo.C: moved to frontends/xforms/
12457
12458         * FontLoader.h:
12459         * FontLoader.C: moved into frontends for GUIIzation
12460
12461         * Makefile.am:
12462         * lyx_gui.C:
12463         * lyxfont.C:
12464         * lyxfunc.C: changes from above
12465
12466 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12467
12468         * LColor.C: remove spurious X include
12469
12470         * BufferView_pimpl.C:
12471         * Makefile.am:
12472         * font.h:
12473         * font.C:
12474         * text.C:
12475         * text2.C: move font metrics to frontends/
12476
12477 2002-05-24  Juergen Vigna  <jug@sad.it>
12478
12479         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12480         setting the undo_cursor.
12481
12482         * ParagraphParameters.h: include local includes first.
12483
12484 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12485
12486         * BufferView_pimpl.C:
12487         * BufferView_pimpl.h:
12488         * Makefile.am:
12489         * WorkArea.h:
12490         * WorkArea.C:
12491         * screen.C: move WorkArea into frontends/
12492
12493         * lyxscreen.h:
12494         * screen.C:
12495         * text.C:
12496         * BufferView.C:
12497         * BufferView2.C: move LyXScreen into frontends/
12498
12499         * lyxlookup.h:
12500         * lyxlookup.C:
12501         * lyx_gui.C: move lyxlookup into frontends/xforms/
12502
12503 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12504
12505         * BufferView2.C:
12506         * BufferView_pimpl.C:
12507         * FontLoader.C:
12508         * LyXView.h:
12509         * LyXView.C:
12510         * Makefile.am:
12511         * WorkArea.C:
12512         * XFormsView.h:
12513         * XFormsView.C:
12514         * buffer.C:
12515         * bufferlist.C:
12516         * bufferview_funcs.C:
12517         * converter.C:
12518         * importer.C:
12519         * lyx_cb.C:
12520         * lyx_gui.C:
12521         * lyx_main.C:
12522         * lyx_find.C:
12523         * lyxfunc.C:
12524         * lyxvc.C:
12525         * minibuffer.C:
12526         * text.C:
12527         * text2.C:
12528         * trans.C:
12529         * vc-backend.C: move LyX/XFormsView into frontends/
12530
12531 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12532
12533         * Makefile.am:
12534         * PainterBase.C:
12535         * PainterBase.h:
12536         * Painter.C:
12537         * Painter.h:
12538         * WorkArea.C:
12539         * WorkArea.h:
12540         * screen.C:
12541         * tabular.C:
12542         * text.C:
12543         * text2.C: move Painter to frontends/
12544
12545 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12546
12547         * buffer.C: comment out some some code that depend upon lyx_format
12548         < 220
12549
12550         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12551         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12552
12553         * buffer.h (NO_COMPABILITY): turn off compability
12554
12555         * ColorHandler.C: include scoped_array.hpp
12556
12557         * font.C: Use more specific smart_ptr header.
12558         * Painter.C: ditto
12559         * gettext.C: ditto
12560         * ShareContainer.h: ditto
12561         * lyx_main.h: ditto
12562         * kbmap.h: ditto
12563         * FontInfo.h: ditto
12564         * BufferView_pimpl.h: ditto
12565         * ColorHandler.h: ditto
12566
12567         * kbmap.C (defkey): change call to shared_ptr::reset
12568
12569 2002-05-21  Juergen Vigna  <jug@sad.it>
12570
12571         * buffer.C (insertErtContents): fix to insert ert asis if it is
12572         non empty. Skip it completely if it contains only whitespaces.
12573
12574 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12575
12576         * BufferView_pimpl.C:
12577         * BufferView2.C: clear selection on paste (bug 393)
12578
12579 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12580
12581         * DepTable.C: include ctime
12582
12583 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12584
12585         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12586
12587 2002-05-14  Juergen Vigna  <jug@sad.it>
12588
12589         * text.C (breakParagraph): fixed function to honor the keepempty
12590         layout in the right maner and also to permit the right breaking
12591         algorithm on empty or non empyt keepempty paragraphs.
12592
12593         * paragraph.C (breakParagraph): we have to check also if the par
12594         is really empty (!size()) for isempty otherwise we do the wrong
12595         paragraph break.
12596
12597 2002-05-10  Juergen Vigna  <jug@sad.it>
12598
12599         * buffer.[Ch] : The following are only changes to the ert
12600         compatibility read reading old LaTeX layout and font stuff and
12601         convert it to ERTInsets.
12602
12603         * buffer.h: added isErtInset().
12604
12605         * buffer.C (struct ErtComp): add a fromlayout bool to check
12606         if we're inside a LaTeX layout.
12607         (isErtInset): new helper function.
12608         (insertErtContents): look for other ert insets before this one
12609         and insert the contents there, so that we don't have subsequent
12610         ERT insets with nothing between them. This way we create only one
12611         inset with multiple paragraphs. Also check if we don't insert only
12612         spaces ' ' as they are ignored anyway afterwards in the .tex file
12613         so if we have only spaces we will ignore this latex part in the
12614         new file.
12615         (parseSingleLyXformat2Token \\layout): better compatibility when
12616         reading layout-latex stuff.
12617         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12618         language tag.
12619         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12620         stuff after reading the inset only get the information back from
12621         the stack.
12622
12623 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12624
12625         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12626
12627         * LaTeXFeatures.C (getBabelOptions): New method.
12628
12629 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12630
12631         * BufferView_pimpl.C (Dispatch): work around missing argument for
12632         'layout'
12633
12634 2002-05-08  Juergen Vigna  <jug@sad.it>
12635
12636         * text.C (leftMargin): handle paragraph leftindent.
12637
12638         * paragraph.C (writeFile): write the new \\leftindent tag.
12639         (validate): handle leftindent code.
12640         (TeXEnvironment): handle paragraphleftindent code again.
12641
12642         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12643
12644         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12645         for paragrap_extra indent code and new token \\leftindent.
12646         (latexParagraphs): handle the leftindent as environment.
12647
12648         * ParameterStruct.h: added leftindent support.
12649
12650         * ParagraphParameters.C (leftIndent): added support functions for
12651         the paragraph left indent.
12652
12653         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12654         more appropriate.
12655
12656 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12657
12658         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12659         inside insetERT.
12660
12661         * text.C (computeBidiTables): No bidi in insetERT.
12662
12663         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12664         in RTL documents.
12665
12666 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12667
12668         * version.C.in: pre 5
12669
12670 2002-05-02  José Matos  <jamatos@fep.up.pt>
12671         * buffer.C (makeDocBookFile): white space changes, add newline to
12672         command styles.
12673         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12674
12675         * tabular.C (docBook): fix typo.
12676
12677 2002-05-03  Juergen Vigna  <jug@sad.it>
12678
12679         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12680         change in LyXText as we can not be sure it was not freed.
12681         (drawOneRow): remove unused code.
12682
12683         * text.C (drawInset): redo the calculation of the need_break_row as
12684         it could have a row which was already freed.
12685         (draw): look at the return value of drawInset and return false if
12686         it also returned false.
12687         (paintRowText): look at the return value of draw and return false if
12688         it also returned false.
12689
12690         * lyxtext.h: added bool return type to drawInset() and draw() so that
12691         if we have a change in the row so that the rowbreak has to be redone
12692         we abort drawing as it will be called again.
12693
12694 2002-05-02  Juergen Vigna  <jug@sad.it>
12695
12696         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12697         a change in the maintext also if we're inside an inset.
12698         (Dispatch): set the cursor again after a break line and after the
12699         screen has been updated as it could be we're in a different row.
12700
12701         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12702         to set the cursor behind the pargraph with > size().
12703         (setCursor): check also for the same paragraph when checking where
12704         to put the cursor if we have a NFR inset.
12705
12706         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12707         parts of layout read further up as it still was in the wrong
12708         position.
12709
12710 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12711
12712         * screen.C (drawFromTo): change sine fullRebreak always return
12713         true.
12714
12715         * buffer.C (parseSingleLyXformat2Token): reindent some
12716
12717         * BufferView_pimpl.C (update): change since fullRebreak always
12718         return true.
12719         (Dispatch): git rid of the last hardcoded "Standard"s.
12720
12721 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12722
12723         * text2.[Ch] (fullRebreak): make it return void now that we always
12724         returned true.
12725
12726 2002-04-30  Juergen Vigna  <jug@sad.it>
12727
12728         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12729         ert compatibility check for "latex" layout.
12730
12731 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12732
12733         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12734         minipages: use col% instead of p%, and also use the current font.
12735         (makeLaTeXFile): Fix use babel condition.
12736         (parseSingleLyXformat2Token): Correct font when reading old floats.
12737
12738 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12739
12740         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12741         inserting list of floats.
12742
12743 2002-04-25  Herbert Voss  <voss@lyx.org>
12744
12745         * MenuBackend.C (expand): don't add the graphics extensions to the
12746         export menu
12747
12748 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12749
12750         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12751         non-existing layout, do not complain if it was the default layout
12752         of the original class (bug #342)
12753
12754 2002-04-24  Juergen Vigna  <jug@sad.it>
12755
12756         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12757         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12758
12759 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12760
12761         * buffer.C (getBibkeyList): If using \bibliography, return the
12762         option field with the reference itself. Enables us to provide natbib
12763         support when using \bibliography.
12764
12765 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12766
12767         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12768
12769         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12770         natbib is provided by the LaTeX class.
12771
12772 2002-04-23  Juergen Vigna  <jug@sad.it>
12773
12774         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12775         Wakeup functions.
12776
12777         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12778
12779 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12780
12781         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12782
12783         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12784         ensuremath around textordmasculine, textordfeminine and
12785         textdegree.
12786
12787 2002-04-19  Juergen Vigna  <jug@sad.it>
12788
12789         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12790         reinitializing the buffer otherwise row-dimensions may be wrong.
12791         (update): reset also the selection cursors if they do exits otherwise
12792         their x/y positions may be wrong.
12793
12794         * text2.C (cursorDown): don't enter the inset if we came from a row
12795         above and are one row over the inset.
12796
12797         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12798         really leaving an inset.
12799
12800 2002-04-18  Juergen Vigna  <jug@sad.it>
12801
12802         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12803         of the selected paragraph does not have the selected layout also if
12804         the last one had!
12805
12806         * text2.C (setLayout): fixed bug which did not change last selected
12807         paragraph.
12808
12809         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12810         changed the read and substituted \\end_float with \\end_inset!
12811
12812         * BufferView_pimpl.C (cursorPrevious):
12813         (cursorNext): fixed to make it work with rows heigher than the work
12814         area without moving the cursor only the draw of the row.
12815         (workAreaMotionNotify): fix jumping over high rows.
12816
12817 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12818
12819         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12820         Ressler.
12821
12822 2002-04-16  Juergen Vigna  <jug@sad.it>
12823
12824         * text2.C (setCursor): set also the irow().
12825         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12826         (cursorUp):
12827         (cursorDown): support for locking an inset if the x_fix value goes
12828         inside it. That way I can transverse insets too with cursor up/down.
12829
12830         * lyxrow.h: added irow helper function same as other (i) functions.
12831
12832         * BufferView_pimpl.C (cursorPrevious):
12833         (cursorNext): fixed for insets!
12834
12835 2002-04-15  Juergen Vigna  <jug@sad.it>
12836
12837         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12838         position otherwise it is wrong in some cases.
12839
12840         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12841         inside the inset before the call.
12842
12843 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12844
12845         * buffer.[Ch] (getBibkeyList): make it const.
12846
12847 2002-04-12  Juergen Vigna  <jug@sad.it>
12848
12849         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12850
12851         * text2.C (getCursorX): new helper function
12852         (setCursor): compute also ix_
12853         (setCursorFromCoordinates): set also ix.
12854
12855         * lyxcursor.h: added ix_ and helper functions.
12856
12857         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12858
12859         * buffer.C (insertStringAsLines): dont break paragraph if the this
12860         paragraph is inside an inset which does not permit it!
12861
12862         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12863         also with no chars on this paragraph.
12864         (paintRowText): only paint stuff if it's inside the workarea!
12865
12866         * paragraph.C (breakParagraph): honor keepempty flag and break the
12867         paragraph always below not above.
12868
12869         * BufferView2.C (unlockInset): update the paragraph layout on inset
12870         unlock as we changed paragraph in such a case.
12871
12872         * lyxfind.C (LyXFind): clear the former selection if not found!
12873
12874         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12875         again called in insertChar().
12876
12877         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12878         an inset which uses the whole row!
12879         (rightMargin): ditto.
12880         (insertChar): force a rebreak if we inserted an inset!
12881
12882 2002-03-28  Herbert Voss  <voss@lyx.org>
12883
12884         * lyxlength.[Ch]: add inBP() to get the right PS-point
12885         units (BigPoint). With inPixels we have rounding errors
12886
12887 2002-04-11  Juergen Vigna  <jug@sad.it>
12888
12889         * text2.C (setCursorFromCoordinates): set iy to the right value.
12890         (setCursor): add check if row->previous exists!
12891
12892         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12893         an old float_type as this was the case in the old code!
12894
12895         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12896
12897         * BufferView2.C (showLockedInsetCursor): use iy
12898         (fitLockedInsetCursor): ditto
12899
12900         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12901         locked insets as there we have the right value now.
12902
12903         * lyxcursor.C: added iy_ variable and iy functions to set to the
12904         baseline of cursor-y of the locked inset.
12905
12906         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12907         (setCursor): fixed for insets which need a full row.
12908
12909         * text.C (rowLastPrintable): don't ignore the last space when before
12910         an inset which needs a full row.
12911         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12912         as last character of a row when before a inset which needs a full row.
12913
12914 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12915
12916         * version.C.in: update date
12917
12918         * text2.C (fullRebreak): try to always return true and see what
12919         happens...
12920
12921 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12922
12923         * MenuBackend.C (expand): use Floating::listName
12924
12925         * FloatList.C (FloatList): add listName argument to the built-in
12926         floats
12927
12928         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12929         text associated with the float.
12930
12931 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12932
12933         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12934
12935 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12936
12937         * ShareContainer.h: add a couple of missing typenames.
12938
12939 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12940
12941         * lyxrc.C (getDescription): use _() correctly rather than N_().
12942
12943 2002-03-28  Herbert Voss  <voss@lyx.org>
12944
12945         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12946         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12947
12948 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12949
12950         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12951         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12952
12953 2002-03-29  Juergen Vigna  <jug@sad.it>
12954
12955         * lyxfunc.C (dispatch): add a missing fitCursor call.
12956
12957         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12958         it was scrolled by a cursor move, so return the bool status.
12959
12960         * BufferView.C (fitCursor): return the bool flag also to the outside
12961         world as this is needed.
12962
12963         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12964
12965         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12966         call the edit() as it is not needed (and wrong) IMO.
12967         (workAreaButtonPress): set the screen_first variable before evt.
12968         unlock the inset as this may change screen_first and then we have
12969         a wrong y position for the click!
12970
12971 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12972
12973         * MenuBackend.C (expand): another translation that I missed
12974
12975 2002-03-28  Juergen Vigna  <jug@sad.it>
12976
12977         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12978
12979         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12980
12981 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12982
12983         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12984
12985         * MenuBackend.C (expand): fix export/view/update when there is no
12986         document open.
12987
12988 2002-03-27  Herbert Voss  <voss@lyx.org>
12989
12990         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12991         and text%
12992
12993 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12994
12995         * bufferview_funcs.C (currentState): only show paragraph number
12996         for is DEVEL_VERSION is set.
12997
12998         * lyxfunc.C (dispatch): put warning in INFO channel
12999
13000         * MenuBackend.C (expand): translate the name of floats
13001
13002         * FloatList.C (FloatList): mark the float names for translation
13003
13004         * converter.C (convert): use LibScriptSearch
13005
13006 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13007
13008         * MenuBackend.C (defaults): fix default menu (we might as well get
13009         rid of it...)
13010
13011 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13012
13013         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13014         directory.
13015
13016 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13017
13018         * lyxvc.C: reorder includes.
13019
13020 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13021
13022         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13023           properly
13024
13025 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13026
13027         * CutAndPaste.C: change layouts earlier on paste
13028           to avoid crashing when calling getFont()
13029
13030 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13031
13032         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13033         irritating #error.
13034
13035 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13036
13037         * WorkArea.C: remove 'Pending' debug message.
13038
13039         * most files: ws cleanup
13040
13041         * buffer.[Ch]: ws changes
13042
13043         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13044
13045 2002-03-21  Juergen Vigna  <jug@sad.it>
13046
13047         * tabular.C (SetMultiColumn): collapse also the contents of the
13048         cells and set the last border right. Added a Buffer const * param.
13049
13050 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13051
13052         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13053         linking or not.
13054
13055 2002-03-19  Juergen Vigna  <jug@sad.it>
13056
13057         * text2.C (clearSelection): reset also xsel_cache.
13058
13059         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13060         where it needs to be called (John tells us to do so too :)
13061         (selectionLost): reset sel_cache.
13062
13063         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13064
13065 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13066
13067         * text2.C (setCursorIntern): put debuging code in INSETS channel
13068
13069 2002-03-19  André Pönitz <poenitz@gmx.net>
13070
13071         * lyxfunc.C: tiny whitespace change
13072
13073 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13074
13075         * ToolbarDefaults.C (init):
13076         * LyXAction.C (init):
13077         * commandtags.h:
13078         * BufferView_pimpl.C (Dispatch):
13079         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13080
13081 2002-03-19  Allan Rae  <rae@lyx.org>
13082
13083         * exporter.C (Export): removeAutoInsets before doing anything else.
13084         While I've just introduced a dependency on BufferView this really is
13085         the best place to clean the buffer otherwise you need to cleanup in
13086         a dozen places before calling export or cleanup in a dozen functions
13087         that export calls.
13088
13089         * converter.C (runLaTeX):
13090         (scanLog): Better handling of removeAutoInsets and screen updates.
13091
13092         * lyxfunc.C (dispatch): small whitespace changes
13093
13094 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13095
13096         * WorkArea.C (C_WorkAreaEvent): return a value.
13097         (event_cb): return 1 if we handled the event, 0 otherwise.
13098
13099         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13100
13101 2002-03-18  Juergen Vigna  <jug@sad.it>
13102
13103         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13104         (GetAdditionalWidth): ditto.
13105         (RightLine): ditto.
13106         (LeftLine): ditto.
13107
13108         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13109         inset if we're there actually (probably not used right now but this
13110         is the direction to go for unifying code).
13111         (paste): disable code to clear the selection.
13112
13113         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13114         inside an InsetText and move the check further up as it is in the
13115         wrong place.
13116
13117         * text2.C (pasteSelection): set a selection over the pasted text.
13118
13119 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13120
13121         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13122         and libgraphics to build on Cygwin.
13123
13124 2002-03-15  Juergen Vigna  <jug@sad.it>
13125
13126         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13127         inserting an Inset into the paragraph. I know this is not the best
13128         fix but we already use current_view in CutAndPaste so we will remove
13129         all of it's using at the same time.
13130
13131         * buffer.C (sgmlError): deactivated function till it is rewritten in
13132         the right mode, now it can create problems.
13133
13134         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13135         before accessing it.
13136
13137 2002-03-14  Juergen Vigna  <jug@sad.it>
13138
13139         * undo_funcs.C (textHandleUndo): do the right thing when updating
13140         the inset after the undo/redo.
13141
13142         * text2.C (setCursor): just some testcode for #44 not ready yet.
13143
13144         * undo_funcs.C (textHandleUndo): set the next() and previous()
13145         pointers of the paragraph to 0 before deleting otherwise we have
13146         problems with the Paragraph::[destructor].
13147
13148         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13149         on a paragraph insertion.
13150
13151 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13152
13153         * buffer.C (asciiParagraph): use += operator for char append to
13154         string.
13155
13156         * paragraph.C (getFontSettings): compare >= not just >
13157         (highestFontInRange): ditto
13158         (setFont): ditto
13159
13160 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13161
13162         * paragraph.C: change several algorithm to be more appripriate for
13163         the problem domain. This is lookip in FontList and in the InsetList.
13164
13165 2002-03-13  André Pönitz <poenitz@gmx.net>
13166
13167         * commandtags.h:
13168         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13169
13170 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13171
13172         * commandtags.h:
13173         * LyXAction.C:
13174         * lyxfunc.C:
13175         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13176
13177 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13178
13179         * Painter.C (display): anon helper function, adjust code for this
13180         change.
13181         (pixmap): remove function.
13182
13183         * Painter.h: remove private display variable.
13184
13185         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13186
13187 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13188
13189         * WorkArea.[Ch]: remove figinset_canvas cruft.
13190
13191 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13192
13193         * lyxtextclass.C (operator): add one item cache optimization.
13194
13195         * bufferlist.h: doxy changes
13196
13197         * bufferlist.C: ws changes
13198
13199         * DepTable.[Ch] (ext_exist): place const in the right spot.
13200
13201         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13202         call resizeInsets.
13203         (workAreaExpose): call resizeInsets when the with BufferView changes.
13204         (Dispatch): adjust for protectedBlank removal
13205         (specialChar): call updateInset if the insert went ok.
13206
13207         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13208         specialChar instead.
13209
13210         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13211
13212         * BufferView.h: doxy change
13213
13214         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13215
13216         * lyxtextclass.C (operator[]): remove non-const version
13217         (defaultLayout): remove non-const version
13218
13219 2002-03-12  Juergen Vigna  <jug@sad.it>
13220
13221         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13222         did resize the LyXText too.
13223
13224         * buffer.C (readLyXformat2): set layout information on newly allocated
13225         paragraphs.
13226
13227         * tabular.C (OldFormatRead): set layout information on the paragraph.
13228
13229 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13230
13231         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13232
13233 2002-03-11  Juergen Vigna  <jug@sad.it>
13234
13235         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13236         plainly wrong.
13237         (resizeCurrentBuffer): force also the insets to resize themselfes.
13238         (moveCursorUpdate): fixed up for InsetText.
13239
13240 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13241
13242         * commandtags.h:
13243         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13244         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13245         value of Dialogs::tooltipsEnabled().
13246         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13247
13248 2002-03-08  Juergen Vigna  <jug@sad.it>
13249
13250         * BufferView_pimpl.C (updateInset): update inset inside inset also
13251         if it isn't inside theLockingInset().
13252
13253 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13254
13255         * buffer.C (asciiParagraph): redo some of the word and line length
13256         handling.
13257         (getLists): look for Caption instead of caption.
13258
13259 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13260
13261         * buffer.C (Buffer): initialize niceFile to true
13262         (makeLaTeXFile):
13263         (makeLinuxDocFile):
13264         (makeDocBookFile): make sure niceFile is true on exit
13265
13266 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13267
13268         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13269
13270 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13271
13272         * LyXSendto.C: remove.
13273         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13274         * lyx_gui.C: remove now-redundant comment.
13275         * ColorHandler.h: remove forward declaration of class WorkArea.
13276         * lyxfunc.C: remove #include "WorkArea.h".
13277
13278 2002-03-07  Juergen Vigna  <jug@sad.it>
13279
13280         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13281         got moved away with the DEPM and also set the inset_owner always
13282         right which before could have been omitted.
13283
13284 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13285
13286         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13287         wanted layout is not found.
13288
13289 2002-03-07  Juergen Vigna  <jug@sad.it>
13290
13291         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13292
13293 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13294
13295         * paragraph.C (breakParagraph): use default layout not layout of
13296         prev paragraph.
13297         (Paragraph): clear ParagraphParameters.
13298
13299 2002-03-06  Juergen Vigna  <jug@sad.it>
13300
13301         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13302         otherwise it would not be a valid lenght. Fixed a special case in
13303         the minipage compatibility read where we end the document with a
13304         minipage.
13305
13306         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13307         was set as it could be 0 for InsetTexts first entry.
13308
13309 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13310
13311         * paragraph.C (writeFile): if layout is empty write out
13312         defaultLayoutName().
13313
13314         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13315         file without named layout we set layout to defaultLayoutName().
13316
13317 2002-03-06  Juergen Vigna  <jug@sad.it>
13318
13319         * CutAndPaste.C (copySelection): set layout for new paragraph.
13320
13321         * text.C (prepareToPrint): leave ERT inset left aligned
13322         (leftMargin): don't indent paragraphs inside ERT insets
13323
13324 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13325
13326         * paragraph.C (breakParagraph): dont call clear do the work manually
13327
13328         * paragraph.[Ch] (clear): remove function
13329
13330 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13331
13332         * paragraph.C (Paragraph): dont call clear, the work has already
13333         been done.
13334
13335         * lyxtextclass.C (operator): assert if n is empty
13336
13337         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13338         work manually instead.
13339
13340 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13341
13342         * BufferView_pimpl.C: protect selectionLost against text == 0
13343
13344 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13345
13346         * text.C (breakParagraph): fix a setting layout to '0' problem.
13347
13348 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13349
13350         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13351         final location of file, for the included files, and graphics.
13352
13353 2002-03-05  Juergen Vigna  <jug@sad.it>
13354
13355         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13356
13357 2002-03-04  Juergen Vigna  <jug@sad.it>
13358
13359         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13360
13361         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13362         last column of multicolumn cells.
13363         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13364
13365 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13366
13367         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13368         file if it doesn't go to a temporary file.
13369
13370         * buffer.C (sgmlOpenTag):
13371         (sgmlCloseTag):  remove extra newline insertion.
13372
13373 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13374
13375         * text.C (getRowNearY): comment out debug msg
13376
13377 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13378
13379         * text2.C: first -> first_y
13380
13381         * text.C (getRowNearY): add some attemts at a possible
13382         optimization, not working.
13383
13384         * tabular.[Ch]: add BufferParams to several function so that newly
13385         created paragraph can be initialized to he default layotu for the
13386         buffers textclass.
13387
13388         * tabular-old.C (ReadOld): add buf->params to call of Init
13389
13390         * screen.C: rename text->first to text->first_y
13391
13392         * paragraph.C (breakParagraph): always set layout in the broken
13393         paragraph
13394
13395         * lyxtextclass.C (Read): remove lowercase
13396         (hasLayout): ditto
13397         (operator): ditto
13398         (delete_layout): ditto
13399
13400         * lyxtext.h: rename first -> first_y
13401
13402         * lyxlayout.C (Read): remove lowercase
13403         (name): ditto
13404         (setName): ditto
13405         (obsoleted_by): ditto
13406
13407         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13408
13409         * buffer.C (insertErtContents): add params are to InsetERT
13410         (parseSingleLyXformat2Token): add code to check if a paragraphs
13411         layout really exist.
13412         (parseSingleLyXformat2Token): add params to several inset
13413         constructors
13414         (asciiParagraph): remove lowercase, do the layout comparisons with
13415         no_case
13416
13417         * BufferView_pimpl.C (cursorNext): first -> first_y
13418         (resizeCurrentBuffer): first -> first_y
13419         (updateScrollbar): first -> first_y
13420         (scrollCB): first -> first_y
13421         (workAreaMotionNotify): first -> first_y
13422         (workAreaButtonPress): first -> first_y
13423         (checkInsetHit): first -> first_y
13424         (cursorPrevious): first -> first_y
13425         (cursorNext): first -> first_y
13426         (Dispatch): add buffer_->params to severl inset contructors
13427
13428 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13429
13430         * lyxlayout.C (Read): remove some debug info that I forgot.
13431
13432         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13433         clean up the code slightly.
13434         (makeLinuxDocFile): ditto
13435         (makeDocBookFile): ditto
13436
13437         * text2.C: layout as string
13438
13439         * text.C: layout as string
13440
13441         * paragraph_pimpl.C: layout as string
13442
13443         * paragraph.[Ch]: layout as string
13444
13445         * lyxtextclasslist.[Ch]: layout as string
13446
13447         * lyxtextclass.[Ch]: layout as string
13448
13449         * lyxtext.h: layout as string
13450
13451         * lyxlayout.[Ch]: layout as string
13452
13453         * lyx_cb.C: layout as string
13454
13455         * bufferview_funcs.C: layout as string
13456
13457         * bufferparams.C: layout as string
13458
13459         * buffer.C: layout as string
13460
13461         * LyXView.[Ch]: layout as string
13462
13463         * LaTeXFeatures.[Ch]: layout as string
13464
13465         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13466
13467         * BufferView_pimpl.C: change current_layout to string, remove
13468         lyx::layout_type.
13469         (Dispatch):
13470         (smartQuote):
13471         (insertInset):
13472         (workAreaButtonRelease): layout as string
13473
13474         * BufferView2.C (unlockInset): adjust
13475
13476         * vspace.C (asLatexCommand): use an explict temp variable.
13477
13478 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13479
13480         * Makefile.am: use FRONTEND_*
13481
13482 2002-03-01  Juergen Vigna  <jug@sad.it>
13483
13484         * tabular.C (SetWidthOfMulticolCell): changed to something better
13485         I hope but still work in progress.
13486         (recalculateMulticolumnsOfColumn): renamed function from
13487         recalculateMulticolCells as it is more appropriate now.
13488         (SetWidthOfCell): calculate multicols better.
13489
13490 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13491
13492         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13493
13494         * lyxfunc.C (processKeySym): print sequence also if it is
13495         `deleted' (complete)
13496
13497         * kbsequence.C (print): print sequence even if it is deleted
13498         (complete would be a better word, actually).
13499
13500         * lyxfunc.C (dispatch): print complete options after a prefix key
13501
13502         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13503
13504 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13505
13506         * text2.C (setCharFont): eliminate setCharFont code duplication.
13507
13508 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13509
13510         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13511         LFUN_TABULAR_FEATURE (bug #177)
13512
13513 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13514
13515         * Makefile.am: remove figure.h
13516
13517 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13518
13519         * Bufferview_pimpl.C:
13520         * CutAndPasteC:
13521         * LaTeX.C:
13522         * LyXSendto.C:
13523         * buffer.C:
13524         * bufferlist.C:
13525         * converter.C:
13526         * language.C:
13527         * lyxfunc.C:
13528         * lyxvc.C:
13529         * paragraph.C:
13530         * text.C:
13531         * text2.C: remove #include "lyx_gui_misc.h".
13532
13533         * LaTeX.C: added #include <cstdio>
13534
13535 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13536
13537         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13538         that the paragraph following this one can have.
13539
13540         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13541
13542         * vspace.C (asLatexCommand): fix bogus gcc warning
13543
13544         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13545
13546 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13547
13548         * text2.C (setLayout): get rid of redundant code
13549
13550 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13551
13552         * text2.C (incDepth): make sure depth cannot be increased beyond
13553         reasonable values.
13554
13555 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13556
13557         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13558         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13559
13560         * PainterBase.h (image):
13561         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13562         a LyXImage const *.
13563
13564 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13565
13566         * BufferView.C:
13567         * BufferView.h:
13568         * BufferView_pimpl.C:
13569         * BufferView_pimpl.h:
13570         * LaTeXFeatures.C:
13571         * LyXAction.C:
13572         * LyXView.C:
13573         * Makefile.am:
13574         * UpdateList.h:
13575         * UpdateList.C:
13576         * buffer.C:
13577         * figure.h:
13578         * figureForm.C:
13579         * figureForm.h:
13580         * figure_form.C:
13581         * figure_form.h:
13582         * lyx_cb.C:
13583         * lyx_gui.C:
13584         * lyx_gui_misc.C:
13585         * lyxfunc.C:
13586         * sp_base.h:
13587         * sp_ispell.h:
13588         * sp_pspell.h:
13589         * sp_spell.C: remove fig inset, and the crap house of
13590           cards that follows it
13591
13592 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13593
13594         * Makefile.am:
13595         * lyxserver.C:
13596         * os2_defines.h:
13597         * os2_errortable.h:
13598         * nt_defines.h: move .h into support/
13599
13600         * vms_defines.h: remove
13601
13602         * WorkArea.C: add space in debug output
13603
13604         * text2.C:
13605         * paragraph.C:
13606         * buffer.C: add WITH_WARNINGS
13607
13608         * vc-backend.h:
13609         * vc-backend.C:
13610         * bufferlist.C: s/retrive/retrieve/, add docs
13611
13612         * vspace.h:
13613         * vspace.C:
13614         * kbmap.h:
13615         * lyxlength.h:
13616         * lyxgluelength.h:
13617         * length_common.h:
13618         * chset.h:
13619         * chset.C: add docs
13620
13621         * lyxgui.C: add ID to X error handler
13622
13623         * lyxtestclass.c: fix typo
13624
13625 2002-02-26  Juergen Vigna  <jug@sad.it>
13626
13627         * tabular_funcs.C (write_attribute): changed so that some default
13628         attributes are not written at all.
13629         (getTokenValue): set default values before trying to read the
13630         value so we have the return value always set as default if we don't
13631         find the token we search for.
13632
13633         * tabular.C (Write): write bools as bools not as strings!
13634
13635 2002-02-22  Juergen Vigna  <jug@sad.it>
13636
13637         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13638         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13639
13640         * text.C (leftMargin): don't add an indent for paragraphs inside
13641         tabular cells (fix #208).
13642
13643 2002-02-21  José Matos  <jamatos@fep.up.pt>
13644
13645         * tabular.C (docBook): fixed support for long tables.
13646
13647 2002-02-20  Juergen Vigna  <jug@sad.it>
13648
13649         * text2.C (getFont): get the drawing font of the Inset if this
13650         paragraph is inside an inset (only important for InsetERT for now).
13651
13652         * buffer.C (insertErtContents): use new lanugage params in ERT
13653         constructor.
13654
13655         * CutAndPaste.C: commenting out seemingly uneeded code.
13656
13657 2002-02-19  Allan Rae  <rae@lyx.org>
13658
13659         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13660         Iterators might be simple to use but they also get invalidated.
13661         (removeAutoInsets): renamed saved cursor tracking variables and added
13662         some comments to clarify what everything does.
13663
13664 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13665
13666         * Chktex.C:
13667         * LaTeX.C:
13668         * LyXSendto.C:
13669         * converter.C:
13670         * lyx_cb.C:
13671         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13672         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13673
13674         * lyxfunc.C:
13675         * vc-backend.h: remove #include "support/syscall.h"
13676
13677         * LaTeX.C:
13678         * LyXSendto.C:
13679         * converter.C: rearrange #includes in Lars' approved fashion.
13680
13681         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13682         forward declare class Timeout in the header file.
13683
13684         * XFormsView.C: changes due to the above.
13685
13686         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13687         similar to LyXView.
13688
13689         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13690         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13691
13692 2002-02-18  José Matos  <jamatos@fep.up.pt>
13693
13694         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13695         insets contents.
13696
13697 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13698
13699         * a lot of small ws changes
13700         * add a lot of using std::XXX
13701         * use std construcs some places where approp.
13702         * use some exisint stuff from lyxfunctional where approp.
13703         * Make file changes to use partial linking (lets test this now...)
13704
13705 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13706
13707         * Chktex.C:
13708         * buffer.C:
13709         remove #include "support/syscontr.h" as it's redundant. Always has been.
13710
13711         * Chktex.C:
13712         * LaTeX.C:
13713         * LyXSendto.C:
13714         * converter.C:
13715         * lyx_cb.C:
13716         * vc-backend.C:
13717         change Systemcalls::System to Systemcalls::Wait and
13718         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13719         No change of functionality, just reflects the stripped down Systemcalls
13720         class.
13721
13722 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13723
13724         * debug.[Ch]: add a GRAPHICS type to the enum.
13725
13726 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13727
13728         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13729
13730         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13731         there is an inset.
13732
13733 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13734
13735         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13736         match the changes below.
13737
13738         * text2.C (toggleInset): if there is not editable inset at cursor
13739         position, try to see if cursor is _inside_ a collapsable inset
13740         and close it.
13741
13742 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13743
13744         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13745         document menu has a nice checkbox
13746
13747 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13748
13749         * lyxlength.C (asLatexString): change PW to output as percent of
13750         \textwidth.
13751
13752         * lengthcommon.C: change '%' to 't%'
13753
13754         * lyxfunc.C (dispatch): a few comments from Martin
13755
13756 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13757
13758         * WorkArea.h:
13759         * WorkArea.C:
13760         * BufferView_pimpl.h:
13761         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13762           the X selection.
13763
13764 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13765
13766         * vspace.C (inPixels): fix compiler warning
13767
13768 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13769
13770         * lyxfunc.C (getStatus): fix status message for disabled commands.
13771
13772 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13773
13774         * BufferView_pimpl.C: fix crash on close buffer
13775         during selection (#227)
13776
13777 2002-01-27  Herbert Voss  <voss@lyx.org>
13778
13779         * buffer.C: link old Figure to new graphic inset
13780
13781 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13782
13783         * FontLoader.C (getFontinfo): Change the latex font names in order
13784         to match the names of type1inst.
13785
13786 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13787
13788         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13789
13790         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13791         (extchanged): ditto
13792         (ext_exist): ditto
13793         (remove_files_with_extension): ditto
13794         (remove_file): ditto
13795         (write): ditto
13796
13797         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13798         document is smaller than the work area height. Do not initialize
13799         static variables to 0.
13800
13801 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13802
13803         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13804
13805         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13806         LFUN_LAYOUT_PARAGRAPHS.
13807
13808         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13809         tabular. It is possible to provide a possible cell, which will
13810         typically be the actcell from the corresponding insettabular
13811
13812         * lyxfunc.C (getStatus): small cleanup; disable
13813         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13814         true
13815
13816 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13817
13818         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13819
13820         * paragraph.C (startTeXParParams):
13821         (endTeXParParams): new methods. The LaTeX code to
13822         start/end paragraph formatting
13823         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13824         empty (fixes bug #200)
13825
13826         * vspace.C (inPixels): adapt to the change below
13827         (inPixels): [later] more cleanups (remove unused variables)
13828
13829         * lyxlength.C (inPixels): change to use a width and a height as
13830         parameter.
13831
13832 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13833
13834         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13835         Replaced with \paperwidth
13836
13837         * DepTable.C (insert): add std:: qualifier
13838
13839 2002-01-18  Allan Rae  <rae@lyx.org>
13840
13841         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13842         updated also?
13843
13844         * text.C (drawInset): Turned out I didn't know enough about how
13845         rebreaking worked.  This fixes most of the redraw problems.  I see
13846         an occasional cursor trail when a line is broken now and the cursor
13847         placement can seem out by a few pixels also after a rebreak.
13848
13849 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13850
13851         * buffer.C (parseSingleLyXformat2Token): update because minipage
13852         width is now a LyXLength
13853
13854         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13855
13856         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13857         math insets
13858
13859 2002-01-17  Juergen Vigna  <jug@sad.it>
13860
13861         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13862
13863         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13864         is set correctly and the inset is updated correctly.
13865
13866 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13867
13868         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13869         the beginning of the loop.
13870
13871 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13872
13873         * lyxrc.C: improve help for use_scalable_fonts
13874
13875 2002-01-17  Allan Rae  <rae@lyx.org>
13876
13877         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13878
13879 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13880
13881         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13882         make sure to set their inset_owner to the right value (bug #171)
13883
13884 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13885
13886         * DepTable.h
13887         * DepTable.C: Implement mtime checking to reduce time spent doing
13888         CRCs.
13889
13890 2002-01-16  Juergen Vigna  <jug@sad.it>
13891
13892         * tabular.C (GetAdditionalHeight): one of error fixed.
13893
13894         * lyxrc.C (output): small fix in writing use_pspell.
13895
13896 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13897
13898         * sp_base.h: #include LString.h
13899
13900 2002-01-16  Allan Rae  <rae@lyx.org>
13901
13902         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13903         Can someone check this please?
13904
13905         * text.C (drawInset): It was possible that p.row would be removed by
13906         breakAgainOneRow upsetting a few other settings.  There may be another
13907         small tweak possible by setting need_break_row = 0 when p.row has been
13908         removed but I don't know enough about the logic here.
13909
13910 2002-01-15  Allan Rae  <rae@lyx.org>
13911
13912         * text.C (insertChar): removed conditional truism.
13913
13914         * BufferView2.C (removeAutoInsets): More tweaks.
13915         cur_par_prev could be a stray pointer.  Check for trailing empty line
13916         in case last line was cur_par and only had an error inset on it.
13917
13918 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13919
13920         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13921         absolute
13922
13923         * vc-backend.C (most methods):
13924         * exporter.C (Export):
13925         * converter.C (convert):
13926         (runLaTeX):
13927         * LyXSendto.C (SendtoApplyCB):
13928         * lyxfunc.C (dispatch):
13929         (menuNew):
13930         (open):
13931         (doImport):
13932         * lyx_cb.C (AutoSave):
13933         (InsertAsciiFile):
13934         * BufferView_pimpl.C (MenuInsertLyXFile):
13935         * buffer.C (runChktex): use Buffer::filePath().
13936
13937         * buffer.h: rename filename to filename_; rename filepath to
13938         filepath_ and make it private
13939         (filePath): new method
13940
13941         * buffer.C (writeFile): use fileName()
13942         (getLatexName):
13943
13944         * lyx_main.C (init): fix starting  of LyX when the binary is a
13945         link from so,ewhere else.
13946
13947         * minibuffer.C: include <cctype> for isprint
13948
13949 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13950
13951         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13952         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13953         name clash with InsetCollapsable's width function.
13954
13955 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13956
13957         * lastfiles.C: include <iterator>
13958
13959 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13960
13961         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13962         std::count.
13963
13964         * buffer.C (makeLaTeXFile): ditto.
13965         Also make loop operation more transparent.
13966
13967 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13968
13969         * ToolbarDefaults.C: remove trailing comma closing namespace.
13970
13971         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13972
13973         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13974         as in WorkArea.
13975
13976         * trans.C (Load): comment out unused variable, allowed.
13977
13978 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13979
13980         * minibuffer.[Ch] (append_char): new method to recieve input from the
13981         drop-down completion browser. If a key was pressed, then recieve this
13982         char and append it to the existing string.
13983         (peek_event): modify the positioning data passed to the completion
13984         browser so that it can be placed above the minibuffer rather than below.
13985 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13986
13987         * LyXAction.C (init): alloe error-next for readonly documents.
13988
13989         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13990         count.
13991
13992 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13993
13994         * bufferlist.C (readFile): create the buffer _after_ checking that
13995         the file exists.
13996
13997         * lyxfunc.C (verboseDispatch): fix handling of arguments
13998
13999         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14000
14001         * lyxrc.C: use string::erase() instead of initializing to "".
14002
14003
14004 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14005
14006         * BufferView_pimpl.h:
14007         * BufferView_pimpl.C:
14008         * WorkArea.h:
14009         * WorkArea.C:
14010         * text2.C: tell X when we have made a selection for copying
14011
14012 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14013
14014         * BufferView_pimpl.C (MenuInsertLyXFile):
14015         * lyxfunc.C (menuNew):
14016         (open):
14017         (doImport): add shortcuts to directory buttons
14018
14019         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14020         open a float)
14021
14022         * lyxfunc.C (setStatusMessage):
14023         (getStatusMessage): new methods
14024         (getStatus):use setStatusMessage instead of setErrorMessage
14025         (dispatch): when function is disabled, set error message here
14026         [instead of in getStatus previously]
14027
14028         * BufferView_pimpl.C (workAreaButtonRelease): update
14029         toolbar/menubar here too.
14030
14031 2002-01-13  Allan Rae  <rae@lyx.org>
14032
14033         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14034         Now seems indestructible.  Remaining task is to audit all other
14035         code affected by deleteEmptyParagraphMechanism.  One small quirk
14036         left is that an empty document with an error in the preamble can
14037         be made to report an error but no error box appears.  I don't know
14038         where it goes.
14039         (removeAutoInsets): Improved comments.
14040
14041 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14042
14043         * Thesaurus.h:
14044         * Thesaurus.C: update for Aiksaurus 0.14
14045
14046 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14047
14048         * text2.C (firstParagraph): removed member function, all uses
14049         replaces with ownerParagraph
14050         (redoParagraphs): here
14051         (updateInset): here
14052         (toggleAppendix): here
14053         * BufferView2.C (insertErrors): here
14054         (setCursorFromRow): here
14055
14056 2002-01-13  Allan Rae  <rae@lyx.org>
14057
14058         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14059         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14060         There is still a way to segfault this although you may have to do this
14061         multiple times: Have an InsetERT with an unknown command in it.
14062         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14063         <down-arrow>, <Enter> again, View->DVI, BANG!
14064
14065         * text2.C (setCursor):
14066         (deleteEmptyParagraphMechanism):
14067         * lyxtext.h (setCursor):
14068         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14069         Making use of the return value may help fix other bugs.
14070
14071 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14072
14073         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14074
14075         * LyXView.C (updateMenubar): call MenuBar::update here
14076         (updateToolbar): but not here
14077         (showState): do not update toolbar/menubar
14078
14079         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14080         should need to care about that.
14081
14082         * lyxfunc.C (verboseDispatch): simplify a bit
14083         (getStatus): have a version which takes a pseudoaction, and
14084         another which requires a (kb_action,string).
14085
14086         * LyXAction.C (retrieveActionArg): make it work also when action
14087         is not a pseudo-action.
14088         (getActionName): simplify a bit
14089         (helpText):
14090
14091 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14092
14093         * lyxfunc.C (verboseDispatch): new families of methods with
14094         several ways to specify a command and a bool to indicate whether
14095         the command name and shortcut should be displayed in minibuffer
14096         (eventually, we could extend that to a finer bitmask like
14097         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14098         (dispatch): the pristine dispatch command which just, well,
14099         dispatchs! Note it still sets its result to minibuffer; I'm not
14100         sure we want that.
14101
14102         * lyxfunc.h: remove setHintMessage
14103
14104         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14105
14106 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14107
14108         * BufferView_pimpl.C (specialChar): delete new inset if we have
14109         not been able to insert it.
14110
14111         * kbmap.C: revert to using int instead of kb_action, since all we
14112         are dealing with is pseudo-actions.
14113
14114         * LyXAction.C (searchActionArg): change to return int instead of
14115         kb_action, since the result is a pseudoaction.
14116
14117 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14118
14119         * buffer.C (insertErtContents): Fix (partially) the font bug.
14120
14121 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14122
14123         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14124         as the other one is broken on my machine!
14125
14126 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14127
14128         * commandtags.h:
14129         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14130
14131 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14132
14133         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14134         reflect their actual use. Provide compatibility code for older lyxrc
14135         files.
14136
14137         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14138         FL_NORMAL_STYLE.
14139         change names of popup font variables in line with the changes to lyxrc.C
14140
14141 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14142
14143         * buffer.C (asciiParagraph): avoid outputing a word twice after
14144         an inset.
14145
14146         * lyxrc.C (getDescription): document that document_path and
14147         template_path can be empty.
14148
14149 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14150
14151         * LaTeXFeatures.C (getMacros):
14152         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14153
14154         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14155
14156         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14157         getPackages.
14158         (getPackages): rename feature "floats" to "float". Use an array to
14159         iterate over 'simple' features (i.e. just a \usepackage). Add
14160         handling of "amsmath" (renamed from "amsstyle").
14161
14162 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14163
14164         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14165         features list.
14166
14167 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14168
14169         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14170         FuncStaus::FuncStatus & FuncStaus::some_method().
14171
14172 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14173
14174         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14175         of the func_satus stuff. Edited and massaged in various ways by
14176         JMarc.
14177
14178         * lyxfunc.C (getStatus): use FuncStatus
14179
14180 2002-01-08  Juergen Vigna  <jug@sad.it>
14181
14182         * text.C (nextBreakPoint): use function Inset::isChar().
14183
14184         * paragraph.C (TeXOnePar): use function
14185         Inset::forceDefaultParagraphs.
14186
14187         * buffer.C (latexParagraphs): use function
14188         Inset::forceDefaultParagraphs.
14189
14190 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14191
14192         * lyx_gui.C (init): set the style of the menu popups to
14193         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14194
14195 2002-01-07  Juergen Vigna  <jug@sad.it>
14196
14197         * text.C (setHeightOfRow): small fix
14198         (prepareToPrint): don't look at alignment if we don't have the place
14199         for doing it.
14200
14201 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14202
14203         * box.C: New file. Move the Box methods and functions out of box.h,
14204         following Lars' suggestion.
14205
14206 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14207
14208         * box.h: #include "support/LOstream.h", needed for inlined function.
14209
14210         * lyxtextclass.C:
14211         * lyxtextclasslist.C: added some using std declarations.
14212
14213 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14214
14215         * box.h: make signed dimensions to allow insets wider than
14216           the screen (bug #162)
14217
14218         * BufferView_pimpl.C: add some insetHit debug
14219
14220 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14221
14222         * vc-backend.C: add FIXME
14223
14224 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14225
14226         * lyxfunc.C (getStatus): enable code for showing math font status
14227         in toolbar/menu.
14228
14229 2002-01-07  Juergen Vigna  <jug@sad.it>
14230
14231         * text.C (nextBreakPoint): removed debug output not needed anymore.
14232
14233 2002-01-06  Juergen Vigna  <jug@sad.it>
14234
14235         * text.C (nextBreakPoint): fixed up this function we had this bug
14236         since ever but now hopefully we break row better.
14237         (insertChar): we have to check if an inset is the next char as it
14238         could now happen that a large inset is causing a break.
14239
14240 2002-01-05  Juergen Vigna  <jug@sad.it>
14241
14242         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14243         if it doesn't like to be drawed.
14244
14245 2002-01-04  Juergen Vigna  <jug@sad.it>
14246
14247         * BufferView2.C (lockInset): forgot to set a cursor.
14248
14249         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14250
14251 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14252
14253         * FormMathsPanel.C:
14254         * FormMathsPanel.h
14255         * MathsSymbols.C:
14256         * form_maths_panel.C:
14257         * form_maths_panel.h:
14258         * form_maths_panel.fd: implemented sub- and super- buttons in math
14259         panel.
14260
14261         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14262         (or ^ space) to be used as in TeX (req'd by Andr�.
14263
14264         * lyxfunc.C: Allow ^ and _ again to be used both as
14265         super/subscript (mathed) and as themselves (in text).
14266
14267 2002-01-03  Allan Rae  <rae@lyx.org>
14268
14269         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14270         "LyX" or the filename of the current buffer if it has one.  This is a
14271         modified form of John Levon's patch.
14272
14273         * XFormsView.C (setWindowTitle): also set icon title.
14274
14275         * LyXView.h (setWindowTitle): signature changed.
14276         * XFormsView.h (setWindowTitle): ditto.
14277
14278 2002-01-02  Juergen Vigna  <jug@sad.it>
14279
14280         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14281
14282 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14283
14284         * screen.C (topCursorVisible): introduce a temp var for
14285         text->cursor.row(), handle the case where this row is null. (kindo
14286         hachish)
14287
14288         * text2.C (setCursor): add a couple of asserts.
14289
14290         * paragraph.h (inset_iterator): add -> operator
14291
14292         * paragraph.[Ch] (autoDeleteInsets): remove member function
14293
14294         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14295         cursor pos correctly and handle inset deletion by itself.
14296         (insertErrors): move iterator declaration out of for expression
14297
14298         * lyxtextclass.C: add <algorithm>
14299
14300         * Makefile.am: added the new files to sources, removed layout.C
14301
14302         * layout.C: removed file
14303
14304         * layout.h: remove LYX_DUMMY_LAYOUT
14305
14306         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14307         layout.
14308
14309         * lyxlayout.[Ch]:
14310         * lyxtextclass.[Ch]:
14311         * lyxtextclasslist.[Ch]: new files
14312
14313         * include order changes to a lot of files, also changes because of
14314         the six new files.
14315
14316 2001-12-27  Juergen Vigna  <jug@sad.it>
14317
14318         * buffer.C (asciiParagraph): more fixes.
14319
14320         * tabular.C (ascii): make ascii export support export of only the
14321         data separated by a column-delimiter.
14322         (ascii): better support for ascii export.
14323
14324         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14325
14326 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14327
14328         * tabular_funcs.C: use a "using std::getline" instead of the
14329         previous fix from Angus (necessary for cxx + lyxstring)
14330
14331 2001-12-24  Juergen Vigna  <jug@sad.it>
14332
14333         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14334
14335         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14336         problems. First check a minipage also if we have some ert-contents
14337         (not only on par->size(), second set the right depth of the paragraph
14338         on the relink to the root-paragraph-list!
14339
14340         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14341         which then did not anymore update the main paragraphs on undo/redo!
14342
14343 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14344
14345         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14346         code. Support all font-changing funcs (even those which are not in
14347         menu currently). Support for reporting font settings in
14348         mathed (disabled until Andre provides a function on mathed's side).
14349
14350         * func_status.h (toggle): small helper function to set toggle
14351         state on a flag.
14352
14353 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14354
14355         * tabular_funcs.C: getline -> std::getline
14356
14357 2001-12-21  Juergen Vigna  <jug@sad.it>
14358
14359         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14360         accessed and could be 0 (I couldn't generate this but it seems
14361         Michael could!).
14362
14363 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14364
14365         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14366         * tabular_funcs.h: here and include iosfwd
14367
14368 2001-12-20  Juergen Vigna  <jug@sad.it>
14369
14370         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14371         inside inset but undo_par was.
14372
14373 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14374
14375         * Thesaurus.C: always include <config.h> in sources.
14376
14377         * Painter.h:
14378         * lyxlookup.h:
14379         * box.h: do not include <config.h> in header files
14380
14381         * text.C (paintLastRow): remove unused variable
14382
14383         * text.C (transformChar):
14384         (insertChar):
14385         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14386
14387         * Painter.C (text):
14388         * font.C (width): rewrite to use uppercase() instead of
14389         islower/toupper.
14390
14391         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14392
14393 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14394
14395         * lyxfind.C: clean up of find failure position change
14396
14397 2001-12-20  Juergen Vigna  <jug@sad.it>
14398
14399         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14400
14401         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14402         (TeXRow): added to LaTeX a single tabular row.
14403         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14404         (Latex): simplified and finally good LT-h/f support.
14405         (various_functions): just small adaptions for LT-h/f support.
14406
14407         * tabular_funcs.[hC]: added and moved here all not classfunctions
14408         of LyXTabular.
14409
14410 2001-12-19  Juergen Vigna  <jug@sad.it>
14411
14412         * tabular.[Ch]: better support for longtabular options (not finished
14413         yet!)
14414
14415 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14416
14417         * text.C (paintLastRow): use the label font instead of the font of
14418         the last character to compute the size of *_BOX. This makes more
14419         sense and avoids a crash with empty paragraphs.
14420         Use Painter::rectangle to draw EMPTY_BOX.
14421
14422 2001-12-19  Juergen Vigna  <jug@sad.it>
14423
14424         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14425         the paragraphs if the replaced paragraph is not the first one!
14426         Tried to delete not used paragraphs but does not work yet so for
14427         now it's inside #ifdef's and by default off!
14428
14429 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14430
14431         * MenuBackend.C: include "lyx_main.h" instead of declaring
14432         lastfiles (actually was declared as LastFiles* instead of a
14433         scoped_ptr).
14434
14435 2001-12-17  Juergen Vigna  <jug@sad.it>
14436
14437         * tabular.C (AppendColumn): applied John's fix
14438
14439 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14440
14441         * BufferView.h:
14442         * BufferView.C:
14443         * BufferView_pimpl.h:
14444         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14445
14446         * Makefile.am:
14447         * box.h: new start of class for above
14448
14449         * lyxfunc.C: ignore space-only minibuffer dispatches.
14450           Show the command name when it doesn't exist
14451
14452         * minibuffer.C: don't add empty lines to the history
14453
14454         * minibuffer.C: add a space on dropdown completion
14455
14456 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14457
14458         * text.C: fix line above/below drawing in insets
14459
14460 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14461
14462         * lyxlength.C (LyXLength): Initialize private variables.
14463
14464 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14465
14466         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14467         when inserting error insets.
14468
14469 2001-12-13  Juergen Vigna  <jug@sad.it>
14470
14471         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14472         actually sometimes the before-paragraph.
14473         (setUndo): don't clear the redostack if we're not actually undoing!
14474
14475 2001-12-06  Juergen Vigna  <jug@sad.it>
14476
14477         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14478         and fixed redoing of main paragraph, so we can use it now ;)
14479
14480         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14481
14482 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14483
14484         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14485         Juergen's request
14486
14487 2001-12-13  André Pönitz <poenitz@gmx.net>
14488
14489         * undostack.[Ch]:
14490         * undo_func.C: minor cleanup
14491
14492 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14493
14494         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14495         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14496         font in urw-fonts package which is marked as -urw-fontspecific and
14497         does not work (incidentally, changing the encoding in the
14498         fonts.dir of this package to -adobe-fontspecific fixes the
14499         problem).
14500
14501         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14502         is a crash when undoing first paragraph (Juergen, please take a
14503         look). THis does not mean the undo fix is wrong, just that it
14504         uncovers problems.
14505
14506         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14507         the (Paragraph*) version when needed instead of duplicating the
14508         code.
14509
14510         * text.C (workWidth): use Inset::parOwner to find out where the
14511         inset has been inserted. This is a huge performance gain for large
14512         documents with lots of insets. If Inset::parOwner is not set, fall
14513         back on the brute force method
14514
14515         * paragraph_pimpl.C (insertInset):
14516         * paragraph.C (Paragraph):
14517         (cutIntoMinibuffer): set parOwner of insets when
14518         inserting/removing them
14519
14520         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14521
14522 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14523
14524         * commandtags.h:
14525         * LyXAction.C:
14526         * lyx_main.C:
14527         * lyxfunc.C:
14528         * mathed/formulabase.C:
14529         * mathed/math_cursor.[Ch]:
14530         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14531
14532
14533 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14534
14535         * lyxlength.[Ch] (operator!=): new function
14536
14537 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14538
14539         * text.C (workWidth): use Inset::parOwner to find out where the
14540         inset has been inserted. This is a huge performance gain for large
14541         documents with lots of insets. If Inset::parOwner is not set, fall
14542         back on the brute force method
14543
14544         * paragraph_pimpl.C (insertInset):
14545         * paragraph.C (Paragraph):
14546         (cutIntoMinibuffer): set parOwner of insets when
14547         inserting/removing them
14548
14549         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14550
14551 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14552
14553         * tabular-old.C (getTokenValue):
14554         * tabular.C (getTokenValue):
14555         (write_attribute): new versions for LyXLength
14556         (everywhere): adjust the use of widths
14557
14558         * tabular.h: change the type of widths from string to LyXLength
14559
14560 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14561
14562         * paragraph.C: fixed missing line number count when exporting
14563         Environments to LaTeX file
14564
14565         * buffer.C: added informational message for checking line numbers.
14566
14567 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14568
14569         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14570         paragraph, do the 'double space' part, but not the 'empty
14571         paragraph' one.
14572
14573         * text.C (workWidth): small optimization
14574         (getLengthMarkerHeight): use minimal size for negative lengths.
14575
14576 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14577
14578         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14579
14580         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14581
14582 2001-12-11  André Pönitz <poenitz@gmx.net>
14583
14584         * FontLoader.C:
14585         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14586
14587 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14588
14589         * text2.C: keep selection on a setFont()
14590
14591 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14592
14593         * lyx_cb.C: another bv->text misuse, from insert label
14594
14595 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14596
14597         * kbsequence.h:
14598         * kbsequence.C: re-instate nmodifier mask
14599
14600 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14601
14602         * lyx_main.h: make lyxGUI private.
14603
14604 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14605
14606         * lyxfind.C: place the cursor correctly on failed search
14607
14608 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14609
14610         * text.C (getLengthMarkerHeight): for small heights, the arrows
14611         are not always on top/bottom of the text
14612         (drawLengthMarker): smaller arrows; take the left margin in
14613         account; draw also vfills.
14614         (paintFirstRow):
14615         (paintLastRow): remove special code for vfill and standard spaces,
14616         since everything is handled in drawLengthMarker now.
14617
14618 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14619
14620         * buffer.C (insertErtContents): try to handle font and language
14621         interaction a bit better.g
14622
14623         * ColorHandler.C (updateColor): change the hash to cover the whole
14624         LColor enum, ws cleanup
14625         (getGCLinepars): ditto
14626         (getGCLinepars): only lookup in the linecache once.
14627
14628 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14629
14630         * iterators.C (operator++): Make the iterator more robust
14631
14632         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14633         (John's patch)
14634         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14635
14636 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14637
14638         * lyxtext.h:
14639         * text.C: better added space drawing
14640
14641 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14642
14643         * LyXView.C:
14644         * BufferView2.C: fix layout combo update on inset unlock
14645
14646 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14647
14648         * Makefile.am: don't compile unused files
14649
14650 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14651
14652         * lyxfunc.C:
14653         * commandtags.h:
14654         * LyXAction.C: remove old LFUN_LAYOUTNO
14655
14656 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14657
14658         * paragraph_pimpl.h:
14659         * paragraph_pimpl.C: isTextAt() doesn't need font param
14660
14661 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14662
14663         * lyxlex.h:
14664         * lyxlex.C: little cleanup
14665
14666 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14667
14668         * BufferView_pimpl.C: fix insertAscii for insets
14669
14670 2001-12-05  Juergen Vigna  <jug@sad.it>
14671
14672         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14673         set the right font on the "multi" paragraph paste!
14674
14675 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14676
14677         * trans_decl.h:
14678         * trans_mgr.[Ch]:
14679         * trans.[Ch]:
14680         * lyxgluelength.C:
14681         * lyxlength.C: remove out-commented code.
14682
14683         * BufferView_pimpl:
14684         * CutAndPaste.C:
14685         * DepTable.C:
14686         * buffer.C:
14687         * chset.C:
14688         * lastfiles.C:
14689         * lyxlex.C:
14690         * lyxlex_pimpl.C:
14691         * lyxserver.C:
14692         * screen.C:
14693         * tabular-old.C:
14694         * tabular.C:
14695         * text.C:
14696         * trans_mgr.C:
14697         * vc-backend.C: change "while(" to "while ("
14698
14699         * lyxlength.[Ch]: add zero function to check if length is zero or
14700         not
14701         * lyxgluelength.C: use it
14702
14703 2001-12-05  Allan Rae  <rae@lyx.org>
14704
14705         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14706         Works for 2.95.3, from what I understand of Garst's reports this should
14707         work for other g++ versions.  We're screwed if the abs(int) definition
14708         changed between bugfix releases of gcc.
14709
14710 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14711
14712         * text.C: fix chapter label offset !
14713
14714 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14715
14716         * lyxtext.h:
14717         * text.C: fix hfill at end of line, clean up
14718
14719 2001-12-04  Juergen Vigna  <jug@sad.it>
14720
14721         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14722         that we force an update of the inset and it's owners if neccessary.
14723
14724 2001-12-03  Juergen Vigna  <jug@sad.it>
14725
14726         * text.C (rowLast): simplified code
14727
14728 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14729
14730         * lyxfunc.C: fix show options on timeout
14731
14732 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14733
14734         * screen.C (topCursorVisible): scroll half a page when the cursor
14735         reached top of bottom of screen
14736
14737 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14738
14739         * minibuffer.C: deactivate on loss of focus
14740
14741 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14742
14743         * vspace.[Ch] (operator!=): add operator.
14744
14745 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14746
14747         * BufferView_pimpl.C: refuse to open an inset when
14748         there's a selection.
14749
14750 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14751
14752         * BufferView_pimpl.C: allow to click on RHS of full row insets
14753
14754 2001-11-30  Juergen Vigna  <jug@sad.it>
14755
14756         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14757         insets for undo reasons.
14758
14759 2001-11-28  André Pönitz <poenitz@gmx.net>
14760
14761         * vspace.[Ch]: cosmetical changes
14762
14763 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14764
14765         * LyXAction.h:
14766         * LyXAction.C:
14767         * lyxfunc.h:
14768         * lyxfunc.C:
14769         * kbmap.h:
14770         * kbmap.C:
14771         * lyxrc.C:
14772         * kbsequence.h:
14773         * kbsequence.C: part re-write of old kb code
14774
14775         * Painter.C:
14776         * WorkArea.C: remove Lgb_bug_find_hack
14777
14778 2001-11-30  José Matos <jamatos@fep.up.pt>
14779
14780         * buffer.C (makeDocBookFile): add a comment to point a hack.
14781         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14782         Fixed a double write of labels.
14783
14784 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14785
14786         * LaTeX.C:
14787         * LaTeX.h Fixed bug in LaTeX class where it would not
14788         re-run latex if no depfiles were changed, but the .dvi was removed.
14789
14790 2001-11-28  André Pönitz <poenitz@gmx.net>
14791
14792         * all the files from the change on 2001/11/26:
14793         use lyx::layout_type instead of LyXTextClass::size_type
14794         use lyx::textclass_type instead of LyXTextClassList::size_type
14795
14796 2001-11-29  Juergen Vigna  <jug@sad.it>
14797
14798         * text.C: added support for paragraph::isFreeSpacing()
14799
14800         * buffer.C: same as above
14801
14802         * paragraph.h: inserted isFreeSpacing() function to enable
14803         FreeSpacing inside InsetERT.
14804
14805         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14806         of the paragraph's in the cut/copy buffer to 0!
14807
14808         * text2.C (removeRow): remove the assert as it can!
14809
14810         * lyxtext.h: added helper function firstRow returning firstrow and
14811         made firstrow private again.
14812
14813         * BufferView2.C (lockInset): don't relock if we're already locked!
14814
14815         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14816         the only paragraph.
14817         (removeRow): added Assert::(firstrow)
14818
14819         * debug.C: forgot to add INSETTEXT here.
14820
14821 2001-11-28  Juergen Vigna  <jug@sad.it>
14822
14823         * sp_spell.C (initialize): changed error text to more general
14824         spellchecker command use (not only ispell!)
14825
14826         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14827
14828         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14829
14830 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14831
14832         * vspace.C: initialise lyxgluelength on failure
14833
14834 2001-11-28  Allan Rae  <rae@lyx.org>
14835
14836         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14837         declaration & definition that looks like a function declaration.
14838
14839 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14840
14841         * BufferView2.C (copy):
14842         (copyEnvironment): do not clear the selection when doing a copy.
14843
14844         * text.C (paintFirstRow): compilation fix
14845
14846 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14847
14848         * tabular.C (Latex): correct line count when writing latex.
14849
14850 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14851
14852         * paragraph_pimpl.h:
14853         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14854           bug a bit
14855
14856 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14857
14858         * text.C:
14859         * LColor.h:
14860         * LColor.C: change vfillline->added_space
14861
14862         * text.C: add markers and text for added space
14863
14864         * vspace.C: fix comment
14865
14866 2001-11-28  André Pönitz <poenitz@gmx.net>
14867
14868         * paragraph.C: whitespace changes
14869         * all the other files from the change on 2001/11/26:
14870         change *::pos_type into lyx::pos_type
14871
14872 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14873
14874         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14875         language of the document when inserting error insets.
14876
14877 2001-11-26  André Pönitz <poenitz@gmx.net>
14878
14879         * BufferView_pimpl.[Ch]:
14880         *       CutAndPaste.C:
14881         * buffer.[Ch]:
14882         * lyxcursor.[Ch]:
14883         * lyxfind.C:
14884         * lyxfunc.C:
14885         * lyxrow.[Ch]:
14886         * paragraph.[Ch]:
14887         * paragraph_pimpl.[Ch]:
14888         * sp_spell.C:
14889         * text.C:
14890         * text2.C: reduce header dependencies, introduce type for positions
14891
14892 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14893
14894         * <various>: change to use Alert.h
14895
14896 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14897
14898         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14899         when encountering an unknown token.
14900         (readLyXformat2): Show an error message if there were unknown tokens.
14901
14902 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14903
14904         * BufferView2.C:
14905         * BufferView_pimpl.C:
14906         * buffer.C:
14907         * paragraph.h:
14908         * text.C:
14909         * text2.C: use par->isInset()
14910
14911 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14912
14913         * paragraph_pimpl.h:
14914         * paragraph_pimpl.C: cleanup
14915
14916 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14917
14918         * text2.C (removeRow):
14919         * text.C (setHeightOfRow): remove useless (and costly) call to
14920         getRow.
14921
14922 2001-11-20  Allan Rae  <rae@lyx.org>
14923
14924         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14925         Now need Inset*::checkInsertChar() to return true for appropriate
14926         cases so that the characters in the minibuffer will actually be
14927         inserted.
14928
14929 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14930
14931         * text.C: change the order of the includes.
14932         (workWidth): initialize it at once.
14933         (workWidth): make maxw unsigned
14934         (setHeightOfRow): remove unused variable (inset)
14935         (selectSelectedWord): remove unused variable (inset)
14936         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14937
14938 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14939
14940         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14941         server is not running.
14942         (openConnection):
14943         (closeConnection): add debug info when server is disabled.
14944
14945         * ColorHandler.C (getGCForeground): send debug message to GUI
14946         channel.
14947
14948         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14949
14950         * kbmap.C (bind): modify because return conventions of
14951         kb_sequence::parse have changed.
14952
14953         * kbsequence.C (parse): only ignore spaces and not any stupid
14954         control character. This avoids tests like s[i] <= ' ', which are
14955         guaranteed to fail with 8bit characters and signed chars.
14956         Change return code to string::npos when there have been no error
14957         (0 was a bad idea when error is at first character)
14958
14959 2001-11-14  José Matos  <jamatos@fep.up.pt>
14960
14961         * buffer.h:
14962         * buffer.C (simpleDocBookOnePar): removed unused argument.
14963
14964 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14965
14966         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14967         insets which are part of a word. Paragraph::isLetter takes care of
14968         that now. Use Paragraph::isInset to identify insets.
14969         (selectSelectedWord): do not test for hyphenation break.
14970
14971         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14972         that protected spaces are considered as spaces.
14973
14974         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14975         Inset::isLetter.
14976
14977 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14978
14979         * lyxserver.h:
14980         * lyxserver.C: fix it. and small cleanup.
14981
14982 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14983
14984         * BufferView_pimpl.C: use inline helpers
14985
14986         * LaTeXFeatures.h:
14987         * LaTeXFeatures.C: fix typos
14988
14989         * Spacing.h:
14990         * Spacing.C: move spacing_string into class
14991
14992         * ToolbarDefaults.C: move stuff into namespace anon
14993
14994         * layout.h: update enum
14995
14996         * lyxfunc.C: use better debug
14997
14998         * minibuffer.h: fix typo
14999
15000         * debug.h:
15001         * debug.C:
15002         * WorkArea.C: add and use Debug::WORKAREA
15003
15004         * lyxtext.h:
15005         * text.C:
15006         * text2.C: code re-organisation, inline helpers
15007
15008 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15009
15010         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15011         std::vector.empty().
15012
15013 2001-11-09  Allan Rae  <rae@lyx.org>
15014
15015         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15016         '\n's after tables.  Tabular and ERT inset work now makes this no
15017         longer necessary.
15018
15019 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15020
15021         * minibuffer.h:
15022         * minibuffer.C: fix crash, improve drop-down completion
15023
15024 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15025
15026         * lyxserver.h:
15027         * lyxserver.C: invalidate fd's when doing endPipe()
15028
15029 2001-11-08  José Matos  <jamatos@fep.up.pt>
15030
15031         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15032         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15033
15034         * paragraph.h:
15035         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15036
15037 2001-11-07  José Matos  <jamatos@fep.up.pt>
15038
15039         * buffer.h:
15040         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15041         const qualifier.
15042
15043         * buffer.C (sgmlOpenTag):
15044         * buffer.C (sgmlCloseTag): removed debug info.
15045
15046         * buffer.h (sgmlOpenTag):
15047         * buffer.h (sgmlCloseTag): made public.
15048
15049 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15050
15051         * buffer.C (saveParamsAsDefaults):
15052         * lyx_cb.C (MenuLayoutSave): remove
15053
15054         * LyXAction.C (init):
15055         * commandtags.h:
15056         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15057
15058 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15059
15060         * buffer.C (setPaperStuff): removed from here...
15061
15062         * bufferparams.C (setPaperStuff): ... and moved there.
15063
15064 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15065
15066         * minibuffer.h:
15067         * minibuffer.C:
15068         * XFormsView.C: add support for drop-down completion
15069
15070 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15071
15072         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15073         commands.
15074
15075 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15076
15077         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15078         disabled.
15079
15080 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15081
15082         * lyx_main.C: change ref to known bugs
15083
15084 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15085
15086         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15087         to work around older babel problems.
15088
15089 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15090
15091         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15092
15093 2001-10-24  Juergen Vigna  <jug@sad.it>
15094
15095         * tabular-old.C (ReadOld): below variable changes reflected.
15096
15097         * tabular.[Ch]: added ltType struct for longtable header/footer
15098         defines and changed all instances where they are used. Added
15099         future support for double top/bottom rows.
15100
15101 2001-10-24  José Matos  <jamatos@fep.up.pt>
15102
15103         * buffer.h (docbookHandleCaption):
15104         * buffer.C (docbookHandleCaption): removed unused function.
15105         (makeDocBookFile): moved docbook supported version to v4.1.
15106
15107 2001-10-24  José Matos  <jamatos@fep.up.pt>
15108
15109         * tabular.h:
15110         * tabular.C (docbookRow): new function to export docbook code of a row.
15111         (DocBook): now honors the longtable flags.
15112
15113 2001-10-23  José Matos  <jamatos@fep.up.pt>
15114
15115         * LaTeXFeatures.h:
15116         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15117         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15118
15119         * buffer.C (makeLinuxDocFile):
15120         (makeDocBookFile): reworked the preamble, more clean, and with
15121         support for lyx defined entities. Changed the document declaration
15122         to be more XML friendly.
15123
15124         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15125         if we need to output XML that should be done with a filter.
15126
15127 2001-10-22  Juergen Vigna  <jug@sad.it>
15128
15129         * sp_pspell.h (class PSpell): add alive function needed in the
15130         controller to see if the spellchecker could be started.
15131
15132 2001-10-22  Juergen Vigna  <jug@sad.it>
15133
15134         * buffer.C (insertStringAsLines): modify the font for inserting
15135         chars in certain conditions by calling checkInsertChar(font).
15136
15137 2001-10-19  Juergen Vigna  <jug@sad.it>
15138
15139         * text.C (workWidth): use getRow instead of wrong algorithm.
15140         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15141
15142 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15143
15144         * lyxserver.h:
15145         * lyxserver.C:
15146         * lyx_main.h:
15147         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15148
15149 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15150
15151         * text.C (workWidth): do not search for the exact row when
15152         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15153         optimization for big documents.
15154
15155 2001-10-18  Juergen Vigna  <jug@sad.it>
15156
15157         * text.C (workWidth): new function with added Inset * parameter.
15158
15159 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15160
15161         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15162
15163         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15164         change return type of getColumnNearX.
15165
15166
15167         * text.C (changeRegionCase): use uppercase/lowercase instead of
15168         toupper/tolower.
15169         (leftMargin):
15170         (rightMargin): simplify code by factoring out the uses of
15171         textclasslist.
15172         (labelFill):
15173         (numberOfHfills):
15174         (setHeightOfRow):
15175         (appendParagraph): use Paragraph::size_type
15176
15177 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15178
15179         * vspace.C (asLatexString): add a missing break
15180
15181 2001-10-15  Herbert Voss  <voss@perce.de>
15182
15183         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15184
15185 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15186
15187         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15188         is not available.
15189
15190 2001-10-10  André Pönitz <poenitz@gmx.net>
15191
15192         * lyxfunc.C: removed greek_kb_flag.
15193
15194 2001-10-10  Herbert Voss  <voss@perce.de>
15195
15196         * lyx_main.C: delete global string help_lyxdir.
15197
15198 2001-10-09  Herbert Voss  <voss@perce.de>
15199
15200         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15201
15202         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15203
15204         * lyx_main.C: added global string help_lyxdir.
15205
15206         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15207
15208 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15209
15210         * lyxrc.C (set_font_norm_type): support iso8859-4
15211
15212 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15213
15214         * LaTeX.C (deplog): add another regex for MikTeX
15215
15216 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15217
15218         * lyxrc.C (set_font_norm_type): support iso8859-3
15219
15220 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15221
15222         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15223
15224         * LaTeXFeatures.C: remove special case of french and index
15225
15226         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15227         before \begin{document}). This solves several incompatibilities.
15228
15229 2001-10-03  Garst Reese  <reese@isn.net>
15230
15231         * lyx_cb.C: change CheckTex error msg.
15232
15233 2001-10-03  José Matos  <jamatos@fep.up.pt>
15234
15235         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15236
15237 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15238
15239         * .cvsignore: update
15240
15241         * lyx_main.C (commandLineVersionInfo): use new style version info.
15242
15243         * buffer.C (writeFile):
15244         (makeLaTeXFile):
15245         (makeLinuxDocFile):
15246         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15247
15248         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15249
15250         * version.h: update to use stuff in version.C
15251
15252         * version.C.in: new file. Contains version information determined
15253         at compile time. This is a merging of version.h and
15254         version_info.h.in.
15255
15256 2001-10-03  Juergen Vigna  <jug@sad.it>
15257
15258         * BufferView_pimpl.C (update): don't change "dirty" status in
15259         updateInset call.
15260
15261 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15262
15263         * WorkArea.C (c-tor): re-position version string slightly.
15264
15265 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15266
15267         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15268         revert to previous code.
15269
15270         WorkArea.[Ch]: (show, destroySplash): methods removed.
15271
15272         WorkArea.C: rework code so that it's an amalgam of the codes before and
15273         after the splash screen was moved to WorkArea.
15274
15275 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15276
15277         * lyxrc.C (read):
15278         * vspace.C (inPixels):
15279         (lyx_advance):
15280         * kbmap.C (bind):
15281         * buffer.C (insertStringAsLines):
15282         (asciiParagraph): fix types to be large enough
15283
15284         * lyxlex_pimpl.h: change member status from short to int
15285
15286         * layout.h: fix type of endlabeltype
15287
15288         * kbmap.C (bind):
15289         * kbsequence.C (parse): change return type to string::size_type
15290
15291         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15292         variable
15293
15294         * Bullet.C (bulletSize):
15295         (bulletEntry): do not use short ints as parameters
15296
15297         * BufferView2.C (insertLyXFile): change a char to an int.
15298
15299         * WorkArea.C (WorkArea): remove unneeded floats in computation
15300
15301 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15302
15303         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15304
15305         * paragraph.C (asString): Do not ignore newline/hfill chars when
15306         copying to the clipboard.
15307
15308 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15309
15310         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15311         after a multi-line inset.
15312
15313 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15314
15315         * paragraph.C (validate): Set NeedLyXFootnoteCode
15316
15317 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15318
15319         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15320         and decrease-error to decrease.
15321
15322 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15323
15324         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15325         it more readable (should be equivalent)
15326
15327 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15328
15329         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15330
15331 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15332
15333         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15334         of a cursor (row, etc.) after a character has been deleted
15335         (deleteEmptyParagraphMechanism): call the method above on _all_
15336         cursors held by the LyXText when a double space has been
15337         detected/deleted.
15338
15339 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15340
15341         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15342         pixmap.
15343         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15344
15345         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15346         background. Use greyOut() and the new show() methods to toggle between
15347         the foreground and background. Add code to remove the splash after
15348         its initial showing.
15349
15350         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15351         (create_forms): no longer call Dialogs::showSplash.
15352
15353 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15354
15355         * .cvsignore: add version_info.h
15356
15357 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15358
15359         * version_info.h.in: new file
15360
15361         * Makefile.am: add version_info.h.in
15362
15363         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15364         version_info.h instead of VERSION_INFO
15365
15366 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15367
15368         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15369         The ERT inset now returns string().
15370
15371 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15372
15373         * lyxtext.h, text.C (selectNextWord): renamed as
15374         selectNextWordToSpellcheck.
15375
15376         * text.C (selectNextWordToSpellcheck): Modified to not select
15377         words inside an ERT inset.
15378
15379 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15380
15381         * lyx_cb.C (MenuLayoutSave): change a bit the question
15382
15383         * sp_base.h: include <sys/types.h>
15384
15385 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15386
15387         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15388
15389 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15390
15391         * several files: fix typos in user-visible strings
15392
15393 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15394
15395         * text2.C (pasteSelection): do not set the selection, since it
15396         will be cleared later. Actually, the intent was to fix the way the
15397         selection was set, but I figured rmoving the code was just as good.
15398
15399 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15400
15401         * FontLoader.C (available): Check if font is available without
15402         loading the font.
15403
15404 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15405
15406         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15407
15408 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15409
15410         * lyxrc.[Ch]: added display_graphics variable and associated code.
15411
15412 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15413
15414         * bufferparams.C (hasClassDefaults): new method. Returns true if
15415         the buffer parameters correspond to known class defaults
15416
15417 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15418
15419         * XFormsView.C (show): set minimum size to the main window.
15420
15421 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15422
15423         * text2.C (copySelection):
15424         (cutSelection):
15425         * lyxfind.C (LyXReplace):
15426         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15427         LyXText::selectionAsString.
15428
15429         * paragraph.C (asString): add "label" argument to the second form
15430
15431         * text2.C (selectionAsString): add "label" argument and pass it to
15432         Paragraph::asString.
15433
15434 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15435
15436         * lyx_main.C (commandLineHelp): remove version information
15437
15438 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15439
15440         * lyx_main.C: add -version commandline option
15441
15442 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15443
15444         * paragraph.h: make the optional constructor arg required instead.
15445         some modifications to other files because of this.
15446
15447         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15448
15449         * lyxserver.C (C_LyXComm_callback): make it static
15450
15451         * lyx_main.C (error_handler): make it static
15452
15453         * lyx_gui.C (LyX_XErrHandler): make it static
15454
15455         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15456
15457         * WorkArea.C: make the extern "C" methods static.
15458
15459         * Makefile.am (lyx_LDADD): simplify
15460
15461 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15462
15463         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15464         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15465
15466         * LyXAction.C (init):
15467         * lyxfunc.C (dispatch): associated code removal.
15468
15469 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15470
15471         * lyxfont.h (isSymbolFont): shut off warning
15472
15473         * text.C (setHeightOfRow):
15474         (getVisibleRow): fix crash with empty paragraphs which have a
15475         bottom line
15476
15477 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15478
15479         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15480         code.
15481
15482 2001-09-04  José Matos  <jamatos@fep.up.pt>
15483         * buffer.C
15484         * buffer.h
15485         * tabular.C (docbook): rename docBook method to docbook.
15486
15487 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15488
15489         * Makefile.am: add dependencies to main.o.
15490
15491 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15492
15493         * FontLoader.C (available): Return false if !lyxrc.use_gui
15494
15495 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15496
15497         * FontInfo.C (query):
15498         * converter.C (view):
15499         * importer.C (Import):
15500         * exporter.C (Export): Can not -> cannot.
15501
15502 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15503
15504         * BufferView_pimpl.C: allow to create index inset even if
15505           string is empty
15506
15507 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15508
15509         * buffer.C (getLists): replace boost::tie code with an explicit pair
15510         as boost::tie can break some compilers.
15511
15512         * iterators.h: Added a std:: declaration to the return type of
15513         ParIterator::size.
15514
15515 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15516
15517         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15518           case.
15519
15520 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15521
15522         * iterators.[Ch]: New files. Provide paragraph iterators.
15523
15524         * buffer.C (changeLanguage): Use paragraph iterators.
15525         (isMultiLingual): ditto
15526
15527         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15528
15529 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15530
15531         * FontLoader.C: Support for cmr font.
15532
15533 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15534
15535         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15536         (available): New method.
15537
15538         * FontInfo.C (getFontname): Use scalable fonts even when
15539         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15540         found.
15541
15542 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15543
15544         * converter.C (Formats::view): reverted! Incorrect fix.
15545
15546 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15547
15548         * converter.C (Formats::view): only output the -paper option
15549         if the dvi viewer is xdvi, thereby fixing bug #233429.
15550
15551 2001-08-23  Herbert Voss  <voss@perce>
15552
15553         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15554
15555 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15556
15557         * Spacing.h (Spacing): Set space to Default on in the default
15558         constructor.
15559
15560 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15561
15562         * vc-backend.h (RCS::versionString): add RCS to version
15563         (CVS::versionString): add CVS to version
15564
15565         * vc-backend.C (scanMaster): do not add CVS to version.
15566         (scanMaster): do not add RCS to version
15567
15568         * lyxvc.C (versionString): new method
15569
15570         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15571
15572 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15573
15574         * Spacing.C (set): initialize fval
15575
15576 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15577
15578         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15579         " or \.
15580
15581 2001-08-16  Juergen Vigna  <jug@sad.it>
15582
15583         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15584
15585 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15586
15587         * BufferView_pimpl.C:
15588         * figureForm.C:
15589         * lyxtext.h:
15590         * text2.C: setParagraph takes linespacing now
15591
15592 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15593
15594         * LyxAction.C: add internal LFUN_CITATION_INSERT
15595
15596         * LyXView.C: actually apply fix
15597
15598         * bufferlist.C: fix open non-existent file
15599
15600         * lyxfind.C: fix indentation
15601
15602         * lyxfunc.C: remove unneeded assert, fix typo
15603
15604 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15605
15606         * MenuBackend.C: use "Floatname List"
15607
15608 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15609
15610         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15611         when converting LaTeX layout to insetERT.
15612         Generate a non-collapsed float when reading old float
15613
15614 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15615
15616         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15617         ERT insets.
15618
15619 2001-08-13  Juergen Vigna  <jug@sad.it>
15620
15621         * text.C (fill): return 0 instead of 20 as this seems to be the more
15622         correct value.
15623
15624 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15625
15626         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15627         lyxrc.font_norm.
15628
15629 2001-08-13  Juergen Vigna  <jug@sad.it>
15630
15631         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15632         casesensitive off.
15633         (SearchBackward): comment out the unlocking of the inset_owner this
15634         should not be needed!
15635
15636 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15637
15638         * Many files: Remove inherit_language, and add latex_language
15639
15640         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15641         collapsible insets.
15642
15643 2001-08-10  Juergen Vigna  <jug@sad.it>
15644
15645         * text.C (prepareToPrint): fixed hfill-width in draw!
15646
15647         * BufferView2.C (selectLastWord): save the selection cursor as this
15648         now is cleared in the function LyXText::clearSelection!
15649
15650 2001-08-08  Juergen Vigna  <jug@sad.it>
15651
15652         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15653         BACKSPACE type functions.
15654
15655         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15656         is only cutted from the document but not put in the cut-buffer, where
15657         still the old stuff should be.
15658
15659         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15660
15661         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15662
15663         * tabular.C (SetWidthOfCell): fixed special case where the width
15664         was not updated!
15665         (LeftLine): handle '|' in align_special.
15666         (RightLine): ditto
15667         (LeftAlreadyDrawed): ditto
15668         (SetWidthOfCell): ditto
15669
15670 2001-08-07  Juergen Vigna  <jug@sad.it>
15671
15672         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15673
15674 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15675
15676         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15677         * lyxlex.[hC]: ditto
15678
15679 2001-08-06  Juergen Vigna  <jug@sad.it>
15680
15681         * text.C (getVisibleRow): fix up row clearing a bit.
15682
15683 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15684
15685         * minibuffer.C: make sure the X server sees the changes in the input.
15686
15687 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15688
15689         * paragraph.C (getFont): split into...
15690         (getLabelFont): this
15691         (getLayoutFont): and this
15692         * paragraph_pimpl.C (realizeFont): calling this
15693
15694         * text2.C (getFont): split into...
15695         (getLayoutFont): this
15696         (getLabelFont): and this
15697         (realizeFont): all three calling this
15698
15699         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15700         files where used.
15701
15702 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15703
15704         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15705
15706 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15707
15708         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15709         layouts from the Quote inset insertion.
15710
15711 2001-08-03  Juergen Vigna  <jug@sad.it>
15712
15713         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15714
15715         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15716         only if status not is already CHANGED_IN_DRAW (second level).
15717
15718         * text.C (draw): don't set the need_break_row when inside an
15719         InsetText LyXText.
15720
15721 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15722
15723         * buffer.C (parseSingleLyXformat2Token): handle more latex
15724         conversion cases.
15725
15726         * bufferview_funcs.[hC]: change function names to
15727         begin with small char, adjust other files.
15728
15729 2001-08-02  André Pönitz <poenitz@gmx.net>
15730
15731         * lyxfunc.C:
15732         BufferView_pimpl.C: remove broken special code for math-greek
15733
15734 2001-08-02  Juergen Vigna  <jug@sad.it>
15735
15736         * BufferView_pimpl.C (update): redone this function so that we
15737         update the text again if there was a CHANGE_IN_DRAW.
15738
15739         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15740         (drawFromTo): added a new internal bool which is used by draw() and
15741         redraw() function.
15742         (general): some cursor drawing problems fixed.
15743
15744 2001-08-01  Juergen Vigna  <jug@sad.it>
15745
15746         * lyxfind.C (LyXFind): fixed
15747         (SearchForward): ditto
15748         (SearchBackward): ditto
15749
15750         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15751         spurius drawing of the cursor in the main area.
15752
15753         * text2.C (status): small fix which could lead to a segfault!
15754         (clearSelection): remove unneeded BufferView param.
15755
15756 2001-08-01  André Pönitz <poenitz@gmx.net>
15757
15758         * lyxfunc.C: small change due to changed mathed interface
15759
15760 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15761
15762         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15763
15764 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15765
15766         * lyxfunc.c: fail gracefully if file doesn't exist
15767
15768         * LyXSendto.C:
15769         * buffer.C:
15770         * lyxfunc.C:
15771         * BufferView_pimpl.C: IsDirWriteable() proto changed
15772
15773         * LyXView.C: fix updateWindowTitle() to store the last title
15774
15775 2001-07-31  Juergen Vigna  <jug@sad.it>
15776
15777         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15778         the font (wrong since using of Paragraph::highestFontInRange).
15779
15780         * paragraph.C (highestFontInRange): added a default_size parameter.
15781
15782         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15783         (setHeightOfRow): reformat
15784
15785 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15786
15787         * converter.[hC] + affected files: move to (inital-char)lowercase
15788         function names.
15789
15790         * ParagraphParameters.C (ParagraphParameters): remove commented code
15791
15792         * PainterBase.[Ch]: remove commented code
15793
15794         * LaTeXFeatures.h: add "bool floats" for float.sty
15795
15796         * LaTeXFeatures.C (LaTeXFeatures): init floats
15797         (require): handle float
15798         (getPackages): do it with floats
15799
15800 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15801
15802         * BufferView_pimpl.C (Dispatch): improve handling of
15803         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15804
15805         * commandtags.h: #include lyxfont.h here temporarily to avoid
15806         keybinding bug.
15807
15808         * bufferlist.h: include LString.h here.
15809
15810 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15811
15812         * text2.C (getStringToIndex): new method.
15813
15814 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15815
15816         * *: Reduced header file dependencies all over.
15817
15818 2001-07-30  Baruch Even  <baruch@lyx.org>
15819
15820         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15821
15822 2001-07-29  Baruch Even  <baruch@lyx.org>
15823
15824         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15825
15826 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15827
15828         * ParameterStruct.h (endif): add a default constructor to make
15829         sure that all variables is initialized.
15830
15831         * ParagraphParameters.C (ParagraphParameters): adjust
15832
15833 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15834
15835         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15836         index; also, check that there is something to index, and that it
15837         does not span over several paragraphs.
15838         (doubleClick): use WHOLE_WORD_STRICT for double click.
15839
15840         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15841
15842         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15843         scheme.
15844
15845 2001-07-26  Baruch Even  <baruch@lyx.org>
15846
15847         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15848         an InsetFig figure, backwards compatible reading of old figure code.
15849
15850 2001-07-27  Juergen Vigna  <jug@sad.it>
15851
15852         * text2.C: font.realize function adaption.
15853
15854         * text.C (draw): add a warnings lyxerr text if needed.
15855
15856         * layout.C: font.realize function adaption.
15857
15858         * language.C: add inherit_language and implement it's handlings
15859
15860         * bufferview_funcs.C (StyleReset): remove language parameter from
15861         font creation (should be language_inherit now).
15862
15863         * bufferparams.C (writeFile): handle ignore_language.
15864
15865         * paragraph.C (getFontSettings): the language has to be resolved
15866         otherwise we have problems in LyXFont!
15867
15868         * lyxfont.C (lyxWriteChanges): added document_language parameter
15869         (update): removed unneeded language parameter
15870
15871         * paragraph.C (validate): fixed wrong output of color-package when
15872         using interface colors for certain fonts in certain environments,
15873         which should not seen as that on the final output.
15874
15875 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15876
15877         * BufferView_pimpl.C:
15878         * Thesaurus.h:
15879         * Thesaurus.C:
15880         * Makefile.am:
15881         * commandtags.h:
15882         * LyXAction.C: add thesaurus support
15883
15884         * lyxfind.h:
15885         * lyxfind.C: add "once" parameter, for thesaurus, to not
15886           move to the next match
15887
15888 2001-07-26  Juergen Vigna  <jug@sad.it>
15889
15890         * lyxfont.C (realize): honor ignore_language too!
15891         (resolved): ditto.
15892
15893         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15894
15895         * text.C (draw): one place more for ignore_language to not draw
15896         itself!
15897
15898 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15899
15900         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15901
15902 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15903
15904         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15905         the minipage conversion problem.
15906
15907 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15908
15909         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15910         insert an inset.
15911
15912 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15913
15914         * BufferView.h: don't forward declare WorkArea
15915
15916         * BufferView.C: don't include WorkArea.h
15917
15918 2001-07-25  André Pönitz <poenitz@gmx.net>
15919
15920         * commandtags.h:
15921         * LyXAction.C:
15922         * lyxfunc.C:  new LFUN 'math-space'
15923
15924         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15925
15926 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15927
15928         * text2.C (toggleInset): call open/close
15929
15930 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15931
15932         * lyxfunc.C (dispatch): add debug for the disabled case
15933
15934         * font.C (buttonText): make similar to rectText
15935
15936         * buffer.C (readInset): comment out parsing of insetlist and
15937         insttheorem
15938
15939         * PainterBase.C (rectText): small correction
15940
15941         * BufferView_pimpl.C: comment out insettheorem and insetlist
15942         * LyXAction.C: ditto
15943         * commandtags.h: ditto
15944
15945 2001-07-24  Juergen Vigna  <jug@sad.it>
15946
15947         * text.C (draw): honor the ignore_language.
15948
15949         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15950
15951 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15952
15953         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15954         char inset.
15955
15956 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15957
15958         * lyxtext.h: remove unused (and unimplemented) methods
15959
15960 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15961
15962         * text.C (getVisibleRow): honor background color
15963
15964         * PainterBase.h:
15965         * Painter.h: remove default color argument for fillRectangle
15966
15967         * text.C (backgroundColor): new method
15968
15969 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15970
15971         * text.C (getVisibleRow): adjust
15972
15973         * font.[Ch] (rectText): new method, metrics
15974         (buttonText): new method, metrics
15975
15976         * PainterBase.[hC]: make rectText and buttonText always draw and take
15977         fewer paramteres.
15978
15979 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15980
15981         * ToolbarDefaults.C (read):
15982         * MenuBackend.C (read): allow escaping in all strings
15983
15984         * BufferView_pimpl.C (insertAndEditInset): new method.
15985         (Dispatch): use insertAndEditInset whenever appropriate.
15986
15987         * BufferView_pimpl.C (insertNote): removed
15988
15989         * BufferView_pimpl.C (smartQuote): new method, moved from
15990         BufferView; if an insetquote cannot be inserted, insert a '"'
15991         character instead.
15992
15993         * BufferView2.C: remove insertCorrectQuote();
15994
15995         * lyxfunc.C (getStatus): Add support for all remaingin
15996         inset-insert lfuns.
15997
15998         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15999
16000         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16001         command (necessary to pass " as parameter of self-insert.
16002
16003         * text.C (selectWordWhenUnderCursor):
16004         (selectWord): add word_location parameter
16005         (selectWordWhenUnderCursor): same + remove special code for word
16006         boundary.
16007         (selectNextWord): use kind() to guess type of insetspecialchar,
16008         not latex().
16009
16010         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16011         (insertErtContents): create ert insets as collapsed.
16012         (readInset): better compatibility code for Info inset.
16013
16014 2001-07-20  Juergen Vigna  <jug@sad.it>
16015
16016         * lyxfunc.C (dispatch): use always LyXFind now!
16017
16018         * text2.C (init): add a reinit flag so that the LyXText can be
16019         reinited instead of deleted and reallocated (used in InsetText).
16020
16021         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16022
16023         * text.C: ditto
16024
16025         * text2.C: ditto
16026
16027 2001-07-18  Juergen Vigna  <jug@sad.it>
16028
16029         * text.C (selectNextWord): handle insets inside inset by calling
16030         always the bv->text functions so that we can go up the_locking_inset!
16031
16032         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16033         in strange locations when inside an inset!
16034
16035         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16036         handling to include insets.
16037
16038         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16039
16040 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16041
16042         * LyXAction.C (init):
16043         * commandtags.h:
16044         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16045         LIGATURE_BREAK, since the name is so stupid.
16046
16047 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16048
16049         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16050         InsetInfos.
16051
16052         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16053
16054         * sp_form.[Ch]: remove.
16055
16056         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16057
16058         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16059         InsetInfo.
16060
16061         * src/buffer.C (readInset): ditto.
16062
16063 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16064
16065         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16066         menuSeparator(), endOfSentenceDot(), ldots() and
16067         hyphenationPoint(), which are therefore removed.
16068         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16069
16070         * LyXAction.C (init):
16071         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16072
16073         * paragraph.C (getWord): removed.
16074
16075         * BufferView_pimpl.C (Dispatch): use last word or selection for
16076         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16077
16078         * lyx_main.C (queryUserLyXDir): do not ask before creating
16079         user_dir, except if it has been named explicitely.
16080
16081 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16082
16083         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16084         a document of zero size.
16085
16086 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16087
16088         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16089         approriately in the c-tor and in require().
16090         (getPackages): output the appropriate LaTeX for natbib support.
16091
16092         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16093         variables "use_natbib" and "use_numerical_citations" when reading the
16094         LyX file.
16095         (readInset): read the various natbib cite commands.
16096         (validate): white-space change.
16097
16098         * bufferparams.[Ch]: new variables "bool use_natbib" and
16099         "bool use_numerical_citations".
16100         (writeFile): output them in the LyX file.
16101
16102 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16103
16104         * lyxfunc.C (getStatus): add support for all the inset insertion
16105         commands.
16106
16107         * text2.C (insertInset):
16108         * paragraph.C (insetAllowed):
16109         * BufferView_pimpl.C (insertInset): update to take in account the
16110         renaming of insertInsetAllowed
16111
16112         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16113
16114         * text2.C (getInset): new method. returns inset at cursor position.
16115
16116         * BufferView_pimpl.C (Dispatch): changes because of this.
16117
16118         * LyXAction.C (init): rename open-stuff to inset-toggle.
16119
16120         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16121
16122         * text2.C (toggleInset): renamed from openStuff; use
16123         Inset::open().
16124
16125 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16126
16127         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16128
16129         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16130
16131 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16132
16133         * buffer.C (readLyXformat2): Add filename to the error dialog
16134
16135 2001-07-18  Juergen Vigna  <jug@sad.it>
16136
16137         * tabular.C (GetCellNumber): put an assert here instead of the check!
16138
16139 2001-07-17  Juergen Vigna  <jug@sad.it>
16140
16141         * BufferView_pimpl.C (toggleSelection): adapted too.
16142
16143         * text.C (selectNextWord): adapted for use with insets.
16144         (selectSelectedWord): ditto
16145
16146 2001-07-17  Juergen Vigna  <jug@sad.it>
16147
16148         * sp_spell.C (PSpell): fix initialitation order.
16149
16150 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16151
16152         * paragraph.C: spacing
16153
16154 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16155
16156         * sp_spell.C: repair language selection for pspell
16157
16158 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16159
16160         * lyxfunc.h: change more methods to begin with lower char.
16161
16162 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16163
16164         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16165         for unknown layouts.
16166
16167 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16168
16169         * buffer.C (readLyXformat2): Generate an error dialog if there are
16170         unknown layouts.
16171
16172 2001-07-16  Juergen Vigna  <jug@sad.it>
16173
16174         * sp_spell.C: always compile ISpell part.
16175
16176         * lyxrc.C: added use_pspell entry and it's handling.
16177
16178 2001-07-13  Juergen Vigna  <jug@sad.it>
16179
16180         * sp_spell.C: removed double includes.
16181
16182 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16183
16184         Consistent use of Lsstream.h:
16185         * Lsstream.h: added using std::stringstream for consistencies sake.
16186
16187         * buffer.C: removed using std::stringstream
16188
16189         * lyxfont.C (stateText):
16190         * paragraph.C (asString):
16191         * text.C (selectNextWord, selectSelectedWord):
16192         * text2.C (setCounter):
16193         * vspace.C (asString, asLatexString):
16194         std::ostringstream -> ostringstream.
16195
16196 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16197
16198         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16199         * commandtags.h: add LFUN_HELP_ABOUTLYX
16200         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16201
16202 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16203
16204         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16205         cursorToggle()
16206         * lyx_gui_misc.C: remove spellchecker
16207         * lyxfunc.C: showSpellchecker
16208         * sp_base.h: added
16209         * sp_ispell.h: added
16210         * sp_pspell.h: added
16211         * sp_spell.C: added
16212         * sp_form.[Ch]: removed
16213         * spellchecker.[Ch]: removed
16214
16215 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16216
16217         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16218         is set.
16219         (simpleTeXSpecialChars): Simply print the input character without
16220         any special translation if pass_thru is set.
16221
16222         * layout.h: Added bool pass_thru to layout class for being able to
16223         implement pass through of a paragraph for Literate Programming.
16224
16225         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16226         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16227         * layout.C (Read): add "passthru" to list of layout tags and add
16228         code to set the pass_thru boolean when it is read.
16229
16230 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16231
16232         * trans_decl.h: remove allowed from KmodInfo
16233
16234         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16235         remove allowed code
16236         (Load): adjust
16237
16238         * paragraph_pimpl.C (erase): use boost::prior
16239
16240         * Painter.C (text): use data() instead of c_str() when length is
16241         also provided.
16242         * WorkArea.C (putClipboard): ditto
16243         * font.h (width): ditto
16244
16245         * BufferView2.C: use it-> instead of (*it). for iterators
16246         * texrow.C: ditto
16247         * paragraph_pimpl.C: ditto
16248         * paragraph.C: ditto
16249         * minibuffer.C: ditto
16250         * language.C: ditto
16251         * kbmap.C: ditto
16252         * encoding.C: ditto
16253         * counters.C: ditto
16254         * converter.C: ditto
16255         * chset.C: ditto
16256         * Variables.C: ditto
16257         * TextCache.C: ditto
16258         * MenuBackend.C: ditto
16259         * LyXAction.C: ditto
16260         * LColor.C: ditto
16261         * FloatList.C: ditto
16262         * DepTable.C: ditto
16263         * ColorHandler.C (LyXColorHandler): ditto
16264
16265 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16266
16267         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16268
16269         * text2.C (openStuff): reintroduce this method (which had been
16270         nuked in NEW_INSETS frenzy).
16271
16272         * lyxfunc.C (Dispatch): when an action has not been handled, use
16273         its name in the error message, not its number.
16274
16275         * paragraph.C (inInset): change method name to begin with lowercase.
16276
16277         * undo_funcs.C:
16278         * text2.C: updates because of this.
16279
16280 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16281
16282         * ToolbarDefaults.C (add): add spaces in error message
16283
16284 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16285
16286         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16287         (readLyXformat2): rename return_par to first_par, use lyxlex's
16288         pushToken and remove the manual push handling.
16289         (parseSingleLyXformat2Token): add another ert comp. variable:
16290         in_tabular, rename return_par to first_par. handle newlines better
16291
16292 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16293
16294         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16295
16296 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16297
16298         * text2.C (getParFromID): removed
16299
16300         * buffer.C (getParFromID): new method moved form lyxtext.
16301         * BufferView2.C (insertErrors): adjust
16302         (setCursorFromRow): adjust
16303         * BufferView_pimpl.C (restorePosition): adjust
16304         * lyxfunc.C (Dispatch): adjust
16305         * undo_funcs.C (textUndo): adjust
16306         (textRedo): adjust
16307         (textHandleUndo): adjust
16308         (textHandleUndo): adjust
16309
16310 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16311
16312         * buffer.C: up' the LYX_FORMAT
16313
16314         * lyxfont.h: turn NO_LATEX on as default
16315
16316         * buffer.C (insertErtContents): new methods of tex style compability.
16317         (parseSingleLyXformat2Token): use it several places.
16318         * tabular.C (OldFormatRead): and here
16319
16320 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16321
16322         * text2.C: remove some commented code.
16323         reindent file.
16324
16325         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16326         * trans.C: changes because of the above.
16327
16328 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16329
16330         * text2.C (setCounter): Fix counters bug with bibliography layout.
16331
16332 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16333
16334         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16335         own member functions
16336         (simpleTeXSpecialChars): ditto
16337
16338 2001-07-06  Juergen Vigna  <jug@sad.it>
16339
16340         * a lot of files: changed the access to LyXText::status and the
16341         call of undo-functions.
16342
16343         * undo.[Ch]: added a inset_id to the undo informations.
16344
16345         * undo_funcs.[Ch]: added and moved here all undo functions.
16346
16347         * lyxtext.h: give the status enum a weight, made status_ a private
16348         variable and made accessor functions for it, removed the whole bunch
16349         of undo-functions as they are now in their own file, make some
16350         functions publically available. Added function ownerParagraph with
16351         int parameter.
16352
16353         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16354         made InInset() a const function, added getParFromID() function.
16355
16356         * buffer.[Ch]: added const version for inset_iterator functions,
16357         added getInsetFromID() function.
16358
16359         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16360         changed undo functions for new version.
16361
16362 2001-07-05  Juergen Vigna  <jug@sad.it>
16363
16364         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16365         unknow mechanism does not call the proper constructor but only this
16366         one also if I request the other!?
16367
16368 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16369
16370         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16371
16372         * text2.C (LyXText): use initialization lists.
16373
16374         * lyxtext.h (Selection): initialize set_ and mark_
16375         (init): remove method
16376
16377 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16378
16379         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16380
16381 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16382
16383         * screen.[Ch]: change method names to begin with lowercase
16384
16385         * BufferView_pimpl.C (updateScrollbar): simplify further and
16386         hopefully make it a bit faster.
16387
16388 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16389
16390         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16391         calling directly xforms functions.
16392
16393         * Painter.C (Painter):
16394         * lyx_cb.C (MenuWrite):
16395         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16396         fl_display.
16397
16398         * lyx_gui.C: remove bogus guiruntime extern declaration.
16399
16400 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16401
16402         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16403         in NEW_INSETS
16404         (redoDrawingOfParagraph): ditto
16405         (redoParagraphs): ditto
16406         (cutSelection): don't create a object for CutAndPaste use the
16407         static method directly
16408         (pasteSelection): ditto
16409
16410         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16411         LyXview (+ rename)
16412
16413 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16414
16415         * modifications to some other files because of this.
16416
16417         * Makefile.am (lyx_SOURCES): add XFormsView
16418
16419         * XFormsView.[Ch]: new files
16420
16421         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16422         the main window. Move the gui dependent stuff to XFormsView
16423
16424 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16425
16426         * tabular.C (GetCellInset): update cur_cell also in the row/col
16427         version of this function.
16428
16429         * lyxfunc.C: no need to include figure_form.h here.
16430
16431         * FontLoader.h:
16432         * lyxfunc.h:
16433         * lyxscreen.h:
16434         * text2.C:
16435         * lyxvc.C: no need to include forms.h here.
16436
16437 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16438
16439         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16440
16441         * lyxfunc.C (Dispatch):
16442         * Spacing.C (set):
16443         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16444         constructor argument.
16445
16446 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16447
16448         * paragraph.C (Paragraph): dont't clear, and just set layout.
16449         (makeSameLayout): use params's copy contructor.
16450
16451         * ParagraphParameters.[Ch] (makeSame): delete method
16452
16453 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16454
16455         * Variables.[Ch]: fix indentation, rename set to isSet
16456
16457 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16458
16459         * lyxfunc.C (Dispatch): fix typo
16460
16461 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16462
16463         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16464         upper_bound.
16465
16466         * bufferlist.C: include assert.h for emergencyWrite().
16467
16468 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16469
16470         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16471           give up at last (bug #425202) !
16472
16473 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16474
16475         * lyx_gui_misc.C:
16476         * sp_form.h:
16477         * sp_form.C:
16478         * spellchecker.h:
16479         * spellchecker.C: strip spellchecker options and bring up
16480           preferences tab instead
16481
16482 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16483
16484         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16485         the istringstream constructor
16486
16487 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16488
16489         * paragraph.C (getLayout): fix return value
16490
16491         * paragraph.h: do not declare getLayout as inline.
16492
16493         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16494
16495 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16496
16497         * lyxcursor.h (operator<): new func
16498         (operator>): new func
16499         (operator>=): new func
16500         (operator<=): new func
16501
16502         * text.C (changeCase): use selection.start and selection.end
16503         (changeRegionCase): require from to be <= to. Require par to be a
16504         valid paragraph.
16505
16506         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16507
16508 2001-06-27  Juergen Vigna  <jug@sad.it>
16509
16510         * text.C (cursorLeftOneWord): changed to return the cursor and added
16511         overlay with BufferView * parameter which calls this one.
16512         (getWord): added
16513         (selectWord): use new getWord function.
16514         (changeCase): renamed from changeWordCase as and extended to work
16515         also on selections.
16516
16517         * lyxtext.h: added enum word_location
16518
16519         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16520         changeCase as this operates now also on selections.
16521
16522 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16523
16524         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16525
16526         * many files: send debug output to Debug::INFO instead of
16527         Debug::ANY.
16528
16529         * converter.C (View):
16530         (Convert):
16531         (Move): send debug output to Debug::FILES instead of console.
16532
16533 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16534
16535         * lyxfunc.C (getStatus): use func_status
16536
16537         * func_status.h: new header, describing the results of
16538         LyXFunc::getStatus;
16539
16540         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16541         LFUN_MATH_HALIGN.
16542
16543 2001-06-25  The LyX Project  <jug@sad.it>
16544
16545         * buffer.C (sgmlOpenTag):
16546         (sgmlCloseTag):
16547         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16548
16549 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16550
16551         * text2.C: remove some dead code
16552
16553         * tabular.C (GetCellInset): store the last cell checked (gotten)
16554
16555         * tabular.h: add the helper for the speedup
16556
16557         * lyxtext.h: remove some dead code
16558
16559 2001-06-26  The LyX Project  <Asger>
16560
16561         * paragraph.C: Change export to LaTeX of alignment to
16562         \begin{center} and family for better roundtrip work with reLyX.
16563
16564         * Tune the math drawing a bit.
16565
16566 2001-06-25  The LyX Project  <Asger>
16567
16568         * LColor.C (LColor): New color for math background. New color
16569         for buttons.
16570
16571 2001-06-25  The LyX Project  <jug@sad.it>
16572
16573         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16574
16575         * lyxfunc.C (Open):
16576         * bufferlist.C (newFile): do not restrict to files ending with
16577         .lyx
16578
16579         * BufferView_pimpl.C (MenuInsertLyXFile):
16580
16581 2001-06-24  The LyX Project  <jug@sad.it>
16582
16583         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16584         of compare_no_case
16585
16586 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16587
16588         * lyxtext.h: rename most methods to begin with a small char.
16589         Lots of changes because of this.
16590
16591         * paragraph.C (Paragraph): do not call fitToSize
16592         (erase): call Pimpl::erase
16593         (insertChar): call Pimpl::insertChar
16594         (insertInset): call Pipl::insertInset
16595         (breakParagraph): do not call fitToSize
16596         (breakParagraphConservative): do not call fitToSize
16597         (fitToSize): remove method
16598
16599         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16600
16601 2001-06-24  The LyX Project  <Asger>
16602
16603         * Fix Qt compilation^2
16604
16605 2001-06-24  The LyX Project  <jug@sad.it>
16606
16607         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16608         depthHook(getDepth()-1).
16609
16610         * paragraph.h:
16611         * ParagraphParameters.h:
16612         * ParameterStruct.h: change type of depth to unsigned int ==
16613         depth_type. Many adaptations to other files before of that.
16614
16615 2001-06-24  The LyX Project  <Asger>
16616
16617         * Fix Qt compilation.
16618
16619 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16620
16621         * paragraph.h: renamed several methods to begin with small letter.
16622         several changes to many parts of the code because of this.
16623
16624 2001-06-23  The LyX Project  <jug@sad.it>
16625
16626         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16627         rewritten to discard all double spaces when KeepEmpty is off
16628         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16629         to only handle newlines but not fiddle with spaces and friends.
16630
16631         * lyxfunc.C (MenuNew): when doing 'new from template', use
16632         template_path as default directory
16633
16634 2001-06-23  The LyX Project  <Asger>
16635
16636         * Clean-up of header file includes all over
16637         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16638
16639 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16640
16641         * paragraph.h: renamed from lyxparagraph.h
16642
16643 2001-06-23  Asger  <lyx@violet.home.sad.it>
16644
16645         * Buffer.h: Removed Buffer::resize
16646         * BufferList.h: Removed BufferList::resize
16647         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16648         the document lazily when we change the width, or the font settings.
16649
16650 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16651
16652         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16653
16654 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16655
16656         * buffer.h: remove out of date comment
16657
16658 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16659
16660         * lyxscreen.h:
16661         * screen.C: fix "theoretical" GC leak
16662
16663 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16664
16665         * LaTeX.C (scanAuxFile):
16666         (deplog): remove trailing \r when reading stream (useful under
16667         win32)
16668
16669 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16670
16671         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16672         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16673         and BufferView::theLockingInset(Inset*), so should use them and not
16674         access bv_->text->the_locking_inset directly.
16675
16676         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16677
16678 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16679
16680         * Makefile.am:
16681         * tex-defs.h: remove old unused file
16682
16683 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16684
16685         * BufferView_pimpl.C: fix typo, remove minibuffer message
16686           when buffer has loaded
16687
16688 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16689
16690         * lyxfunc.C (Dispatch): use stringstream
16691         (MenuNew): use stringstream
16692         (Open): use stringstream
16693
16694         * importer.C (Import): use stringstream
16695
16696         * bufferview_funcs.C (CurrentState): use stringstream
16697
16698         * LaTeX.C (run): use stringstream
16699
16700         * BufferView_pimpl.C (savePosition): use stringstream
16701         (restorePosition): use stringstream
16702         (MenuInsertLyXFile): use stringstream
16703
16704 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16705
16706         * BufferView.C:
16707         * Bullet.C:
16708         * ColorHandler.C:
16709         * FontInfo.C:
16710         * FontLoader.C:
16711         * LColor.C:
16712         * LaTeXFeatures.C:
16713         * Painter.C:
16714         * gettext.C:
16715         * lyx_gui_misc.C:
16716         * lyxserver.C:
16717         * vspace.C: removed // -*- C++ -*- as first line.
16718
16719         * lyxfind.h:
16720         * version.h: added // -*- C++ -*- as first line.
16721
16722 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16723
16724         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16725
16726         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16727         of string
16728
16729 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16730
16731         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16732         of floats.
16733
16734 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16735
16736         * gettext.C: include LString.h even when --disable-nls is on.
16737
16738 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16739
16740         * converter.h (Get): changed argument type from int to
16741         FormatList::size_type to avoid unnecessary conversion.
16742
16743         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16744         before using it.
16745
16746 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16747
16748         * gettext.h: include LString.h even when --disable-nls is on.
16749
16750 2001-06-07  Juergen Vigna  <jug@sad.it>
16751
16752         * text.C (BreakAgain): subst spaces with tabs.
16753
16754         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16755         (resizeInsetsLyXText): set force on resizeLyXText.
16756
16757 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16758
16759         * gettext.h (gettext_init):
16760         (locale_init): use a real definition instead of a macro
16761
16762 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16763
16764         * Bufferview_pimpl.C:
16765         * LColor.h:
16766         * LColor.C: further lcolor tidies
16767
16768 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16769
16770         * BufferView_pimpl.C (updateScrollbar): simplify.
16771
16772         * BufferView2.C: don't include insets/insetinfo.h, change
16773         prototype for insertInset and call the Pimpl version. let
16774         updateInset call Pimpl version.
16775
16776         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16777         gotoInset to BufferView::Pimpl
16778
16779 2001-06-01  Juergen Vigna  <jug@sad.it>
16780
16781         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16782         inside a LockingInset (is the update needed at all?).
16783
16784 2001-05-31  Juergen Vigna  <jug@sad.it>
16785
16786         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16787         here not the old one otherwise how should we compare it afterwards
16788         if it's the same!
16789
16790 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16791
16792         * lyxfont.C:
16793         * tabular.C:
16794         * tabular-old.C:
16795         * FontInfo.C: bring C functions into global namespace when
16796         necessary
16797
16798 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16799
16800         * LString.h: make sure config.h has been loaded before LString.h.
16801
16802         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16803         (one for each char read by EatLine!).
16804
16805         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16806         variables.
16807
16808 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16809
16810         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16811         to the same as the par we break from
16812
16813 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16814
16815         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16816
16817         * MenuBackend.C (expand): also create menu entries for wide
16818         versions of the floats.
16819
16820         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16821
16822         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16823
16824         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16825         frontends/Makefile.am
16826
16827         * text2.C: adjust
16828         * text.C: adjust
16829
16830
16831         * tabular.C (getTokenValue): add std::
16832
16833         * tabular-old.C (getTokenValue): add std::
16834         (getTokenValue): ditto
16835         (getTokenValue): ditto
16836
16837         * screen.C (ToggleSelection): adjust
16838
16839         * lyxtext.h: put selection cursors inside a Selection struct.
16840
16841         * lyxfunc.C (moveCursorUpdate): adjust
16842
16843         * lyxfont.C (latexWriteStartChanges): add std::
16844
16845         * lyxfind.C: adjust
16846
16847         * font.h: delete with(char const *, LyXFont const &)
16848
16849         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16850
16851         * FontInfo.C (getFontname): add std::
16852
16853         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16854         (workAreaButtonPress): adjust
16855         (tripleClick): adjust
16856         (update): adjust
16857         (moveCursorUpdate): adjust
16858         (Dispatch): adjust
16859
16860         * BufferView2.C (gotoInset): adjust
16861
16862 2001-05-30  Juergen Vigna  <jug@sad.it>
16863
16864         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16865         to check pspell I add this as default as I now have new pspell
16866         libraries and they seem to use this.
16867
16868 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16869
16870         * text2.C (CutSelection): make the cursor valid before the call to
16871         ClearSelection.
16872
16873 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16874
16875         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16876         relied on 0 terminated strings and other horrors. Bug found due to
16877         the new assert in lyxstring!
16878
16879         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16880         KP_ keys.
16881
16882 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16883
16884         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16885         to latinkeys.bind.
16886
16887         * lyxfunc.C (processKeySym): change method of getting to the
16888         self-insert char.
16889
16890         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16891         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16892         * BufferView_pimpl.[Ch]: here as private methods.
16893
16894 2001-05-28  Juergen Vigna  <jug@sad.it>
16895
16896         * text.C (SetHeightOfRow): added the update() call again as it is
16897         needed to initialize inset dimensions!
16898
16899 2001-05-16  Juergen Vigna  <jug@sad.it>
16900
16901         * text2.C (SetCharFont): Add new function with BufferView * and
16902         bool toggleall parameters for setting insets internal fonts.
16903         (SetFont): Freeze the undo as we may change fonts in Insets and
16904         all this change should be inside only one Undo!
16905
16906         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16907         setting font's in insets as for them we have the SetFont function!
16908
16909 2001-05-15  Juergen Vigna  <jug@sad.it>
16910
16911         * text2.C (ClearSelection): to be sure we REALLY don't have any
16912         selection anymore!
16913
16914         * tabular.C (TeXCellPreamble): fixed the left border problem for
16915         multicolumn cells.
16916
16917 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16918
16919         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16920         dependancy file
16921
16922 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16923
16924         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16925         LFUN_BREAKPARAGRAPH.
16926
16927         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16928         help test to "internal only", similar for LFUN_INSERT_URL
16929
16930         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16931         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16932         auto_region_delete and deadkeys.
16933
16934 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16935
16936         * LColor.h:
16937         * LColor.C: remove some dead entries, tidy a little
16938
16939 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16940
16941         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16942         commented code.
16943         (Dispatch): implement LFUN_ESCAPE
16944
16945         * commandtags.h: add LFUN_ESCAPE
16946
16947         * LyXAction.C (init): add entry for LFUN_ESCAPE
16948
16949         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16950         Remove commented code.
16951         (insertNote): moved here
16952         (open_new_inset): moved here
16953
16954         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16955         BufferView_pimpl
16956
16957 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16958
16959         * kbmap.C (findbinding): clean it up and make it work correctly.
16960
16961         * lyx_main.C (init): do not pass argc and argv as parameters
16962
16963 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16964
16965         * buffer.C: fix path for OS/2 & Win32
16966
16967         * lyx_gui.C:
16968         * lyx_main:
16969         * lyx_main.C: Added os:: class.
16970
16971         * os2_defines.h: update
16972
16973 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16974
16975         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16976         better by trying again with reduced state.
16977
16978 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16979
16980         * lyxrc.C (read): print error about invalid key sequence only when
16981         debugging (because not all latinX keysyms are known to some X
16982         servers)
16983
16984         * kbsequence.C (getiso): add a few std:: qualifiers
16985         (getiso): comment out extra return statement.
16986
16987 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16988
16989         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16990         handling.
16991         (Dispatch): enhance the accent inset a bit. (not perfect)
16992
16993 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16994
16995         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16996
16997 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16998
16999         * bufferlist.C (emergencyWrite): fix assert() call
17000
17001 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17002
17003         * text.C (InsertChar): Added trivial patch to only send the "you
17004         can not do multiple spaces this way" message once during a
17005         session.
17006
17007 2001-05-08  Baruch Even  <baruch@lyx.org>
17008
17009         * Makefile.am: Changed order of libraries to get LyX to link properly
17010         with the gnome frontend.
17011
17012 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17013
17014         * LaTeXFeatures.h: add a std:: qualifier
17015
17016 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17017
17018         * paragraph.C (String): use stringstream
17019
17020 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17021
17022         * paragraph.C (writeFile): remove footflag arg
17023
17024         * buffer.C (makeLaTeXFile): use stringstream
17025         (latexParagraphs): remove footnot gurba
17026
17027         * LaTeXFeatures.C (getPackages): use stringstream
17028         (getMacros): likewise
17029         (getTClassPreamble): likewise
17030         (getFloatDefinitions): new method
17031
17032         * paragraph.C (writeFile): reindent
17033         (Erase): reindent
17034
17035         * WorkArea.h: revert the xpos + etc changes.
17036
17037         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17038
17039         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17040
17041         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17042         (pasteSelection): likewise
17043         * text2.C (CreateUndo): likewise
17044
17045 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17046
17047         * minibuffer.C (peek_event): temporarily reduce the functionality
17048         of the minibuffer (to allow args on lfuns)
17049
17050         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17051         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17052
17053         * buffer.C (readInset): add compability reading of old float
17054         lists, add reading of new style float list.
17055         (readInset): avoid reevaluation of inscmd.getCmdName()
17056         (getLists): reindent
17057
17058         * MenuBackend.C (MenuItem): implement parsing of
17059         md_floatlistinsert and md_floatinsert.
17060         (expand::LastFiles): move initalizaton of iterators out of loop,
17061         avoid reevaluation.
17062         (expand::Documents): introduce typdedef vector<string> Strings,
17063         and use it.
17064         (expand::ExportFormats): introduce typedef vector<Format const *>
17065         Formats, and use it.
17066         (expand): implement FloatListInsert and FloatInsert.
17067
17068         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17069         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17070         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17071
17072         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17073         handling.
17074         (Dispatch::LFUN_FLOAT_LIST): implement
17075
17076 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17077
17078         * LaTeX.C (run): Fix problem with --export code.
17079
17080 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17081
17082         * BufferView.[Ch] (workarea): removed.
17083         (getClipboard) new method; wrapper for workarea()->getClipboard()
17084
17085         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17086         bug.
17087
17088         * WorkArea.h (width, height, xpos, ypos): These methods all
17089         returned the dimensions of the work_area sub-area of WorkArea,
17090         resulting in a position error if the WorkArea were resized. Now
17091         return the dimensions of the entire WorkArea.
17092
17093         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17094
17095 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17096
17097         * LaTeX.C (deplog): correct the syntax of regex reg1
17098
17099 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17100
17101         * undo.C: remove !NEW_INSETS cruft
17102
17103 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17104
17105         * text2.C: remove !NEW_INSETS cruft
17106
17107         * text.C: remove !NEW_INSETS cruft
17108
17109         * tabular.C: remove !NEW_INSETS cruft
17110
17111         * spellchecker.C: remove !NEW_INSETS cruft
17112
17113         * lyxtext.h: remove !NEW_INSETS cruft
17114
17115         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17116
17117         * lyxfunc.C: remove !NEW_INSETS cruft
17118
17119         * lyxfind.C: remove !NEW_INSETS cruft
17120
17121         * lyx_cb.C: remove !NEW_INSETS cruft
17122
17123         * figureForm.C: remove  !NEW_INSETS cruft
17124
17125         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17126
17127         * buffer.[Ch]: remove !NEW_INSETS cruft
17128
17129         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17130
17131         * CutAndPaste.C: remove !NEW_INSETS cruft
17132
17133         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17134
17135         * BufferView2.C: remove !NEW_INSETS cruft
17136
17137         * BufferView.h: remove !NEW_INSETS cruft
17138
17139 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17140
17141         * Lsstream.h: include LString.h before the sstream headers to
17142         fix problem with gcc 2.95.3 and lyxstring
17143
17144 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17145
17146         * lyx_main.C: add using directives when needed for C functions
17147         declared in std:: namespace.
17148
17149 2001-04-27  Juergen Vigna  <jug@sad.it>
17150
17151         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17152         (SetHeightOfRow): comment out the update call should not be needed!
17153
17154 2001-04-13  Juergen Vigna  <jug@sad.it>
17155
17156         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17157         (LyXTabular): tried to minimize operator= operations (and realized
17158         hopfully Lars wish).
17159
17160 2001-04-27  Juergen Vigna  <jug@sad.it>
17161
17162         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17163
17164 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17165
17166         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17167
17168         * buffer.C (readInset): hack to make listof algorithm work
17169
17170         * BufferView_pimpl.C: hack to make listof algorithm work
17171
17172 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17173
17174         * LyXAction.C: removed all !NEW_INSETS cruft
17175         (init): moved lfun_item in method
17176
17177         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17178
17179 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17180
17181         * BufferView2.C (theLockingInset): white space.
17182
17183 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17184
17185         * minibuffer.C: include <iostream>
17186
17187         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17188
17189         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17190
17191         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17192
17193         * text.[Ch] (TransposeChars): new method
17194
17195 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17196
17197         * call message directly through LyXView instead of through LyXFunc
17198         * BufferView2.C: adjust
17199         * BufferView_pimpl.C: adjust
17200         * FontLoader.C: adjust
17201         * buffer.C: adjust
17202         * bufferview_funcs.C: adjust
17203         * converter.C: adjust
17204         * figureForm.C: adjust
17205         * importer.C: adjust
17206         * lyx_cb.C: adjust
17207         * lyx_gui_misc.C: adjust
17208         * lyxfunc.C: adjust
17209         * lyxvc.C: adjust
17210         * text2.C: adjust
17211         + more files in subdirs
17212
17213         * lyxparagraph.h (size): move up int file
17214         (GetLayout): ditto
17215
17216         * adjust all uses of Assert to lyx::Assert.
17217
17218         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17219         lyxfunctional in namespace lyx
17220         * layout.C (hasLayout): ditto
17221         (GetLayout): ditto
17222         (GetLayout): ditto
17223         (delete_layout): ditto
17224         (NumberOfClass): ditto
17225         * converter.C (GetFormat): ditto
17226         (GetNumber): ditto
17227         (Add): ditto
17228         (Delete): ditto
17229         (SetViewer): ditto
17230         * bufferlist.C (getFileNames): ditto
17231         (emergencyWriteAll): ditto
17232         (exists): ditto
17233         (getBuffer): ditto
17234         * MenuBackend.C (hasSubmenu): ditto
17235         (hasMenu): ditto
17236         (getMenu): ditto
17237         * BufferView_pimpl.C (getInsetByCode): ditto
17238
17239 2001-04-18  Juergen Vigna  <jug@sad.it>
17240
17241         * vspace.C (asLatexString): fixed the 100% problem.
17242
17243 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17244
17245         * lyxfunc.C (Dispatch):
17246         * minibuffer.C:
17247         * minibuffer.h: add a few std:: qualifiers
17248
17249 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17250
17251         * minibuffer.[Ch]: reimplement so that commands is initiated and
17252         run from lyxfunc, simplified som handling, and made the completion
17253         and history code for complete. wip.
17254
17255         * lyxfunc.C (processKeySym): call message
17256         (miniDispatch): new temporary method
17257         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17258         (LFUN_MESSAGE): implement
17259         (LFUN_MESSAGE_PUSH): implement
17260         (LFUN_MESSAGE_POP): implement
17261         (initMiniBuffer): the initial/defualt minibuffer message.
17262
17263         * lyxfont.[Ch]: inline some more getters
17264
17265         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17266
17267         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17268
17269         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17270         (AutoSave): use LFUN_MESSAGE
17271         (Reconfigure): ditto
17272
17273         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17274
17275         * figureForm.C: use LFUN_MESSAGE
17276
17277         * converter.C (runLaTeX): use LFUN_MESSAGE
17278
17279         * bufferview_funcs.C: use LFUN_MESSAGE
17280         (Melt): ditto
17281         (changeDepth): ditto
17282
17283         * bufferparams.h: use boost::
17284
17285         * bufferlist.h: inherit privately from noncopyable
17286
17287         * bufferlist.C (loadLyXFile): remove some commented code.
17288
17289         * buffer.C (runChktex): use LFUN_MESSAGE
17290
17291         * ShareContainer.h: inherit privately from noncopyable
17292
17293         * ParagraphParameters.[hC] (depth): inline it.
17294
17295         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17296         methods.
17297         (message): new method
17298         (messagePush): ditto
17299         (messagePop): ditto
17300         (show): init minibuffer
17301         (showState): direct call
17302
17303         * LaTeX.[Ch]: inherit privately from noncopyable
17304         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17305         instead of WriteStatus.
17306
17307         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17308
17309         * BufferView_pimpl.C (buffer): don't init minibuffer
17310         (workAreaButtonPress): use LFUN_MESSAGE
17311         (workAreaButtonRelease): ditto
17312         (savePosition): ditto
17313         (restorePosition): ditto
17314         (MenuInsertLyXFile): ditto
17315         (workAreaExpose): don't init minibuffer
17316         (update): remove commented code, simplify
17317
17318         * BufferView2.C (openStuff): use LFUN_MESSAGE
17319         (toggleFloat): ditto
17320         (menuUndo): ditto
17321         (menuRedo): ditto
17322         (copyEnvironment): ditto
17323         (pasteEnvironment): ditto
17324         (copy): ditto
17325         (cut): ditto
17326         (paste): ditto
17327         (gotoInset): ditto
17328         (updateInset): remove some commented code
17329
17330         * lastfiles.h: inherit privately from noncopyable
17331         * layout.h: ditto
17332         * lyx_gui.h: ditto
17333         * lyx_main.h: ditto
17334         * lyxlex.h: ditto
17335         * lyxlex_pimpl.h: ditto
17336
17337         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17338         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17339         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17340
17341         * LyXAction.h: inherit privately from noncopyable, add methods
17342         func_begin, func_end, returning iterators to the func map.
17343
17344         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17345         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17346         (func_begin): new method
17347         (func_end): new method
17348
17349         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17350         and not)
17351         (copySelection): ditto
17352         (pasteSelection): ditto
17353
17354         * BufferView.C: whitespace change
17355         * BufferView.h: inherit privately from noncopyable
17356
17357 2001-04-16  Allan Rae  <rae@lyx.org>
17358
17359         * tabular-old.C (l_getline):
17360         * spellchecker.C (sc_check_word):
17361         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17362         an unrecognised preprocessor directive.  So ensure they're wrapped.
17363
17364 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17365
17366         * src/exporter.C (Export): Give an error message when path to file
17367         contains spaces.
17368
17369 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17370
17371         * LaTeX.C (deplog): Always check that foundfile exists.
17372
17373 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17374
17375         * lyx_main.h:
17376         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17377
17378 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17379
17380         * tabular.[Ch] (getLabelList): implement new method
17381
17382         * minibuffer.h: comment ouf setTiimer
17383
17384         * minibuffer.C (ExecutingCB): constify res
17385         (peek_event): constify s
17386         (Set): constify ntext
17387         (Init): constify nicename
17388
17389         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17390
17391         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17392         (savePosition): use two params to Minibuffer::Set
17393         (restorePosition): ditto
17394
17395 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17396
17397         * lyx_main.C: include language.h
17398
17399         * Makefile.am (lyx_main.o): add language.h
17400
17401 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17402
17403         * exporter.C:
17404         * paragraph.C:
17405         * screen.C:
17406         * tabular.C:
17407         * CutAndPaste.C: include gettext.h
17408
17409         * lyxfont.h: remove old hack with ON and OFF.
17410
17411         * lyxparagraph.h:
17412         * lyxfont.h: do not include language.h...
17413
17414         * BufferView2.C:
17415         * LaTeXFeatures.C:
17416         * Painter.C:
17417         * bufferview_funcs.C:
17418         * font.C:
17419         * lyxfont.C:
17420         * text.C:
17421         * text2.C:
17422         * trans_mgr.C:
17423         * paragraph.C: ... but do it here instead
17424
17425 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17426
17427         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17428
17429         * tabular.C: small reformat
17430
17431         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17432         NEW_INSETS version
17433         (GetChar): ditto
17434         (BreakParagraph): ditto
17435         (SetOnlyLayout): ditto
17436         (SetLayout): ditto
17437
17438         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17439         with one arg less.
17440
17441         * lastfiles.C: removed most using decl, add std:: where needed
17442
17443         * buffer.C: ws changes
17444
17445         * MenuBackend.C (class compare_format): put into anon namespace
17446         (expand): constify label, names, action, action2
17447         (expand):
17448
17449         * text.C (SingleWidth): constify font
17450         (IsBoundary): constify rtl2
17451         (GetVisibleRow): constify ww
17452
17453         * LaTeX.C (deplog): constify logfile
17454
17455         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17456         start_x, end_x
17457         (workAreaExpose): constify widthChange, heightChange
17458
17459         * lyxrow.C (par): moved
17460         (height): moved
17461         (next): moved
17462         * lyxrow.h: as inlines here
17463
17464         * lyxfont.h (shape): moved from lyxfont.C
17465         (emph): moved from lyxfont.C
17466
17467         * lyxfont.C (LyXFont): use initialization list for all
17468         constructors
17469         (shape): move to lyxfont.h as inline
17470         (emph): move to lyxfont.h as inline
17471
17472
17473 2001-04-04  Juergen Vigna  <jug@sad.it>
17474
17475         * vspace.C: had to include stdio.h for use of sscanf
17476
17477 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17478
17479         * BufferView.h:
17480         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17481         independent of xforms.
17482
17483 2001-04-02  Juergen Vigna  <jug@sad.it>
17484
17485         * spellchecker.C: fixed namespace placing!
17486
17487 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17488
17489         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17490         the LyXParagraph * is 0.
17491
17492 2001-03-29  Juergen Vigna  <jug@sad.it>
17493
17494         * vspace.C: added support for %, c%, p%, l%.
17495         (stringFromUnit): added helper function.
17496         (asLatexString): changed to give right results for the %-values.
17497
17498         * buffer.C: convert the widthp in a width%.
17499
17500 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17501
17502         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17503         figureForm.[Ch].
17504
17505         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17506         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17507
17508         * lyx_cb.[Ch]: see above.
17509
17510         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17511         form1.[Ch].
17512
17513         * form1.[Ch]:
17514         * lyx.[Ch]: replaced by figure_form.[Ch].
17515
17516         * lyx_gui.C:
17517         * lyx_gui_misc.C:
17518         * lyxfunc.C: changed headers associated with above changes.
17519
17520 2001-03-27  Juergen Vigna  <jug@sad.it>
17521
17522         * BufferView_pimpl.C: set the temporary cursor right!
17523
17524 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17525
17526         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17527
17528 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17529
17530         * LString.h: removed "using std::getline"!
17531
17532         * BufferView_pimpl.C (Dispatch): changes due to changes in
17533         InsetInclude::Params.
17534
17535         * buffer.C (tag_name): removed redundant break statements as they were
17536         producing lots of warnings with my compiler.
17537
17538 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17539
17540         * LString.h: add "using std::getline" when using the real <string>.
17541
17542 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17543
17544         * buffer.C: removed bitset usage.
17545         PAR_TAG moved to an anonymous name space.
17546         (tag_name): new funtion, also in the anonymous namespace.
17547         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17548         (makeDocBookFile): clean code. Completed transition from string arrays
17549         to string vectors.
17550         (SimpleDocBookOnePar): code clean.
17551
17552 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17553
17554         * tabular.C: add some comments.
17555
17556 2001-03-22  Juergen Vigna  <jug@sad.it>
17557
17558         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17559         compatibility read a bit and fixed bug with minipage in different
17560         depth.
17561
17562 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17563
17564         * buffer.C (pop_tag): removed.
17565         (push_tag): removed.
17566         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17567         array replaced with vector. Added support for CDATA sections.
17568         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17569         at any nest level.
17570         (makeDocBookFile): XML conformant declaration of CDATA section,
17571         fixed bug related to <emphasis> in the first paragraph char.
17572         (sgmlOpenTag): exclude empty tags.
17573         (sgmlCloseTag): ditto.
17574
17575         * buffer.h (pop_tag): removed.
17576         (push_tag): removed.
17577
17578 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17579
17580         * language.h (Languages): added size_type and size().
17581
17582 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17583
17584         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17585         response on compability reading of minipages. One probliem is that
17586         the old usage of minipages was flertydig
17587
17588         * several files here and in subdirs: don't use static at file
17589         scope use anon namespaces instead.
17590
17591 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17592
17593         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17594         LaTeX output. This is necessary for Literate document
17595         processing.
17596
17597 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17598
17599         * buffer.C: insert hfill when needed.
17600
17601         * tabular.C (l_getline): use string::erase, small whitespace change.
17602
17603         * BufferView_pimpl.C: try the anon namespace.
17604         * WorkArea.C: ditto
17605
17606 2001-03-16  Juergen Vigna  <jug@sad.it>
17607
17608         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17609         otherwise it won't open options-dialogs.
17610
17611         * buffer.C: honor pextraWidth(p) on converting minipages.
17612
17613         * tabular.C (l_getline): changed the functions to strip trailing \r.
17614
17615 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17616
17617         * BufferView_pimpl.C:
17618         * minibuffer..C: added "using SigC::slot" declaration.
17619
17620 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17621
17622         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17623
17624         * text2.C: ditto
17625
17626         * text.C: ditto
17627
17628         * paragraph.C: ditto
17629
17630         * lyxtext.h: NO_PEXTRA
17631
17632         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17633
17634         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17635         * ParameterStruct.h: ditto
17636         * ParagraphParameters.h: ditto
17637         * lyxparagraph.h: ditto
17638
17639 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17640
17641         * buffer.C: add compability for minipage alignment.
17642         (latexParagraphs): remove unwanted pextra check.
17643
17644         * several files: remove CXX_WORKING_NAMESPACES
17645
17646         * buffer.C (pop_tag): tie is in namespace boost
17647
17648         * BufferView.h: noncopyable is in namespace boost
17649         * lyxlex.h: ditto
17650         * lyx_main.h: ditto
17651         * lyx_gui.h: ditto
17652         * layout.h: ditto
17653         * lastfiles.h: ditto
17654         * bufferlist.h: ditto
17655         * ShareContainer.h: ditto
17656         * LyXView.h: ditto
17657         * LyXAction.h: ditto
17658         * LaTeX.h: ditto
17659
17660 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17661
17662         * Merging changes from BRANCH_MVC back into HEAD.
17663
17664         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17665
17666 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17667
17668         * BufferView_pimpl.C: change from intl.C
17669
17670         * combox.h:
17671         * combox.C:
17672         * Makefile.am: move combox.*
17673
17674         * form1.h:
17675         * form1.C:
17676         * lyx_gui.C:
17677         * intl.h:
17678         * intl.C: remove dialog (covered by prefs)
17679
17680 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17681
17682         * lyxfunc.C (Dispatch): removed redundant break statement.
17683
17684 2001-03-14  Juergen Vigna  <jug@sad.it>
17685
17686         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17687
17688 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17689
17690         * buffer.C: add hack to fix compability reading of minipages.
17691
17692 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17693
17694         * buffer.C (getLists): Cleanup.
17695
17696 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17697
17698         * lyxfont.C (update): don't honor toggleall on font size.
17699
17700 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17701
17702         * bmtable.c:
17703         * bmtable.h:
17704         * Makefile.am: moved to frontends/xforms/
17705
17706         * lyx_gui_misc.C:
17707         * lyxfunc.C:
17708         * BufferView_pimpl.C: changes for moved mathpanel
17709
17710 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17711
17712         * gettext.h: fix gettext_init() in --disable-nls
17713
17714 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17715
17716         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17717
17718 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17719
17720         * lyx.C:
17721         * lyx.h: strip external form
17722
17723 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17724
17725         * BufferView_pimpl.C: add comment, destroySplash()
17726
17727 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17728
17729         * BufferView_pimpl.C:
17730         * LyXAction.C:
17731         * buffer.C:
17732         * commandtags.h:
17733         * lyxfunc.C: use re-worked insetinclude
17734
17735 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17736
17737         * buffer.C: add using std::stringstream.
17738
17739         * lyx_cb.C: readd using std::ios.
17740
17741         * buffer.C: add using std::map.
17742
17743         * BufferView_pimpl.C: add using std::vector.
17744
17745         * ShareContainer.h: add std:: to swap.
17746
17747         * buffer.h: add some typedefs
17748         * buffer.C (getLists): use them
17749         (getLists): renamed from getTocList.
17750         add a counter for the different float types and use it in the
17751         generated string.
17752         (getLists): use the same counter for the NEW_INSETS and the "non"
17753         NEW_INSETS
17754
17755         * lyx_cb.h: remove unused items, includes, using etc.
17756
17757         * ShareContainer.h: remove some commented code, add more comments
17758         and "documentation".
17759
17760 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17761
17762         * buffer.C (getTocList): make the list also when NEW_INSETS is
17763         defined.
17764
17765         * buffer.h: remove TocType
17766
17767         * buffer.C (getTocList): change to return a map<string,
17768         vector<TocItem> >, implement for dynamic number of list.
17769
17770         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17771         * text2.C (PasteSelection): adjust
17772         * CutAndPaste.C (pasteSelection): adjust
17773
17774         * FloatList.C (FloatList): update from the new_insets branch.
17775         * Floating.[Ch]: ditto
17776         * LaTeXFeatures.C: ditto
17777         * buffer.C: ditto
17778         * lyxlex_pimpl.C: ditto
17779
17780         * paragraph.C (Last): remove when NEW_INSETS is defined.
17781
17782         * other file: changes because of the above.
17783
17784 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17785
17786         * lyxparagraph.h: rename next to next_, previous to previous_,
17787         make them private for NEW_INSETS. Rename Next() to next(),
17788         Previous() to previous().
17789
17790         * other files: changes because of the above.
17791
17792 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17793
17794         * BufferView.h:
17795         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17796         problem.
17797
17798 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17799
17800         * main.C (main): pass lyx_localedir to gettext_init().
17801
17802         * gettext.h: remove locale_init and gettext_init macros
17803
17804         * gettext.C (locale_init): new function
17805         (gettext_init): new function
17806
17807         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17808         setlocale().
17809
17810 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17811
17812         * Moved credits to frontends:
17813         * credits.[Ch]: removed
17814         * credits_form.[Ch]: removed
17815         * lyx_gui_misc.C: remove credits stuff
17816         * Makefile.am:
17817
17818 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17819
17820         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17821
17822         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17823         unneeded destructor.
17824
17825         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17826         a standalone pointer again.
17827
17828         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17829
17830 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17831
17832         * Makefile.am:
17833         * filedlg.h:
17834         * filedlg.C:
17835         * LyXAction.C:
17836         * ToolbarDefaults.C:
17837         * bufferlist.C:
17838         * commandtags.h:
17839         * form1.C:
17840         * form1.h:
17841         * lyx_cb.C:
17842         * lyx_cb.h:
17843         * lyxfunc.h:
17844         * lyxfunc.C:
17845         * BufferView_pimpl.C: use new file dialog in GUII
17846
17847         * lyx_cb.h:
17848         * lyx_cb.C: remove LayoutsCB to Toolbar
17849
17850 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17851
17852         * ShareContainer.h (get): add std:: qualifier
17853
17854 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17855
17856         * ShareContainer.h: define a proper ShareContainer::value_type
17857         type (and use typename to please compaq cxx)
17858
17859 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17860
17861         * lyxparagraph.h: move serveral local vars to
17862         ParameterStruct/ParagraphParameters., use ShareContainer in
17863         FontTable., make vars in FontTable private and add getter and
17864         setter.
17865
17866         * paragraph.C: changes because of the above.
17867
17868         * lyxfont.h: remove copy constructor and copy assignment. (the
17869         default ones is ok), move number inside FontBits. move inlines to
17870         lyxfont.C
17871
17872         * lyxfont.C: add number to initializaton of statics, move several
17873         inlines here. constify several local vars. some whitespace
17874         cleanup. Dont hide outerscope variables.
17875
17876         * Spacing.h: add two new constructors to match the set methods.
17877
17878         * ShareContainer.h: new file, will perhaps be moved to support
17879
17880         * ParameterStruct.h: new file
17881
17882         * ParagraphParameters.h: new file
17883
17884         * ParagraphParameters.C: new file
17885
17886         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17887         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17888
17889         * BufferView_pimpl.C: ParagraphParameter changes.
17890         * buffer.C: Likewise.
17891         * bufferview_funcs.C: Likewise.
17892         * text.C: Likewise.
17893         * text2.C: Likewise.
17894
17895 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17896
17897         * lyxfind.C (LyXReplace): do not redefine default argument in
17898         implementation.
17899         (IsStringInText): ditto
17900         (SearchForward): ditto
17901         (SearchBackward): ditto
17902
17903 2001-03-06  Juergen Vigna  <jug@sad.it>
17904
17905         * lyxfind.C (IsStringInText): put parentes around expressions.
17906
17907 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17908
17909         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17910
17911 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17912
17913         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17914
17915         * stl_string_fwd.h: add comment
17916
17917         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17918
17919         * tabular.h:
17920         * tabular.C: remove unused DocBook methods
17921
17922         * intl.C:
17923         * language.C:
17924         * paragraph.C:
17925         * buffer.C:
17926         killed DO_USE_DEFAULT_LANGUAGE
17927
17928 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17929
17930         * lyx_gui.C: do not include language.h.
17931
17932         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17933         arguments in function implementation.
17934
17935 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17936
17937         * BufferView_pimpl.C: add <ctime>
17938
17939 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17940
17941         * BufferView_pimpl.C: add using std::find_if
17942
17943 2001-02-27  José Matos  <jamatos@fep.up.pt>
17944
17945         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17946         by OnlyPath.
17947
17948 2001-02-11  José Matos  <jamatos@fep.up.pt>
17949
17950         * buffer.C (makeDocBookFile): command styles now have a parameter as
17951         "title" by default.
17952
17953 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17954
17955         * layout_forms.[Ch]: removed
17956         * lyx_cb.[Ch]: out character
17957         * lyx_gui.C: out character
17958         * lyx_gui_misc.C: out character
17959         * bufferview_funcs.C: : out character,
17960         added toggleall as parameter in ToggleAndShow
17961
17962 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17963
17964         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17965
17966         * text2.C (SetCurrentFont): Disable number property at boundary.
17967
17968 2001-02-26  Juergen Vigna  <jug@sad.it>
17969
17970         * lyxfunc.C (getStatus): added a string argument override function so
17971         that this is correctly called from LyXFunc::Dispatch if it contains a
17972         do_not_use_argument which is used!
17973         (Dispatch): added check for "custom" export and call appropriate func.
17974
17975 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17976
17977         * lyxrc.C: Add language_command_local, language_use_babel and
17978         language_global_options.
17979
17980         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17981
17982         * buffer.C (makeLaTeXFile): Use language_use_babel and
17983         language_global_options.
17984
17985 2001-02-23  Juergen Vigna  <jug@sad.it>
17986
17987         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17988         which works with LyXText and putted it inside BufferView. Here now we
17989         only call for that part the BufferView::Dispatch() function.
17990
17991         * BufferView.C (Dispatch): added.
17992
17993         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17994         functions which needs to use a LyXText over from LyXFunc.
17995         (MenuInsertLyXFile): added
17996         (getInsetByCode): added
17997         (moveCursorUpdate): added
17998         (static TEXT): added
17999
18000 2001-02-22  Juergen Vigna  <jug@sad.it>
18001
18002         * BufferView_pimpl.C (update): call a status update to see if LyXText
18003         needs it.
18004
18005 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18006
18007         * vc-backend.C (revert): implement for CVS
18008         (getLog): implement for CVS
18009
18010 2001-02-20  Juergen Vigna  <jug@sad.it>
18011
18012         * text2.C (ClearSelection): added BufferView param for inset_owner call
18013
18014         * lyxfunc.C (TEXT): added this function and use it instead of
18015         directly owner->view()-text of getLyXText().
18016
18017 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18018
18019         * src/layout_forms.C: out preamble
18020         * src/layout_forms.h: out preamble
18021         * src/lyx_cb.C: out preamble
18022         * src/lyx_cb.h: out preamble
18023         * src/lyx_gui.C: out preamble
18024         * src/lyx_gui_misc.C: out preamble
18025         * src/lyxfunc.C: connect with guii preamble
18026
18027 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18028
18029         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18030
18031 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18032
18033         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18034         whether to run bibtex.
18035
18036 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18037
18038         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18039
18040 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18041
18042         * Makefile.am (lyx_SOURCES): removed bibforms.h
18043
18044         * vspace.h: doxygen
18045
18046         * text.C (GetVisibleRow): make several local vars const
18047
18048         * tabular.C: small cleanup.
18049
18050         * lyxserver.C (callback): use compare instead of strncmp
18051
18052         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18053         inlines to after class or to paragraph.C
18054
18055         * lyxfont.h: remove friend operator!=
18056
18057         * converter.h: move friend bool operator< to non friend and after
18058         class def.
18059
18060         * combox.h: small cleanup
18061
18062         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18063         to inlines after class def.
18064
18065         * buffer.C (pop_tag): use string operations instead of strcmp
18066
18067         * bmtable.c: doxygen, small cleanup
18068
18069         * LaTeX.h: remove friend operator==
18070
18071 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18072
18073         * screen.C:
18074         * lyxrc.[Ch]:
18075         * lyxfunc.C:
18076         * lyxfont.[Ch]:
18077         * lyx_cb.C:
18078         * intl.[Ch]:
18079         * commandtags.h:
18080         * buffer.C:
18081         * WorkArea.[Ch]:
18082         * LyXAction.C:
18083         * BufferView_pimpl.C:
18084         * BufferView.[Ch]: remove cruft
18085
18086 2001-02-14  Juergen Vigna  <jug@sad.it>
18087
18088         * lyxfunc.C: removed #if 0 unused code
18089
18090         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18091
18092         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18093
18094         * text2.C (SetSelection): added a BufferView * parameter
18095
18096 2001-02-13  Juergen Vigna  <jug@sad.it>
18097
18098         * lyxfunc.C (Dispatch): fixed protected blank problem.
18099         * BufferView2.C (protectedBlank): added LyxText * parameter.
18100
18101         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18102         (AppendColumn): same as above for column_info.
18103
18104         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18105         (moveCursorUpdate): use a LyXText param for support of InsetText.
18106
18107         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18108         (tripleClick): ditto
18109
18110         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18111
18112         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18113
18114         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18115
18116         * text2.C (SetSelection): set correct update status if inset_owner
18117         (ToggleFree): ditto
18118
18119 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18120
18121         * tabular.C: remove some commented code.
18122
18123 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18124
18125         * BufferView_pimpl.C: call hideSplash()
18126
18127         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18128
18129         * include_form.h:
18130         * bibforms.h: remove
18131
18132         * lyxfunc.C:
18133         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18134           add LFUN_CHILD_CREATE
18135
18136         * counters.h: fix tiny typo
18137
18138         * lyx_cb.C:
18139         * lyx.h:
18140         * lyx_gui.C:
18141         * lyx.C: move splash to frontends/xforms/
18142
18143         * lyx_gui_misc.C: move Include and Bibform to frontends
18144
18145         * lyxvc.h: clarify comment
18146
18147         * vspace.C: tiny housekeeping
18148
18149 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18150
18151         * text.C (PrepareToPrint): RTL Fix.
18152
18153         * paragraph.C (GetUChar): New method.
18154         (String):  Use GetUChar.
18155
18156         * buffer.C (asciiParagraph): Use GetUChar.
18157
18158 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18159
18160         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18161
18162 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18163
18164         * buffer.h:
18165         * buffer.C: rename to getLogName(), handle
18166           build log / latex log nicely
18167
18168 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18169
18170         * MenuBackend.C:
18171         * MenuBackend.h: remove support for reference menuitem type.
18172
18173 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18174
18175         * BufferView_pimpl.C: housekeeping
18176         * BufferView_pimpl.h:
18177         * LyXView.h:
18178         * Makefile.am:
18179         * Timeout.C:
18180         * Timeout.h:
18181         * minibuffer.h: move Timeout GUI-I
18182
18183 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18184
18185         * lyxrc.C (read): Update converters data-structures.
18186
18187 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18188
18189         * LaTeX.h (operator!=): add operator != for Aux_Info
18190
18191 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18192
18193         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18194
18195         * LaTeXLog.C: deleted, useful code moved to Buffer
18196
18197         * buffer.h:
18198         * buffer.C: new function getLatexLogName()
18199
18200         * lyx_gui_misc.C:
18201         * lyx_gui.C:
18202         * lyxvc.C:
18203         * lyxvc.h:
18204         * lyxfunc.C: use frontends for LaTeX and VC logs
18205
18206 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18207
18208         * LaTeX.h: yet another std:: that Allan forgot.
18209
18210         * Variables.C (set): renamed from isset(), because this clashes
18211         with some HP-UX macros (grr).
18212
18213 2001-02-06  Allan Rae  <rae@lyx.org>
18214
18215         * LaTeX.h: Another bug fix.  Missing std:: this time.
18216
18217 2001-02-04  Allan Rae  <rae@lyx.org>
18218
18219         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18220         floats problem. I've left it commented out because it's not quite
18221         correct.  It should also test that the current object is a table or
18222         figure inset.  But I haven't gotten around to figuring out how to do
18223         that.  I *think* it'll be something like: "table" == inset.type()
18224
18225         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18226         bool.
18227
18228 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18229
18230         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18231         all the citation/databases/styles in the auxilary file.
18232         (run): Rerun latex if there was a babel language error.
18233
18234 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18235
18236         * text.C (Backspace): Preserve the font when changing newline char
18237         with a space.
18238         (BreakParagraph): If the cursor is before a space, delete the space.
18239
18240         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18241
18242 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18243
18244         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18245         new argument (code).
18246         (ChangeCitationsIfUnique): New method.
18247
18248         * paragraph.C (GetPositionOfInset): Handle bibkey.
18249
18250 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18251
18252         * BufferView_pimpl.h: change type of Position::par_pos to
18253         LyXParagraph::size_type.
18254
18255 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18256
18257         * BufferView_pimpl.C (savePosition, restorePosition): Write
18258         messages to minibuffer.
18259
18260 2001-01-28  José Matos  <jamatos@fep.up.pt>
18261
18262         * buffer.C (makeDocBookFile): adds support for document language.
18263         A silly restriction on the name of LatexCommand types where removed.
18264         Added support for CDATA sections, allows to chars unescaped, used
18265         among others in code, to avoid escape < and >.
18266
18267 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18268
18269         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18270         saved positions instrad of a stack. Furthermore, a position is
18271         stored using paragraph id/paragraph position.
18272
18273         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18274         Remove LFUN_REF_BACK.
18275
18276 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18277
18278         * converter.C (dvipdfm_options): New method.
18279
18280 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18281
18282         * vspace.C (isValidLength): Fix for empty input string.
18283
18284 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18285
18286         * LyXAction.C (init): change description of LFUN_FIGURE to
18287         "Insert Graphics"
18288
18289 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18290
18291         * LaTeX.C: add using directive
18292
18293 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18294
18295         * MenuBackend.C (expand): Fix the sorting of the formats.
18296
18297 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18298
18299         * lyx_main.C: tiny error message fix
18300
18301 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18302
18303         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18304         calling fl_initialize(). This fixes the problem with ',' as
18305         decimal separator in text files.
18306
18307 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18308
18309         * trans.C (process): Fix the keymap bug.
18310
18311 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18312
18313         * LaTeX.C (scanAuxFiles): New method. Provides support for
18314         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18315         (scanLogFile) Scan for "run BibTeX" messages.
18316
18317         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18318         OT1 font encoding. Also, load the aecompl package if the ae
18319         package is loaded.
18320
18321         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18322
18323 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18324
18325         * texrow.C (increasePos): turn two error messages into debug
18326         messages.
18327
18328 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18329
18330         * LaTeX.C (scanAux): Handle the \@input macro.
18331         (runBibTeX): Use scanAux().
18332
18333         * language.C (latex_options_): New field.
18334
18335         * LaTeXFeatures.C (getMacros): Add language macros.
18336
18337         * buffer.C (makeLaTeXFile): Small fix.
18338
18339 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18340
18341         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18342
18343         * text2.C: add a using directive.
18344
18345 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18346
18347         * BufferView2.C:
18348         * lyx_gui_misc.h:
18349         * lyxfr1.C:
18350         * lyxfunc.C: kill LyXBell.
18351
18352 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18353
18354         * text.C (IsBoundary): Remove the error message
18355
18356         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18357
18358         * lyxrc.C (setDefaults): Correct initialization value for
18359         font_norm_type.
18360
18361 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18362
18363         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18364         gotoError().
18365
18366         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18367         and GotoNextNote().
18368
18369         * src/LyXAction.C: Added reference-next.
18370
18371         * text.C (InsertChar): Use contains instead of strchr.
18372
18373         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18374
18375 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18376
18377         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18378         alignment commands (when needed).
18379
18380         * text.C (InsertChar): Add ':' to number separator chars.