]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix two crashes related to dEPM. Some crashes remain
[lyx.git] / src / ChangeLog
1 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * text.C (setCursorFromCoordinates): return a bool telling whether
4         dEPM triggered.
5
6         * text3.C (cursorPrevious): update if needed after
7         setCursorFromCoordinates (when dEPM triggered).
8
9         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
10         (otherwise the anchor may be completely wrong and make dEPM assert).
11
12 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13
14         * buffer.C: version upgrade to 245.
15         * bufferparams.C: remove \quotes_times (bug 2090).
16         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
17         quotation marks as default.
18
19 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
20
21         * CutAndPaste.C (nrOfParagraphs): remove (unused)
22         * CutAndPaste.C (cutSelection): Remove debug message
23         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
24         undo information and only copy if this is a real cut
25         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
26         call
27         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
28         (bug 2059)
29         * CutAndPaste.C (eraseSelection): prevent cursor corruption
30         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
31         superflous cur.selection() setting
32         * CutAndPaste.[Ch] (grabSelection): take a const cursor
33         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
34
35 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
36
37         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
38         change anything.
39
40 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
41
42         * BufferView_pimpl.C: comment layout change
43
44 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
45
46         * LyXAction.C:
47         * lfuns.h:
48         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
49         by bibliography managers (bug 2071).
50
51 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
52
53         * BufferView_pimpl.C (update): choose arguments to update call so
54         that single-par update works most times
55         * text3.C (dispatch): carefully tune updating separately for
56         whole-screen and current-paragraph
57         * rowpainter.C (paintText): 1) replace painting by caching for
58         the two extra paragraphs, because we can;
59         2) suppress greying out of areas below/above drawn area in case of
60         single-par refresh
61         * lyxfunc.C (dispatch): remove superfluous update
62         * LyXAction.[Ch]: introduce SingleParUpdate
63
64 2005-10-05  Angus Leeming  <leeming@lyx.org>
65
66         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
67         always initialised before use.
68
69         * text.C (setHeightOfRow): squash warning about comparison
70         of signed and unsigned types.
71
72 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
73
74         * text.C (cursorX): two fixes involving RtL text drawing
75
76 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
77
78         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
79         items, not only large ones (part of bug 2057)
80
81 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
82
83         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
84         argument, use "newcommand".
85
86 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
87
88         * cursor.C (setSelection): do not open collapsable insets;
89         the insets do by themselves now (autoopen).
90
91 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
92
93         * buffer.C: format is up to 244.
94
95 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
96
97         * text.C (redoParagraph): fix calcultation of inset width wrt 
98         leftMargin (bug 1957).
99
100         * text3.C (dispatch): leave inset to the right when hitting ESC 
101         (bug 2034).
102
103 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
104
105         * text2.C: 
106         * text.C: 
107         * factory.C:
108         * messages.C: include <boost/current_function.hpp> 
109
110 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
111
112         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
113         when command is internal. (bug 1941)
114
115 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
116
117         * text2.C (cursorRight): do not honor boundary when at the end of
118         a paragraph. (bug 2010 again)
119
120 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
121
122         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
123
124 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
125
126         * rowpainter.C (paintText): fix RtL space width display bug (2029)
127
128 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
129
130         * text2.C (setCursor): remove the unused 'boundary' parameter for
131         the CursorSlice version; adapt the LCursor version.
132
133         * lyxrc.C (write): 
134         * paragraph_pimpl.C (markErased): 
135         * cursor.C (bruteFind2, bruteFond3): fix warnings.
136
137 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
140         as is already done for "chapter".
141
142 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
143
144         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
145         textclass; do not record undo if nothing is changed.
146
147 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
148
149         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
150
151 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
152
153         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
154
155 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
156
157         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
158         combox, it is necessary to search for the topmost paragraph in the
159         cursor stack (bug 1926)
160
161 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
162
163         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
164         end of paragraph. (bug 2010)
165
166 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
167
168         * text.C (leftMargin): check for inInset == 0
169
170 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
171
172         * text.C (leftMargin): test for insetbase's new neverIndent()
173         bool instead of listing each and every inset that does not
174         wish par indendation.
175
176 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
177
178         * buffer_funcs.C (setCounter): put the code to compute enum label
179         here (where it belongs).
180
181         * counters.C (enumLabel): move code to buffer_funcs.C.
182
183 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
184
185         * outputparams.[Ch]: store local_font instead of local_language
186         * paragraph.C (simpleTeXOnePar): adapt to the change above
187
188 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
189
190         * buffer_funcs.C:
191         * counters.[Ch]: clean up special code for Hebrew.
192
193 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
194
195         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
196         than 2.
197
198 2005-09-08  Angus Leeming  <leeming@lyx.org>
199
200         * ispell.C:
201         * lyxrc.C: correct grammar describing invocation of the
202         spellchecker.
203
204 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
205
206         * text.C (read): remove unused variable.
207         (readParToken): remove static Change variable (never good in
208         recursive settings...); add it as a parameter instead.
209
210         * paragraph_pimpl.C (acceptChange): make debug info conditional.
211
212         * metricsinfo.C (PainterInfo): add new member erased_.
213
214         * rowpainter.C (RowPainter): add erased_ member, initialized from
215         PainterInfo. 
216         (paintInset): pass erased_ to Inset::draw.
217
218         * lyxfunc.C (lookupChange): new function. Tells whether change 
219         tracking is disabled at a given postion.
220         (getStatus): disable some actions when in deleted text with change
221         tracking. 
222
223 2005-08-03  John Levon  <levon@movementarian.org>
224         
225         * tabular.C (appendColumn, setMultiColumn): adapt to change to
226         InsetText::clear().
227
228         * paragraph_pimpl.C (markErased): add bool argument and handle it.
229         Also make sure to mark insets recursively.
230         (rejectChange, erase): be recursive
231
232         * paragraph.C (markErased): add bool argument.
233 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
234
235         * lyxfind.C (findNextChange): tiny cleanup.
236
237         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
238         change tracking with the cursor in an inset; make sure the first
239         change is not skipped.
240
241 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
242
243         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
244         tabularStackDirty to work around bug 1919 (tabular needs
245         to know whether its own cell paste buffer or the one of 
246         texted is newer.
247         * CutAndPaste.C: mark tabular_stack_ clean after copy.
248
249 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
250
251         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
252
253 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
254
255         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
256         use old deleteion algorithm when changetracking is on.
257
258 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
259
260         * messages.C (get): add debug output.
261
262 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
263
264         * text.C (cursorX): fix bug 1965: cursor movement at
265         line end broken in RtL.
266         (drawSelection): fix bug 1970: drawing of single-line 
267         selection broken for RtL.
268
269 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
270
271         bug 465.
272
273         * dociterator.h (clear, push_back, pop_back): change from
274         protected to public.
275
276         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
277         and changed to just return the value of the item depth; take a
278         ParIterator as argument; take the itemdepth at outer nesting level
279         in account if necessary; cleanup and comment the code.
280         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
281         and changed to just return true if reset is needed; take a
282         ParIterator as argument; cleanup and comment the code.
283         (setCounter): adapt to above changes.
284
285 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
286
287         * text3.C (dispatch): make debug message optional
288
289 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
290
291         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
292         inset. (bug 1963)
293
294 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
295
296         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
297
298 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
299
300         * text.C (insertChar):
301         * text2.C (deleteEmptyParagraphMechanism): take care whether 
302         a blank has been deleted (in change tracking mode) (bug 1254).
303
304 2005-07-20  John Levon  <levon@movementarian.org>
305
306         * text2.C (insertStringAsLines): remove old dubious code,
307         fixing bug 1939.
308
309 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
310
311         * MenuBackend.C (expandToc): use Floating::listName() as title of
312         the floats submenus.
313
314 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
315
316         * toc.[Ch]: Do not use translatable strings (bug 1870).
317
318 2005-07-20  John Levon  <levon@movementarian.org>
319
320         * tabular.C: fix 1748 - setting multicolumn adds
321           left line to the first cell
322
323 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
324
325         bug 1920
326         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
327         pars in one go.
328
329 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
330
331         * messages.C: supress some lyxerr messages
332
333 2005-07-18  Juergen Vigna  <jug@lyx.org>
334
335         * text.C (drawSelection): honor boundary when asking for cursorX.
336
337 2005-07-17  José Matos  <jamatos@fc.up.pt>
338
339         * tabular.C (recalculateMulticolumns): fix handling of one column
340         tables.
341
342 2005-07-17  Juergen Vigna  <jug@lyx.org>
343
344         * text.C (Delete, backspace): fixed so that paragraph with the
345         same layout can be merged by Delete/Backspace.
346
347 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
348
349         * text.C (readParToken): fix spelling.
350
351 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
352
353         * text2.C: fix counter update for DEPM problem reported by
354         Georg Baum
355
356 2005-07-17  Juergen Vigna  <jug@lyx.org>
357
358         * BufferView_pimpl.C (setBuffer): save/restore the
359         cursor/selection when switching buffers
360
361         * buffer.h: 
362         * buffer.C (saveCursor): add saveDocumentIterators to save the
363         cursor when switching buffer.
364
365 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
366
367         * debug.C: fix typo
368         * buffer.C: clarify message
369         
370 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
371
372         * dociterator.C (DocIterator): fix initialization order
373
374 2005-07-17  Juergen Vigna  <jug@lyx.org>
375
376         * text2.C (cursorHome): 
377         * text.C (drawSelection, cursorX): 
378         * dociterator.C (textRow): add boundary to getRow() call
379
380         * paragraph.C (getRow): implementation of below
381
382         * paragraph.h: add parameter boundary for getRow() function
383
384 2005-07-17  José Matos  <jamatos@fc.up.pt>
385
386         * buffer.C:
387         * bufferparams.[Ch]:
388         * tex-strings.[Ch]: new file format, remove support for a4.sty,
389         a4wide.sty and a4widemargins.
390
391 2005-07-17  Juergen Vigna  <jug@lyx.org>
392
393         * text2.C (cursorLeft): fix one of error
394
395 2005-07-17  Juergen Vigna  <jug@lyx.org>
396
397         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
398                    cursorEnd):
399         more fixes for boundary handling
400
401         * text3.C (dispatch): don't reset cursor if boundary has changed
402         on cursor movement.
403
404 2005-07-16  Juergen Vigna  <jug@lyx.org>
405
406         * text2.C (getColumnNearX): hopefully got it right now,
407         check if we are on column 0 for special case.
408
409 2005-07-16  Juergen Vigna  <jug@lyx.org>
410
411         * text2.C (getColumnNearX): handle special case Newline Inset
412
413         * text.C (singleWidth): Just remove bogus check
414
415 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
416
417         * funcrequest.C (split): avoid reading uninitialized char c
418
419 2005-07-16  José Matos  <jamatos@fc.up.pt>
420
421         * buffer.C:
422         * converter.C:
423         * lyxrc.C:
424         * paper.h:
425         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
426         single papersize variable.
427
428 2005-07-16  Juergen Vigna  <jug@lyx.org>
429
430         * text3.C (dispatch): honor boundary when checking if a cursor
431         movement has been done
432
433         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
434         (setCursor, setCursorIntern): fix cursor movement with boundary
435
436 2005-07-16  Juergen Vigna  <jug@lyx.org>
437
438         * text.C (currentState): output the actual Boundary
439
440 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
441
442         * factory.C (createInset): fix bad logic for tabular creation
443
444 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
445
446         * lyx_main.C (init): change some reLyX reference to tex2lyx
447
448 2005-07-16  Juergen Vigna  <jug@lyx.org>
449
450         * dociterator.C (DocIterator): initialize boundary
451
452 2005-07-16  Juergen Vigna  <jug@lyx.org>
453
454         * text2.C (getColumnNearX): Consider rows without trailing blank.  
455
456 2005-07-16  André Pönitz  <poenitz@gmx.net>
457
458         * lyxfont.h: Change order of declarations to give the compiler
459         a better chance to inline things
460
461         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
462         questions on unsaved docs for better scritability
463
464 2005-07-16  André Pönitz  <poenitz@gmx.net>
465
466         * paragraph.h (getChar): remove asserts as the same kind of security
467         can be achieved by using a suitable standard library implementation
468         and the function was in the critical path (25.9% in profiler)
469
470 2005-07-16  Juergen Vigna  <jug@lyx.org>
471
472         * cursor.C (bruteFind2):
473         * bufferview_funcs.C (coordOffset): 
474         * text.C (cursorX,cursorY): Handle cursor position after last char
475         in row before a inset which uses a whole row.
476
477 2005-07-15  José Matos <jamatos@lyx.org>
478
479         * output_plaintext.[Ch] (writeFileAscii): control reference title
480         printing.
481         (asciiParagraph): noparbreak was already deal and was incorrectly
482         used.
483
484 2005-07-15  Juergen Vigna <jug@lyx.org>
485
486         * lyxfunc.C (dispatch): save and restore the cursor after a
487         textclass switch.
488
489 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
490
491         * text.C (backspace): bug 806 for empty keepempty paragraphs we
492         change the layout to default before letting DEPM do its thing.
493
494         * paragraph_funcs.C (breakParagraph): dont reset the layout on
495         keepEmpty paragraphs
496
497         * text.C (setCursorFromCoordinates): add a debug statement
498
499         * text2.C (getColumnNearX): bug 1825 make sure that we don't
500         return a pos that is not on the row
501
502         * output_latex.C (TeXDeeper): get rid of potential dereferencing
503         of past the end iterator
504
505 2005-07-14  André Pönitz  <poenitz@gmx.net>
506
507         * undo.C (recordUndoFullBuffer): implement undo for
508         textclass switches
509
510 2005-07-14  André Pönitz  <poenitz@gmx.net>
511
512         * cursor.C (setSelection): open insets when selection is set there
513         to avoid crashs with cold coord cache
514
515 2005-07-14  André Pönitz  <poenitz@gmx.net>
516
517         * trans_mgr.C (insert): move cursor to the right after inserting
518         a char.
519
520 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
521
522         * BufferView_pimpl.C (update): dampen some of the debug blabbering
523         * factory.C (readInset): ditto
524         * text.C, text2.C: ditto
525
526 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
527
528         * buffer.C: format incremented to 242. There is no file format per
529         se, but the "frenchb" language has been removed from lib/language
530         and has to be translated to "french" by lyx2lyx.
531
532 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
533
534         * cursor_slice.h, dociterator.h: add some documentation
535         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
536
537 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
538
539         * text.C (leftMargin): do not add identation to display() style
540         insets, because they are always centered (bug 1293).
541
542 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
543
544         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
545         formatted_time methods in support/lyxtime.
546
547 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
548
549         * toc.[Ch]: new method getGuiName, which is used by the frontends 
550         to set the toc combo (fixes bug 1870). Make TOC string translatable.
551
552 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
553
554         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
555         StableDocIterator const &)
556         * undo.C (recordUndo): use the above instead of cell.size() comparison
557         (fixes bug 1808; instructed by Andr�.
558
559 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
560
561         * cursor_slice.h: 
562         * dociterator.h: Fix the assert when copying rows/cols in math
563
564 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
565
566         * BufferView_pimpl.C:
567         * LyXAction.C:
568         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
569
570         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
571         (findInset): new functions, refactored from goto Inset that return 
572         the position of a certain inset without setting the buffer's cursor
573         (by Jean-Marc); 
574         (gotoInset): rewrite to call findInset and then set the cursor
575         (by Jean-Marc).
576
577 2005-06-16  Angus Leeming  <leeming@lyx.org>
578
579         * lyxrc.C (output, read): wrap all input and output of paths with
580         calls to os::internal_path and os::external_path, respectively.
581         (output): wrap bind_file inside quotes.
582
583         * format.C (view): enable the viewer to use the '$$s' placeholder.
584
585 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
586
587         * LColor.[Ch] (getFromLaTeXName): new
588
589 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
590
591         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
592
593 2005-06-14  Angus Leeming  <leeming@lyx.org>
594
595         * lyx_main.C (init): ensure that the LyX binary dir is the first
596         element in the PATH on non-POSIX builds.
597
598 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
599
600         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
601
602 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
603
604         * rowpainter.C (paintInset, paintHebrewComposeChar)
605         (paintArabicComposeChar, paintChars): add a LyXFont argument.
606         (paintChars): use getFontSpan to reduce calls to getFont to a
607         minimum; use Paragraph::lookupChange instead of isXXXText.
608         (paintForeignMark): rename LyXFont argument.
609         (paintFromPos): pass a LyXFont object to the various paintXXX
610         methods.
611
612         * FontIterator.C (FontIterator, operator++): use
613         Paragraph::getFontSpan
614
615         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
616         version that returns the font span as a pair.
617
618 2005-06-09  Angus Leeming  <leeming@lyx.org>
619
620         * converter.C (convert): Don't forget "outfile = real_outfile" as
621         the final step in a conversion where the input and output file names
622         are the same. Otherwise, future conversion steps won't work...
623
624 2005-06-09  Angus Leeming  <leeming@lyx.org>
625
626         * lyxsocket.C: remove stub code as it isn't needed by
627         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
628
629 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
630
631         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
632         effectively disabled -x
633
634 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
635
636         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
637         when it actually makes sense.
638
639 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
640
641         * BufferView_pimpl.C: revert to showCursor in connection with
642         Lars's front-end stack
643
644 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
645
646         * text.C (redoParagraph): move cursor right after a bibitem
647         has been inserted.
648
649         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
650
651 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
652
653         * buffer_funcs.C (bufferErrors): fix computation of the end of an
654         error range.
655
656 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
657
658         * BufferView.[Ch] (update):
659         * BufferView_pimpl.[Ch] (update, metrics):
660         * dimension.h (operator==):
661         * lyxfunc.C (dispatch):
662         * metricsinfo.h (ViewMetricsInfo):
663         * rowpainter.C (paintText):
664         * lyxtext.h:
665         * text.C (redoParagraph):
666         * text3.C (dispatch): Make LyX only repaint current paragraph in
667         case of character insert --> speedup. Also fix cursor draw
668         artifacts
669
670 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
671
672         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
673         avoid a crash (bug 1891)
674
675 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
676
677         Fix bug 1892:
678
679         * text2.C (getStringToIndex): constify cur argument.
680
681         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
682         argument has been given
683         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
684         try to invoke LFUN_INSET_APPLY).
685
686         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
687         if no inset was created by doInsertInset
688         (doInsertInset): return true if an inset has been inserted.
689
690 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
691
692         * vspace.C (asGUIName): new method. A version of the space
693         suitable for showing on screen.
694
695 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
696
697         * MenuBackend.C:
698         * lyxrc.C: rename "ASCII" to "Plain Text"
699
700 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
701
702         * buffer_funcs.C (expandLabel): take a Buffer as argument;
703         translate the labelstring.
704         (setCounter): translate labelstring as needed.
705
706         * output_docbook.C (makeCommand): fix expandLabel invokation
707
708 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
709
710         * BufferView.C: fix dialog title
711
712 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
713
714         * lyx_main.C (priv_exec): fix logic error with help from Angus
715         * lyx_main.C (parse_execute): set is_gui = false and remove now
716         obsolete comment about a segfault
717
718 2005-05-18  Angus Leeming  <leeming@lyx.org>
719
720         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
721
722 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
723
724         * tabular.[hC]: added setCellInset to fix tabular paste.
725
726 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
727
728         * buffer.C (save): check if destination is writable before trying
729         to copy a file
730
731 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
732
733         * BufferView_pimpl.C (update): fix processEvents -caused update
734         recursion bug
735
736 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
737
738         * buffer_funcs.C (setCounter): fix test for numbering of
739         environments.
740
741         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
742         depth correctly; use optional argument when it exists
743
744         * lyxtextclass.C: remove unused MaxCounterTags enum
745         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
746         (max_toclevel, min_toclevel): new methods.
747
748         * MenuBackend.C (expandToc2): fix case where depth is smaller than
749         the smallest depth in toc.
750
751         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
752         layouts that should not appear in a table of contents.
753
754 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
755
756         * cursor.h (undispatched, noUpdate): add comments from Andr�
757 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
758
759         * lfuns.h:
760         * LyXAction.C:
761         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
762
763 2005-05-07  André Pönitz  <poenitz@gmx.net>
764
765         * cursor.[Ch] (leaveInset): new function
766
767 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
768
769         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
770
771 2005-05-04  Angus Leeming  <leeming@lyx.org>
772
773         * lyxfunc.C (getStatus): disable the spell checker dialog if
774         none of USE_[AIP]SPELL are defined.
775
776 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
777
778         * tabular.C (setWidthOfCell): remove obsolete comment
779
780 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
781
782         * paragraph.C (bibitem):
783         * buffer_funcs.C (setCounter):
784         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
785
786 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
787
788         * text3.C (getStatus): immediately return after setOnOff
789
790         * rowpainter.C: fix drawing of appendix start
791
792 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
793
794         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
795         SwitchBetweenClasses and remove the unused return value.
796         Handle character styles, too
797
798 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
799
800         * factory.C (createInset): handle undefined character styles
801
802 2005-05-02  Angus Leeming  <leeming@lyx.org>
803
804         * buffer.C: protect the #include of utime.h with a preprocessor
805         guard.
806
807 2005-05-02  Angus Leeming  <leeming@lyx.org>
808
809         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
810         function so that auto-saving works, albeit in a blocking manner.
811
812         * Makefile.am: make compilation of the client sub directory, of
813         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
814         on conditionals set at configure time.
815
816         * SpellBase.[Ch]: no longer an abstract base class. Instead,
817         it can be compiled in its own right but has no-op functionality.
818
819         * aspell.C, pspell.C: remove preprocessor guards. The files should
820         be compiled only if the necessary functionality exists.
821
822         * lyxserver.C, lyxsocket.C: disable on Windows.
823
824 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
825
826         * text.C (leftMargin): Fix the parindent use bug (1764)
827         by dirty trick
828
829 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
830
831         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
832         argument.
833
834 2005-04-25  Angus Leeming  <leeming@lyx.org>
835
836         * Bidi.[Ch]:
837         * coordcache.[Ch]:
838         * ispell.C:
839         * lyxserver.C:
840         * mover.C:
841         * pch.h:
842         include <config.h> in .C files, not .h ones.
843         add licence blurb.
844         protect headers inside preprocessor guards.
845
846 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
847
848         * FuncStatus.h (StatusCodes): document
849
850 2005-04-21  André Pönitz  <poenitz@gmx.net>
851
852         * FuncStatus.h (enabled, onoff): document
853
854 2005-04-19  Angus Leeming  <leeming@lyx.org>
855
856         * BufferView_pimpl.C (cursorToggle): no longer test whether
857         any child processes have been reaped before calling
858         handleCompletedProcesses().
859
860 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
861
862         * text3.C (dispatch): fix, finally fix, the language problem in
863         new lyxtexts, without disabling on-the-fly font changes (Helge's
864         bug report)
865
866 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
867
868         * text3.C (dispatch): set cursor on double/triple click events
869         (bug 1811)
870
871 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
872
873         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
874         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
875
876         * rowpainter.C (paintFirst): simplify the code a little bit. In
877         particular, remove the test for secnumdepth.
878         * text.C (setHeightOfRow): only allocate space for chapter number
879         when updateCounters provided an actual label, instead of looking
880         at secnumdepth directly.
881
882         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
883
884         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
885         paragraphs when secnumdepth is large enough or, for environments,
886         when they are not the first in a sequence.
887
888 2005-04-17  Angus Leeming  <leeming@lyx.org>
889
890         * buffer.C (makeLaTeXFile): replace code to manipulate a path
891         containing space and '~' characters with a call to latex_path().
892
893 2005-04-17  Angus Leeming  <leeming@lyx.org>
894
895         * converter.C (convert): protect all args of convertDefault.sh
896         script with quotes.
897
898 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
899
900         * text3.C (dispatch): change the layout to "Caption" after inserting
901         a float.
902
903 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
904
905         * text3.C (dispatch): fix language problem in newly created
906         textinsets (and main text) in non-english docs
907
908 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
909
910         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
911         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
912         * text3.C (getStatus): disable LFUN_INSET_MODIFY
913
914 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
915
916         * lyxtext.h:
917         * text.C (metrics):
918         * text2.C (getFont):
919         * rowpainter.C (getFont): Fix metrics bug introduced by inset
920         fonts fix
921
922 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
923
924         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
925         output of \item arguments without trailing text.
926
927 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
928
929         * FontIterator.C (operator*): avoid a copy of the font.
930
931 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
932
933         * rowpainter.C (getFont): fix language bug from previous fix
934
935 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
936
937         * rowpainter.C (RowPainter, getFont): fix font inside inset
938         (bugs 1766, 1809)
939
940 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
941
942         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
943         preventing inserted font, deco, delim insets jumping to start of
944         surrounding inset.
945
946 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
947
948         * lyxfunc.C (dispatch): translate message before sending it to the
949         minibuffer.
950
951 2005-03-29  Angus Leeming  <leeming@lyx.org>
952
953         * lyx_main.C (priv_exec): call os::internal_path on each file passed
954         to LyX on the command line.
955
956 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
957
958         * vc-backend.C: use QuoteName to protect file names wherever
959         necessary.
960
961 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
962
963         * buffer.[Ch]:
964         * BranchList.h: fix bugs 1844,1845: document settings don't
965         stick
966
967 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
968
969         * lyxrc.C (setDefaults, read, output, getDescription): add support
970         for tex_allows_spaces.
971
972         * exporter.C (Export): allows files in directory containing spaces
973         if tex_allows_spaces is true.
974
975         * buffer.C (makeLaTeXFile): if the document path contains spaces,
976         output it in double quotes.
977
978 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
979
980         * rowpainter.C: use default text height for drawing change tracker
981         strikeout lines.
982
983 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
984
985         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
986
987 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
988
989         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
990         directory is missing.
991
992 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
993
994         * text2.C: fixed the fix, extended to other case.
995
996 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
997
998         * text2.C: fix for cursor up/down stuck in math [bug 1792]
999
1000 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1001
1002         * text2.C (cursorUp): get rid of a crash
1003         * text.C (x2pos): add an assert
1004
1005 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1006
1007         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1008
1009         * text3.C:
1010         * lyxfunc.C:
1011         * dociterator.C: include <boost/current_function.hpp>, which is
1012         needed when assertions are disabled.
1013
1014 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1015
1016         * text2.C: fix for stuck cursor when traversing two
1017         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1018
1019 2005-02-25  Andreas Vox  <avox@arcor.de>
1020
1021         * output_docbook.C (makeParagraph): suppress trailing newline
1022         after a run of paragraphs
1023
1024 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1025
1026         * paragraph.C: fix for confused change tracker when pasting
1027         text that begins with a lineseparator. [bug 1827]
1028         (setChange(0, Change::INSERTED);)
1029
1030         * paragraph_funcs.C: fix for lost changes on triple-paste
1031         in change tracking mode [bug 1827] (par.setChange()).
1032
1033 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1034
1035         * text2.C (updateCounters, setCounter, expandLabel): move to
1036         buffer_funcs.
1037
1038         * buffer_funcs.C (updateCounters): turn into a free standing
1039         function and add a buffer parameter. Remove dead code for tracking
1040         labelstring change.
1041         (setCounter): change into a free-standing function which gets a
1042         dociterator as argument. Use this iterator to fix captions in a
1043         simple way. When no float is found above the caption, use the
1044         labelstring of the caption layout as default.
1045
1046         * text.C (breakParagraph, backspace):
1047         * text2.C (init, setLayout, changeDepth):
1048         * text3.C (dispatch):
1049         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1050         updateCounters.
1051
1052         * dociterator.C (forwardPar): make it much faster by calling
1053         forwardPos() only when really necessary.
1054
1055         * output_docbook.C (makeCommand): adapt to expandLabel move.
1056
1057         * cursor.C: remove unused variable
1058
1059 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1060
1061         * paragraph_funcs.C: fix crash when pasting insets in change
1062         tracking mode [bug 1277] (honour change type in moveItem).
1063
1064 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1065
1066         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1067
1068 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1069
1070         * BufferView.C (setCursor): change to use a DocIterator.
1071         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1072         (putSelectionAt): adapt to BufferView::setCursor change.
1073
1074         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1075         moved here from LyXText and rewritten to use proper cursor
1076         methods. Fixes bug 1787, 616 and 835.
1077
1078         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1079         when inside an inset (part of bug 781).
1080         (dispatch): adapt to change of BufferView::setCursor.
1081         (getStatus, dispatch): handle LFUN_GOTOERROR,
1082         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1083
1084         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1085         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1086         * text3.C (gotoNextInset, gotoInset): removed.
1087
1088 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1089
1090         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1091
1092 2005-02-15  Angus Leeming  <leeming@lyx.org>
1093
1094         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1095         can be used meaningfully in a comparison.
1096
1097 2005-02-13  André Pönitz  <poenitz@gmx.net>
1098
1099         * bufferview_funcs.C (coordOffset): improve cursor drawing
1100
1101 2005-02-13  André Pönitz  <poenitz@gmx.net>
1102
1103         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1104         * Cursor.C (dispatch): use fixIfBroken
1105         * lyxfunc.C (getStatus): use fixIfBroken
1106
1107 2005-02-15  Angus Leeming  <leeming@lyx.org>
1108
1109         * lyx_main.C (error_handler):
1110         * lyxfunc.C:
1111         * lyxrc.C (setDefaults):
1112         s/GetEnv/getEnv/.
1113         #include "environment.h".
1114
1115         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1116
1117 2005-02-15  Angus Leeming  <leeming@lyx.org>
1118
1119         * lyxserver.C (startPipe): squash MSVC warning "local variable
1120         'fd' used without having been initialized".
1121
1122 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1123
1124         * BufferView_pimpl.C: revert accidental commit.
1125
1126 2005-02-14  André Pönitz  <poenitz@gmx.net>
1127
1128         * dociterator.[Ch]: new member forwardPosNoDescent(),
1129         which doesn't enter nested insets.
1130         * text2.C (setFont): use forwardPosNoDescent() instead
1131         of ForwardPos() (fixes crash on font change).
1132
1133 2005-02-13  Angus Leeming  <leeming@lyx.org>
1134
1135         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1136         only if lyxrc.path_prefix is not empty.
1137
1138 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1139
1140         * bufferparams.C (readGraphicsDriver): prevent crash
1141
1142 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1143
1144         * text2.C (setCounter): check for inInset() == 0
1145
1146 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1147
1148         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1149         but use update() to get correct screen display; use convert
1150         instead of istringstream.
1151         (getStatus): handle LFUN_GOTO_PARAGRAPH
1152
1153         * lyxfunc.C (dispatch, getStatus): do not handle
1154         LFUN_GOTO_PARAGRAPH here.
1155
1156 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1157
1158         * text3.C (dispatch): size() -> depth()
1159
1160         * text2.C: remove some debug output
1161
1162         * paragraph.C: ws changes only
1163
1164         * lyxfunc.C (getStatus): size() -> depth()
1165
1166         * dociterator.h (clear, push_back, pop_back, internalData,
1167         operator[], resize, empty): new functions
1168         Make StableDocIterator and operator== be friends. Don't inherit
1169         from std::vector use a privat class variable slices_ instead.
1170         Modify to fit.
1171
1172         * dociterator.C: update because of not inheriting from std::vector
1173         anymore. Call explictly to slices_ instead. Use depth() instead of
1174         size() and top() instead of back()
1175
1176         * cursor.C: chagne size() -> depth and back() -> top(). Also
1177         remove some direct operator[](i) calls in favour of foo[i]
1178         (getFont): remove some dead code
1179
1180         * bufferview_funcs.C (coordOffset): size() -> depth()
1181
1182         * buffer.C: ws changes only
1183
1184         * CutAndPaste.C (eraseSelection): back() -> top()
1185
1186         * BufferView_pimpl.C (selectionRequested): back() -> top()
1187
1188         * BufferView.C (setCursor): size() -> depth()
1189
1190 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1191
1192         * text3.C (cursorPrevious): return true if depm changed something
1193         (cursorNext): ditto
1194         (dispatch): rename sl to oldTopSlice, remove moving use the new
1195         NoUpdate func attrib instead. Make sure that needsUpdate is set
1196         for function that have NoUpdate, but where depm might have changed
1197         the buffer anyway.
1198
1199         * text2.C (cursorLeft): make us return true if depm changed
1200         something
1201         (cursorRight): ditto
1202         (cursorUpParagraph): ditto
1203         (curosrDownParagraph): ditto
1204         (cursorUp, cursorDown): ditto, make sure to read comments in code
1205         (deleteEmptyParagraphMechanism): remove an assert, also return
1206         true if just a single char was deleted.
1207
1208         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1209         cursor that we modify, to avoid modifying an active cursor before
1210         we call setCursor. This allows depm to run. Also return true if
1211         depm deleted something.
1212
1213         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1214         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1215         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1216         something was changed in the buffer because of them (ie. depm run)
1217
1218         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1219         debug messages. Make update by default be false. Make sure that
1220         the result of update is retained throught several calls down to
1221         dispatch.
1222
1223         * LyXAction.h: add a new func_attrib: NoUpdate
1224
1225         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1226         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1227         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1228         and LFUN_WORDLEFT
1229         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1230
1231 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1232
1233         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1234         bv_->owner(), bv_->buffer() by direct references to the private
1235         members.
1236         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1237         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1238         (fitCursor): center() is in BufferView::Pimpl.
1239         (getStatus, trackChanges, dispatch): no need for a temporary buf
1240         variable
1241         (fitCursor, workAreaDispatch): use workarea().workheight()
1242
1243 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1244
1245         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1246
1247 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1248
1249         * buffer.C: format up to 241.
1250         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1251         break if pasting into ERT
1252         * lyxfunc.C (getStatus): suppress mathpanel and
1253         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1254
1255 2005-02-01  Angus Leeming  <leeming@lyx.org>
1256
1257         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1258
1259 2005-02-01  Angus Leeming  <leeming@lyx.org>
1260
1261         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1262         calling fs::is_directory().
1263
1264 2005-01-31  Angus Leeming  <leeming@lyx.org>
1265
1266         * lyx_main.C (priv_exec): specify explicitly the relative location
1267         of the top level build directory when run in-place.
1268
1269 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1270
1271         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1272         LyXText containing the cursor, not the top-level one.
1273
1274         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1275         true.
1276         (insertStringAsLines): rename par to pit; use temporary variable
1277         par to hold a Paragraph; do not store par.layout() in a variable,
1278         since the pointer may die when breaking paragraphs; pass pars to
1279         breakParagraph() instead of Buffer::paragraphs().
1280
1281 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1282
1283         * lyxlex_pimpl.h: #include <fstream>.
1284
1285         * BufferView.[Ch] (getLyXText): add a const version.
1286
1287         * BufferView_pimpl.C: add debug aids.
1288
1289         * RowList_fwd.h:
1290         * buffer.h:
1291         * lyxrow.h:
1292         * paragraph_funcs.h: add commentary explaining what the class does.
1293
1294
1295         * coordcache.[Ch]: add lots of commentary.
1296         (startUpdating, doneUpdating): debug aids.
1297         (arrays, insets, parPos, getParPos): accessors to private data.
1298
1299         * cursor_slice.[Ch] (text): add a const version.
1300         * dociterator.[Ch] (text, innerText): add const versions.
1301
1302         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1303         bool.
1304
1305         * paragraph.C (getRow, pos2ros): add asserts.
1306
1307         * paragraph.h: add commentary. Lots of.
1308
1309         * paragraph.[Ch] (metrucs, draw): removed.
1310
1311         * cursor.C:
1312         * rowpainter.[Ch]: const-correct changes.
1313
1314         * text.C: various obvious clean-ups. Removal of ancient cruft.
1315         Bug fixes, even.
1316
1317 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1318
1319         * vc-backend.C (find_file): rewrite to use boost.filesystem
1320         (scanMaster): ditto
1321
1322         * main.C (main): set default name check for boost.filesystem to
1323         no check
1324
1325         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1326         (open): ditto
1327         (doImport): ditto
1328         (actOnUpdatedPrefs): ditto
1329
1330         * lyx_main.C (init): rewrite to use boost.filesystem
1331         (queryUserLyXDir): ditto
1332
1333         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1334         (getContentsOfAsciiFile): ditto
1335
1336         * lastfiles.C (readFile): rewrite to use boost.filesystem
1337
1338         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1339
1340         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1341         (loadLyXFile): ditto
1342
1343         * buffer.C (Buffer): adjust for destroydir
1344         (getLogName): rewrite to use boost.filesystem
1345         (setFileName): ditto
1346         (save): use fs::copy_file (from fs_extras)
1347
1348         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1349
1350         * LaTeX.C (run): rewrite to use boost.filesystem
1351         (scanAuxFiles): ditto
1352         (handleFoundFile): ditto
1353
1354 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1355
1356         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1357
1358         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1359
1360 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1361
1362         * lyxlayout.[Ch]: change some vars from float to double
1363
1364         * buffer.C (readFile): make a local var const
1365
1366         * Several files: use convert<> instead of atoi,strToXXX and friends
1367
1368 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1369
1370         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1371         holds the contents of packages.lst. New functions getAvailable
1372         and isAvailable to parse and check that list, resp.
1373
1374         * LyXAction.C:
1375         * lfuns.h:
1376         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1377
1378         * bufferparams.[Ch]: new param output_changes.
1379
1380         * Buffer.C: increase file format to 240.
1381         Use output_changes and isVailable.
1382
1383         * changes.[Ch]:
1384         * paragraph.C:
1385         * paragraph_pimpl.C: Use output_changes and isVailable.
1386
1387 2005-01-23  Angus Leeming  <leeming@lyx.org>
1388
1389         * output_latex.C: #include "insetbibitem.h", rather than
1390         forward declare function bibitemWidest.
1391
1392 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1393
1394         * lyx_main.C (init): make it compile on the Mac.
1395
1396 2005-01-20  Angus Leeming  <leeming@lyx.org>
1397
1398         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1399         (setLyXMisc): (char string literal) != (char string literal) is
1400         performing a comparison on the addresses. Convert one operand
1401         explicitly to string to guarantee expected behaviour.
1402         From MSVC warning.
1403
1404 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1405
1406         * buffer.C:
1407         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1408
1409         * output_plaintext.C: remove unneeded #include gzstream.h.
1410
1411 2005-01-20  Angus Leeming  <leeming@lyx.org>
1412
1413         * SpellBase.h: rename some of the elements of the Result enum.
1414
1415         * aspell_local.h:
1416         * ispell.h:
1417         * pspell.h:
1418         * aspell.C (check):
1419         * ispell.C (check):
1420         * pspell.C (check): ditto
1421
1422 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1423
1424         * buffer.C: add #include <fstream>.
1425
1426         * lyx_main.C (init): Compile fix.
1427
1428         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1429
1430 2005-01-20  Angus Leeming  <leeming@lyx.org>
1431
1432         * mover.h: change commentary to reflect the changed meaning of
1433         the $$s placeholder.
1434
1435 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1436
1437         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1438
1439         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1440
1441 2005-01-20  Angus Leeming  <leeming@lyx.org>
1442
1443         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1444         printing diagnostic data by not dereferecing an iterator past the
1445         end.
1446
1447 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1448
1449         * buffer.C (readHeader): use "&&" rather than "and".
1450
1451         * lyxserver.h (inPipeName, outPipeName): make these const.
1452
1453 2005-01-19  Angus Leeming  <leeming@lyx.org>
1454
1455         * lyx_main.C (error_handler, init): protect SIGHUP with
1456         #ifdef SIGHUP guards.
1457
1458 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1459
1460         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1461
1462 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1463
1464         * text.C (setHeightOfRow): add a margin at the top and bottom of
1465         the document (bug 1761)
1466
1467 2005-01-17  Angus Leeming  <leeming@lyx.org>
1468
1469         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1470         with "python ". Workaround for a brain-dead Windows.
1471
1472 2005-01-16  Angus Leeming  <leeming@lyx.org>
1473
1474         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1475         for MacOSX and Windows to use prependEnvPath.
1476         Strip out the hard-coded block to add elements to the PATH for
1477         MacOSX and replace it with a call to prependEnvPath using the
1478         contents of LyXRC::path_prefix.
1479         (queryUserLyXDir): strip out the code to run reconfigure, instead
1480         returning a boolean indicating the necessity to do so.
1481         (reconfigureUserLyXDir): contains the code to reconfigure the
1482         user support directory. Is now called after the various LyXRC data
1483         files have been read.
1484
1485         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1486
1487 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1488
1489         * converter.[Ch] (convert): take a new parameter try_default. Use
1490         a default converter (imagemagick) if try_default is true.
1491
1492 2005-01-13  Angus Leeming  <leeming@lyx.org>
1493
1494         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1495         os::cygwin_path_fix.
1496         (write): output LyXRC::cygwin_path_fix as necessary.
1497
1498 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1499
1500         * lyxrc.h:
1501         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1502
1503 2005-01-12  Angus Leeming  <leeming@lyx.org>
1504
1505         * lyx_main.C (init): set the PATH variable to include the
1506         directory containing the LyX binary when running on Mac or Windows.
1507
1508 2005-01-12  Angus Leeming  <leeming@lyx.org>
1509
1510         * lyx_main.C (init): remove cruft that purports to set the locale
1511         dir. It doesn't and is not needed anyway.
1512
1513 2005-01-10  Angus Leeming  <leeming@lyx.org>
1514
1515         * Makefile.am: remove the lyx_main.C special casing.
1516
1517         * BufferView_pimpl.C:
1518         * bufferlist.C:
1519         * exporter.C:
1520         * lyx_cb.C:
1521         * lyx_main.C:
1522         * lyxfunc.C:
1523         * messages.C: use support/package.h to provide the paths to the
1524         various directories used by LyX.
1525
1526 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1527
1528         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1529         layout if pasting into an empty paragraph)
1530
1531 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1532
1533         * tex-accent.C: add <string>
1534
1535 2005-01-06  José Matos  <jamatos@lyx.org>
1536
1537         * ParagraphParameters.C (write): put every parameter in its own line.
1538         * paragraph.C (write): reduce number of consecutive empty lines exported.
1539         * buffer.C (LYX_FORMAT): increase file format to 239.
1540
1541 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1542
1543         * everywhere: change support/tostr.h -> support/convert.h
1544
1545         * tabular.C: make all write_attributes templates, tostr -> convert
1546
1547         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1548         (emptyTag): and -> &&, and fix type for ret from getChar
1549         (getFirstWord): fix type for ret from getChar
1550         (onlyText): and -> &&
1551         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1552         getChar
1553
1554         * toc.C (goTo, action):
1555         * text3.C (dispatch):
1556         * text.C (currentState):
1557         * tex-accent.C (DoAccent):
1558         * sgml.C:
1559         * lyxrc.C:
1560         * lyxfunc.C (menuNew):
1561         * lyxfinc.C (replace):
1562         * counters.C (laberItem):
1563         * bufferview_funcs.C (font2string):
1564         * bufferparams.C (writeFile):
1565         * buffer.C (readFile):
1566         * Spacing.C (set):
1567         * MenuBackend.C: tostr -> convert
1568
1569         * LaTeX.C (runMessage): fix format
1570         (scanAuxFiles): tostr -> convert
1571
1572         * BufferView_pimpl.C (savePosition): fix format
1573         (restorePosition): ditto
1574         (dispatch): ditto
1575
1576 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1577
1578         * Spacing.[Ch]: New method getValueAsString().
1579
1580         * Spacing.[Ch]:
1581         * bufferparams.C:
1582         * ParagraphParameters.C:
1583         * lyxlayout.C:
1584         * text.C:
1585         * text3.C: store/read spacing value as string.
1586
1587         * rowpainter.C: change float value (spacing_val) to double.
1588
1589         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1590         broken custom document spacing).
1591
1592 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1593
1594         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1595         namespace, also more use of temp references and const
1596
1597         * cursor.[Ch] (getStatus): move to lyxfunc.C
1598
1599         * bufferparams.C: reformat slightly
1600
1601         * bufferview_funcs.C (font2string): constify arg
1602
1603         * changes.C:
1604         * converter.C:
1605         * counters.C:
1606         * bufferlist.C:
1607         * buffer_funcs.C: (many funcs): constify arg on function
1608         definitions, also make more local vars const, also add ASSERTS on
1609         pointer args.
1610
1611         * buffer.C (LYX_FORMAT): put const in correct place
1612         (many funcs): constify arg on function definitions, also make
1613         more local vars const
1614
1615         * aspell_local.h: remove "struct" from typdef setup
1616
1617         * aspell.C (check): make word_ok const
1618         (nextMiss): simplify slightly
1619         (error): ditto
1620
1621 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1622
1623         * lyxrc.[Ch]: store all float values as strings.
1624         use int (not float) for lyxrc.dpi.
1625
1626 2005-01-04  Angus Leeming  <leeming@lyx.org>
1627
1628         * lyx_cb.C (Reconfigure):
1629         * lyx_main.C (queryUserLyXDir):
1630         to run the <system_lyxdir>/configure correctly on Windows, prefix
1631         the path to the script with "sh " when generating the string that
1632         is passed to system().
1633
1634 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1635
1636         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1637
1638 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1639
1640         * lyxlength.C (asLatexString): get rid of setprecision
1641
1642 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1643
1644         * text2.C (setLayout): remove unused variable endpit.
1645         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1646
1647         * paragraph.C (onlyText): remove unused variable style.
1648
1649         * cursor.C (bruteFind): remove unused variables beg and end.
1650
1651         * Makefile.am (dist_noinset_DATA): not needed anymore
1652
1653         * cheaders/*: remove.
1654
1655 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1656
1657         * text3.C: fix LFUN_MATH_MODE.
1658
1659 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1660
1661         * buffer_funcs.C (countWords): new function. Counts words between
1662         two iterators.
1663
1664         * BufferView_pimpl.C (getStatus, dispatch): handle
1665         LFUN_WORDS_COUNT.
1666
1667         * LyXAction.C (init):
1668         * lfuns.h: add LFUN_WORDS_COUNT.
1669
1670 2004-12-19  Angus Leeming  <leeming@lyx.org>
1671
1672         * buffer.C (save): s/slashify_path/internal_path/.
1673
1674 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1675
1676         * lyxfind.C (findChange): do not search for end of pars, because
1677         the change tracker cannot handle this (fixes bug 1719).
1678
1679 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1680
1681         * paragraph.[Ch] (autoBreakRows): remove
1682
1683         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1684
1685         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1686         avoid using the paragraph one
1687
1688         * text2.C (LyXText, insertStringAsLines): adjust
1689
1690 2004-12-16  Angus Leeming  <leeming@lyx.org>
1691
1692         * bufferlist.C:
1693         * lyx_main.C:
1694         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1695
1696 2004-12-14  Angus Leeming  <leeming@lyx.org>
1697
1698         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1699
1700         * bufferlist.C (emergencyWrite):
1701         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1702         GetEnvPath("HOME").
1703
1704 2004-12-14  Angus Leeming  <leeming@lyx.org>
1705
1706         * main.C: (main): no longer pass pointers to os::init.
1707
1708 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1709
1710         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1711         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1712
1713 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1714
1715         * lyxfunc.C:
1716         * text3.C: remove selection_possible global flag
1717
1718 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1719
1720         * text2.C (getSelectionSpan): remove
1721         (changeDepth, changeDepthAllowed): adjust
1722
1723 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1724
1725         * Makefile.am (BOOST_LIBS): use boost variables
1726
1727 2004-12-03  José Matos  <jamatos@lyx.org>
1728
1729         * buffer.C: format up to 238.
1730
1731 2004-12-03  José Matos  <jamatos@lyx.org>
1732
1733         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1734
1735 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1736
1737         * cursor.C (goUpDown): remove call to idxUpDown2
1738
1739 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1740
1741         * tabular.[Ch]: use size_t-like types for cell, row and column
1742         indices
1743
1744 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1745
1746         * lyxfunc.C (getStatus): do not lose previous information when
1747         calling BufferView::getStatus; do not set a default "Command
1748         disabled" message at the beginning, but just before returning.
1749
1750 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1751
1752         * cursor.h (getStatus): add better comment from src/cursor.C
1753
1754 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1755
1756         * text3.C (getStatus): return false when the lfun is not handled
1757
1758 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1759
1760         * broken_headers.h: remove
1761
1762         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1763
1764 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1765
1766         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1767         offset_ref accessors
1768
1769         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1770         top_y_, merge fitcursor with update
1771         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1772         coord scheme
1773         (metrics): introduce
1774         (workAreaDispatch): adapt to new coord scheme
1775         (redoCurrentBuffer): remove
1776
1777         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1778
1779         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1780         CurStatus enum.
1781
1782         * coordcache.[Ch]: add paragraph cache and helpers
1783
1784         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1785         adjust everywhere
1786
1787         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1788         (targetX, setTargetX): introduce
1789
1790         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1791         baseline -> ascent, as the rest of lyx
1792
1793         * lyxtext.h: remove redoParagraphs, updateParPositions,
1794         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1795         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1796         have ascent/descent (ascent is ascent of first par)
1797
1798         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1799         step of BufferView
1800
1801         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1802
1803         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1804
1805         * pariterator.C: fix infinite loop introduced in par->pit renaming
1806
1807         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1808         in insets and LyXText, draw two off-screen paragraphs using
1809         NullPainter, and adapt to new coord scheme
1810
1811         * text.C:
1812         * text2.C:
1813         * text3.C: adapt lfun handlers to the new coord scheme, which
1814         means: there's only guaranteed coord information for onscreen pars
1815         plus one above and one below. This implies that one can do search
1816         from y coordinates in the range [-1,workHeight]
1817
1818 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1819
1820         * rename a lot of InsetOld to InsetBase
1821
1822 2004-11-25  Angus Leeming  <leeming@lyx.org>
1823
1824         * BufferView_pimpl.C:
1825         * lyx_cb.C:
1826         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1827
1828 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1829
1830         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1831         call BufferView::getStatus if LCursor::getStatus did nothing
1832         (setStatusMessage, getStatusMessage): removed.
1833
1834         * FuncStatus.C (message): new methods. Used to provide an error
1835         message indicating why a command is disabled.
1836         (clear, |=, FuncStatus): update for message.
1837
1838 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1839
1840         * lyxfunc.C (dispatch): always call sendDispatchMessage
1841
1842 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1843
1844         * BufferView.C:
1845         * BufferView_pimpl.C:
1846         * CutAndPaste.C:
1847         * FontIterator.C:
1848         * buffer.C:
1849         * cursor.C:
1850         * cursor_slice.[Ch]:
1851         * dociterator.[Ch]:
1852         * lyxfind.C:
1853         * paragraph_funcs.C:
1854         * pariterator.C:
1855         * rowpainter.C:
1856         * text.C:
1857         * text2.C:
1858         * text3.C:
1859         * undo.C: par->pit renaming
1860
1861 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1862
1863         * tabular.C (cellstruct): use initialization, store a shared_ptr
1864         to insettext instead of the insettext directly, adjust to fit.
1865         (operator=):  new function
1866         (swap): new function
1867         (rowstruct): use initialization
1868         (columnstruct): use initialization
1869         (ltType): use initialization
1870
1871
1872         * lyxlength.h (swap): new function
1873
1874         * LColor.[Ch] (operator=): use the common semantics
1875
1876 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1877
1878         * lyxfind.C (findNextChange): update the bufferview after setting
1879         the selection.
1880
1881 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1882
1883         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1884         number of InsetOptArgs has already been inserted.
1885
1886         * output_latex.C (latexOptArgInsets): new method. This outputs all
1887         the optarg insets, up to the limit defined in the layout file.
1888         (optArgInset): removed
1889         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1890
1891 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1892
1893         * paragraph.C (isLetter): remove special spellchecker-related
1894         code; return true also for digits
1895         (isWord, isKomma): remove
1896
1897         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1898         * lyxfind.C (MatchString()): use isLetter instead of isWord
1899
1900 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1901
1902         * pariterator.h (operatir=): comment out un-implemented member
1903         function.
1904
1905         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1906         static cast.
1907
1908 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1909
1910         * lyxfont.h: include LColor.h to satisfy concept checks.
1911
1912 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1913
1914         * pariterator.h: add typdefs for value_type, difference_type,
1915         pointer and reference to satisfy concept checks. Also add default
1916         constructor for same reason.
1917
1918         * pariterator.C (operator++): add post-increment operator to
1919         satisfy concept checks.
1920
1921         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1922         checks.
1923
1924         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1925
1926         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1927         checks. Also rename base_type to BaseType to follow naming
1928         standard better.
1929
1930         * FloatList.h: include Floating.h to satisfy concept checks.
1931
1932 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1933
1934         * lyxfunc.C (getStatus): when the origin of the request is menu or
1935         toolbar, and the LyXView does not have focus, do as if there was
1936         no buffer (bug 1720)
1937
1938         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1939         FuncRequest to individual entries of LFUN_SEQUENCE
1940
1941 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1942
1943         * output_latex.C (TeXOnePar): override runparams.moving_arg
1944         according to the needprotect value of the current paragraph (bug
1945         1739)
1946
1947         * paragraph.C (simpleTeXOnePar): no need to override
1948         runparams.moving_args here
1949
1950 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1951
1952         * vspace.C: fix off-by-one-error, related to fix #1682
1953
1954 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1955
1956         * lengthcommon.C: a more general fix for bug 1682
1957
1958 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1959
1960         * text.C (backspace): fix crash
1961
1962 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1963
1964         * format.[Ch] (getFormatFromFile): new method
1965         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1966
1967 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1968
1969         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1970
1971 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1972
1973         * lyxfunc.C (dispatch): remove the verbose argument
1974         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1975         instead
1976
1977         * kbmap.C (defkey): set the origin of func to KEYBOARD
1978
1979         * MenuBackend.C (MenuItem):
1980         * ToolbarBackend.C (add): set the origin of func to UI
1981
1982         * funcrequest.[Ch]: add origin member, which indicates which part
1983         of LyX requests an action
1984
1985 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1986
1987         * converter.C (move): don't lie in the error message
1988         * converter.h (isReachable, move): document
1989
1990 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1991
1992         * buffer.C: remove unused using lyx::support::atoi
1993         * paragraph_funcs.C: ditto
1994
1995 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1996
1997         * bufferlist.C (exists): use bind and equal_to instead of
1998         compare_memfun
1999         (getBuffer): ditto
2000         * lyxtextclasslist.C (NumberOfClass): ditto
2001
2002         * cursor.C (insert): use for_each instead of explicit for loop
2003
2004         * bufferlist.C (getFileNames): use std::transform and
2005         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2006
2007         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2008         for loop
2009
2010         * buffer.C (changeLanguage): use for_each instead of explicit for
2011         loop
2012         (hasParWithID): implement using getParFromID
2013
2014         * LaTeXFeatures.C: ws change only
2015
2016         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2017         to cleanup a bit.
2018
2019         * BufferView_pimpl.C (trackChanges): use for_each instead of
2020         expilicit for loop
2021
2022 2004-11-04  André Pönitz  <poenitz@gmx.net>
2023
2024         * undo.h:
2025         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2026
2027         * dociterator.C (asDocIterator): use hard assert again.
2028
2029 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2030
2031         * lyxlength.C (asLatexString): rewrite so that it does not use
2032         snprintf anymore
2033
2034 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2035
2036         * text3.C (specialChar, dispatch): make sure cursor moves to the
2037         right after inserting an inset
2038
2039 2004-11-02  José Matos  <jamatos@lyx.org>
2040
2041         * output_docbook.C (docbook):
2042         * paragraph.C (getID):
2043         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2044         garantee that the output is always legal.
2045
2046         * tabular.C (docbook):
2047         * outputprams.[Ch]: remove mixed contents.
2048
2049 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2050
2051         * text2.C (setCounter): prevent endless loop
2052
2053 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2054
2055         * exporter.C (copyFile): use the mover instead of support::copy()
2056         * exporter.C (Export): pass format and latex name to copyFile()
2057         * exporter.h (addExternalFile): document
2058         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2059
2060 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2061
2062         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2063
2064 2004-10-30  José Matos  <jamatos@lyx.org>
2065
2066         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2067         text and no inset or font change. This allows to use CDATA
2068         sections just for the whole paragraph.
2069
2070 2004-10-30  José Matos  <jamatos@lyx.org>
2071
2072         * paragraph.C (getFirstWord): remove unused variable.
2073
2074 2004-10-30  José Matos  <jamatos@lyx.org>
2075
2076         * paragraph.C (getFirstWord): the content should always be escaped
2077         there.
2078         (simpleDocBookOnePar):
2079         * output_docbook.C (makeEnvironment): replace reference to CDATA
2080         to style pass_thru.
2081
2082 2004-10-30  José Matos  <jamatos@lyx.org>
2083
2084         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2085
2086 2004-10-30  José Matos  <jamatos@lyx.org>
2087
2088         * output_docbook.C (makeParagraphs):
2089         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2090         standard paragraph has only a given type of content drop the wrapper.
2091
2092 2004-10-29  José Matos  <jamatos@lyx.org>
2093
2094         * output_docbook.C (makeEnvironment):
2095         * sgml.C (openTag):
2096         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2097
2098 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2099
2100         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2101         (cleanID): sanitize any id.
2102
2103 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2104
2105         * buffer.C, lyxlex_pimpl.C:
2106         * lyxlex_pimpl.C (setFile):
2107         s/getExtFromContents/getFormatFromContents/
2108
2109 2004-10-28  José Matos  <jamatos@lyx.org>
2110
2111         * output_docbook.C (makeEnvironment): move id to broadest possible
2112         scope.
2113
2114         * sgml.C (openTag): apply substitution of <> for all attributes.
2115
2116 2004-10-28  José Matos  <jamatos@lyx.org>
2117
2118         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2119         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2120         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2121
2122         * sgml.[Ch]: new version for open and closeTag for paragraph and
2123         for strings. Now they handle the ids of paragraphs.
2124
2125 2004-10-26  Angus Leeming  <leeming@lyx.org>
2126
2127         * Makefile.am: add mover.[Ch].
2128
2129         * converter.C (convert, move): use the new Movers to move external
2130         files to the temp directory.
2131
2132         * lyx_main.C (init): ensure that the global system_movers data
2133         is initialised.
2134
2135         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2136         preferences file.
2137
2138         * mover.[Ch]: new files, defining a Mover as a utility to move an
2139         external file between directories and, if necessary, manipulate this
2140         file using a helper script.
2141
2142 2004-10-25  José Matos  <jamatos@lyx.org>
2143
2144         * output_docbook.C (makeCommand): merge two if's that tested the
2145         same condition.
2146
2147 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2148
2149         * sgml.C (escapeString): fix warning in a better way
2150
2151 2004-10-25  José Matos  <jamatos@lyx.org>
2152
2153         * sgml.C (escapeString): import the require boosts header file for
2154         tie, and avoid a signed unsigned comparison.
2155
2156 2004-10-25  José Matos  <jamatos@lyx.org>
2157
2158         * sgml.h: add #include <string>
2159
2160 2004-10-25  José Matos  <jamatos@lyx.org>
2161
2162         * sgml.[Ch] (escapeString): new function to escape all the string.
2163
2164 2004-10-24  José Matos  <jamatos@lyx.org>
2165
2166         * paragraph.[Ch] (getFirstWord): new function to get the first
2167         word. Useful for description.
2168         (simpleDocBookOnePar): remove depth argument, add another that
2169         says where to start the paragraph.
2170
2171         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2172         use the new functions to fix cleanly the support for descriptions.
2173
2174 2004-10-24  José Matos  <jamatos@lyx.org>
2175
2176         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2177         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2178         * output_linuxdoc.C (linuxdocParagraphs):
2179         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2180         add buffer as argument.
2181
2182 2004-10-24  José Matos  <jamatos@lyx.org>
2183
2184         * output_docbook.C (makeEnvironment, searchEnvironment): place
2185         CDATA inside paragraphs and fix scope for listitems.
2186
2187 2004-10-24  José Matos  <jamatos@lyx.org>
2188
2189         * output_docbook.C: remove using statement for stack.
2190
2191 2004-10-23  José Matos  <jamatos@lyx.org>
2192
2193         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2194         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2195         docbook. The new scheme is recursive and makes use of iterators, the
2196         same as latex export works.
2197         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2198         directly with the paragraph contents. This code was moved up to
2199         output_docbook.C (docbookParagraphs).
2200         * sgml.C (openTag, closeTag): removed unneeded newlines.
2201         (closeEnvTags) removed.
2202
2203 2004-10-23  André Pönitz  <poenitz@gmx.net>
2204
2205         * undo.C (textUndoOrRedo):
2206         * dociterator.C (asDocIterator): work around crash
2207
2208         * cursor.C (getStatus): replace ASSERT by more verbose error message
2209           and manual correction of the problem. Should increase stability
2210           while providing more sensible information.
2211
2212 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2213
2214         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2215
2216         * bufferlist.C (previous, next): new methods
2217
2218         * lfuns.h:
2219         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2220
2221 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2222
2223         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2224         entities to preamble.
2225
2226 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2227
2228         * messages.C (Pimpl): strip off translation context information
2229
2230 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2231
2232         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2233         the cursor is correct (bug 1694)
2234
2235 2004-10-13  José Matos  <jamatos@lyx.org>
2236
2237         * output_docbook.C (docbookParagraphs): fix closing tags in the
2238         end of the document.
2239
2240 2004-10-09  José Matos  <jamatos@lyx.org>
2241
2242         * buffer.C: format up to 237.
2243         * bufferparams.C (write): use tostr to convert booleans to strings.
2244
2245 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2246
2247         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2248
2249 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2250
2251         * LaTeX.C: implement use of babel language in xindy.
2252
2253 2004-10-05  José Matos  <jamatos@lyx.org>
2254
2255         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2256         Add new translators to help reading and writing the lyx file.
2257
2258 2004-10-05  José Matos  <jamatos@lyx.org>
2259
2260         * ParagraphParameters.C (read):
2261         * text.C (readParToken): replace nexToken by more appropriate lex
2262         methods.
2263
2264 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2265
2266         * LaTeX.C (runMakeIndex):
2267         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2268         (usually 'makeindex') configurable.
2269
2270         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2271         with a variable rather than with a number.
2272
2273 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2274
2275         * output_latex.C (TeXOnePar): make sure font setting is the first
2276         thing that gets output (and the last at the end). Should fix bug
2277         1404.
2278
2279 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2280
2281         * pch.h: use proper signal include
2282
2283         * LaTeX.h: Use preferred calling of Boost.Signal
2284         * buffer.h: ditto
2285
2286 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2287
2288         * pch.h: dont include <boost/function/function0.hpp>
2289
2290         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2291
2292         * paragraph_pimpl.h: remove usage of ShareContainer
2293
2294         * paragraph_pimpl.C: remove initialization of ShareContainer.
2295
2296 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2297
2298         Fix bug #1666
2299
2300         * BufferView.C (putSelectionAt): change the semantics when
2301         backwards == true: now, this just swaps cursor and anchor wrt the
2302         forward case
2303
2304         * BufferView.h (putSelectionAt): add some documentation
2305
2306         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2307         make sure backwardChar is done at least once (to avoid getting
2308         stuck)
2309         (findNextChange): use putSelectionAt in the forward direction
2310         (operator()): use Paragraph::isWord
2311
2312 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2313
2314         * Spacing.C (set): c_str fix
2315
2316 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2317
2318         * lyx_cb.C (Reconfigure): quote the name of configure script in
2319         case it contains spaces
2320
2321 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2322
2323         * client: new dir
2324
2325         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2326         (BOOST_LIBS): use top_buildir when looking for the file
2327
2328 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2329
2330         * pch.h: do not use include boost/format.hpp, multiple symbols
2331                 will result (gcc bug)
2332
2333
2334 2004-08-23  José Matos  <jamatos@lyx.org>
2335
2336         * bufferparams.C (readToken): fix reading of the author field.
2337
2338 2004-08-20  José Matos  <jamatos@lyx.org>
2339
2340         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2341
2342 2004-08-20  José Matos  <jamatos@lyx.org>
2343
2344         * lyxlex.[Ch] (findToken): remove function.
2345
2346         * ParagraphParameters.C (findToken):
2347         * bufferparams.C (findToken): replace call for previous function
2348         with local copy. This local function has one more argument, the
2349         read string argument.
2350
2351 2004-08-16  José Matos  <jamatos@lyx.org>
2352
2353         * ParagraphParameters.C (write):
2354         * Spacing.C (writeFile):
2355         * bufferparams.C (writeLaTeX):
2356         * lyx_cb.C (Reconfigure):
2357         * paragraph.C (write):
2358         * tabular.C (write): remove unnecessary space at end of line.
2359
2360
2361 2004-08-16  José Matos  <jamatos@lyx.org>
2362
2363         * text.C (readParagraph): remove debug message.
2364
2365 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2366
2367         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2368         crash
2369
2370         * output_plaintext.C (asciiParagraph): set depth correctly
2371
2372         * outputparams.h: add member depth
2373
2374         * paragraph_funcs.C (ownerPar): remove.
2375
2376         * text2.C (setCounter): remove first_pit; comment out some
2377         non-working code that uses ownerPar
2378
2379         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2380         uses ownerPar
2381
2382 2004-08-16  José Matos  <jamatos@lyx.org>
2383
2384         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2385         For the same level of importance use the same chanel to report problems.
2386         (read): add code to deal with \begin_body and \end_body.
2387
2388
2389 2004-08-15  José Matos  <jamatos@lyx.org>
2390
2391         * lyxlex.C (getString): fix comment, buffer::readBody is now
2392         buffer:readDocument.
2393
2394         * tex-strings.C (string_papersize): Default -> default,
2395         Custom -> custom, for consistency with other options.
2396
2397 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2398
2399         * pch.h: new file
2400
2401         * Makefile.am: support pch
2402
2403 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2404
2405         * text.C (readParToken): remove the static LyXFont variable and
2406         pass it as a parameter instead. This fixes a nasty bug where an
2407         inset will be inserted with a bad font in some situations
2408         (readParagraph): adapt
2409
2410         * text2.C (setCounter): reduce number of calls to pars_[pit]
2411
2412         * text.C (singleWidth): add an assert, fix a test
2413
2414         * rowpainter.C (paintText): reduce number of calls to singleWidth
2415
2416         * paragraph.C (isHfill):
2417         (isNewline): ws only
2418
2419 2004-08-14  André Pönitz  <poenitz@gmx.net>
2420
2421         * text.C:
2422         * text2.C:
2423         * rowpainter.C:
2424         * lyxtext.h (several functions): use a Paragraph & argument
2425         instead of par_type
2426
2427 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2428
2429         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2430
2431         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2432
2433         * text.C (singleWidth): remove useless test
2434
2435 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2436
2437         * tabular.h: remove bogus comments
2438
2439         * tabular.C (getDescentOfRow):
2440         (isPartOfMultiColumn): add assertions
2441
2442         * lyxlength.C (inPixels): remove #warning
2443
2444 2004-08-14  André Pönitz  <poenitz@gmx.net>
2445
2446         * paragraph.h: inline getChar()
2447
2448         * BufferView.h: remove unused declarations
2449
2450 2004-08-14  José Matos  <jamatos@lyx.org>
2451
2452         * Buffer.[Ch] (readDocument): new name for old readBody.
2453         * Buffer.C: new file format, new keywords: \begin_document,
2454         \begin_header, \begin_body, \end_body.
2455
2456         * bufferparams.C (readToken): replace all calls to lex.nextToken
2457         by lex.next(). Do the same to eatLine except where really needed.
2458
2459         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2460         line when writing to the lyx file.
2461
2462         * output_plaintext.C (asciiParagraph): fix Bibliography style
2463         handling.
2464
2465         * text.C (read): fix end of file handling.
2466
2467 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2468
2469         * MenuBackend.C (Menu::operator[]): new method to access
2470         individual menu items
2471         (Menu::hasFunc): new method. search for an item that corresponds
2472         to a given func
2473         (MenuBackend::specialMenu): new method
2474         (MenuBackend::expand): if a special menu has been set, skip
2475         entries whose func() appears in this menu
2476
2477 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2478
2479         * text3.C: use Debug::DEBUG a bit more
2480
2481         * text.C (leftMargin): try to simplify a tiny bit change var x to
2482         l_margin. Dont output the wide margins always.
2483         (rightMargin): no margin in inner texts
2484
2485         * rowpainter.h (nestMargin): new func
2486         (changebarMargin): new func
2487         (rightMargin): new func
2488
2489         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2490         now functions.
2491         (paintLast): ditto
2492
2493         * factory.C (createInset): modify setDrawFrame
2494
2495         * cursor.C: use Debug::DEBUG a bit more
2496
2497 2004-08-14  André Pönitz  <poenitz@gmx.net>
2498
2499         * coordcache.[Ch]:
2500         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2501         cache for all insets in (at least partially) visible (top-level)
2502         paragraphs.
2503
2504         * BufferView_pimpl.C: reset external coord cache before every update.
2505         This means the coord cache only contains valid entries.
2506
2507 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2508
2509         bug 1096
2510         * BufferView_pimpl.C (getInsetByCode): move function out of class
2511         and change in to a template in anon namespace. Also fix to do what
2512         suits us better.
2513
2514 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2515
2516         bug 1305
2517         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2518         of char
2519         (breakParagraph): rename par to par_offset and use a local
2520         reference. Add code to keep the language over a rebreak.
2521         (breakParagraphConservative): rename par to par_offset, use a
2522         local reference
2523         (mergeParagraph): ditto
2524         (outerHook): ditto
2525         (isFirstInSequence): ditto
2526         (outerFont): rename pit to par_offset
2527
2528         * paragraph.C: ws change
2529         * paragraph.h: ditto
2530         * text3.C: ditto
2531         * text.C: ditto
2532
2533 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2534
2535         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2536         treatment for ']'
2537
2538         * paragraph.C (simpleTeXOnePar): when we have a \item with
2539         optional argument, enclose the argument with curly brackets (in
2540         case it contains a closing square bracket)
2541
2542         * text2.C (editXY):
2543         * text2.C (editXY):
2544         * text3.C (checkInsetHit): constify
2545
2546 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2547
2548         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2549         documents (bug 1629)
2550
2551 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2552
2553         Fix toggling of collapsable insets with the mouse (bug 1558)
2554
2555         * lyxfunc.C (dispatch): adapt to LCursor changes
2556
2557         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2558         make sure that dispatch is not invoked twice
2559
2560         * cursor.C (needsUpdate): new method
2561         (dispatch): return void
2562         (result): new method, to access the DispatchResult of the cursor.
2563
2564 2004-08-13  José Matos  <jamatos@lyx.org>
2565
2566         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2567
2568 2004-08-13  André Pönitz  <poenitz@gmx.net>
2569
2570         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2571
2572         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2573           multiple cells
2574
2575 2004-08-12  André Pönitz  <poenitz@gmx.net>
2576
2577         * text3.C: take out the 'cursor right' form insertInset and only
2578         do it in those places when it is really needed. Fixes crash on
2579         C-m...
2580
2581 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2582
2583         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2584
2585         * BufferView_pimpl.C (setBuffer): initialize the current font of
2586         the underlying LyXText
2587
2588 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2589
2590         * kbsequence.C (print): use UI native formatting for menu
2591         shortcuts
2592
2593         * text.C (insertChar): call Paragraph::insertChar with a font
2594         argument (cosmetic)
2595
2596         * paragraph.C (insertInset, insertChar): the version that takes a
2597         LyXFont argument is now a wrapper around the other one (the
2598         opposite used to be true).
2599
2600         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2601         argument. Font setting is done in Paragraph now.
2602
2603 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2604
2605         * outputparams.h: add new members intitle and lang.
2606
2607         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2608         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2609
2610 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2611
2612         * text3.C (dispatch): remove special handling of button 4 and 5,
2613         it is now taken care of in the frontend code.
2614
2615 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2616
2617         * Spacing.h: add <string> (STLPort compile fix)
2618
2619 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2620
2621         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2622
2623 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2624
2625         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2626         to bool.
2627
2628         * converter.C (showMessage): inherit from unary_function, make
2629         operator() const.
2630
2631         * buffer.C (writeFile): initialize retval
2632
2633         * InsetList.h: rename private variable list to list_
2634         * InsetList.[Ch]: adjust accordingly.
2635
2636 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2637
2638         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2639         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2640         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2641         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2642         * ParagraphParameters.C, LaTeXFeatures.C: replace
2643         "support/std_sstream.h" with <sstream>
2644
2645 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2646
2647         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2648         * lyxsocket.C (LyXServerSocket): ditto
2649         (serverCallback): ditto
2650
2651 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2652
2653         * LaTeXFeatures.C: check release date when loading jurabib.
2654
2655 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2656
2657         * lyxserver.C (startPipe): call register_socket_callback
2658         (endPipe): call unregister_socket_callback
2659
2660 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2661
2662         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2663         (LyXServerSocket): register the callback
2664         (LyXServerSocket): unregister the callback
2665         (fd): delete function
2666         (serverCallback): improve error checking and setup the callbacks.
2667         (dataCallback): change arg to fd.
2668         (writeln): new func (copied fro the client socket) used for server
2669         write to client.
2670         (LyXDataSocket): simplify
2671         (~LyXDataSocket): close ann unregiser callback
2672         (server): delete function
2673         (fd): delete function
2674         (readln): small changes, improve some std::string usage
2675         (writeln): constify a bit
2676
2677 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2678
2679         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2680         Qt frontend
2681
2682 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2683
2684         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2685         after it has been populated
2686
2687 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2688
2689         * text2.C (insertInset): move cursor when inserting inset.
2690
2691 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2692
2693         * kbmap.C (findbindings): a couple of new methods. returns a
2694         container of kb_sequence objects. The real work is done by the
2695         private recursive version
2696         (printbindings): uses findbindings to print out a bracketed list
2697         of bindings (renamed from findbinding).
2698
2699         * MenuBackend.C (binding): use kb_keymap::findbindings
2700
2701         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2702
2703 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2704
2705         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2706
2707 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2708
2709         * paragraph.C (isWord): return true on insets that report
2710         isLetter().
2711
2712         * text.C (getWord): use Paragraph::isWord to decide what is in a
2713         word and what is not; fix bug 1609.
2714
2715 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2716
2717         * tex-strings.C: add "none" to string_paperpackages[], fixes
2718         off-by-one-error in the paperpackage selection.
2719
2720         * lyxlex.[Ch]:
2721         * tex-strings.[Ch]: char const * string[n]
2722         -> char const * const string[]
2723
2724 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2725
2726         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2727         command, return early.
2728
2729 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2730
2731         * debug.h: add DEBUG to enum and fix size of ANY.
2732
2733         * debug.C: add support for Debug::DEBUG
2734         (showTags): cast errorTags.level to unsigned int
2735
2736         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2737         (redoCurrentBuffer): ditto
2738         (updateScrollbar): ditto
2739         * cursor.C (dispatch): ditto
2740         * text2.C (setLayout): ditto
2741         (setFont): ditto
2742         (updateCounters): ditto
2743         (editXY): ditto
2744         (deleteEmptyParagraphMechanism): ditto
2745
2746 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2747
2748         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2749         annotations to cleanup the Makefile slightly.
2750
2751 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2752
2753         * lyxrc.C: do not set user_email to a default value but use empty
2754         instead. The entry used to be translated, which does not work
2755         since at the point where lyxrc is constructed there is no
2756         translation service available
2757
2758         * messages.C (getLocaleDir): remove and use directly
2759         lyx_localedir() instead
2760
2761 2004-06-02  Angus Leeming  <leeming@lyx.org>
2762
2763         Fix crash caused by dereferencing null pointer 'exportdata' in
2764         OutputParams by creating a new ExportData variable on the heap,
2765         storing it in a boost::shared_ptr.
2766         The crash was triggered when generating an Instant Preview
2767         of an external inset.
2768
2769         * Makefile.am: add outputparams.C
2770
2771         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2772         (c-tor): allocate memory to it.
2773
2774         * exporter.C (c-tor): associated changes.
2775
2776 2004-06-01  Angus Leeming  <leeming@lyx.org>
2777
2778         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2779         contains data before calling isInset(0). (Bug 1513.)
2780
2781 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2782
2783         * exporter.C (checkOverwrite): new method
2784         * exporter.C (copyFile): new method
2785         * exporter.C (Export): copy referenced files to the document dir
2786         * exporter.[Ch]: new class ExportedFile
2787         * exporter.[Ch]: new class ExportData. Contains currently the
2788         names of referenced external files
2789         * outputparams.h: add exportdata member.
2790
2791 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2792
2793         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2794         version.C-tmp
2795
2796 2004-05-19  Angus Leeming  <leeming@lyx.org>
2797
2798         * LaTeXFeatures.C:
2799         * ToolbarBackend.C:
2800         * bufferparams.C:
2801         * lyxfunc.C: small changes due to the introduction of namespace
2802         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2803
2804 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2805
2806         * text3.C (dispatch): supress update when only moving the cursor
2807         * cursor.C (selHandle): remove commented code
2808
2809 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2810
2811         * paragraph.C (startTeXParParams): correct column count
2812         * CutAndPaste.C (pasteSelection): remove const_cast
2813         * output_docbook.C (docbookParagraphs): remove const_cast
2814         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2815         const_cast and return ParagraphList::const_iterator
2816         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2817         * output_plaintext.C (writeFileAscii): remove const_cast
2818         * paragraph.[Ch] (simpleTeXOnePar): make const
2819         * paragraph_funcs.C (outerPar): use const iterators
2820         * paragraph_pimpl.C (validate): use const iterators
2821         * text.C (setHeightOfRow): use const iterators
2822
2823 2004-05-17  Angus Leeming  <leeming@lyx.org>
2824
2825         * lfuns.h:
2826         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2827
2828         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2829         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2830         if the citation engine has changed.
2831
2832 2004-05-14  José Matos  <jamatos@lyx.org>
2833
2834         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2835         if the textclass does not provide it. Have it different for sgml and
2836         xml.
2837         support the language of document.
2838         * output_docbook.C (docbookParagraphs):
2839         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2840         first anchor as the id of the paragraph, remove special case code.
2841         * sgml.C (escapeChar): escape only < & >.
2842
2843 2004-05-14  Angus Leeming  <leeming@lyx.org>
2844
2845         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2846         dependencies on src/frontends/controllers/biblio.h. Define a
2847         CiteEngine_enum wrapper class to enable the enum to be forward
2848         declared.
2849
2850 2004-05-12  Angus Leeming  <leeming@lyx.org>
2851
2852         * buffer.C: up LYX_FORMAT to 234.
2853         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2854         use_numerical_citations with a single biblio::CiteEngine cite_engine
2855         variable.
2856         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2857
2858 2004-05-13  José Matos  <jamatos@lyx.org>
2859
2860         * converter.h:
2861         * converter.C (Converter, readFlags): add xml member.
2862         * outputparams.h: add XML flavor.
2863         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2864
2865 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2866
2867         * lyxfunc.C (dispatch):
2868         (getStatus): fix handling of LFUN_SEQUENCE
2869
2870 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2871
2872         * debug.C (showLevel): do not forget the end-of-line marker
2873
2874 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2875
2876         * kbmap.C (read): do not stop parsing a bind file when an error
2877         occurs (bug 1575)
2878
2879 2004-04-29  Angus Leeming  <leeming@lyx.org>
2880
2881         * cursor.C:
2882         * factory.C:
2883         * pariterator.C:
2884         * text2.C: wrap a bunch of #warning statements
2885         inside #ifdef WITH_WARNINGS blocks.
2886
2887 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2888
2889         * buffer.C: increment format to 233.
2890
2891 2004-04-28  Angus Leeming  <leeming@lyx.org>
2892
2893         * BufferView_pimpl.C:
2894         * lyxfunc.C:
2895         * text3.C:
2896         s/updateToolbar()/updateToolbars()/
2897         s/Toolbar.h/Toolbars.h/
2898
2899 2004-04-28  Angus Leeming  <leeming@lyx.org>
2900
2901         * BufferView.[Ch] (c-tor):
2902         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2903         No longer passes these data to the WorkArea generator.
2904
2905 2004-04-28  Angus Leeming  <leeming@lyx.org>
2906
2907         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2908
2909 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2910
2911         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2912
2913 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2914
2915         * output_latex.C (TeXEnvironment): make sure that there is a line
2916         break before \end{foo} for the last paragraph of a document
2917         (TeXOnePar): if the paragraph is at the end of the document (or
2918         inset) and the language has to be reset, then make sure that the
2919         line break is _before_ the language command, not after (fixes bug
2920         1225); also make sure that the language reset command is the first
2921         thing after the paragraph (to ensure proper nesting of
2922         environments and thus fix bug 1404)
2923
2924 2004-04-21  John Levon  <levon@movementarian.org>
2925
2926         * ToolbarBackend.h:
2927         * ToolbarBackend.C: make "name" be a programmatic name
2928         and a gui_name field.
2929
2930         * lyxfunc.C: display the minibuffer on M-x
2931
2932 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2933
2934         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2935         (bug 1526)
2936
2937 2004-04-19  Angus Leeming  <leeming@lyx.org>
2938
2939         * BufferView_pimpl.C (setBuffer): changed preview interface.
2940
2941         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2942         possible values.
2943
2944 2004-04-19  John Levon  <levon@movementarian.org>
2945
2946         * BufferView_pimpl.C:
2947         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2948
2949 2004-04-05  Angus Leeming  <leeming@lyx.org>
2950
2951         * text.C (redoParagraphs): add call to updateCounters(), thereby
2952         fixing the missing "Figure #:" label from the caption of a
2953         figure float.
2954
2955 2004-04-13  Angus Leeming  <leeming@lyx.org>
2956
2957         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2958         cursor is clicked out of an inset.
2959
2960 2004-04-13  Angus Leeming  <leeming@lyx.org>
2961
2962         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2963         than an InsetOld one.
2964
2965 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2966
2967         * format.[Ch]: add editor to Format
2968         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2969         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2970
2971 2004-04-08  André Pönitz  <poenitz@gmx.net>
2972
2973         * metricsinfo.h: remove PainterInfo::width member
2974
2975 2004-04-08  Angus Leeming  <leeming@lyx.org>
2976
2977         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2978         "\providecommand" rather than "\newcommand", thereby preventing
2979         clashes with packages that define "\boldsymbol" themselves.
2980         Eg, beamer.
2981
2982 2004-04-08  Angus Leeming  <leeming@lyx.org>
2983
2984         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2985         thereby squashing an unnecessary warning.
2986
2987 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2988
2989         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2990         setBuffer()
2991
2992 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2993
2994         * BufferView.C (setCursor): call redoParagraph (some insets could
2995         have been opened)
2996         (putSelectionAt): remove the 'double update' trick
2997
2998         * BufferView_pimpl.C (fitCursor): call refreshPar
2999         (workAreaDispatch): remove an uneeded update call
3000         (dispatch): remove some manual update calls
3001
3002         * cursor.[Ch]: remove cached_y_, updatePos
3003         (selHandle): set noUpdate when appropriate
3004
3005         * lyxfunc.C (dispatch): track if we need an update
3006
3007         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3008
3009         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3010         (paintSelection): cheap optimization, do not call cursorX when not
3011         needed
3012         (paintPars): change signature
3013         (refreshPar): add
3014         (paintText): adjust
3015         (paintTextInset): adjust
3016
3017         * text.C: adjust
3018
3019 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3020
3021         * lengthcommon.C: compilation fix: remove explicit array size from
3022         unit_name[] and friends
3023
3024 2004-04-05  Angus Leeming  <leeming@lyx.org>
3025
3026         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3027
3028         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3029         present only for the preferences dialog.
3030         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3031
3032 2004-04-05  Angus Leeming  <leeming@lyx.org>
3033
3034         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3035         to enable the frontends to export changes to lyxrc correctly.
3036
3037         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3038
3039 2004-04-07  André Pönitz  <poenitz@gmx.net>
3040
3041         * cursor.[Ch] (selClear, adjust): remove math
3042
3043         * cursor_slice.C: more agressive assert
3044
3045         * lyxfunc.C:
3046         * BufferView_pimpl.C: rework mouse event dispatch
3047
3048         * dociterator.C:
3049         * paragraph.C:
3050         * text2.C:
3051         * text3.C: adjust
3052
3053 2004-04-05  André Pönitz  <poenitz@gmx.net>
3054
3055         * cursor.[Ch] (valign, halign...): remove unneeded functions
3056
3057 2004-04-05  Angus Leeming  <leeming@lyx.org>
3058
3059         * lyxlength.[Ch] (unit_name et al.): const-correct.
3060
3061 2004-04-05  Angus Leeming  <leeming@lyx.org>
3062
3063         * BufferView_pimpl.C:
3064         * buffer.C:
3065         * counters.C:
3066         * cursor.C:
3067         * lyxfunc.C
3068         * paragraph.C:
3069         * pariterator.C:
3070         * text.C:
3071         * text2.C:
3072         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3073
3074 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3075
3076         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3077
3078 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3079
3080         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3081         * BufferView_pimpl.[Ch] (getStatus)
3082         * BufferView.[Ch] (getStatus): add
3083         * lyxfunc.C (getStatus): move lfuns handled in
3084         BufferView::dispatch to te function above
3085         * Cursor.C (setSelection): set selection() = true
3086
3087 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3088
3089         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3090
3091 2004-03-31  Angus Leeming  <leeming@lyx.org>
3092
3093         * lyxfunc.C (dispatch): Fall through to the generic
3094         Dialogs::show("preamble").
3095
3096 2004-03-31  Angus Leeming  <leeming@lyx.org>
3097
3098         * lyxfunc.C (dispatch): Fall through to the generic
3099         Dialogs::show("spellchecker").
3100
3101 2004-03-31  Angus Leeming  <leeming@lyx.org>
3102
3103         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3104         preferences dialog.
3105
3106 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3107
3108         * BufferView.C
3109         * cursor.[Ch]
3110         * dociterator.[Ch]:
3111         * insetiterator.[Ch]:
3112         * lyxfind.C:
3113         * lyxfunc.C:
3114         * pariterator.[Ch]:
3115         * text2.C:
3116         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3117
3118 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3119
3120         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3121         insets where we are putting the cursor.
3122
3123 2004-03-31  Angus Leeming  <leeming@lyx.org>
3124
3125         * lfuns.h:
3126         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3127
3128         * lyxrc.[Ch] (read, write): overloaded member functions taking
3129         a std::[io]stream arguments.
3130
3131         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3132
3133 2004-03-31  Angus Leeming  <leeming@lyx.org>
3134
3135         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3136         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3137
3138         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3139         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3140
3141 2004-03-31  Angus Leeming  <leeming@lyx.org>
3142
3143         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3144         the LFUN_ALL_INSETS_TOGGLE code.
3145
3146 2004-03-30  Angus Leeming  <leeming@lyx.org>
3147
3148         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3149         has died. Fall through to the generic Dialogs::show("document").
3150
3151 2004-03-30  Angus Leeming  <leeming@lyx.org>
3152
3153         * lfuns.h:
3154         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3155         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3156
3157         * lyxfunc.C (getStatus, dispatch): define the actions for these
3158         lfuns. Little more than a cut and pste job from ControlDocument.C
3159
3160         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3161
3162 2004-03-30  Angus Leeming  <leeming@lyx.org>
3163
3164         * lfuns.h:
3165         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3166         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3167
3168         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3169         open/closed state of ollapsable insets. Usage:
3170
3171         all-inset-toggle <state> <name>, where
3172         <state> == "open" || "closed" || "toggle" and
3173         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3174
3175         * lyxtext.h, text2.C (toggleInset): removed.
3176
3177         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3178         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3179         now passes LFUN_INSET_TOGGLE to the found inset.
3180
3181         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3182         is now invoked as "all-insets-toggle toggle branch".
3183
3184 2004-03-30  Angus Leeming  <leeming@lyx.org>
3185
3186         * dociterator.C:
3187         * insetiterator.C:
3188         * pariterator.[Ch]: added/corrected header blurb.
3189
3190 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3191
3192         * dociterator.[Ch]: add an inset_ member
3193         (backwardPos): implemented
3194         (backwardPos, forwardPos): use inset_ when the stack is empty.
3195         (doc_iterator_begin, doc_iterator_end): implemented
3196         * pariterator.[Ch]: adjust, add begin, end
3197         * insetiterator.[Ch]: adjust, add begin, end
3198         * cursor.C:
3199         * document.C:
3200         * BufferView.C:
3201         * BufferView_pimpl.C:
3202         * CutAndPaste.C: adjust
3203
3204 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3205
3206         * buffer.C: increment file format to 232.
3207         * LaTeXFeatures.C: add bibtopic package.
3208         * bufferparams.[Ch]: param \use_bibtopic.
3209
3210         * lyxrc.[Ch]: add lyxrc bibtex_command
3211         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3212
3213         * buffer.C: increment file format to 231.
3214
3215 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3216
3217         * dociterator.C: implement forwardPar
3218         * iterators.[Ch]: remove, replaced by
3219         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3220         * BufferView.C:
3221         * BufferView_pimpl.C:
3222         * CutAndPaste.C:
3223         * buffer.C:
3224         * bufferview_funcs.C:
3225         * cursor.C:
3226         * lyxfind.C
3227         * lyxfunc.C
3228         * paragraph_funcs.C
3229         * toc.C:
3230         * Makefile.am: adjust
3231
3232 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3233
3234         * CutAndPaste.C (pasteSelection): fix 2 crashes
3235         (eraseSelection): fix a crash
3236         * paragraph_funcs.C: remove a warning
3237
3238 2004-03-28  Angus Leeming  <leeming@lyx.org>
3239
3240         * lfuns.h:
3241         * LyXAction.C (init): new LFUN_PRINT.
3242
3243         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3244
3245 2004-03-27  Angus Leeming  <leeming@lyx.org>
3246
3247         * lfuns.h:
3248         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3249
3250         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3251
3252 2004-03-27  Angus Leeming  <leeming@lyx.org>
3253
3254         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3255         insetlist always contains non-null pointers to insets.
3256
3257 2004-03-26  Angus Leeming  <leeming@lyx.org>
3258
3259         * src/BufferView_pimpl.C:
3260         * src/CutAndPaste.C:
3261         * src/buffer.C:
3262         * src/iterators.C:
3263         * src/output_plaintext.C:
3264         * src/outputparams.h:
3265         * src/paragraph_funcs.C:
3266         * src/rowpainter.C:
3267         * src/text.C:
3268         * src/text2.C:
3269         * src/frontends/controllers/ControlErrorList.C:
3270         * src/frontends/gtk/FileDialogPrivate.C:
3271         * src/frontends/gtk/GPainter.C:
3272         * src/frontends/gtk/GToolbar.C:
3273         * src/frontends/qt2/QRef.C:
3274         * src/mathed/math_scriptinset.C: squash compiler warnings.
3275
3276 2004-03-26  Angus Leeming  <leeming@lyx.org>
3277
3278         * ispell.C (LaunchIspell::start):
3279         * lyx_cb.C (AutoSaveBuffer::start):
3280         invoke run(DontWait) rather than runNonBlocking().
3281
3282 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3283
3284         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3285
3286 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3287
3288         * kbsequence.C (print): adjust
3289
3290         * kbmap.C (printKeySym): rename and change signature
3291         (printKey): use LyXKeySym::print()
3292
3293 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3294
3295         * undo.C: add using std::advance to compile for stlport
3296
3297 2004-03-24  Angus Leeming  <leeming@lyx.org>
3298
3299         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3300         it leads to a crash when no buffer is present.
3301
3302 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3303             Martin Vermeer  <martin.vermeer@hut.fi>
3304
3305         * lyxfunc.C (dispatch):
3306         * bufferparams.C (readToken): use the new LColor::setColor
3307
3308         * LColor.[Ch] (setColor): new version that takes two strings as
3309         argument and creates a new color entry if necessary
3310
3311 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3312
3313         * buffer.C (makeLaTeXFile): if the main latex file that is
3314         processed is usually a subdocument of some master, then pretend
3315         for a while that it is actually the master
3316
3317 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3318
3319         * buffer.C (getLabelList):
3320         (getBibkeyList): use getMasterBuffer()
3321         (getMasterBuffer): new method. Returns the main document in the
3322         case where one is using included documents.
3323
3324 2004-03-25  André Pönitz  <poenitz@gmx.net>
3325
3326         * Makefile.am:
3327         * iterators.[Ch]:
3328         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3329
3330         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3331
3332         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3333         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3334
3335         * ParameterStruct.h: merge with ParagraphParameters
3336
3337         * lyxtext.h: remove LyXText::parOffset() and getPar()
3338
3339         * text3.C: Remove all 'manual' update calls. We do now one per user
3340         interaction which is completely sufficient.
3341
3342         * Bidi.C:
3343         * BufferView.[Ch]:
3344         * BufferView_pimpl.C:
3345         * FontIterator.[Ch]:
3346         * MenuBackend.C:
3347         * ParagraphParameters.[Ch]:
3348         * buffer.C:
3349         * buffer.h:
3350         * bufferlist.C:
3351         * cursor.[Ch]:
3352         * cursor_slice.[Ch]:
3353         * dociterator.[Ch]:
3354         * errorlist.[Ch]:
3355         * factory.C:
3356         * lfuns.h:
3357         * lyxfind.C:
3358         * lyxfunc.C:
3359         * output_docbook.[Ch]:
3360         * output_latex.[Ch]:
3361         * output_linuxdoc.[Ch]:
3362         * output_plaintext.[Ch]:
3363         * paragraph.[Ch]:
3364         * paragraph_funcs.[Ch]:
3365         * paragraph_pimpl.[Ch]:
3366         * rowpainter.C:
3367         * tabular.[Ch]:
3368         * text.C:
3369         * text2.C:
3370         * toc.C:
3371         * undo.[Ch]: adjust
3372
3373         * frontends/controllers/ControlDocument.C:
3374         * frontends/controllers/ControlErrorList.C:
3375         * frontends/controllers/ControlSpellchecker.C:
3376         * insets/inset.C:
3377         * insets/inset.h:
3378         * insets/insetbase.h:
3379         * insets/insetbibitem.C:
3380         * insets/insetbox.C:
3381         * insets/insetbranch.C:
3382         * insets/insetcaption.C:
3383         * insets/insetcharstyle.C:
3384         * insets/insetcharstyle.h:
3385         * insets/insetcollapsable.C:
3386         * insets/insetcollapsable.h:
3387         * insets/insetert.C:
3388         * insets/insetfloat.C:
3389         * insets/insetfoot.C:
3390         * insets/insetmarginal.C:
3391         * insets/insetnote.C:
3392         * insets/insetoptarg.C:
3393         * insets/insettabular.C:
3394         * insets/insettext.C:
3395         * insets/insettext.h:
3396         * insets/insetwrap.C:
3397         * mathed/math_mboxinset.C:
3398         * mathed/math_nestinset.C:
3399         * mathed/math_scriptinset.C:
3400         * mathed/math_scriptinset.h:
3401         * support/types.h:
3402
3403 2004-03-24  Angus Leeming  <leeming@lyx.org>
3404
3405         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3406         deal with any child processes that have finished but are waiting to
3407         communicate this fact to the rest of LyX.
3408
3409 2004-03-24  Angus Leeming  <leeming@lyx.org>
3410
3411         64-bit compile fixes.
3412
3413         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3414         (c-tor): pass lyx::pos_types rather than ints.
3415
3416         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3417         lyx::pos_type.
3418
3419         * text.C (Delete): compile fix.
3420         (getPar): ensure that function declaration is the same as that in
3421         the header file.
3422
3423 2004-03-23  Angus Leeming  <leeming@lyx.org>
3424
3425         * ispell.C (LaunchIspell):
3426         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3427         a boost::shred_ptr rather than a std::auto_ptr.
3428
3429 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3430
3431         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3432         handle LFUN_FILE_INSERT_*
3433
3434         * lyxrc.C (setDefaults, getDescription, output, read):
3435         * lyxrc.h: remove ps_command
3436
3437 2004-03-22  Angus Leeming  <leeming@lyx.org>
3438
3439         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3440         Ensure that error_handler is processed once only and that all data
3441         is saved before attempting to output any warning messages.
3442
3443         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3444
3445 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3446
3447         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3448
3449 2004-03-19  André Pönitz  <poenitz@gmx.net>
3450
3451         * cursor.[Ch] (reset): take main text inset as argument
3452
3453         * BufferView: adjust
3454         * BufferView_pimpl.C: adjust
3455
3456         * paragraph.[Ch]: fix completely broken operator=()
3457
3458 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3459
3460         * LColor.C (getFromLyXName): make sure that the color name is used
3461         as lowercase.
3462
3463 2004-03-17  Angus Leeming  <leeming@lyx.org>
3464
3465         * lfuns.h:
3466         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3467
3468         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3469         dialog and to kill a forked process.
3470
3471 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3472
3473         * text2.C (setCursorFromCoordinates): fix font problem
3474
3475 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3476
3477         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3478         bogus "rebuild cursor" code
3479
3480 2004-03-11  André Pönitz  <poenitz@gmx.net>
3481
3482         * buffer.[Ch]: use InsetText instead of LyXText as container for
3483         the main lyx text.
3484
3485         * dociterator.[Ch]: drop the BufferView * member which is not needed
3486         anymore after the change to buffer.C
3487
3488         * paragraph_funcs.C:
3489         * text.C:
3490         * text2.C:
3491         * BufferView.[Ch]:
3492         * BufferView_pimpl.[Ch]:
3493         * cursor.[Ch]:
3494         * cursor_slice.[Ch]: adjust
3495
3496         * text3.C: fix bug in mathDispatch
3497
3498 2004-03-08  André Pönitz  <poenitz@gmx.net>
3499
3500         * undo.[Ch]: use 'StableDocumentIterator' as base for
3501         the Undo struct.
3502
3503 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3504
3505         * LaTeXFeatures.C:
3506         * bufferparams.[Ch]: add jurabib support and param.
3507
3508         * LaTeX.C: add FIXME/comment.
3509
3510 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3511
3512         * buffer.C: increment file format to 230.
3513
3514 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3515
3516         * cursor.C (dispatch): avoid infinite loops
3517
3518 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3519
3520         * rowpainter.C (paintSelection): fix x coordinates
3521
3522 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3523
3524         * text.C (rowBreakPoint): fix breaking before displayed insets
3525
3526 2004-03-01  André Pönitz  <poenitz@gmx.net>
3527
3528         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3529
3530         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3531
3532         * Makefile.am:
3533         * BufferView.C:
3534         * BufferView_pimpl.C:
3535         * buffer.C:
3536         * lyxfind.C:
3537         * lyxfunc.C:
3538         * text.C:
3539         * text2.C:
3540         * text3.C: adjust
3541
3542 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3543
3544         * lyxtext.h:
3545         * text.C:
3546         * text2.C:
3547         * rowpainter.C:
3548         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3549         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3550
3551 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3552
3553         * Bidi.[Ch] (computeTables): const correctness
3554         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3555         fill_hfill, fill_label_hfill and x from Row
3556         * lyxtext.h: prepareToPrint returns a RowMetrics
3557         * rowPainter.C: adjust
3558         * text.C (prepareToPrint): use width, not textWidth. adjust
3559         (redoParagraphInternal, cursorX): adjust
3560         * text2.C (getColumnNearX): adjust
3561         (init): put a default value to the top LyXText::width
3562
3563 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3564
3565         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3566
3567 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3568
3569         * lyxtext.h: add FontIterator class
3570
3571         * text.C (FontIterator, operator*, operator->, operator++): add
3572         (rowBreakPoint, setRowWidth): adjust (fixing a
3573         rebreaking bug)
3574
3575 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3576
3577         * BufferView_pimpl.C (workAreaDispatch): allow also
3578         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3579
3580 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3581
3582         * text.C (rowBreakPoint): fix a bug showing with very large insets
3583
3584 2004-02-25  André Pönitz  <poenitz@gmx.net>
3585
3586         * text3.C:
3587         * cursor.[Ch]: move some mathed specific code to mathed
3588
3589 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3590
3591         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3592         use_tempdir in preferences
3593         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3594         tempfile creation
3595         * lyx_main.C: ensure that tempdir is valid
3596         * lyxlex.h: correct typo
3597         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3598         * paragraph.[Ch] (isMultiLingual): make const
3599         * cursor.[Ch] (openable): make const
3600
3601 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3602
3603         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3604
3605 2004-02-20  André Pönitz  <poenitz@gmx.net>
3606
3607         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3608
3609         * cursor.[Ch]: prepare for localized getStatus()
3610
3611         * lyxtext.h:
3612         * tabular.C:
3613         * text.C:
3614         * text2.C:
3615         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3616
3617 2004-02-20  André Pönitz  <poenitz@gmx.net>
3618
3619         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3620
3621 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3622
3623         * text2.C (setCursorFromCoordinates): switch to absolute coords
3624         (cursorUp): adjust
3625         (cursorDown): adjust
3626         * text3.C (dispatch): adjust
3627
3628 2004-02-16  André Pönitz  <poenitz@gmx.net>
3629
3630         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3631           insets/ChangeLog)
3632
3633         * cursor_slice.[Ch]: remove unneeded acessor function
3634
3635         * lyxtext.h: rename rtl() to isRTL()
3636
3637         * rowpainter.C:
3638         * tabular.C:
3639         * text.C:
3640         * text2.C:
3641         * text3.C: adjust
3642
3643 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3644
3645         * rowpainter.C (paintSelection): coord fix
3646
3647 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3648
3649         * Spacing.C: compile fix
3650
3651 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3652
3653         * cursor.C (dispatch): restore current_ before returning
3654
3655 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3656
3657         * text2.C (cursorUp, cursorDown): fix coords
3658         (moveUp): fix crash
3659
3660 2004-02-12  André Pönitz  <poenitz@gmx.net>
3661
3662         * lyxtext.h:
3663         * text.C:
3664         * text2.C:
3665         * text3.C: add LCursor & parameter to most cursor movement functions
3666           remove usage of LyXText::cursorRow() and cursorPar()
3667
3668         * cursor.[Ch]: add textRow() needed members
3669
3670         * BufferView.C:
3671         * BufferView_pimpl.C:
3672         * paragraph.[Ch]:
3673         * BufferView.C:
3674         * BufferView_pimpl.C: adjust
3675
3676 2004-02-11  André Pönitz  <poenitz@gmx.net>
3677
3678         * lyxfunc.C:
3679         * BufferView.[Ch]:
3680         * BufferView_pimpl.C: shift undo/redo handling
3681
3682         * cursor.[Ch]: fix mathed crash
3683
3684         * lyxfind.C:
3685         * lyxtext.h: move selectionAsText to LCursor
3686
3687         * output_latex.C:
3688         * paragraph.C:
3689         * text.C:
3690         * text2.C:
3691         * text3.C: adjust
3692
3693         * rowpainter.C: fix excessive drawing
3694
3695 2004-02-06  André Pönitz  <poenitz@gmx.net>
3696
3697         * BufferView.[Ch]:
3698         * BufferView_pimpl.[Ch]:
3699         * text3.C: move some text specific LFUN handling
3700
3701 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3702
3703         * text3.C (checkInsetHit): adjust coords
3704         * text2.C (getColumnNearX): adjust coords
3705         (edit): adjust coords
3706         * text.C (getRowNearY): add two asserts
3707
3708 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3709
3710         * converter.C:
3711         * format.C: add using std::distance to compile on gcc 2.95/stlport
3712
3713 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3714
3715         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3716
3717 2004-02-04  André Pönitz  <poenitz@gmx.net>
3718
3719         * BufferView.[Ch] (insertInset):
3720         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3721
3722         * text2.C:
3723         * text3.C: adjust
3724
3725 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3726
3727         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3728         on the default clause of the switch
3729         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3730         wasn't catched by LCursor::dispatch
3731
3732 2004-02-03  André Pönitz  <poenitz@gmx.net>
3733
3734         * BufferView.C:
3735         * cursor.[Ch]: some additional asserts
3736
3737         * undo.[Ch]: remove LyXText dependency in interface
3738
3739         * lyxfunc.C: adjust
3740
3741         * lyxtext.h (firstPar, lastPar): remove dead functions
3742
3743         * text.C:
3744         * text2.C:
3745         * text3.C:
3746         * paragraph.[Ch]: adjust
3747
3748 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3749
3750         * lyxfind.C (find): fix argument order in call to ::find
3751
3752 2004-02-02  André Pönitz  <poenitz@gmx.net>
3753
3754         * cursor.[Ch]: remove direct access to anchor
3755
3756         * text.C: remove findText() hack
3757
3758 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3759
3760         * iterators.[Ch] (lockPath): remove in favour of...
3761         * BufferView.[Ch] (setCursor): this addition
3762         * BufferView.C (putSelectionAt): adjust
3763         * undo.C (performUndoOrRedo): adjust
3764         * lyxfunc.C (dispatch): adjust
3765
3766 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3767
3768         * iterators.C (lockPath): add a missing slice
3769         * undo.C (performUndoOrRedo): remove redundant positioning code
3770
3771 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3772
3773         * vc-backend.C (scanMaster): ";" -> ';'
3774
3775 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3776
3777         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3778         std::binary_function
3779
3780         * lyxtextclass.C (compare_name): rename to...
3781         (LayoutNamesEqual): ...this
3782
3783         * lyxlex_pimpl.C (compare_tags): inherit from
3784         std::binary_function, put back into anon namespace
3785
3786         * lyxfind.C (MatchString): inherig from std::binary_function
3787         (findChange): use empty() istead of !size()
3788
3789         * format.C (FormatNamesEqual): new functor
3790         (getFormat): use it
3791         (getNumber): use it
3792         (add): use it
3793         (erase): use it
3794         (setViewer): use it
3795
3796         * converter.C (compare_Converter): rename to...
3797         (ConverterEqual): ...this, and fixup a bit.
3798         (getConverter): use it, and make function const
3799         (getNumber): use it, and make function const
3800         (add): use it
3801         (erase): use it:
3802
3803         * bufferlist.C: add using boost::bind
3804
3805         * MenuBackend.C (MenuNamesEqual): new functor
3806         (hasMenu): use it, and make function const
3807         (hasSubmenu): use nested bind to get rid of compare_memfun.
3808
3809 2004-01-30  André Pönitz  <poenitz@gmx.net>
3810
3811         * BufferView_pimpl.C:
3812         * cursor.C:
3813         * cursor.h:
3814         * cursor_slice.[Ch]:
3815         * lyxfunc.C:
3816         * lyxtext.h:
3817         * paragraph_funcs.C:
3818         * paragraph_funcs.h:
3819         * rowpainter.C:
3820         * text.C:
3821         * text2.C:
3822         * text3.C: move some of the edit(x,y) handling to the insets
3823         some coordinate changes.
3824
3825 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3826
3827         * text.C: add using statements for std::advance and std::distance
3828
3829         * paragraph.C: add using statement for std::distance
3830
3831         * lyxfind.C: add using statement for std::advance
3832
3833         * cursor.C (region): remove std:: from swap
3834         (openable): use nucleus in stead of operator->
3835
3836         * BufferView.C: add using statements for std::distance and std::swap
3837
3838 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3839
3840         * iterators.C: Remove the pimple, move the needed structures to
3841         the header file. Create accessor for the positions stack.
3842         (asPosIterator): remove function
3843
3844         * PosIterator.C (PosIterator): move constructors to top of file
3845         (PosIterator): reimplement the constructor taking a ParIterator in
3846         terms of setFrom.
3847         (setFrom): new function
3848         (operator!=): inline it
3849
3850 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3851
3852         * lyxfind.C (replaceAll): use std::advance
3853
3854         * iterators.h: inherit from std::iterator.
3855
3856         * PosIterator.C (advance, distance): remove
3857         * PosIterator.h: interit from std::iterator.
3858
3859 2004-01-26  André Pönitz  <poenitz@gmx.net>
3860
3861         * BufferView.[Ch]:
3862         * BufferView_pimpl.[Ch]:
3863         * InsetList.[Ch]:
3864         * PosIterator.[Ch]:
3865         * buffer.h:
3866         * bufferview_funcs.C:
3867         * cursor.[Ch]:
3868         * cursor_slice.h:
3869         * factory.[Ch]:
3870         * iterators.[Ch]:
3871         * lyxfind.C:
3872         * lyxfunc.C:
3873         * lyxtext.h:
3874         * output_docbook.C:
3875         * output_latex.C:
3876         * output_linuxdoc.C:
3877         * output_plaintext.C:
3878         * paragraph.[Ch]:
3879         * paragraph_funcs.[Ch]:
3880         * paragraph_pimpl.[Ch]:
3881         * rowpainter.C:
3882         * tabular.C:
3883         * tabular.h:
3884         * text.C:
3885         * text2.C:
3886         * text3.C: more IU:  dumps most of the rest of the mathcursor
3887     implementation into cursor.[Ch]; "globalize" a bit of it.
3888
3889 2004-01-25  Angus Leeming  <leeming@lyx.org>
3890
3891         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3892
3893 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3894
3895         * LaTeXFeatures.h: add nice_ and nice() const
3896         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3897
3898 2004-01-20  André Pönitz  <poenitz@gmx.net>
3899
3900         * BufferView.[Ch]:
3901         * BufferView_pimpl.C:
3902         * PosIterator.C:
3903         * bufferview_funcs.C:
3904         * cursor.[Ch]:
3905         * cursor_slice.[Ch]:
3906         * factory.C:
3907         * iterators.C:
3908         * lyx_cb.C:
3909         * lyxfind.C:
3910         * lyxfunc.C:
3911         * lyxtext.h:
3912         * rowpainter.C:
3913         * text.C:
3914         * text2.C:
3915         * text3.C:
3916         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3917           LCursor and mathcursor parts to LCursor and InsetBase.
3918
3919 2004-01-15  André Pönitz  <poenitz@gmx.net>
3920
3921         * cursor_slice.[Ch]: add a few covienience functions
3922
3923         * funcrequest.[Ch]: remove BufferView * member
3924
3925         * BufferView_pimpl.C:
3926         * cursor.C:
3927         * factory.[Ch]:
3928         * lyxfind.[Ch]:
3929         * lyxfunc.C:
3930         * lyxtext.h:
3931         * text3.C:
3932         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3933
3934 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3935
3936         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3937         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3938
3939 2004-01-13  André Pönitz  <poenitz@gmx.net>
3940
3941         * textcursor.[Ch]:
3942         * lyxtext.h: hide cursor and selection anchor behind accessor function
3943
3944         * BufferView.C:
3945         * BufferView_pimpl.[Ch]:
3946         * PosIterator.C:
3947         * bufferview_funcs.C:
3948         * cursor.h:
3949         * lyxfind.C:
3950         * lyxfunc.C:
3951         * text.C:
3952         * text2.C:
3953         * text3.C:
3954         * undo.C: adjust
3955
3956         * cursor.h:
3957         * cursor_slice.[Ch]: some integer type changes for inset unification
3958
3959         * lyxcursor.[hC]: remove, it's CursorSlice now.
3960
3961         * Makefile.am:
3962         * BufferView_pimpl.[Ch]:
3963         * bufferview_funcs.C:
3964         * cursor_slice.C:
3965         * lyxtext.h:
3966         * text.C:
3967         * text2.C:
3968         * text3.C:
3969         * textcursor.[Ch]: adjust
3970
3971 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3972
3973         * text2.C (undoSpan): add and use
3974         * text.C (breakParagraph): use undoSpan (fix bug 578)
3975         * lyxtext.h: adjust
3976
3977 2004-01-08  Angus Leeming  <leeming@lyx.org>
3978
3979         * BufferView_pimpl.C (MenuInsertLyXFile):
3980         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3981         * lyxfunc.C (menuNew, open, doImport):
3982         FileFilterList change to the FileDialog open and save functions.
3983
3984 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3985
3986         * ShareContainer.h: make isEqual and isUnique adaptable
3987
3988         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3989
3990 2004-01-07  Angus Leeming  <leeming@lyx.org>
3991
3992         * LyXAction.C:
3993         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3994
3995         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3996
3997         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3998         functions replacing find, replace and replaceAll.
3999
4000         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4001         LFUN_WORDFIND(FORWARD|BACKWARD).
4002
4003 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4004
4005         * text.C (breakParagraph): remove an outdated #warning
4006
4007 2004-01-07  André Pönitz  <poenitz@gmx.net>
4008
4009         * lyxfind.C: somewhat clearer logic
4010
4011         * text.C: prevent crash in cursorX on unitialized row cache
4012
4013 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4014
4015         * lyxcursor.[Ch] (operator>): add
4016         * textcursor.C (selStart, selEnd): use std::min and std::max
4017
4018 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4019
4020         * Chktex.C: include boost/format.hpp
4021
4022 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4023
4024         * InsetList.C: replace functor MathcIt with adaptable functor
4025         InsetTablePosLess
4026         (insetIterator): modify accordingly
4027
4028         * BranchList.h: move the BranchNamesEqual functor here from...
4029         * BranchList.C: ... to here
4030
4031         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4032         SameName and match.
4033         (add): replace a finding loop with std::find_if.
4034
4035 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4036
4037         * output_docbook.C: moving LatexParam functionality into
4038         .layout files
4039
4040 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4041
4042         * buffer.C: increment format to 229.
4043
4044 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4045
4046         * LaTeXFeatures.C:
4047         * lyx_sty.[Ch]: remove minipageindent_def
4048
4049         * LyXAction.C:
4050         * factory.C:
4051         * lfuns.h:
4052         * lyxfunc.C:
4053         * text3.C: remove LFUN_INSET_MINIPAGE
4054
4055 2003-12-28  Angus Leeming  <leeming@lyx.org>
4056
4057         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4058
4059 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4060
4061         * text2.C (setParagraph): fix off-by-one crash
4062
4063 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4064
4065         * output_docbook.C: header stuff for AGU
4066
4067 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4068
4069         * text2.C (redoCursor): remove
4070         * text.C:
4071         * text3.C:
4072         * BufferView_pimpl.C: remove calls to redoCursor and
4073         setCursor(cursor.par(), cursor.pos()) all around
4074
4075 2003-12-15  Angus Leeming  <leeming@lyx.org>
4076
4077         * buffer.C: up the format to 228.
4078
4079 2003-12-15  André Pönitz  <poenitz@gmx.net>
4080
4081         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4082         slices
4083
4084         * Makefile.am:
4085
4086         * BufferView_pimpl.C:
4087         * cursor.[Ch]:
4088         * lyxcursor.[Ch]:
4089         * rowpainter.[Ch]:
4090         * lyxtext.h:
4091         * text.C:
4092         * text2.C:
4093         * text3.C: adjust
4094
4095 2003-12-15  Angus Leeming  <leeming@lyx.org>
4096
4097         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4098         than getFromGUIName to manipulate the color.
4099
4100 2003-12-14  Angus Leeming  <leeming@lyx.org>
4101
4102         * BranchList.[Ch]: minimize the API.
4103         (Branch::getBranch, getColor): now return a 'const &'.
4104         (Branch::setSelected) now returns a bool set to true if the
4105         selection status changes.
4106         (BranchList::clear, size, getColor, setColor, setSelected,
4107         allBranches, allSelected, separator): removed.
4108         (BranchList::find): new functions, returning the Branch with
4109         the given name.
4110         (BranchList::add, remove): return a bool indicating that
4111         the operation was successful.
4112
4113         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4114         new InsetBranch::isBranchSlected member function.
4115
4116         * LColor.[Ch]: mimimize the API.
4117         (fill): renamed as addColor and made private.
4118         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4119         versions of these functions taking a string arg have been removed.
4120
4121         * bufferparams.C (readToken):
4122         * lyxfunc.C (dispatch):
4123         * lyxrc.C (read): changes due to the altered BranchList and
4124         LColor APIs.
4125
4126         * factory.C (createInset, readInset): changes due to altered
4127         InsetBranch c-tor.
4128
4129 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4130
4131         * factory.C:
4132         * lyxfunc.C: remove insetminipage. "minipage-insert"
4133         now produces a frameless minipage box inset.
4134
4135 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4136
4137         * textcursor.[Ch] (selStart,selEnd): add new methods
4138         remove selection::start, end, use LyXCursor::operator<
4139         * lyxcursor.[Ch] (operator<): add
4140         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4141         * BufferView.[Ch] (unsetXSel): add
4142         * text2.C (clearSelection): use unsetXSel,adjust
4143         * text.C: adjust
4144         * text3.C: adjust
4145         * rowpainter.C: adjust
4146         * bufferview_funcs.C (put_selection_at): adjust
4147
4148 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4149
4150         * BufferView_pimpl.C: small coord. correction
4151
4152 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4153
4154         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4155         dragging over the splash screen.
4156
4157 2003-12-11  Angus Leeming  <leeming@lyx.org>
4158
4159         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4160         as it is now handled in LyXText::dispatch.
4161
4162         * text3.C (doInsertInset): remove a level of nesting.
4163
4164 2003-12-11  Angus Leeming  <leeming@lyx.org>
4165
4166         * factory.C (createInset): changes due to the changed interface to
4167         InsetCommandMailer::string2params.
4168
4169 2003-12-10  Angus Leeming  <leeming@lyx.org>
4170
4171         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4172         'dialog-show-new-inset <inset name>'
4173
4174 2003-12-10  Angus Leeming  <leeming@lyx.org>
4175
4176         * buffer.C: up the format to 227.
4177
4178         * factory.C: the box inset is now identified simply by 'Box'.
4179
4180 2003-12-10  Angus Leeming  <leeming@lyx.org>
4181
4182         * buffer.C: up the format to 226.
4183
4184         * factory.C: the note inset is now identified simply by 'Note'.
4185
4186 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4187
4188         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4189         when a pit is enough. Standarize a couple of loops.
4190
4191 2003-12-05  Angus Leeming  <leeming@lyx.org>
4192
4193         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4194         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4195         data to the re-worked "log" dialog.
4196
4197 2003-12-03  André Pönitz  <poenitz@gmx.net>
4198
4199         * PosIterator.C:
4200         * iterators.C:
4201         * lyxtext.h:
4202         * output_latex.C:
4203         * paragraph_funcs.C:
4204         * text.C:
4205         * text2.C: use Inset::getText instead of Inset::getParagraph
4206
4207 2003-12-03  André Pönitz  <poenitz@gmx.net>
4208
4209         * buffer.[Ch]:
4210         * lyxtext.h:
4211         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4212         InsetText::read() as LyXText::read()
4213
4214 2003-12-02  Angus Leeming  <leeming@lyx.org>
4215
4216         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4217         type. Add a comment in the implementation that the function uses
4218         the stream's bad() function rather than fail() as the std::streams
4219         would do.
4220
4221 2003-12-02  André Pönitz  <poenitz@gmx.net>
4222
4223         * lyxlex.[Ch]: make interface more similar to std::stream
4224
4225         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4226
4227 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4228
4229         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4230
4231 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4232
4233         * vspace.[Ch]: remove VSpace::NONE
4234
4235 2003-12-01  André Pönitz  <poenitz@gmx.net>
4236
4237         * buffer.[Ch]:
4238         * lyxtext.h: move ParagraphList member to LyXText
4239         rename LyXText::ownerParagraphs to LyXText::paragraph
4240
4241         * CutAndPaste.C:
4242         * bufferview_funcs.C:
4243         * iterators.[Ch]:
4244         * lyx_cb.C:
4245         * paragraph.C:
4246         * rowpainter.C:
4247         * tabular.C:
4248         * text.C:
4249         * text2.C:
4250         * text3.C: adjust
4251
4252         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4253
4254         * undo.C: fix cursor positioning
4255
4256 2003-12-01  John Levon  <levon@movementarian.org>
4257
4258         * BufferView_pimpl.C: fix a crash on exit with
4259         a buffer open
4260
4261 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4262
4263         * BranchList.C: fix setSelected() method.
4264
4265 2003-11-28  André Pönitz  <poenitz@gmx.net>
4266
4267         * ParagraphParameters.[Ch]:
4268         * ParameterStruct.h: remove space above/below from Paragraph to
4269          InsetVSpace
4270
4271         * BufferView_pimpl.C:
4272         * factory.C:
4273         * lyxfunc.C:
4274         * lyxtext.h:
4275         * output_latex.C:
4276         * paragraph.C:
4277         * paragraph_funcs.C:
4278         * rowpainter.[Ch]:
4279         * text.C:
4280         * text2.C:
4281         * text3.C: adjust
4282
4283 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4284
4285         * factory.C: Syntax change for CharStyles
4286
4287 2003-11-28  André Pönitz  <poenitz@gmx.net>
4288
4289         * BufferView.[Ch]:
4290         * BufferView.[Ch]:
4291         * buffer.[Ch]:
4292         * buffer.[Ch]: move LyXText member
4293
4294 2003-11-28  André Pönitz  <poenitz@gmx.net>
4295
4296         * BufferView.[Ch]: make LyXText * text a private member
4297
4298         * BufferView_pimpl.C:
4299         * cursor.C:
4300         * iterators.C:
4301         * lyx_cb.C:
4302         * lyxfind.C:
4303         * lyxtext.h:
4304         * rowpainter.[Ch]:
4305         * text.C:
4306         * text2.C:
4307         * undo.C: adjust
4308
4309         * output_plaintext.C: cleanup
4310
4311 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4312
4313         * buffer.C:
4314         * lyxtextclass.[Ch]: parametrize SGML document header
4315
4316 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4317
4318         * converter.[Ch]:
4319         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4320         getFlavor().
4321
4322 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4323
4324         * text2.C (setFont): rework using PosIterator (no more recursive)
4325         (setCharFont): no more needed
4326         (setLayout): no more selection cursors fiddling (done by redoCursor)
4327         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4328         destroy remaining ones)
4329
4330 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4331
4332         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4333         * lyxtext.h: ditto
4334         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4335         selection cursors
4336         * lyxfunc.C: adjust
4337         * text3.C: adjust + re-allow multi par depth changes
4338         * textcursor.C: simplify a bit
4339
4340 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4341
4342         * src/buffer.C:
4343         * src/lyxlayout.C:
4344         * src/lyxlayout.h:
4345         * src/lyxtext.h:
4346         * src/output_docbook.C:
4347         * src/output_latex.C:
4348         * src/paragraph.C:
4349         * src/paragraph.h:
4350         * src/sgml.C:
4351         * src/sgml.h:
4352         * src/text2.C: Introducing a number of tags parametrizing various
4353         XML formats that we may want to support
4354
4355 2003-11-25  André Pönitz  <poenitz@gmx.net>
4356
4357         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4358
4359         * lyxtext.h (leftMargin/rightMargin): simplify interface
4360
4361         * rowpainter.C:
4362         * text.C:
4363         * text2.C:
4364         * text3.C: adjust
4365
4366 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4367
4368         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4369         master file to any child files. Fixes bug 546.
4370
4371 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4372
4373         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4374
4375 2003-11-24  André Pönitz  <poenitz@gmx.net>
4376
4377         * rowpainter.C: simplification
4378
4379         * text2.C (updateCounters): remove call to redoParagraph on
4380         changed labels as this is far too expensive.
4381
4382 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4383
4384         * converter.C (convert): fix a crash: this function gets
4385         called with buffer == 0 from importer code.
4386
4387 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4388
4389         * text3.C (cursorPrevious): make sure that we do not compare
4390         iterators form different containers.
4391         (cursorNext): ditto
4392
4393         * rowpainter.C (paintSelection): make sure that we do not compare
4394         iterators from different containers.
4395
4396         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4397         iterators from different ParagraphList containers.
4398         [NEXT] ditto
4399
4400         * text2.C (LyXText): change order of initialization slightly
4401         (operator=): new function. copy all variables except cache_par_
4402         (moveUp): make sure that we do not compare iterators from
4403         different ParagraphList constainers.
4404         (moveDown): ditto
4405
4406         * text.C (firstPar): new function
4407         (lastPar): new function
4408         (endPar): new function
4409
4410         * lyxtext.h: move things around and group public functions, public
4411         variables, private functions, private variables
4412
4413 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4414
4415         * factory.C: change call to InsetERT constructor to avoid
4416         additional invocation of method status
4417         * text2.C (toggleInset): remove redundant update() call
4418         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4419         instead of a Bufferview pointer
4420
4421 2003-11-21  André Pönitz  <poenitz@gmx.net>
4422
4423         * rowpainter.C: simplification
4424
4425 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4426
4427         * text3.C (dispatch): make possible to extend a word/row selection
4428         with the mouse
4429
4430 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4431
4432         * lyxtext.h: x0_,y0_ -> xo_,yo_
4433         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4434         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4435         * rowpainter.C (paintRows): paint full paragraphs
4436
4437 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4438
4439         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4440         screen coordinates)
4441
4442 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4443
4444         * lyxtext.h: add x0_, y0_
4445         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4446         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4447
4448 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4449
4450         * text2.C (setCursorIntern): move the x_target update here *
4451         * text3.C: change some bv() to true/false in calls to
4452         cursorUp/Down/Right/Left
4453         * cursor.C: use helper function.
4454
4455 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4456
4457         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4458         * paragraph_funcs.[Ch]: correct comment
4459         * rowpainter.C: do not paint selections away from bv->cursor()
4460         Fix a long standing selection painting bug.
4461         * text3.C: generalize mouse-selection code to LyXTexts other that
4462         top one
4463         * textcursor.C: do not use y coords if we can use par offsets
4464
4465 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4466
4467         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4468         cursor position after e.g. inset insert)
4469
4470 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4471
4472         * lyxfind.C (replace): adjust to locking removal + some
4473         code simplification
4474
4475 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4476
4477         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4478         of the path
4479
4480 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4481
4482         * lyxlayout.[Ch]:
4483         * output_docbook.C: XML sanitation: new layout
4484         parameters InnerTag and CommandDepth
4485
4486 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4487
4488         * BufferView_pimpl.C:
4489         * factory.C:
4490         * text3.C: Fix the insertion and modification of button-style
4491         insets
4492
4493 2003-11-13  André Pönitz  <poenitz@gmx.net>
4494
4495         * InsetList.[Ch]: remove deleteLyXText
4496
4497         * paragraph.[Ch]: cache beginOfBody position
4498
4499         * Bidi.C:
4500         * text.C:
4501         * text2.C:
4502         * text3.C: remove superfluous update() calls
4503
4504         * vspace.C: cleanup
4505
4506 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4507
4508         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4509         * BufferView.C (fitLockedInsetCursor): remove
4510         * cursor.[Ch] (getDim): add
4511         * text.C (getRowNearY): add faster version
4512         * text3.C: remove some update calls
4513
4514 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4515
4516         * LaTeXFeatures.C:
4517         * LyXAction.C:
4518         * MenuBackend.C:
4519         * MenuBackend.h:
4520         * dispatchresult.h:
4521         * factory.C:
4522         * lfuns.h:
4523         * lyxfunc.C:
4524         * lyxtextclass.C:
4525         * lyxtextclass.h:
4526         * text3.C: The Character Style /XML short element patch.
4527
4528 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4529
4530         * text3.C:
4531         * factory.C: Small step to solving 'unable to insert some insets'
4532         problem
4533
4534 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4535
4536         * cursor.[Ch] (updatePos): new function for updating the y
4537         position of the tip inset
4538         * bufferview_funcs.C (put_selection_at):
4539         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4540
4541 2003-11-11  André Pönitz  <poenitz@gmx.net>
4542
4543         * text.C: remove big comment on invalid Paragraph pointers as it is
4544         not valid anymore
4545
4546 2003-11-11  André Pönitz  <poenitz@gmx.net>
4547
4548         * text_funcs.[Ch]: merge with ...
4549
4550         * text.C: ... this
4551
4552         * lyxtext.h:
4553         * text2.C:
4554         * text3.C: adjust
4555
4556         * Makefile.am: remove text_funcs.[Ch]
4557
4558 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4559
4560         * cursor.C (getPos): return absolute cached y coord
4561
4562         * BufferView_pimpl.C (fitCursor): new simplistic code
4563         (workAreaDispatch): add a fitCursor call
4564
4565 2003-11-10  André Pönitz  <poenitz@gmx.net>
4566
4567         * BufferView.[Ch]:
4568         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4569
4570 2003-11-10  André Pönitz  <poenitz@gmx.net>
4571
4572         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4573         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4574         indicate that the cursor needs to leave an inset
4575
4576         * lyxtext.h: remove inset locking
4577
4578         * cursor.[Ch]: re-implement functionality provided by inset locking
4579
4580         * BufferView.[Ch]:
4581         * BufferView_pimpl.[Ch]:
4582         * LyXAction.C:
4583         * bufferview_funcs.[Ch]:
4584         * factory.C:
4585         * funcrequest.[Ch]:
4586         * iterators.C:
4587         * lyx_cb.C:
4588         * lyxfind.C:
4589         * lyxfunc.C:
4590         * text.C:
4591         * text2.C:
4592         * text3.C:
4593         * undo.C: adjust
4594
4595 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4596
4597         * PosIterator.[Ch]: replace the stack with a vector, add inset
4598         accesor
4599         * iterators.[C]: adjust
4600
4601 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4602
4603         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4604         replaced
4605         * paragraph_funcs.C (readParToken): put the correct id in the
4606         error item, not the id of the top paragraph
4607
4608 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4609
4610         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4611         * bufferview_funcs.C (put_selection_at): use the above
4612
4613 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4614
4615         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4616
4617 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4618
4619         * output_linuxdoc.h:
4620         * output_plaintext.h:
4621         * output.h:
4622         * output_docbook.h: add #include statements
4623
4624 2003-11-05  José Matos  <jamatos@lyx.org>
4625
4626         * output_docbook.[Ch]:
4627         * output_latex.[Ch]:
4628         * output_linuxdoc.[Ch]:
4629         * output_plaintext.[Ch]: New files for output formats.
4630         * output.[Ch]: New file for helper functions.
4631
4632         * buffer.[Ch]:
4633         * paragraph_funcs.[Ch]: output functions moved to new files.
4634
4635         * outputparams.h: rename of latexrunparams.h
4636
4637         * LaTeX.[Ch]:
4638         * buffer.[Ch]:
4639         * bufferlist.[Ch]:
4640         * converter.[Ch]:
4641         * exporter.C:
4642         * paragraph.[Ch]:
4643         * paragraph_funcs.[Ch]:
4644         * paragraph_pimpl.[Ch]:
4645         * tabular.[Ch]: rename ascii to plaintext
4646         and LatexRunParams to OutputParams.
4647
4648 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4649
4650         * iterators.[Ch] (text): require bv argument
4651         * undo.C (recordUndo):
4652         * lyxfunc.C (dispatch):
4653         * bufferview_funcs.C (put_selection_at): adjust
4654
4655 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4656
4657         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4658
4659 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4660
4661         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4662         nestings
4663
4664 2003-11-04  André Pönitz  <poenitz@gmx.net>
4665
4666         * cursor.[Ch]: restructure
4667
4668         * BufferView.[Ch]:
4669         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4670
4671         * iterators.[Ch] (asCursor): remove
4672
4673         * lfuns.h: remove LFUN_INSET_EDIT
4674
4675         * lyxfunc.C:
4676         * tabular.C:
4677         * text.C:
4678         * text2.C:
4679         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4680
4681 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4682
4683         * lyxfind.[Ch]: complete overhaul
4684         * BufferView_pimpl.C:
4685         * lyxfunc.C: adjust
4686         * paragraph.[Ch] (insert): add
4687
4688 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4689
4690         * BufferView.[Ch]:
4691         * lyxtext.h:
4692         * text.C: remove dead spellcheck code
4693
4694 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4695
4696         * dispatchresult.h: add a val setter
4697
4698         * cursor.C (dispatch): use a tempvar for data_[i]
4699
4700 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4701
4702         * PosIterator.[Ch]: compile fix
4703
4704 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4705
4706         * text.C (cursorPar): deactivate the cursor cache
4707
4708 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4709
4710         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4711
4712 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4713
4714         * text3.C (dispatch): adjust for new DisptchResult semantics.
4715
4716         * lyxfunc.C (dispatch): handle update when return from
4717         Cursor::dispatch, adjust for new DispatchResult semantics.
4718
4719         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4720         DispatchResult(true) mean to not update. Add class functions for
4721         setting dispatched and update, as well as reading.
4722
4723         * cursor.C (dispatch): don't handle update here
4724
4725 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4726
4727         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4728         * trans_mgr.C: adjust
4729
4730         * paragraph_funcs.C (readParToken): exception safety
4731
4732         * lyxvc.h: store the vcs pointer in a scoped_ptr
4733         * lyxvc.C: adjust
4734
4735         * lyxsocket.C (serverCallback): exception safety
4736
4737         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4738
4739         * ispell.C (clone): make it return a auto_ptr
4740
4741         * factory.C (createInset): exception safety
4742         (readInset): exception safety
4743
4744         * bufferlist.C (newBuffer): exception safety
4745
4746         * Thesaurus.C (Thesaurus): use initialization for aik_
4747
4748         * MenuBackend.C (expandToc): exception safety.
4749
4750 2003-11-03  André Pönitz  <poenitz@gmx.net>
4751
4752         * buffer.C:
4753         * buffer.h:
4754         * bufferview_funcs.C: remove getInsetFromId()
4755
4756         * lyxcursor.[Ch]:
4757         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4758
4759         * lyxfunc.C:
4760         * text2.C:
4761         * text3.C: adjust
4762
4763 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4764
4765         * PosIterator.C (distance, advance): new
4766         * bufferview_funcs.[Ch] (put_selection_at): new
4767         * iterators.[Ch] (lockPath): new
4768
4769 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4770
4771         * iterators.[Ch] (asPosIterator): added
4772         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4773         * PosIterator.[Ch]: added
4774
4775 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4776
4777         * text3.C:
4778         * lyxfunc.C:
4779         * cursor.C (dispatch):
4780         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4781
4782         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4783         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4784         contructor, add a class function dispatched. Remove operator>=
4785
4786 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4787
4788         * debug.C: only use the default constructor for debugstream
4789         (lyxerr) here.
4790
4791         * main.C (main): include debug.h and setup the lyxerr streambuf
4792         here.
4793
4794 2003-10-31  José Matos  <jamatos@lyx.org>
4795
4796         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4797
4798         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4799         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4800         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4801         * paragraph_pimpl.C (simpleTeXSpecialC):
4802         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4803         add LatexRunParams argument.
4804
4805         * exporter.C (Export): change call accordingly.
4806
4807         * latexrunparams.h: add new member to take care of the other backends.
4808 2003-10-30  José Matos  <jamatos@lyx.org>
4809
4810         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4811         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4812         factorise code for paragraph output.
4813         * buffer.[Ch]:
4814         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4815         move functions.
4816
4817 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4818
4819         * text3.C (dispatch):
4820         * lyxfunc.C (dispatch):
4821         * cursor.C (dispatch):
4822         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4823
4824         * dispatchresult.h: make the dispatch_result_t ctor explicit
4825
4826 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4827
4828         * sgml.[Ch]:
4829         * buffer.C: small refactoring of docbook stuff
4830
4831 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4832
4833         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4834         meaning.
4835
4836 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4837
4838         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4839         operator dispatch_result_t, and operators for == != and >=
4840
4841         * cursor.C (dispatch): adjust for operator dispatch_result_t
4842         removal. comment out call to update
4843
4844         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4845
4846 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4847
4848         * text3.C:
4849         * text2.C:
4850         * text.C:
4851         * lyxtext.h:
4852         * lyxfunc.C:
4853         * cursor.C:
4854         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4855         (dispatch):
4856
4857         * dispatchresult.h: new file, DispatchResult broken out of
4858         insets/insetbase.h
4859
4860         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4861
4862 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4863
4864         * text.C (rowBreakPoint): put a hack inside #if 0
4865
4866 2003-10-28  André Pönitz  <poenitz@gmx.net>
4867
4868         * lyxtext.h:
4869         * metricsinfo.C:
4870         * paragraph_funcs.C:
4871         * rowpainter.C:
4872         * text.C:
4873         * text2.C: general cleanup (lots of small stuff)
4874
4875 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4876
4877         * text2.C (cursorEnd): simple fix to the "end key goes to one
4878         before the end on last row" bug
4879
4880 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4881
4882         * text.C (backspace): fix the "zombie characters"
4883
4884 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4885
4886         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4887
4888 2003-10-27  André Pönitz  <poenitz@gmx.net>
4889
4890         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4891
4892         * factory.C: handle new InsetPagebreak, InsetLine
4893
4894         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4895         and move handling into new InsetPagebreak, InsetLine
4896
4897         * BufferView_pimpl.C:
4898         * LyXAction.C:
4899         * ParagraphParameters.C:
4900         * ParameterStruct.h:
4901         * lyxfunc.C:
4902         * lyxtext.h:
4903         * paragraph.C:
4904         * paragraph.h:
4905         * paragraph_funcs.C:
4906         * paragraph_pimpl.C:
4907         * rowpainter.C:
4908         * text.C:
4909         * text2.C:
4910         * text3.C: adjust
4911
4912 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4913
4914         * text.C:
4915         * lyxrow_funcs.[Ch]:
4916         * Bidi.C:
4917         * paragraph.C:
4918         * lyxtext.h:
4919         * rowpainter.C:
4920         * text2.C:
4921         * text3.C: remove lastPos uses in favour of Row::endpos
4922
4923 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4924
4925         * undo.C (performUndoOrRedo): fix two crashes by setting a
4926         cursor by hand and reordering some calls. Use bv->lockInset instead
4927         of inset->edit because the latter loses cursor information
4928
4929 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4930
4931         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4932         by Martin
4933         (rowBreakPoint): fix width. change point to point + 1.
4934         Add a missing check.
4935
4936 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4937
4938         * MenuBackend.C:
4939         * lyxfunc.C: fix (at least partly) the problems
4940         with the Nav menu and headers inside branch insets
4941         reported by Kayvan
4942
4943 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4944
4945         * paragraph.C (getChar): add strong asserts
4946
4947         * lyxrow_funcs.C (lastPos): remove hideous hack
4948
4949         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4950         (fill): adjust to that (avoid an infinite loop)
4951
4952 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4953
4954         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4955
4956 2003-10-23  André Pönitz  <poenitz@gmx.net>
4957
4958         * RowList_fwd.h: change list<> to vector<> to gain speed
4959         after suggestion from Alfredo
4960
4961 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4962
4963         * lyxtext.h: move the bidi stuff from here...
4964         * text.C: and here
4965         * text2.C: and here
4966         * Bidi.[Ch]: ... to here
4967
4968 2003-10-23  André Pönitz  <poenitz@gmx.net>
4969
4970         * lyxtext.h:
4971         * text.C (isLastRow, isFirstRow): new functions
4972
4973         * paragraph.h: new width cache member
4974
4975         * rowpainter.C: replace RowList::iterator with Row & where possible
4976
4977         * lyxfunc.C: replace several view()->text with a single call
4978
4979         * toc.C: fix 'unused' warning
4980
4981 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4982
4983         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4984         when woring with stream::pos_type
4985         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4986
4987 2003-10-22  André Pönitz  <poenitz@gmx.net>
4988
4989         * lyxtext.h:
4990         * text.C: use Row & instead of RowList::iterator
4991
4992         * lyxrow.h: rename end() to endpos()
4993
4994         * rowpainter.C:
4995         * text.C:
4996         * text2.C: adjust
4997
4998 2003-10-22  Angus Leeming  <leeming@lyx.org>
4999
5000         * buffer.[Ch] (fully_loaded): new member function, returning true
5001         only when the file has been loaded fully.
5002         Used to prevent the premature generation of previews and by the
5003         citation inset to prevent computation of the natbib-style label.
5004
5005         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5006         templates are all set up.
5007
5008         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5009
5010 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5011
5012         * text.C: fixed an "oops" in the "is a bit silly"
5013         bug fix
5014
5015 2003-10-21  André Pönitz  <poenitz@gmx.net>
5016
5017         * FuncStatus.[Ch]: small stuff, whitespace
5018
5019         * lyxfont.[Ch]: operator<<() for debug reasons
5020
5021         * lyxfunc.C:
5022         * lyxrow_funcs.C:
5023         * lyxtext.h: whitespace, spelling
5024
5025         * paragraph.C: naming of variables
5026
5027         * text.C:
5028         * text2.C: small stuff
5029
5030
5031 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5032
5033         * text.C: (1) finish off the inset display() work;
5034         (2) fix the "is a bit silly" bug (accessing char
5035         past end of par).
5036
5037 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5038
5039         * text.C: re-introduce display() for insets, fixing the
5040         various bugs (stretch of line above, math inset
5041         positioning, ...)
5042
5043 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5044
5045         * text.C (rightMargin): remove spurious semicolon
5046
5047         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5048         1415)
5049
5050 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5051
5052         * text3.C: fix one crash due to wrong cursor def
5053
5054 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5055
5056         * vc-backend.C (scanMaster): make the regex static
5057
5058         * LaTeX.C (scanAuxFile): make the regexs static
5059
5060         * text3.C (doInsertInset, dispatch, dispatch):
5061         * text2.C (cursorUp, cursorDown):
5062         * text.C (selectNextWordToSpellcheck):
5063         * BufferView_pimpl.C (dispatch):
5064         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5065
5066 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5067
5068         * lyxsocket.C: include <cerrno>
5069
5070 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5071
5072         * lyxfunc.C (dispatch): remove textcache stuff
5073
5074         * bufferlist.C (release): remove textcache stuff
5075         (closeAll): ditto
5076
5077         * TextCache.C: delete file
5078         * TextCache.h: delete file
5079
5080         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5081
5082         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5083         delete of the bv_->text.
5084         (resizeCurrentBuffer): remove texcache stuff
5085         (workAreaResize): ditto
5086
5087 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5088
5089         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5090         action.
5091
5092 2003-10-16  André Pönitz  <poenitz@gmx.net>
5093
5094         * lyxrow.[Ch]:
5095         * paragraph.h:
5096         * rowpainter.C:
5097         * text.C:
5098         * text2.C:
5099         * text3.C: speed up by storing y positions per paragraph plus per-row
5100         offset instead of having a 'full' y position in the row.
5101
5102 2003-10-15  André Pönitz  <poenitz@gmx.net>
5103
5104         * iterators.[Ch]:
5105         * iterators.[Ch]:
5106         * undo.[Ch]: make undo aware of inner insets
5107
5108 2003-10-14  Angus Leeming  <leeming@lyx.org>
5109
5110         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5111         static member functions LyX::ref() and LyX::cref.
5112         (lastfiles): new accessor functions for the new lastfiles_ member var.
5113         (addLyXView, views_): add a new LyXView to the list of views_.
5114         (updateInset): loop over all LyXViews to call their own updateInset
5115         member function, returning a pointer to the Buffer owning the inset.
5116
5117         * BufferView_pimpl.C (loadLyXFile):
5118         * MenuBackend.C (expandLastfiles):
5119         * bufferlist.C (MenuWrite, QuitLyX):
5120         lastfiles is no longer a global variable.
5121         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5122
5123         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5124         static function. Access through LyX::cref().emergencyCleanup().
5125
5126 2003-10-14  André Pönitz  <poenitz@gmx.net>
5127
5128         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5129
5130         * undo.[Ch]: restoring part of 'undo in insets'
5131
5132         * Makefile.am:
5133         * undo_funcs.[Ch]: merge with undo.[Ch]
5134
5135         * tabular.C: small cleansing stuff
5136
5137 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5138
5139         * paragraph_funcs.C (readParToken): report unknown insets as error
5140         boxes. Use the outer paragraph as location (also for unknown
5141         tokens).
5142
5143         * factory.C (readInset): do not abort on reading an unknown inset.
5144         Eat it and return 0.
5145
5146 2003-10-13  Angus Leeming  <leeming@lyx.org>
5147
5148         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5149
5150         * lyxrc.C: displayTranslator is now a function,
5151         declared in GraphicsTypes.h.
5152
5153 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5154
5155         * format.C: new placeholder $$a to pass the socket address.
5156
5157         * bufferlist.[Ch]: new function getBufferFromTmp.
5158
5159         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5160           files in the temporary dir.
5161
5162 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5163
5164         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5165
5166         * Makefile.am: add lyxsocket.[Ch].
5167
5168         * lyx_main.C (error_handler): handle SIGPIPE.
5169
5170 2003-10-13  André Pönitz  <poenitz@gmx.net>
5171
5172         * BufferView_pimpl.C:
5173         * lyxtext.h:
5174         * text.C:
5175         * text2.C:
5176         * text3.C:
5177         * undo_funcs.[Ch]: use paroffset_type instead of
5178           ParagraphList::iterators to prevent multiple conversion
5179           (and get a more robust interface)
5180
5181 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5182
5183         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5184         * lyxtext.h: ditto
5185         * text3.C (dispatch): ditto
5186
5187 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5190         move the onlyfile, use onlyfile instead of foundfile in a couple
5191         of places.
5192
5193         * DepTable.C (update): flush the error stream a bit more
5194
5195 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5196
5197         * lyxserver.C (callback): adjust
5198
5199         * lyxfunc.C (getStatus): add a missing brace in commented code
5200         (ensureBufferClean): reindent
5201         (dispatch): delete version taking a string
5202
5203 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5204
5205         * LaTeX.C (deplog): move found file handlig from here...
5206         (handleFoundFile): .. to new function here.
5207         (deplog): make sure to discover several files mentioned on the
5208         same log line.
5209
5210 2003-10-10  André Pönitz  <poenitz@gmx.net>
5211
5212         * lyxfunc.C:
5213         * lyxtext.h:
5214         * tabular.C:
5215         * text.C:
5216         * text2.C:
5217         * text3.C: fix some of the tabular crashes
5218
5219 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5220
5221         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5222
5223         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5224
5225 2003-10-09  André Pönitz  <poenitz@gmx.net>
5226
5227         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5228
5229         * BufferView.C:
5230         * BufferView_pimpl.C:
5231         * bufferview_funcs.C:
5232         * lyx_cb.C:
5233         * lyxcursor.C:
5234         * lyxfind.C:
5235         * lyxfunc.C:
5236         * lyxtext.h:
5237         * text.C:
5238         * text2.C:
5239         * text3.C:
5240         * text_funcs.[Ch]:
5241         * textcursor.[Ch]:
5242         * undo_funcs.C: adjust
5243
5244 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5245
5246         * text2.C (incrementItemDepth): new function, use a backtracking
5247         algorithm to discover the correct item depth.
5248         (resetEnumCounterIfNeeded): new function, use a backtracking
5249         algorithm to discover if counter reset is needed.
5250         (setCounter): use them. Simplify a bit. Add different labels for
5251         different item depths for itemize.
5252
5253         * paragraph.C (Paragraph): remove initialization of enumdepth
5254         (operator=): ditto
5255
5256         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5257         enumerate and itemize. Change the type of itemdepth to signed char.
5258
5259 2003-10-08  André Pönitz  <poenitz@gmx.net>
5260
5261         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5262           thing assignable.
5263         * text.C:
5264         * text2.C: adjust
5265
5266         * tabular.[Ch]: fix crash after 'row-insert'
5267
5268 2003-10-08  Angus Leeming  <leeming@lyx.org>
5269
5270         Fix doxygen warnings.
5271
5272         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5273         Remove CutAndPaste:: prefix from header file declaration.
5274
5275         * LColor.h (fill): remove LColor:: prefix from declaration.
5276
5277         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5278         use lyx::depth_type rather than Paragraph::depth_type so that
5279         header file and .C file match.
5280
5281         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5282
5283         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5284         * aspell.C: \file aspell_local.C -> \file aspell.C
5285         * gettext.C: \file gettext.C -> \file src/gettext.C
5286         * gettext.h: \file gettext.h -> \file src/gettext.h
5287         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5288         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5289         * text.C: \file text.C -> \file src/text.C
5290
5291         * toc.C: move comment so that doxygen is not confused.
5292
5293 2003-10-07  Angus Leeming  <leeming@lyx.org>
5294
5295         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5296
5297 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5298
5299         * aspell.C:
5300         * aspell_local.h: add forgotten std::string's.
5301
5302 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5303
5304         * LaTeXFeatures.C:
5305         * LyXAction.C:
5306         * factory.C:
5307         * lfuns.h:
5308         * lyxfunc.C:
5309         * text3.C: The Box patch. Fancybox support, minipage, parbox
5310
5311 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5312
5313         * CutAndPaste.h:
5314         * DepTable.h:
5315         * FloatList.h:
5316         * LaTeXFeatures.h:
5317         * ParagraphParameters.h:
5318         * TextCache.h:
5319         * Thesaurus.h:
5320         * bufferlist.h:
5321         * exporter.h:
5322         * importer.h:
5323         * lastfiles.h:
5324         * lyxfind.h:
5325         * lyxfont.h:
5326         * lyxlex.h:
5327         * lyxtextclasslist.h:
5328         * messages.h:
5329         * paragraph.h:
5330         * paragraph_pimpl.C:
5331         * textcursor.h: add <string> and other small fixes to make Lars'
5332         std::string patch compile with STLport.
5333
5334 2003-10-06  Angus Leeming  <leeming@lyx.org>
5335
5336         * LColor.h: Add missing #include <string>.
5337
5338 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5339
5340         * All most all file in all subdirs: Make <string> be the prefered
5341         way of getting to std::string, add using declarations.
5342
5343 2003-10-06  André Pönitz  <poenitz@gmx.net>
5344
5345         * metricsinfo.C: initialize LyXFont before changing attribute.
5346         (fixes the 'math in \emph is upright' bug)
5347
5348 2003-10-06  André Pönitz  <poenitz@gmx.net>
5349
5350         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5351
5352 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5353
5354         * graph.C:
5355         * paragraph_pimpl.C: Small fixes to build using STLport
5356
5357 2003-10-02  André Pönitz  <poenitz@gmx.net>
5358
5359         * lyxfunc.C:
5360         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5361
5362 2003-10-01  André Pönitz  <poenitz@gmx.net>
5363
5364         * factory.C: assert early
5365
5366 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5367
5368         * lyx_main.C: remove the global debug object
5369
5370         * debug.h: adjust for new debugstream
5371
5372         * debug.C: adjust for new debugstream and keep the global debug
5373         object here.
5374
5375 2003-09-22  Angus Leeming  <leeming@lyx.org>
5376
5377         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5378         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5379         an incomplete class LyXFont.
5380
5381 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5382
5383         * factory.C: bug fix in branches
5384
5385 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5386
5387         * lyxfunc.C (processKeySym): adjust
5388         (dispatch): adjust
5389         (dispatch): change arg name from ev to func, adjust
5390         (sendDispatchMessage): ditto
5391
5392         * lyx_main.C (defaultKeyBindings): adjust keybindings
5393         (deadKeyBindings): ditto
5394
5395         * kbsequence.C (addkey): return a FuncRequest
5396
5397         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5398
5399         * kbmap.C (bind): take a FuncRequest as arg, adjust
5400         (read): adjust
5401         (lookup): adjust
5402         (defkey): change to take a FuncRequest as arg, adjust
5403         (findbinding): take a FuncRequest as arg, adjust.
5404
5405         * funcrequest.h (operator=): added
5406
5407         * funcrequest.C (FuncRequest): default kb_action changed from
5408         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5409
5410         * buffer.C (dispatch): simplify
5411         (dispatch): adjust to take a FuncRequest as arg, adjust
5412
5413         * boost.C (assertion_failed): change assertion message slightly
5414
5415         * ToolbarBackend.C (read): simplify
5416
5417         * MenuBackend.C (binding): adjust call to findbinding, add a
5418         message if no binding is found.
5419         (read): simplify
5420         (expandToc): correct by adding a empty FuncRequest
5421
5422         * LyXAction.C: include <boost/assert.hpp>
5423         (isPseudoAction): delete function
5424         (LookupFunc): change name to...
5425         (lookupFunc): this. change return type to FuncRequest.
5426         (getActionName): take kb_action as arg, simplify
5427         (funcHasFlag): add an assert, simplify.
5428
5429 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5430
5431         * toc.C (action): return a FuncRequest, simplify
5432
5433         * lyxfunc.C (processKeySym): adjust
5434         (getStatus): delete version that takes an int.
5435         (getStatus): adjust
5436         (dispatch): delete version that takes action as int
5437         (dispatch): adjust
5438         (sendDispatchMessage): simplify and adjust
5439
5440         * funcrequest.C (getArg): take unsigned int as arg
5441
5442         * ToolbarBackend.C (read): adjust
5443         (add): delete version that takes func as a string.
5444         (getIton): take a FuncRequest as arg
5445
5446         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5447         action.
5448
5449         * MenuBackend.C (MenuItem): add a new construct that only takes a
5450         Kind, simplify the constructor use for submenus.
5451         (add): adjust
5452         (expandLastfiles): adjust
5453         (expandDocuments): adjust
5454         (expandFormats): adjust
5455         (expandFloatListInsert): adjust
5456         (expandFloatInsert): adjust
5457         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5458
5459         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5460         Remove class variables lyx_pseudo_map and lyx_arg_map
5461
5462         * LyXAction.C (searchActionArg): delete function
5463         (getPseudoAction): delete function
5464         (retrieveActionArg): delete function
5465         (LookupFunc): make it return kb_action, simplify.
5466         (getActionName): simplify
5467
5468         * factory.C (createInset): fix new bug
5469
5470 2003-09-19  Angus Leeming  <leeming@lyx.org>
5471
5472         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5473         masterFilename_ parameter in the include inset.
5474
5475         * factory.C (createInset): changes due to the changes to InsetInclude.
5476
5477 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5478
5479         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5480
5481 2003-09-18  Angus Leeming  <leeming@lyx.org>
5482
5483         * buffer.C:
5484         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5485         Inset::fillWithBibKeys.
5486         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5487
5488 2003-09-18  Angus Leeming  <leeming@lyx.org>
5489
5490         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5491         variables.
5492         (ctor): pass and store a 'Buffer const &'
5493         (buffer): new member function.
5494
5495         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5496         '*this' to the LaTeXFeatures ctor.
5497
5498 2003-09-18  Angus Leeming  <leeming@lyx.org>
5499
5500         * LColor.h:
5501         * lyxfont.C:
5502         * lyxfont.h:
5503         * lyxtext.h:
5504         * text.C: rename EnumLColor as LColor_color.
5505
5506 2003-09-18  Angus Leeming  <leeming@lyx.org>
5507
5508         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5509         remove #include "insets/insetbase.h" from cursor.h.
5510
5511 2003-09-18  Angus Leeming  <leeming@lyx.org>
5512
5513         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5514         InsetOld_code to remove #include "inset.h".
5515
5516         * iterators.C: add #include "insets/inset.h"
5517
5518 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5519
5520         * BufferView.C: remove more locking stuff that apparently doesn't
5521         do anything sensible.
5522
5523 2003-09-16  André Pönitz  <poenitz@gmx.net>
5524
5525         * paragraph.[Ch]:
5526         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5527           performance boost.
5528
5529 2003-09-16  Angus Leeming  <leeming@lyx.org>
5530
5531         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5532
5533         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5534         arg/return type.
5535
5536         * paragraph.h: remove #include "lyxfont.h". Forward declare
5537         LyXFont_size.
5538
5539 2003-09-16  Angus Leeming  <leeming@lyx.org>
5540
5541         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5542         of support/textutils.h.
5543         (isWord): move the contents of support/textutils.h's IsWordChar here.
5544
5545         * buffer.C:
5546         * lyxfind.C:
5547         * rowpainter.C:
5548         * text.C:
5549         * text2.C: add #include "paragraph.h".
5550
5551         * rowpainter.C:
5552         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5553
5554 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5555
5556         * main.C:
5557         * lyx_main.C:
5558         * lyx_cb.C:
5559         * buffer.C:
5560         * LaTeX.C: use namespace alias for lyx::support::os
5561
5562 2003-09-16  Angus Leeming  <leeming@lyx.org>
5563
5564         * bufferparams.C:
5565         * bufferview_funcs.C:
5566         * factory.C:
5567         * lyxfunc.C:
5568         * paragraph_pimpl.C:
5569         * rowpainter.C:
5570         * text.C: add #include "LColor.h".
5571
5572 2003-09-16  Angus Leeming  <leeming@lyx.org>
5573
5574         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5575         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5576         return LyXFont &.
5577         Store the FontBits::color variable as an int rather than as an
5578         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5579         file.
5580
5581         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5582         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5583         string calls together.
5584
5585         * lyxrc.C: add #include "LColor.h".
5586
5587 2003-09-15  Angus Leeming  <leeming@lyx.org>
5588
5589         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5590         a cow_ptr.
5591
5592 2003-09-15  Angus Leeming  <leeming@lyx.org>
5593
5594         * LColor.h: add an EnumLColor wrapper for LColor::color.
5595
5596         * lyxfont.[Ch] (color, setColor, realColor):
5597         * lyxtext.h, text.C (backgroundColor):
5598         pass EnumLColor args to/from the functions, rather than LColor::color
5599         ones.
5600
5601         * lyxfont.h:
5602         * lyxtext.h: forward declare EnumLColor.
5603
5604         * lyx_main.C: add #include "LColor.h".
5605
5606 2003-09-15  Angus Leeming  <leeming@lyx.org>
5607
5608         * .cvsignore: add lyx-gtk.
5609
5610 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5611
5612         * Chktex.C
5613         * LaTeX.C
5614         * LaTeXFeatures.C
5615         * ParagraphParameters.C
5616         * Spacing.C
5617         * buffer.C
5618         * bufferparams.C
5619         * bufferview_funcs.C
5620         * chset.C
5621         * counters.C
5622         * funcrequest.C
5623         * lyxfont.C
5624         * lyxgluelength.C
5625         * lyxlength.C
5626         * paragraph.C
5627         * paragraph_funcs.C
5628         * text3.C
5629         * vc-backend.C: remove usage of STRCONV
5630
5631 2003-09-15  Angus Leeming  <leeming@lyx.org>
5632
5633         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5634         explicitly define the color passed to the painter.
5635
5636 2003-09-15  Angus Leeming  <leeming@lyx.org>
5637
5638         * bufferparams.C (BufferParams): reorder member initializers to avoid
5639         compiler warning.
5640
5641 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5642
5643         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5644         * text.C (updateRowPositions): remove an unusual nop
5645
5646 2003-09-12  André Pönitz  <poenitz@gmx.net>
5647
5648         * BufferView_pimpl.C:
5649         * Bullet.C:
5650         * layout.h:
5651         * lyxfunc.C:
5652         * lyxlayout.[Ch]:
5653         * lyxtextclass.C:
5654         * rowpainter.C:
5655         * text.C:
5656         * text2.C:
5657         * Counters.[Ch]: finish the 'automatic counters' job
5658
5659 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5660
5661         * aspell.C: include <boost/assert.cpp> (compile fix)
5662
5663 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5664
5665         * boost.C (assertion_failed): use lyx::support::abort instead of
5666         assert.
5667
5668 2003-09-10  Angus Leeming  <leeming@lyx.org>
5669
5670         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5671         with their _fwd progeny.
5672
5673 2003-09-09  Angus Leeming  <leeming@lyx.org>
5674
5675         134 files throughtout the source tree: replace 'using namespace abc;'
5676         directives with the appropriate 'using abc::xyz;' declarations.
5677
5678 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5679
5680         * boost.C (emergencyCleanup): moved here from LAssert.c
5681         (assertion_failed): new function, called by BOOST_ASSERT
5682
5683         * several files: change Assert to BOOST_ASSERT
5684
5685 2003-09-09  Angus Leeming  <leeming@lyx.org>
5686
5687         * buffer.[Ch]: Add an Impl class and move Buffer's member
5688         variables into it. As a result move several header files out of
5689         buffer.h.
5690
5691         Add header files to lots of .C files all over the tree as a result.
5692
5693 2003-09-09  Angus Leeming  <leeming@lyx.org>
5694
5695         * buffer.[Ch]: make Buffer's member variables private. Add
5696         accessor functions.
5697
5698         Lots of changes all over the tree as a result.
5699
5700 2003-09-08  Angus Leeming  <leeming@lyx.org>
5701
5702         * graph.C: #include <config.h>.
5703
5704 2003-09-08  Angus Leeming  <leeming@lyx.org>
5705
5706         * BranchList.C:
5707         * BufferView.C:
5708         * BufferView_pimpl.C:
5709         * CutAndPaste.C:
5710         * DepTable.C:
5711         * LaTeX.C:
5712         * LaTeXFeatures.C:
5713         * LyXAction.C:
5714         * MenuBackend.C:
5715         * TextCache.C:
5716         * aspell.C:
5717         * buffer.C:
5718         * bufferlist.C:
5719         * changes.C:
5720         * chset.C:
5721         * converter.C:
5722         * counters.C:
5723         * debug.C:
5724         * graph.C:
5725         * ispell.C:
5726         * lyx_cb.C:
5727         * lyxfind.C:
5728         * lyxfunc.C:
5729         * lyxlex_pimpl.C:
5730         * lyxrc.C:
5731         * lyxrow.C:
5732         * paragraph.C:
5733         * rowpainter.C:
5734         * texrow.C:
5735         * text.C:
5736         * text2.C:
5737         * toc.C: remove redundant using directives.
5738
5739 2003-09-07  Angus Leeming  <leeming@lyx.org>
5740
5741         * LaTeXFeatures.h: remove #include "support/types.h".
5742         * ToolbarBackend.h: remove #include <algorithm>.
5743         * changes.h: remove #include <ctime>.
5744         * debug.h: remove #include <iosfwd>.
5745         * graph.h: remove #include "support/std_string.h".
5746         * lyx_main.h: remove #include <csignal>.
5747         * lyxlex_pimpl.h: remove #include <fstream>.
5748         * sgml.h: remove #include <algorithm>, <utility>.
5749         * toc.h: remove #include "support/std_ostream.h".
5750         Add #include <iosfwd>.
5751
5752 2003-09-07  Angus Leeming  <leeming@lyx.org>
5753
5754         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5755
5756         * converter.h: forward declare LatexRunParams.
5757         * encoding.h: remove #include "lyxrc.h".
5758         * lyxtext.h: remove #include "LColor.h".
5759         * lyxtextclass.h: remove #include "support/types.h".
5760         * trans.h: remove #include "tex-accent.h".
5761         * trans_mgr.h: remove #include "tex-accent.h".
5762         * insets/inset.h: remove #include "support/types.h", <vector>.
5763         * insets/insetcollapsable.h: remove #include "LColor.h".
5764         * insets/insetinclude.h: remove #include "dimension.h".
5765         * insets/insetlatexaccent.h: remove #include "dimension.h".
5766         * insets/insetoptarg.h:: remove #include "insettext.h".
5767         * insets/insettext.h: remove #include "dimension.h",
5768         <boost/shared_ptr.hpp>
5769
5770         * insets/renderers.h: add #include "dimension.h".
5771         * insets/updatableinset.h: add #include "support/types.h".
5772
5773         * many .C files: Associated changes.
5774
5775 2003-09-06  Angus Leeming  <leeming@lyx.org>
5776
5777         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5778         one, inside testInvariant.
5779
5780         * PrinterParams.C: new file.
5781         * PrinterParams.[Ch]: move the function bodies out of line.
5782
5783 2003-09-06  Angus Leeming  <leeming@lyx.org>
5784
5785         * ParagraphParameters.h: forward declare ParameterStruct rather than
5786         including its header file.
5787         (depth): moved out-of-line.
5788
5789 2003-09-06  Angus Leeming  <leeming@lyx.org>
5790
5791         * BufferView_pimpl.h:
5792         * kbmap.h:
5793         * kbsequence.h:
5794         * lyxfunc.h: forward declare LyXKeySym rather than
5795         #include "frontends/LyXKeySym.h".
5796
5797         * BufferView_pimpl.C:
5798         * kbmap.C:
5799         * kbsequence.C:
5800         * lyxfunc.C: associated changes.
5801
5802 2003-09-06  Angus Leeming  <leeming@lyx.org>
5803
5804         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5805         As a result, can remove the #include "insets/inset.h" from BufferView.h
5806
5807 2003-09-06  Angus Leeming  <leeming@lyx.org>
5808
5809         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5810         As a result, can remove the #include "insets/inset.h" from BufferView.h
5811
5812 2003-09-06  Angus Leeming  <leeming@lyx.org>
5813
5814         * buffer_funcs.C:
5815         * buffer.h:
5816         * bufferlist.C:
5817         * BufferView.C:
5818         * bufferview_funcs.C:
5819         * BufferView_pimpl.C:
5820         * CutAndPaste.C:
5821         * lyx_cb.C:
5822         * lyxfunc.C:
5823         * paragraph.h:
5824         * ParagraphParameters.C:
5825         * tabular.C:
5826         * text3.C:
5827         * toc.C:
5828         * undo_funcs.C:
5829         * frontends/controllers/ControlDocument.C:
5830         * insets/insetcaption.C: rearrange the #includes into some sort of
5831         coherent order.
5832
5833         * buffer.h: remove #includes ErrorList.h, undo.h
5834
5835 2003-09-06  Angus Leeming  <leeming@lyx.org>
5836
5837         * support/types.h: add a 'depth_type' typedef, used to store the
5838         nesting depth of a paragraph.
5839
5840         * paragraph.h:
5841         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5842         defining explicitly.
5843
5844         * buffer.h:
5845         * paragraph_funcs.h:
5846         * ParagraphParameters.h:
5847         * sgml.h: use lyx::depth_type rather than Paragraph or
5848         ParameterStruct's depth_type.
5849
5850         * buffer.h
5851         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5852
5853         * BufferView.C:
5854         * BufferView_pimpl.C:
5855         * CutAndPaste.C:
5856         * ParagraphParameters.C:
5857         * buffer_funcs.C:
5858         * bufferlist.C:
5859         * bufferview_funcs.C:
5860         * lyx_cb.C:
5861         * lyxfunc.C:
5862         * tabular.C:
5863         * text3.C:
5864         * toc.C:
5865         * undo_funcs.C:
5866         * frontends/LyXView.C:
5867         * frontends/controllers/ControlDocument.C:
5868         * frontends/controllers/ControlErrorList.C:
5869         * insets/insetbibitem.C:
5870         * insets/insetbranch.C:
5871         * insets/insetcaption.C:
5872         * insets/insetcollapsable.C:
5873         * insets/insetenv.C:
5874         * insets/insetert.C:
5875         * insets/insetfloat.C:
5876         * insets/insetfoot.C:
5877         * insets/insetfootlike.C:
5878         * insets/insetnewline.C:
5879         * insets/insetquotes.C:
5880         * insets/insettabular.C:
5881         * insets/insettext.C:
5882         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5883
5884         * frontends/controllers/ControlChanges.C: #include "changes.h".
5885
5886 2003-09-06  Angus Leeming  <leeming@lyx.org>
5887
5888         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5889         than #including paragraph.h.
5890
5891         * ParagraphList.h:
5892         * RowList.h: deleted. Superfluous.
5893
5894         * CutAndPaste.h:
5895         * iterators.h:
5896         * lyxcursor.h:
5897         * lyxtext.h:
5898         * text_funcs.h:
5899         * undo.h:
5900         * undo_funcs.h:
5901         * insets/inset.h:
5902         * insets/insettext.h: use ParagraphList_fwd.h rather than
5903         ParagraphList.h.
5904
5905         * paragraph.h: don't forward declare ParagraphList.
5906
5907         * buffer.h:
5908         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5909         rather than ParagraphList.h. paragraph.h is still needed for the
5910         Paragraph::depth_type parameters.
5911
5912         * textcursor.h: enable it to compile stand-alone in light of the
5913         above changes.
5914
5915         * bufferview_funcs.C:
5916         * iterators.C:
5917         * lyxfunc.C:
5918         * lyxrow_funcs.C:
5919         * paragraph.C:
5920         * rowpainter.C:
5921         * text.C:
5922         * text2.C:
5923         * text3.C:
5924         * text_funcs.C:
5925         * textcursor.C:
5926         * undo.C:
5927         * frontends/controllers/ControlParagraph.C:
5928         * frontends/controllers/ControlTabular.C:
5929         * insets/insetmarginal.C:
5930         * insets/insetminipage.C:
5931         * insets/insetnote.C:
5932         * insets/insetoptarg.C: add header files needed to compile again.
5933
5934 2003-09-06  Angus Leeming  <leeming@lyx.org>
5935
5936         * RowList_fwd.h: new file, forward-declaring Row rather than
5937         #including lyxrow.h.
5938
5939         * lyxrow_funcs.h:
5940         * lyxtext.h:
5941         * paragraph.h:
5942         * insets/insettext.h: use it instead of RowList.h
5943
5944         * bufferview_funcs.C:
5945         * lyxfunc.C:
5946         * lyxrow_funcs.C:
5947         * paragraph.C:
5948         * rowpainter.C:
5949         * text.C:
5950         * text2.C:
5951         * text3.C: #include "RowList.h".
5952
5953 2003-09-05  Angus Leeming  <leeming@lyx.org>
5954
5955         * factory.C (createInset):
5956         * vspace.C (c-tor): replace sscanf call with an istringstream.
5957         * ispell.C: re-add missing HP/UX headers.
5958         * lyxserver.C: re-add missing  os2 headers.
5959
5960 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5961
5962         * BranchList.C:
5963         * graph.C:
5964         * ispell.C:
5965         * lastfiles.C:
5966         * lyx_cb.C:
5967         * lyxserver.C:
5968         * texrow.C:
5969         * text3.C: re-add missing system headers, needed for 2.95.2.
5970
5971 2003-09-05  Angus Leeming  <leeming@lyx.org>
5972
5973         Changes most place everywhere due to the removal of using directives
5974         from support/std_sstream.h.
5975
5976 2003-09-05  Angus Leeming  <leeming@lyx.org>
5977
5978         Replace LString.h with support/std_string.h,
5979         Lsstream.h with support/std_sstream.h,
5980         support/LIstream.h with support/std_istream.h,
5981         support/LOstream.h with support/std_ostream.h.
5982
5983         Changes resulting throughout the tree.
5984
5985 2003-09-05  Angus Leeming  <leeming@lyx.org>
5986
5987         * sgml.h: ensure that the header file can be compiled stand-alone.
5988         * *.C: strip out redundant #includes. (320 in total.)
5989
5990 2003-09-04  Angus Leeming  <leeming@lyx.org>
5991
5992         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5993         here (from getPackages).
5994
5995         * debug.[Ch]: add a new EXTERNAL tag.
5996
5997 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5998
5999         * text2.C (cursorEnd): simplify
6000         (setCursor): adjust
6001         (getColumnNearX): adjust
6002
6003         * text.C (computeBidiTables): adjust
6004         (fill): adjust
6005
6006         * rowpainter.C (paintChars): adjust
6007         (paintSelection): adjust
6008         (paintChangeBar): adjust
6009         (paintText): adjust
6010
6011         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6012         lastPos instead.
6013         (numberOfSeparators): adjust
6014
6015 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6016
6017         * LyXAction.C:
6018         * box.[Ch]:
6019         * lfuns.h:
6020         * lyxfunc.C:
6021         * text3.C: Restricts the mouse click functionality
6022         of insets like bibtex, include, toc and floatlist to the visible
6023         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6024         up the dialogs. Cursor has to be in front of the inset (i.e.
6025         start of row) for this to function.
6026
6027 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6028
6029         * bufferview_funcs.C (currentState): output row information
6030
6031 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6032
6033         * bufferview_funcs.C (currentState): output paragraph position
6034
6035 2003-09-04  Angus Leeming  <leeming@lyx.org>
6036
6037         * FloatList.h: move out #include "Floating.h".
6038         * LaTeX.h: move out #include "DepTable.h".
6039         * LyXAction.h: move out #include "funcrequest.h".
6040         * buffer.h: move out #include "author.h", "iterators.h".
6041         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6042         * lyx_main.h: move out #include "errorlist.h".
6043         * lyxfunc.h: move out #include "FuncStatus.h".
6044         * lyxtext: move out #include "lyxcursor.h".
6045         * paragraph_pimpl.h: move out #include "counters.h".
6046
6047 2003-09-03  Angus Leeming  <leeming@lyx.org>
6048
6049         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6050         preamble_snippets list, enabling us to add snippets to the preamble
6051         only if the snippet was not there already.
6052
6053 2003-09-04  Angus Leeming  <leeming@lyx.org>
6054
6055         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6056
6057 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6058
6059         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6060         update
6061
6062 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6063
6064         * BranchList.C: point fix, earlier forgotten
6065
6066 2003-09-02  Angus Leeming  <leeming@lyx.org>
6067
6068         * box.C (contains): renamed from 'contained' after a fantastic
6069         amount of hot air.
6070
6071 2003-09-02  John Levon  <levon@movementarian.org>
6072
6073         * BufferView.C:
6074         * lyxcursor.h:
6075         * lyxcursor.C:
6076         * lyxfunc.C:
6077         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6078
6079 2003-09-02  John Levon  <levon@movementarian.org>
6080
6081         * text2.C: simplification of cursorEnd(), including partial
6082         fix for bug 1376
6083
6084 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6085
6086         * buffer.C (readFile): add a space
6087
6088 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6089
6090         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6091
6092 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6093
6094         * buffer.C (readFile): new function, take a filename and a
6095         ParagraphList::iterator
6096         (readFile): adjust
6097         (readFile): adjust, make it private. don't use setStream, make
6098         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6099         always contain the filename.
6100
6101         * BufferView.C (insertLyXFile): simplify and make it work for
6102         gzipped files.
6103
6104 2003-08-30  John Levon  <levon@movementarian.org>
6105
6106         * Makefile.am: fix dist (from Kayvan)
6107
6108 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6109
6110         * most files: change to use const Buffer refs
6111
6112 2003-08-27  André Pönitz  <poenitz@gmx.net>
6113
6114         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6115         on top of ownerPar().
6116
6117 2003-08-27  John Levon  <levon@movementarian.org>
6118
6119         * funcrequest.C: properly initialise POD members
6120
6121 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6122
6123         * lyxtext.h (top_y): move top_y from here
6124         * text.C:
6125         * text2.C:
6126         * text3.C:
6127         * BufferView.[Ch]:
6128         * BufferView_pimpl.[Ch]: to here
6129         * frontends/screen.C:
6130         * insets/insettabular.C:
6131         * insets/insettext.C: adjust
6132         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6133
6134 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6135
6136         * BufferView.[Ch]:
6137         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6138
6139 2003-08-26  André Pönitz  <poenitz@gmx.net>
6140
6141         * paragraph_func.[Ch] (outerPar): new function
6142
6143         * paragraph.C:
6144         * paragraph_funcs.C:
6145         * paragraph_funcs.h:
6146         * paragraph_pimpl.C:
6147         * text2.C: remove Inset::par_owner
6148
6149 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6150
6151         * lyxrow_funcs.C:
6152         * lyxtext.h:
6153         * text.C:
6154         * text2.C: eliminates the needFullRow/display() stuff
6155         altogether, putting the logic in metrics/draw in the insets.
6156
6157 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6158
6159         * text2.C (redoParagraphInternal, redoParagraphs):
6160         * text.C (redoParagraph): add a call to updateRowPositions at the
6161         end of each 'metrics-like' call. Remove all others.
6162         (getRow): remove the 'y-computing' version.
6163         (getRowNearY): do not compute nor return the real y. Solve the
6164         'y < 0' problem and simplify.
6165
6166 2003-08-22  Angus Leeming  <leeming@lyx.org>
6167
6168         * *.[Ch]: clean-up of licence and author blurbs.
6169         Also move config.h out of a few .h files and into a few .C files.
6170
6171 2003-08-22  André Pönitz  <poenitz@gmx.net>
6172
6173         * lyxrow.[Ch]: add x_ and *fill_ members
6174
6175         * lyxtext.h:
6176         * text.C:
6177         * rowpainter.C:
6178         * text2.C: adjust/remove prepareToPrint() calls
6179
6180 2003-08-22  André Pönitz  <poenitz@gmx.net>
6181
6182         * lyxrow.[Ch]: add  end_ member
6183
6184         * lyxrow_funcs.C: use LyXRow::end_
6185
6186         * lyxtext.h (singleWidth): add LyXFont parameter
6187
6188         * rowpainter.C:
6189         * text2.C: adjust LyXText::singleWidth() calls
6190
6191         * text.C (redoParagraph): simplify row breaking logic
6192
6193
6194 2003-08-19  André Pönitz  <poenitz@gmx.net>
6195
6196         * funcrequest.C: initialize button_ member
6197
6198         * text3.C:
6199         * rowpainter.[Ch]: interface consolidation
6200
6201 2003-08-18  André Pönitz  <poenitz@gmx.net>
6202
6203         * BufferView.C:
6204         * BufferView_pimpl.C:
6205         * lyxfind.C:
6206         * paragraph_funcs.C:
6207         * rowpainter.C:
6208         * text3.C: remove LyXScreen::draw() and fitCursor calls
6209
6210         * BranchList.h: remove spurious semicolons
6211
6212         * MenuBackend.C: fix branchlist related crash
6213
6214 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6215
6216         * BranchList.[Ch]:
6217         * InsetList.[Ch]:
6218         * LColor.[Ch]:
6219         * LyXAction.C:
6220         * Makefile.am:
6221         * MenuBackend.[Ch]:
6222         * bufferparams.[Ch]:
6223         * factory.C:
6224         * lfuns.h:
6225         * lyxfunc.C:
6226         * text3.C: implements the 'branch inset'
6227         idea. This allows the output of various versions of a document
6228         from a single source version, selectively outputing or suppressing
6229         output of parts of the text.
6230         This implementation contains a 'branch list editor' in a separate
6231         tab of the document settings dialog. Branches are user definable
6232         and have a "display colour" to distinguish them on-screen.
6233
6234         ColorHandler was somewhat cleaned up.
6235         (1) make possible a dynamically growing LColor list by allowing
6236         the graphic context cache to grow along (vector);
6237         (2) eliminate an IMHO unnecessary step in colour allocation.
6238
6239 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6240
6241         * BufferView_pimpl.C: compile fix
6242
6243 2003-08-15  André Pönitz  <poenitz@gmx.net>
6244
6245         * rowpainter.C: remove extra metrics calls
6246
6247         * lyxtext.h: merge the two constructors into a single one,
6248           pass reference to owner's par list
6249
6250         * BufferView_pimpl.C:
6251         * text.C:
6252         * text2.C: adjust
6253
6254 2003-08-15  André Pönitz  <poenitz@gmx.net>
6255
6256         * lyxrow_funcs.[Ch]:
6257         * lyxtext.h:
6258         * paragraph.h:
6259         * paragraph_funcs.C:
6260         * rowpainter.C:
6261         * text.C:
6262         * text2.C:
6263         * text3.C:
6264         * text_funcs.C: split LyXText::rowlist_ into individual
6265         Paragraph::rows_ chunks
6266
6267         * BufferView.[Ch]:
6268         * BufferView_pimpl.[Ch]:
6269         * lyxfind.C:
6270         * lyxtext.h:
6271         * text3.C: remove toggleSelection()
6272
6273 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6274
6275         * bufferlist.C: beautify two alerts (shorter text of buttons)
6276         * buffer.C: Remove redundant ' ' from message
6277         * tabular.h:
6278         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6279         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6280         rename VALIGN_CENTER to VALIGN_MIDDLE
6281
6282 2003-08-11  André Pönitz  <poenitz@gmx.net>
6283
6284         * lyxtext.h (getPar):
6285         * text.C: new function
6286
6287 2003-08-11  André Pönitz  <poenitz@gmx.net>
6288
6289         * Makefile.am:
6290         * tracer.[Ch]: remove unneeded files
6291
6292         * InsetList.[Ch]: remove resizeInsetsLyXText()
6293
6294         * lyxtext.h:
6295         * text.C:
6296         * text2.C:
6297         * text3.C: merge insertParagraphs() and appendParagraph()
6298         remove breakAgain(), update()
6299
6300         * BufferView_pimpl.[Ch]:
6301         * bufferview_funcs.[Ch]:
6302         * lyxfunc.C:
6303         * paragraph.[Ch]:
6304         * rowpainter.C:
6305         * tabular.C: adjust after text & InsetList changes.
6306
6307 2003-08-08  André Pönitz  <poenitz@gmx.net>
6308
6309         * text.C (insertChar, backspace): replace rowlist fiddling
6310         with rebreak of full par
6311
6312         * lyxtext.h:
6313         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6314         checkParagraph, updateInset): removed
6315
6316 2003-08-07  André Pönitz  <poenitz@gmx.net>
6317
6318         * paragraph.C:
6319         * text3.C: merge some LFUN handlers, remove dead code
6320
6321 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6322
6323         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6324
6325 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6326
6327         * text2.C (DEPM): fix part of bug 1255 and 1256
6328
6329 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6330
6331         * BufferView_pimpl.C (workAreaDispatch): change to use
6332         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6333         that are no mouse related.
6334
6335 2003-08-05  André Pönitz  <poenitz@gmx.net>
6336
6337         * BufferView.[Ch]:
6338         * BufferView_pimpl.[Ch]:
6339         * bufferview_funcs.C:
6340         * text2.C:
6341         * text3.C: rip out "deep update"
6342
6343         * textcursor.[Ch] (last_sel_cursor): remove unused member
6344
6345 2003-08-04  André Pönitz  <poenitz@gmx.net>
6346
6347         * BufferView.[Ch]:
6348         * BufferView_pimpl.[Ch]:
6349         * ParagraphParameters.C:
6350         * bufferview_funcs.C:
6351         * lyx_cb.C:
6352         * lyxfind.C:
6353         * lyxfunc.C:
6354         * text.C:
6355         * text2.C:
6356         * text3.C: replace "complicated" BufferView::update(...) calls with
6357         simpler ones.
6358
6359         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6360
6361 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6362
6363         * Makefile.am (lyx_SOURCES): add paper.h
6364
6365 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6366
6367         * Makefile.am: move things around so that both lyx-qt and
6368         lyx-xforms can be built (according to --with-frontend). Then lyx
6369         is a symbolic link to lyx-[firstfrontend]
6370
6371 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6372
6373         * Always use std::endl with lyxerr
6374
6375 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6376
6377         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6378
6379 2003-08-01  André Pönitz  <poenitz@gmx.net>
6380
6381         * BufferView.[Ch]:
6382         * BufferView_pimpl.[Ch]:
6383         * lyxfunc.C:
6384         * text3.C: merge BufferView::repaint() and BufferView::update()
6385
6386 2003-08-01  José Matos  <jamatos@lyx.org>
6387
6388         * buffer.[Ch]: file_format is no longer a buffer data element.
6389
6390 2003-08-01  André Pönitz  <poenitz@gmx.net>
6391
6392         * BufferView.C:
6393         * lyxtext.h:
6394         * text.C:
6395         * text2.C: make redoParagraph more independent of current cursor
6396
6397         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6398         * text.C:
6399         * text2.C: remove unneeded members
6400
6401 2003-07-30  André Pönitz  <poenitz@gmx.net>
6402
6403         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6404
6405         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6406           create a single function...
6407
6408         * paragraph_funcs.C (moveItem): ... here.
6409
6410         * text.C:
6411           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6412
6413 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6414
6415         * LColor.[Ch]: Add comment and greyedout logical colors.
6416
6417 2003-07-30  André Pönitz  <poenitz@gmx.net>
6418
6419         * tabular.C: don't use Assert too heavily. This crashes where it
6420           shouldn't
6421
6422 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6423
6424         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6425         is disabled (bug 1232)
6426
6427 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6428
6429         * factory.C: limited 'arg' scope
6430
6431 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6432
6433         * factory.C: fixed Note submenu issues
6434
6435 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6436
6437         * factory.C: submenu for Note/Comment/Greyedout
6438
6439 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6440
6441         * lyx_main.C (LyX):
6442         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6443
6444 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6445
6446         * LaTeXFeatures.C:
6447         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6448         greyedout. Patch provided by Jürgen Spitzmüller.
6449
6450 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6451
6452         * kbmap.C (read): fix error message when reading bind files
6453
6454 2003-07-29  Angus Leeming  <leeming@lyx.org>
6455
6456         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6457         certainly does not do what it purports to do. I am doing it, and
6458         us, a favour by killing it.
6459
6460 2003-07-28  José Matos  <jamatos@lyx.org>
6461
6462         * buffer.C (readBody, do_writeFile):
6463         * paragraph.C(readParagraph): \end_document replaces \the_end.
6464
6465 2003-07-29  André Pönitz  <poenitz@gmx.net>
6466
6467         * BufferView.[Ch]:
6468         * BufferView_pimpl.[Ch]:
6469         * lyxfunc.C:
6470         * text2.C:
6471         * text3.C:
6472         * textcursor.[Ch]: remove toggleToggle & Co
6473
6474 2003-07-28  José Matos  <jamatos@fep.up.pt>
6475
6476         * buffer.C (readParagraph):
6477         * params_func (readParToken, readParagraph):
6478         * paragraph.C (write): \layout -> \begin_layout.
6479
6480 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6481
6482         * lyxlex_pimpl.C (setFile): clean up slightly.
6483
6484         * bufferparams.h: add compressed var
6485
6486         * buffer_funcs.C (readFile): adjust for LyXLex change
6487         (newFile): ditto + simplify
6488
6489         * buffer.C (writeFile): handle writing of compressed files
6490
6491         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6492         Check if the file is compressed and set a bufferparm if so.
6493
6494         * Makefile.am (lyx_LDADD): remove explicit -lz
6495
6496 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6497
6498         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6499         makeDocBookFile): put the real LyX version in the first line of
6500         the file
6501
6502         * version.h:
6503         * version.C.in: remove lyx_docversion
6504
6505         * tabular.C (write_attribute): add a template-based version to
6506         write enums properly
6507
6508 2003-07-28  André Pönitz  <poenitz@gmx.net>
6509
6510         * lyxtext.h:
6511         * text.C:
6512         * text2.C:
6513         * text3.C: use doubles again for x-coordinates. They are needed.
6514
6515 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6516
6517         * messages.C (getLocaleDir): use lyx_localedir()
6518
6519         * lyxlex_pimpl.C (setFile): compress stuff
6520
6521         * buffer.C (writeFile): add some compression stuff
6522         (do_writeFile): new func, dont call expliti close... will this
6523         breake anything?
6524
6525         * Makefile.am (lyx_LDADD): add -lz
6526
6527 2003-07-28  José Matos  <jamatos@fep.up.pt>
6528
6529         * buffer.C: increment file format.
6530         * paragraph_funcs (readParagraph, readParToken):
6531         * paragraph.C (readParagraph): add \end_layout.
6532
6533 2003-07-27  Angus Leeming  <leeming@lyx.org>
6534
6535         * Makefile.am: remove special casing for configure-time setting of
6536         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6537
6538         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6539         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6540
6541 2003-07-26  André Pönitz  <poenitz@gmx.net>
6542
6543         * paragraph_func.[Ch]:
6544         * paragraph.C (realizeFont): inline it whereever it is used
6545
6546         * rowpainter.C:
6547         * text.C:
6548         * text2.C:
6549         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6550
6551
6552 2003-07-26  André Pönitz  <poenitz@gmx.net>
6553
6554         *       lyxtext.h:
6555         * text.C:
6556         * text2.C: get rid of LyXText::need_break_row
6557
6558 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6559
6560         * toc.[Ch]: put namespace toc inside namespace lyx
6561
6562         * MenuBackend.C (expandToc2): adjust for lyx::toc
6563         (expandToc): ditto
6564
6565         * lyxfunc.C (dispatch): adjust for lyx::find
6566
6567         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6568         lyx::find instead. Reorganize a bit.
6569         (LyXReplace): rename to replace
6570         (LyXFind): rename to find
6571
6572         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6573         (dispatch): ditto
6574
6575 2003-07-26  André Pönitz  <poenitz@gmx.net>
6576
6577         * text.C (setHeightOfRow): restrict scope of temporary variable
6578
6579         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6580           code (never has been used?)
6581
6582 2003-07-27  Asger Alstrup  <alstrup@local>
6583
6584         * text.C (fill): Optimise algorithm to exploit that we can reuse
6585         the LyXFont for many characters.
6586         (setHeightOfRow): Same thing.
6587         (rowBreakPoint): Same thing.
6588
6589 2003-07-26  Asger Alstrup  <alstrup@local>
6590
6591         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6592
6593         * text.C (singleWidth): Spurious font copying in hot-spot
6594         singleWidth avoided. Reorder tests for arabic for efficiency.
6595
6596         * text.C (fill): handle empty paragraphs better.
6597
6598 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6599
6600         * ispell.C:
6601         * encoding.h: add includes
6602
6603         * lyxrc.C: remove reading of bind files
6604
6605         * lyx_main.C (init): setup bindings and menus only if we have a
6606         gui.
6607
6608         * kbmap.C (read): new method. Do the actual reading of bind
6609         files.
6610
6611         * converter.C (dvipdfm_options):
6612         * bufferparams.C:
6613         * lyxrc.C (read):
6614         (output): adapt PAPER_* enums.
6615
6616         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6617
6618         * bufferparams.h: remove paper-related enums from there
6619
6620         * paper.h: New file. A trivial header file to hold paper-related
6621         enums. It should later expand to contain many paper-related
6622         horrors access.
6623
6624         * lyxrc.C: declare extern displayTranslator
6625
6626 2003-07-27  José Matos  <jamatos@fep.up.pt>
6627
6628         * tabular.[Ch] (linuxdoc): add support for tables and figures
6629         (linuxdoc).
6630
6631 2003-07-27  José Matos  <jamatos@fep.up.pt>
6632
6633         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6634         consistency in both functions.
6635         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6636
6637 2003-07-26  Asger Alstrup  <alstrup@local>
6638
6639         * rowpainter.C (paintRows): Change algorithm to work directly on
6640         the insets rather than asking every character in the document
6641         whether its an inset.
6642
6643 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6644
6645         * buffer.C (openFileWrite): factorize some code
6646
6647 2003-07-26  Angus Leeming  <leeming@lyx.org>
6648
6649         * lyx_cb.C:
6650         * lyx_main.[Ch]: replace occurances of system_tempdir with
6651         os::getTmpDir().
6652
6653 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6654
6655         * rename Inset to InsetOld
6656
6657 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6658
6659         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6660         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6661         which I think is a bit clearer. EDIT is gone, since it was
6662         premature optimisation, and broken for mathed anyway.
6663         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6664         with cursor positioning in insets as well (math insets still do not
6665         work, but that's a different story anyway.) It mysteriously
6666         crashes sometimes with undo in the first paragraph, but I'm fairly
6667         confident that this is a compiler bug.
6668
6669 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6670
6671         * paragraph.C (Paragraph): adjust for new clone return type
6672         (operator==): ditto
6673         (copyIntoMinibuffer): ditto
6674
6675 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6676
6677         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6678         by not having a special case, and always doing a full rebreak of
6679         the document after undo.
6680
6681 2003-07-23  Angus Leeming  <leeming@lyx.org>
6682
6683         * factory.C (createInset): InsetExternal::setParams now takes a
6684         Buffer const * arg.
6685
6686 2003-07-23  Angus Leeming  <leeming@lyx.org>
6687
6688         * factory.C (createInset): changed interface to the external and
6689         graphics mailers' string2params functions.
6690
6691 2003-07-23  Angus Leeming  <leeming@lyx.org>
6692
6693         * factory.C (createInset): pass a
6694         Buffer const * parameter to InsetExternalMailer's string2params.
6695
6696 2003-07-22  John Levon  <levon@movementarian.org>
6697
6698         * Thesaurus.h: include the right aiksaurus header
6699
6700 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6701
6702         * MenuBackend.C (expand): check menu shortcuts unconditionally
6703
6704 2003-07-21  Angus Leeming  <leeming@lyx.org>
6705
6706         * factory.C (createInset): pass a
6707         buffer_path parameter to InsetGraphicsMailer's string2params.
6708
6709 2003-07-21  Angus Leeming  <leeming@lyx.org>
6710
6711         * BufferView_pimpl.C (buffer):
6712         * buffer.C (d-tor):
6713         * lyx_main.C (LyX):
6714         * lyxfunc.C (dispatch):
6715         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6716         rather than the grfx shortcut.
6717
6718 2003-07-21  André Pönitz  <poenitz@gmx.net>
6719
6720         * rowpainter.C: remove unused variables
6721
6722         * tabular_funcs.C:
6723         * tabular_funcs.h: move to tabular.C
6724         * Makefile.am: adjust
6725
6726         * tabular.[Ch]: basic optical cleaning
6727
6728         * author.h: pass references, not values
6729
6730 2003-07-18  André Pönitz  <poenitz@gmx.net>
6731
6732         * lyxtext.h:
6733         * metricsinfo.C:
6734         * metricsinfo.h:
6735         * rowpainter.C:
6736         * text.C:
6737         * text2.C:
6738         * text3.C: two-phase drawing for InsetText and InsetTabular
6739         some float -> int changes.
6740
6741 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6742
6743         * lyx_main.C: fix the fix
6744
6745 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6746
6747         * lyx_main.C: fix a crash in batch mode if no files specified
6748         * converter.C: ws
6749
6750 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6751
6752         * format.[Ch] (papersize): moved to BufferParams
6753         * converter.[Ch] (dvips_options): moved to BufferParams
6754         (dvipdfm_options): moved to anon namespace
6755         * bufferparams.[Ch]: added above functions.
6756
6757 2003-07-17  André Pönitz  <poenitz@gmx.net>
6758
6759         * lyxtext.h:
6760         * rowpainter.C:
6761         * text2.C: don't call inset->update() anymore
6762
6763         * metricsinfo.[Ch]: add convenience constructor
6764
6765 2003-07-16  André Pönitz  <poenitz@gmx.net>
6766
6767         * lyxcursor.[Ch]:
6768         * lyxfunc.[Ch]:
6769         * text.C:
6770         * text2.C: replace the LyXCursor::irow_ member with
6771          on-demand computation of the value
6772
6773 2003-07-16  John Levon  <levon@movementarian.org>
6774
6775         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6776
6777 2003-07-15  André Pönitz  <poenitz@gmx.net>
6778
6779         * text.C:
6780         * text2.C: remove no more needed refresh_row
6781
6782 2003-07-15  André Pönitz  <poenitz@gmx.net>
6783
6784         * lyxtext.h:
6785         * rowpainter.C:
6786         * text2.C:
6787         * text3.C: refresh_status tristate -> need_update bool
6788
6789 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6790
6791         * lyxtext.h (init): remove reinit argument (act as if always true)
6792         * text2.C: adjust to that
6793
6794 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6795
6796         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6797         * text3.C: use it to delete selections in some cases
6798         (bugs 441, 673, 702, 954).
6799
6800 2003-07-14  André Pönitz  <poenitz@gmx.net>
6801
6802         * rowpainter.[Ch]: reduce interface
6803
6804 2003-07-14  André Pönitz  <poenitz@gmx.net>
6805
6806         * BufferView_pimpl.C:
6807         * text2.C: adjust after removing unused BufferView * argument
6808
6809 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6810
6811         * text2.C (init): fix a crash fired on resize
6812
6813 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6814
6815         * buffer.[Ch]: added new closing signal
6816         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6817         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6818         BufferView::Pimpl via the closing the signal
6819
6820 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6821
6822         * buffer.[Ch]: take out all bv-related from buffer
6823         * BufferView.C:
6824         * BufferView_pimpl.[Ch]: connect to new signals
6825         * CutAndPaste.C: removed useless asserts
6826         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6827         * lyxvc.[Ch]:
6828         * vc-backend.[Ch]:
6829         * lyxfunc.C: moved view-related funciontality from vc here
6830         * paragraph.C: removed outdated comments
6831         * text.C: ws
6832
6833 2003-07-10  André Pönitz  <poenitz@gmx.net>
6834
6835         * BufferView_pimpl.C:
6836         * tabular.h:
6837         * tabular_funcs.C:
6838         * text.C:
6839         * text2.C: remove InsetText::InnerCache, clean up consequences
6840
6841 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6842
6843         * ispell.C: fix two typos in error messages
6844
6845 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6846
6847         * Extend Note inset to other forms of annotation like Comment
6848         and Greyedout. Right button click gives dialog.
6849
6850         Files modified or added (+):
6851
6852         * insetnote.[Ch]
6853         * FormNote.[Ch]      +
6854         * ControlNote.[Ch]   +
6855         * form_note.fd       +
6856         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6857         frontends/controllers
6858         * xforms/Dialogs.C
6859         * factory.C
6860
6861 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6862
6863         * aspell.C: add missing namespace lyx::support
6864
6865 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6866
6867         * BufferView.[Ch] (newFile): Add
6868         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6869         * LaTeX.[Ch] (message): added this signal and use it
6870         * buffer.[Ch] (busy, message): added these signals and use them
6871         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6872         * converter.C:
6873         * exporter.C:
6874         * format.C:
6875         * importer.C: use buffer signals instead of direct bv calling
6876         * lyx_cb.[Ch] (ShowMessage): removed
6877         * lyx_main.C:
6878         * lyxfunc.C:
6879         * paragraph_funcs.C:
6880         * text2.C: use buffer signals
6881
6882 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6883
6884         * introduce namespace lyx::graphics
6885
6886 2003-07-02  André Pönitz  <poenitz@gmx.net>
6887
6888         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6889
6890 2003-07-01  André Pönitz  <poenitz@gmx.net>
6891
6892         * text.C:
6893         * text2.C:
6894         * text3.C:
6895         * text_funcs.[Ch]:
6896         * textcursor.h:
6897         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6898           text*.C to text_func.C
6899
6900 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6901
6902         * introduce namespace lyx::support
6903
6904 2003-06-30  André Pönitz  <poenitz@gmx.net>
6905
6906         * Chktex.C:
6907         * funcrequest.C:
6908         * lyxtext.h:
6909         * text.C: re-enable --with-included-string
6910
6911 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6912
6913         * textcursor.C: add <config.h>
6914
6915         * text.C (getWord): remove const from word_location arg
6916
6917         * lyxvc.C (getLogFile): fix const type order
6918
6919         * lyxtext.h: remove const from word_location arg, add arg name
6920
6921         * lyxlayout.h: currect type on labeltype.
6922
6923         * importer.C: correct \file
6924
6925         * converter.C (intToFormat): use std:: on ret val, ws changes
6926
6927         * bufferlist.h: correct \file
6928
6929         * buffer.C (makeLinuxDocFile): fix const type order
6930         (makeDocBookFile): ditto
6931         (fillWithBibKeys): use std:: on stdlib args.
6932
6933         * CutAndPaste.C: fix authors.
6934         (availableSelections): use std:: on return vector
6935
6936 2003-06-27  André Pönitz  <poenitz@gmx.net>
6937
6938         * BufferView_pimpl.C:
6939         * bufferview_funcs.C:
6940         * lyxcursor.C:
6941         * lyxcursor.h:
6942         * lyxfunc.C:
6943         * lyxtext.h:
6944         * rowpainter.C:
6945         * text.C:
6946         * text2.C:
6947         * text3.C: remove LyXCursor::row_ member
6948
6949         * lyxtext.h:
6950         * text.C: rename fullRebreak() to partialRebreak() and implement
6951           a fullRebreak() that really bereks fully
6952
6953         * textcursor.h: new struct for cursor-related data
6954
6955 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6956
6957         * lyx_main.C (LyX): get full path of document loaded on the
6958         command line
6959
6960 2003-06-26  André Pönitz  <poenitz@gmx.net>
6961
6962         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6963           remove unused/broken operator>,<,>=.
6964
6965         *       text.C: remove only use of broken operator<= in an Assert().
6966
6967 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6968
6969         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6970         moved errorlist_.clear to showErrorList
6971
6972 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6973
6974         * converter.C (scanLog, runLaTeX):
6975         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6976         move the bv->showErrorList call to the callers
6977         * lyxfunc.C: i.e. here...
6978         * text2.C: and here
6979         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6980         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6981         namespace, the second to...
6982         * buffer_funcs (BufferFormat, parseErrors): added
6983         * errorlist.C (ErrorList(TeXErrors const &)): removed
6984
6985 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6986
6987         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6988
6989 2003-06-24  "Garst R. Reese" <reese@isn.net>
6990
6991         * debug.C: fix typo
6992
6993 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6994
6995         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6996
6997         * version.C.in: change docversion to 1.4
6998
6999 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7000
7001         * buffer.C: fix a bug just introduced
7002
7003 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7004
7005         * buffer.[Ch]: added the parseError signal and use it, removed
7006         sgmlError
7007         * BufferView.[Ch] (addError): moved to ...
7008         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7009         to the Buffer::parseError signal to catch (guess what) parse errors
7010         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7011
7012 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7013
7014         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7015         ability to create a buffer and to return an existing one from
7016         the list. Moved these functions to...
7017         * buffer_funcs.[Ch]: added
7018         * BufferView.[Ch] (loadLyXFile): added
7019         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7020         job removed from bufferlist::loadLyXFile.
7021         * buffer.C (setReadOnly): make it work without view
7022         (i.e added an if (users))
7023
7024 2003-06-19  Angus Leeming  <leeming@lyx.org>
7025
7026         * lfuns.h:
7027         * LyXAction.C (init):
7028         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7029         with LFUN_DIALOG_SHOW <name> <data>.
7030
7031 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7032
7033         * CutAndPaste.C (availableSelections): small compilation fix for
7034         ancient (gcc 2.9x) compilers
7035
7036 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7037
7038         * text3.C (cursorNext): add tmp var
7039
7040         * text2.C (updateCounters): for function calling out of for clause
7041         (replaceSelectionWithString): ditto
7042         (insertStringAsParagraphs): ditto
7043         (getColumnNearX): add tmp var
7044         (setCursorFromCoordinates): add tmp var
7045         (cursorDownParagraph): add tmp var
7046         (deleteEmptyParagraphMechanism): add tmp var
7047
7048         * text.C (insertChar): add tmp var
7049
7050         * rowpainter.C (paintDepthBar): add tmp var
7051
7052         * CutAndPaste.C (availableSelections): potentially check all
7053         paragraphs in a cut to fill the shown strings.
7054
7055 2003-06-18  André Pönitz  <poenitz@gmx.net>
7056
7057         * kbmap.[Ch]: use vector<> instead of list<>
7058
7059 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7060
7061         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7062         pasteSelection with index
7063
7064         * text2.C (pasteSelection): modify, call pasteSelection with index
7065
7066         * paragraph.C (asString): reimplement version with no interval to
7067         call the one with interval.
7068
7069         * lyxtext.h: add index arg to pasteSelection
7070
7071         * MenuBackend.C (MenuItem): handle PasteRecent
7072         (Menu::read::Menutags): add md_pasterecent
7073         (read): handle it
7074         (expandPasteRecent): new function
7075         (expand): use it
7076
7077         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7078
7079         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7080         the limited stack
7081         (availableSelections): new function
7082
7083 2003-06-17  Angus Leeming  <leeming@lyx.org>
7084
7085         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7086
7087 2003-06-17  Angus Leeming  <leeming@lyx.org>
7088
7089         * lfuns.h:
7090         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7091
7092         * lyxfunc.C (dispatch): invoke it.
7093
7094 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7095
7096         * iterators.C (operator++, ParPosition): reintroduce some
7097         const_cast for the benefit of older compilers.
7098
7099 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7100
7101         * text3.C (dispatch): do not modify clipboard when doing
7102         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7103         LFUN_DELETE_SKIP on a selection selection
7104
7105 2003-06-16  André Pönitz  <poenitz@gmx.net>
7106
7107         * BufferView.C:
7108         * buffer.C:
7109         * buffer.h:
7110         * paragraph.C:
7111         * tabular.[Ch]: IU of clone() and getLabelList();
7112
7113 2003-06-13  André Pönitz  <poenitz@gmx.net>
7114
7115         * tabular.h: compactification
7116
7117 2003-06-12  André Pönitz  <poenitz@gmx.net>
7118
7119         * tabular.C:
7120         * tabular.h:
7121         * tabular_funcs.h: some renaming plus whitespace
7122
7123 2003-06-12  André Pönitz  <poenitz@gmx.net>
7124
7125         * BufferView.C:
7126         * BufferView_pimpl.C:
7127         * CutAndPaste.C:
7128         * buffer.C:
7129         * iterators.[Ch]:
7130         * lyxfunc.C:
7131         * text.C:
7132         * toc.C: Return a Paragraph & for ParIterator::operator*()
7133
7134 2003-06-11  John Levon  <levon@movementarian.org>
7135
7136         * lyx_main.C:
7137         * ToolbarBackend.h:
7138         * ToolbarBackend.C: add "Toolbars" section and
7139         put the flags there
7140
7141 2003-06-10  Angus Leeming  <leeming@lyx.org>
7142
7143         * lfuns.h:
7144         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7145
7146         * lyxfunc.C (dispatch): invoke it.
7147
7148 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7149
7150         * main.C: protect <ios> with HAVE_IOS
7151         (main): protect sync_with_stdio with HAVE_IOS
7152
7153 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7154
7155         * text2.C (cutSelection): adjust
7156         (pasteSelection): adjust
7157
7158         * messages.C: handle get of empty string
7159
7160         * main.C (main): use sync_with_stdio(false)
7161
7162         * lyxfunc.C (dispatch): adjust
7163
7164         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7165         (WriteAs): remove unneeded BufferView arg.
7166
7167         * bufferparams.h: use correct types on papersize, papersize2 and
7168         paperpackage.
7169
7170         * bufferparams.C (readToken): adjust for type
7171         (writeLaTeX): add missing cases to switch.
7172
7173         * bufferlist.C (quitWriteBuffer): adjust
7174         (close): adjust
7175
7176         * buffer.C (asciiParagraph): remove some commented code.
7177
7178         * CutAndPaste.C: remove current_view extern variable.
7179         (cutSelection): add BufferParams arg.
7180         (eraseSelection): add BufferParams arg.
7181         (pasteSelection): add Buffer const & arg
7182
7183 2003-06-07  John Levon  <levon@movementarian.org>
7184
7185         * buffer.C:
7186         * paragraph_funcs.C:
7187         * paragraph_pimpl.C:
7188         * text.C:
7189         * text2.C:
7190         * paragraph.h:
7191         * paragraph.C: allow InsetERT to freely space lines,
7192         and some consolidation of code
7193
7194 2003-06-06  José Matos  <jamatos@fep.up.pt>
7195
7196         * buffer.C (makeDocBookFile): fix bug #821
7197
7198 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7199
7200         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7201
7202 2003-06-04  Angus Leeming  <leeming@lyx.org>
7203
7204         * buffer.C: bump format to 224.
7205
7206 2003-06-05  André Pönitz  <poenitz@gmx.net>
7207
7208         * text2.C (redoParagraphs): remove two const_cast<>
7209
7210 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7211
7212         * ParagraphList.h: remove last remnants of NO_STD_LIST
7213
7214 2003-06-03  Angus Leeming  <leeming@lyx.org>
7215
7216         * factory.C (createInset): small change to the way InsetExternal's params
7217         are set.
7218
7219 2003-06-04  André Pönitz  <poenitz@gmx.net>
7220
7221         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7222
7223         * paragraph_pimpl.h:
7224         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7225
7226         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7227
7228         * undo_funcs.C: make some simple cases of undo work again
7229
7230 2003-06-03  John Levon  <levon@movementarian.org>
7231
7232         * ispell.C: HPUX doesn't have sys/select.h
7233         (from Albert Chin)
7234
7235 2003-06-03  John Levon  <levon@movementarian.org>
7236
7237         * CutAndPaste.C: update tabular and include inset
7238         buffer references
7239
7240         * buffer.h:
7241         * paragraph.h:
7242         * paragraph.C: remove owningBuffer(), don't pass Buffer
7243         to clone()
7244
7245         * factory.C: insetGraphicsParams changed
7246
7247 2003-06-02  John Levon  <levon@movementarian.org>
7248
7249         * LyXAction.C:
7250         * factory.C:
7251         * lfuns.h:
7252         * lyxfunc.C:
7253         * text3.C: remove insetparent
7254
7255 2003-06-02  John Levon  <levon@movementarian.org>
7256
7257         * buffer.h:
7258         * buffer.C: fix inset_iterator.end(), move out of line
7259         (bug 1149)
7260
7261 2003-06-01  John Levon  <levon@movementarian.org>
7262
7263         * text3.C: use a proper cut/paste when doing inset
7264         insert (from Jürgen Spitzmüller)
7265
7266 2003-06-01  John Levon  <levon@movementarian.org>
7267
7268         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7269
7270 2003-05-30  André Pönitz  <poenitz@gmx.net>
7271
7272         * rowpainter.C: unify second drawing phase
7273
7274 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7275
7276         * trans_mgr.C: remove one case of current_view
7277
7278         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7279
7280         * paragraph_funcs.h: remove paragraph.h include
7281
7282         * paragraph.h: delete NO_STD_LIST stuff
7283
7284         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7285
7286         * buffer.h: remove paragraph.h include
7287
7288         * ParagraphList.C: delete file
7289
7290         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7291
7292         * toc.C (getTocList): adjust
7293
7294         * paragraph_pimpl.C (validate): adjust
7295
7296         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7297
7298         * paragraph.C (Paragraph): adjust
7299         (getPositionOfInset): use const_iterator, adjust
7300         (bibitem): use const_iterator, adjust
7301         (setInsetOwner): adjust
7302
7303         * iterators.C (operator++): adjust
7304
7305         * InsetList.[Ch]: Replace selfmade iterator with standard
7306         vector::iterator also introduce const_iterator. Remove getPos,
7307         getInset and setInset from InsetTable. Adjust accordingly.
7308
7309         * BufferView.C (lockInset): adjust
7310         (ChangeInsets): adjust
7311
7312         * tabular.[Ch]: delete commented same_id functions
7313
7314 2003-05-28  John Levon  <levon@movementarian.org>
7315
7316         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7317
7318 2003-05-28  André Pönitz  <poenitz@gmx.net>
7319
7320         * metricsinfo.[Ch]: remove 'fullredraw' member
7321
7322 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7323
7324         * lyxtextclass.C (operator): remove caching.
7325
7326 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7327
7328         * text3.C: adjust
7329
7330         * text2.C (cursorBottom): adjust
7331         (setCounter): use ParagraphList::find, adjust
7332
7333         * text.C (workWidth): use ParagraphList::find, adjust
7334
7335         * lyxcursor.C (LyXCursor): adjust
7336
7337         * buffer.C (inset_iterator): adjust
7338
7339         * ParagraphList.h: make iterator(value_type) private, make
7340         ParagraphList a friend of iterator.
7341
7342         * ParagraphList.C (find): new function
7343
7344         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7345
7346 2003-05-27  André Pönitz  <poenitz@gmx.net>
7347
7348         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7349
7350 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7351
7352         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7353
7354 2003-05-26  John Levon  <levon@movementarian.org>
7355
7356         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7357
7358 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7359
7360         * remove same_id from function signatures, adjust.
7361
7362 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7363
7364         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7365
7366         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7367
7368         * paragraph.C (Paragraph): get rid of same_ids parameter
7369
7370         * ParagraphList.C (insert): adjust
7371         (push_back): adjust
7372
7373 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7374
7375         * paragraph_funcs.C (breakParagraph): adjust
7376         (breakParagraphConservative): adjust
7377
7378         * buffer.C (readParagraph): adjust
7379
7380         * ParagraphList.C (insert): take a reference instead of a pointer
7381         (insert): adjust
7382
7383         * paragraph.[Ch] (id): new function
7384
7385         * bufferlist.C (newFile): adjust
7386
7387         * ParagraphList.C (ParagraphList): adjust
7388         (assign): adjust
7389         (push_back): take a reference instead of a pointer.
7390
7391         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7392
7393         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7394         instead.
7395
7396         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7397         set else use old code.
7398
7399         * ParagraphList.C: remove all NO_NEXT code and only compile this
7400         code of NO_STD_LIST is set.
7401
7402 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7403
7404         * BufferView_pimpl.C:
7405         * TextCache.C:
7406         * TextCache.h:
7407         * bufferlist.C:
7408         * errorlist.h:
7409         * format.C:
7410         * format.h:
7411         * graph.C:
7412         * lyxfunc.C:
7413         * lyxrc.C:
7414         * graphics/GraphicsConverter.C:
7415         * graphics/PreviewLoader.C: header adjustment
7416
7417 2003-05-23  Angus Leeming  <leeming@lyx.org>
7418
7419         * LaTeXFeatures.[Ch] (useBabel): new method.
7420         * bufferparams.C (writeLaTeX): use it.
7421
7422 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7423
7424         * ParagraphList.h (set): remove unused function.
7425
7426 2003-05-23  André Pönitz  <poenitz@gmx.net>
7427
7428         * BufferView.C:
7429         * BufferView_pimpl.C:
7430         * buffer.C:
7431         * buffer.h:
7432         * lyxfunc.C:
7433         * undo_funcs.C: setUndo reworked
7434
7435         * iterators.[Ch]: add access to topmost ParagraphList
7436
7437         * lyxtext.[Ch] (workWidth): add a const
7438
7439 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7440
7441         * texrow.[Ch] (increasePos): remove function
7442         * exporter.C (export): removed unused var and outdated comment
7443
7444 2003-05-23  Angus Leeming  <leeming@lyx.org>
7445
7446         * latexrunparams.h: rename fragile as moving_arg.
7447         * paragraph.C (simpleTeXOnePar): ditto.
7448         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7449
7450 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7451
7452         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7453         (createUndo): ditto
7454         (textUndoOrRedo): comment out a currently unused var.
7455
7456         * paragraph.h (NO_NEXT): enable NO_NEXT
7457
7458         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7459
7460         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7461
7462         * exporter.C (Export): adjust for removeAutoInsets removal.
7463
7464         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7465
7466         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7467
7468         * BufferView.[Ch] (removeAutoInsets): delete function
7469
7470 2003-05-22  Angus Leeming  <leeming@lyx.org>
7471
7472         * latexrunparams.h: add a free_spacing variable.
7473
7474         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7475         to pass moving_arg, as the data is stored in runparams.fragile.
7476
7477         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7478         to Inset::latexOptional or to simpleTeXOnePar.
7479
7480         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7481         free_spacing arg to Inset::latexOptional.
7482
7483         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7484         free_spacing arg.
7485
7486 2003-05-22  Angus Leeming  <leeming@lyx.org>
7487
7488         * latexrunparams.h: add fragile and use_babel variables.
7489
7490         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7491         * buffer.C (makeLaTeXFile): store this returned value in
7492         runparams.use_babel, thus passing it to the inset::latex methods.
7493
7494         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7495         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7496
7497         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7498         longer has a fragile arg, as it is stored in runparams.fragile.
7499
7500         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7501         moving_arg parameter as the data is stored in runparams.fragile.
7502
7503         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7504         a fragile parameter as the data is stored in runparams.fragile.
7505
7506 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7507
7508         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7509
7510 2003-05-22  Angus Leeming  <leeming@lyx.org>
7511
7512         * latexrunparams.h: add a 'bool nice' which defaults to false.
7513
7514         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7515         now encapsulated within runparams.
7516
7517         * bufferlist.C (updateIncludedTeXfiles):
7518         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7519
7520 2003-05-22  Angus Leeming  <leeming@lyx.org>
7521
7522         * latexrunparams.h: new file containing struct LatexRunParams.
7523         * Makefile.am: add new file.
7524
7525         * LaTeX.[Ch] (c-tor, run):
7526         * buffer.[Ch] (makeLaTeXFile):
7527         * bufferlist.[Ch] (updateIncludedTeXfiles):
7528         * converter.C (convert, scanLog):
7529         * converter.[Ch] (runLaTeX):
7530         * exporter.C (Export):
7531         * paragraph.[Ch] (simpleTeXOnePar):
7532         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7533         * paragraph_funcs.[Ch] (latexParagraphs):
7534         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7535         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7536         pass around a LatexRunParams parameter.
7537
7538 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7539
7540         * paragraph.[Ch]: remove unused constructor
7541
7542         * ParagraphList.C (erase): new function, taking two iterators
7543
7544 2003-05-22  André Pönitz  <poenitz@gmx.net>
7545
7546         * undo_funcs.C: remove duplicated code
7547
7548         * iterator.[Ch]: operator=
7549
7550 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7551
7552         * tabular.C (SetMultiColumn): ws changes
7553
7554         * rowpainter.C (paintFirst): get rid of a ->previous
7555
7556         * lyx_cb.C (getPossibleLabel): parlist simplification
7557
7558         * BufferView.C (ChangeInsets): simplify slightly.
7559
7560 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7561
7562         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7563         * lfuns.h: new LFUN_SPACE
7564         * lyxfunc.C: protected space has a new lfun
7565         * paragraph_funcs.C: read new space insets
7566         * text3.C:
7567         * factory.C: handle new space insets
7568
7569 2003-05-22  André Pönitz  <poenitz@gmx.net>
7570
7571         * BufferView.C:
7572         * BufferView_pimpl.C:
7573         * buffer.[Ch]:
7574         * lyxfunc.C:
7575         * undo_funcs.C: return a ParIterator from getParFromID.
7576
7577         * iterators.[Ch]: add two const's
7578
7579 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7580
7581         * toc.C (getTocList): adjust
7582
7583         * iterators.[Ch]: rework for parlist
7584
7585         * buffer.C (par_iterator_begin): adjust
7586         (par_iterator_end): adjust
7587
7588         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7589
7590         * BufferView.C (removeAutoInsets): adjust
7591         (ChangeInsets): adjust
7592
7593 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7594
7595         * text.C (top_y): fix bug 1110
7596
7597 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7598
7599         * errorlist.[Ch]: added
7600         * buffer.C:
7601         * BufferView.[Ch]:
7602         * BufferView_pimpl.C:
7603         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7604         instead
7605
7606 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7607
7608         * Makefile.am: ensure that lyx is relinked upon changes to the
7609         various "convenience" libs.
7610
7611 2003-05-20  Angus Leeming  <leeming@lyx.org>
7612
7613         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7614         files are compiled in alphabetical order again.
7615
7616         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7617
7618 2003-05-19  Angus Leeming  <leeming@lyx.org>
7619
7620         * gettext.[Ch]: remove "char const * _(char const *)".
7621
7622 2003-05-19  André Pönitz  <poenitz@gmx.net>
7623
7624         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7625
7626         * Makefile.am:
7627         * BufferView.C:
7628         * DepTable.h:
7629         * LaTeXFeatures.C:
7630         * buffer.C:
7631         * lyxfont.C:
7632         * lyxlex.h:
7633         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7634
7635 2003-05-19  André Pönitz  <poenitz@gmx.net>
7636
7637         * buffer.C:
7638         * lyxlayout.[Ch]:
7639         * lyxtextclass.[Ch]:
7640         * paragraph.C:
7641         * paragraph_funcs.[Ch]:
7642         * text2.C:
7643         * text3.C: more insetenv work
7644
7645 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7646
7647         * ParagraphParameters.C (params2string): small bug fixed
7648
7649 2003-05-16  André Pönitz  <poenitz@gmx.net>
7650
7651         * debug.C:
7652         * bufferview_funcs.C: patch from Kornel Benko to prevent
7653           crash when _(...) is called twice in a statement
7654
7655 2003-05-16  André Pönitz  <poenitz@gmx.net>
7656
7657         * BufferView.C:
7658         * lyxfunc.C:
7659         * text.C:
7660         * text2.C:
7661         * text3.C:
7662         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7663
7664 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7665
7666         * lyx_main.C (init): remove spurious static_cast
7667
7668 2003-05-14  André Pönitz  <poenitz@gmx.net>
7669
7670         * BufferView.C: fix format string
7671
7672 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7673
7674         * BufferView.[Ch] (insertErrors): removed
7675         * BufferView.[Ch] (showErrorList): added
7676         * buffer.C (runChkTeX):
7677         * converter.C (scanLog): call showErrorList instead of inserterrors
7678
7679 2003-05-13  André Pönitz  <poenitz@gmx.net>
7680
7681         * BufferView_pimpl.C:
7682         * buffer.C:
7683         * bufferview_func.C:
7684         * MenuBackend.C:
7685         * lyxfunc.C:
7686         * lyxrc.C:
7687         * tex-accent.C:
7688         * text3.C:
7689         * toc.C:
7690         * tabular_funcs.h: tostr() from its own header
7691
7692         * ParagraphParameters.C:
7693         * ToolbarBackend.C:
7694         * bufferparams.C:
7695         * format.C:
7696         * lyxlex_pimpl.C:
7697         * text3.C: STRCONV()
7698
7699 2003-05-12  André Pönitz  <poenitz@gmx.net>
7700
7701         * BufferView.C:
7702         * BufferView_pimpl.C:
7703         * CutAndPaste.C:
7704         * LaTeX.C:
7705         * LaTeXFeatures.C:
7706         * ParagraphParameters.C:
7707         * buffer.C:
7708         * bufferlist.C:
7709         * bufferparams.C:
7710         * bufferview_funcs.C:
7711         * converter.C:
7712         * counters.C:
7713         * debug.C:
7714         * exporter.C:
7715         * format.C:
7716         * importer.C:
7717         * lyx_cb.C:
7718         * lyx_main.C:
7719         * lyxfont.C:
7720         * lyxfunc.C:
7721         * lyxvc.C:
7722         * paragraph.C:
7723         * paragraph_funcs.C:
7724         * tabular.C:
7725         * tabular_funcs.C:
7726         * text2.C:
7727         * text3.C:  boost::format -> bformat  all over the place
7728
7729
7730 2003-05-09  André Pönitz  <poenitz@gmx.net>
7731
7732         * LColor.[Ch]: Pimpl the #include <map> away
7733
7734 2003-05-09  John Levon  <levon@movementarian.org>
7735
7736         * bufferlist.C: never remove emergency saves
7737
7738 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7739
7740         * Makefile.am: better lib building
7741
7742 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7743
7744         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7745         instead.
7746         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7747         (simpleTeXSpecialChars): adjust
7748         (simpleTeXSpecialChars): adjust
7749         * paragraph.C (simpleTeXOnePar): adjust
7750         * buffer.C (makeLaTeXFile): adjust
7751
7752         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7753
7754         * text2.C (changeDepth): parlist cleanup
7755         (getColumnNearX): ditto
7756
7757         * rowpainter.C (getLabelFont): parlist cleanup
7758
7759         * bufferlist.C (newFile): parlist cleanup
7760
7761         * CutAndPaste.C (eraseSelection): parlist cleanup
7762
7763         * BufferView_pimpl.C (trackChanges): parlist cleanup
7764         (dispatch): ditto
7765
7766         * BufferView.C (lockInset): parlist cleanup.
7767         (ChangeInsets): ditto
7768
7769 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7770
7771         * CutAndPaste.h: Update file header.
7772
7773         * CutAndPaste.C: Update file header.
7774         Store the parts cut out of the Document in a limited_stack.
7775         (copySelection): adjust
7776         (pasteSelection): new function, takes the index in the limited stack.
7777         (nrOfParagraphs): adjust
7778         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7779         simplify error inset insertion.
7780         (checkPastePossible): adjust
7781
7782 2003-05-06  John Levon  <levon@movementarian.org>
7783
7784         * text2.C: don't cast wrap inset to float
7785
7786 2003-05-05  André Pönitz  <poenitz@gmx.net>
7787
7788         * iterator.C:
7789         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7790
7791         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7792           few naked Paragraph *.
7793
7794 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7795
7796         * bufferparams.C: Output warning if a document with missing
7797         TeX document class is loaded
7798         * exporter.C: Disable TeX exports if the document class is missing
7799         * lyxtextclass.C:
7800         * lyxtextclass.h:
7801         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7802         isTeXClassAvailable()
7803
7804 2003-05-03  John Levon  <levon@movementarian.org>
7805
7806         * BufferView.h:
7807         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7808         explicit cursor show/hide
7809
7810         * BufferView_pimpl.h:
7811         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7812         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7813
7814         * lyxfunc.C: hide cursor before dispatching.
7815
7816         * lyx_cb.C:
7817         * lyxfind.C:
7818         * text.C:
7819         * text3.C: remove explicit cursor hides
7820
7821 2003-05-02  André Pönitz  <poenitz@gmx.net>
7822
7823         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7824
7825         * undo_funcs.C:
7826         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7827           linked lists
7828
7829         * text2.C: tiny whitespace
7830
7831 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7832
7833         * undo_funcs.C: almost only ws changes.
7834
7835         * ParagraphList.C (splice): just return if pl is empty.
7836
7837 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7838
7839         * ParagraphList.C (splice): new function.
7840
7841         * CutAndPaste.C (pasteSelection): use it
7842
7843 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7844
7845         * CutAndPaste.C (pasteSelection): remove the last next and
7846         previous from this file.
7847
7848 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7849
7850         * CutAndPaste.C (pasteSelection): more clean up, user proper
7851         ParagraphList functions for pasteing.
7852
7853         * ParagraphList.C (insert): new function, three arg insert
7854
7855 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7856
7857         * ParagraphList.C (insert): new function, three arg insert
7858
7859         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7860         not on paragraphs.
7861
7862 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7863
7864         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7865
7866 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7867
7868         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7869
7870 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7871
7872         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7873         (copySelection): clean up a bit.
7874         (pasteSelection): use make_pair
7875
7876         * ParagraphList.C (ParagraphList): implement copy constructor
7877         (operator=): implement, base on copy constructor.
7878         (assign): new func
7879
7880         * paragraph.C (erase): return a bool
7881
7882         * paragraph_pimpl.C (erasePos): remove function, move contents...
7883         (erase): ... here. Return a bool.
7884         (erase): call erase instead of erasePos.
7885
7886 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7887
7888         * ParagraphList.h: define PitPosPair
7889         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7890         ParagraphList, fix a bug on pasting multiple pars
7891         * text2.C: change interface to C&P
7892
7893 2003-04-30  André Pönitz  <poenitz@gmx.net>
7894
7895         * undo_func.C: revert part of yesterday's patch 2
7896
7897 2003-04-30  John Levon  <levon@movementarian.org>
7898
7899         * LColor.C: s/tabular/table/
7900
7901 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7902
7903         * text3.C (dispatch): do not convert iterator -> pointer
7904         * undo_funcs.C (setCursorParUndo): ditto
7905         * text_funcs.C (transposeChars): ditto
7906
7907         * text2.C (setLayout): ws changes only
7908
7909         * text.C (breakParagraph): do not convert iterator -> pointer
7910         (insertChar): ditto
7911         (acceptChange): ditto
7912         (rejectChange): ditto
7913         (changeCase): ditto
7914         (Delete): ditto
7915         (backspace): ditto
7916
7917         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7918         pointer
7919
7920 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7921
7922         * text3.C (gotoInset): YABG (yet another bad getChar)
7923
7924 2003-04-29  André Pönitz  <poenitz@gmx.net>
7925
7926         * paragraph.h: make operator= private unimplemented as long as
7927           it is unusable
7928
7929         * ParagraphList.C: whitespace
7930
7931         * paragraph.[Ch]:
7932         * paragraph_pimpl.[Ch]:
7933         * paragraph_funcs.C:
7934         * CutAndPaste.C:
7935         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7936
7937         * text2.C:
7938           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7939
7940 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7941
7942         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7943         * paragraph.[Ch] (erase):
7944         * paragraph_pimpl.[Ch] (erase): change return type and value
7945         * text2.C (cutSelection): some rework
7946
7947 2003-04-28  John Levon  <levon@movementarian.org>
7948
7949         * bufferlist.C: changes for unsaved changes dialog
7950
7951 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7952
7953         * bufferlist.C (newFile): set language (messages_) for new
7954         documents also.
7955
7956         * buffer.C (readFile): ws changes only.
7957
7958 2003-04-28  André Pönitz  <poenitz@gmx.net>
7959
7960         * undo_funcs.C:
7961         * lyxfunc.C:
7962         * buffer.[Ch]:
7963         * BufferView_pimpl.C:
7964         * BufferView.C: getParFromID related ParagraphList::iterator changes
7965
7966 2003-04-28  André Pönitz  <poenitz@gmx.net>
7967
7968         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7969           Changes
7970
7971 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7972
7973         * messages.C: remove one more localedir class variable.
7974
7975 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7976
7977         * messages.C (getLocaleDir): singleton generation function
7978         (Pimpl): use it.
7979         (Messages): add a default constructor.
7980
7981         * main.C (main): do not setup localedir here, do not call
7982         gettext_init.
7983
7984         * gettext.C (_): use it.
7985         (gettext_init): delete funciton
7986
7987 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7988
7989         * gettext.C (getLyXMessages): new singleton generating function.
7990
7991         * buffer.C (updateDocLang): adjust
7992
7993         * Makefile.am (messages.o): add target
7994         (main.o): remove target
7995
7996 2003-04-27  John Levon  <levon@movementarian.org>
7997
7998         * bufferlist.C:
7999         * lyx_cb.C:
8000         * lyxfunc.C:
8001         * lyxvc.C: specify cancel button in Alert::prompt
8002
8003 2003-04-26  John Levon  <levon@movementarian.org>
8004
8005         * text3.C:
8006         * lyxfunc.C:
8007         * lfuns.h:
8008         * LyXAction.C: add LFUN_INSET_SETTINGS
8009
8010         * lyxfunc.C: don't enable tabular-feature when there's
8011         just any locking inset
8012
8013 2003-04-26  John Levon  <levon@movementarian.org>
8014
8015         * bufferlist.C: re-add Cancel to buffer close question
8016
8017         * lyxfunc.C: fix import UI a bit
8018
8019 2003-04-25  John Levon  <levon@movementarian.org>
8020
8021         * gettext.C: remove the broken asserts for now
8022
8023 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8024
8025         * messages.C: make case where setlocale cannot comply work better.
8026
8027         * buffer.C (updateDocLang): new function
8028         (changeLanguage): use it
8029         (readFile): use it
8030
8031         * text2.C (setCounter): use B_ a bit.
8032
8033         * lyxlayout.C (Read): be sure to trim the label strings.
8034
8035         * messages.C (Messages): fix typo in comment
8036
8037         * buffer.C (readFile): set message_ after file is loaded.
8038         (makeDocBookFile): remove double return
8039         (changeLanguage): reset message_ upon language change.
8040         (B_): new func, use this to get translated buffer strings.
8041
8042         * main.C: add myself and Jean Marc as authors.
8043
8044 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8045
8046         * messages.[hC]: pimplify Messages, and three different pimpls to be
8047         used in different circumstances.
8048
8049         * gettext.[Ch]: change for use with new message code.
8050
8051 2003-04-24 André Pönitz <poenitz@gmx.net>
8052
8053         * factory.C: support for eqref
8054
8055 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8056
8057         * messages.[Ch]: add missing char
8058
8059         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8060
8061         * messages.[Ch]: New files
8062
8063 2003-04-18  John Levon  <levon@movementarian.org>
8064
8065         * BufferView.h:
8066         * BufferView.C:
8067         * BufferView_pimpl.C:
8068         * lfuns.h:
8069         * LyXAction.C:
8070         * lyxtext.h:
8071         * text2.C: remove layout-copy/paste (bug 778)
8072
8073 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8074
8075         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8076
8077 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8078
8079         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8080         if they succeed. Act accordingly.
8081
8082 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8083
8084         * text2.C (setCharFont): adjust
8085         (setCounter): adjust
8086         (insertStringAsLines): adjust
8087
8088         * text.C (leftMargin): adjust
8089         (setHeightOfRow): adjust
8090
8091         * rowpainter.C (paintFirst): adjust
8092         (paintLast): adjust
8093
8094         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8095         (outerHook): ditto
8096         (isFirstInSequence): ditto
8097         (getEndLabel): ditto
8098         (outerFont): adjust
8099
8100         * paragraph.C (getParLanguage): comment out some hard stuff.
8101
8102         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8103         (sgmlError): ditto
8104         (simpleDocBookOnePar): ditto
8105         (makeDocBookFile): use ParagraphList::iterator
8106
8107         * CutAndPaste.C (pasteSelection): adjust
8108
8109 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8110
8111         * text2.C (getFont): adjust
8112         (getLayoutFont): adjust
8113         (getLabelFont): adjust
8114
8115         * paragraph_funcs.C (TeXOnePar): adjust
8116
8117         * buffer.C (simpleLinuxDocOnePar): adjust
8118         (simpleDocBookOnePar): adjust
8119
8120         * CutAndPaste.C (pasteSelection): adjust
8121
8122         * BufferView.C (getEncoding): adjust
8123
8124         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8125
8126 2003-04-16  John Levon  <levon@movementarian.org>
8127
8128         * lyxfind.C: use parlist stuff for search/changes
8129
8130 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8131
8132         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8133
8134         * text2.C (deleteEmptyParagraphMechanism): adjust
8135
8136         * text2.[Ch] (ownerParagraph): delete func (both of them
8137
8138 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8139
8140         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8141
8142 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8143
8144         * ParagraphList.C: prepare for NO_NEXT
8145
8146 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8147
8148         * text2.C (getFont): adjust
8149         (getLayoutFont): adjust
8150         (getLabelFont): adjust
8151
8152         * paragraph.C (getFont): adjust
8153         (getLabelFont): adjust
8154         (getLayoutFont): adjust
8155
8156         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8157
8158 2003-04-15  John Levon  <levon@movementarian.org>
8159
8160         From Angus Leeming
8161
8162         * lyx_main.C: handle Include in .ui files
8163
8164 2003-04-15  John Levon  <levon@movementarian.org>
8165
8166         * MenuBackend.C: make the doc files length shorter
8167
8168         * ToolbarBackend.h:
8169         * ToolbarBackend.C: handle toolbar placement flags,
8170         Minibuffer
8171
8172 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8173
8174         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8175         adjust
8176
8177         * paragraph_funcs.C (TeXOnePar): adjust
8178
8179         * paragraph.C (getLabelFont): add outerfont arg, adjust
8180         (getLayoutFont): ditto
8181         (simpleTeXOnePar): adjust
8182
8183         * paragraph_pimpl.C (realizeFont): delete func
8184
8185 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8186
8187         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8188         row argument, constify cur argument.
8189
8190 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8191
8192         * text2.C (getFont): adjust
8193         (getLayoutFont): adjust
8194         (getLabelFont): adjust
8195
8196         * paragraph_funcs.C (TeXOnePar): adjust
8197         (outerFont): new func...
8198         (realizeFont): ...moved out from here, changed this to facilitate
8199         transition
8200
8201         * paragraph.C (getFont): take outerfont as arg, adjust
8202         (simpleTeXOnePar): add outerfont arg, adjust
8203
8204         * buffer.C (simpleLinuxDocOnePar): adjust
8205         (simpleDocBookOnePar): adjust
8206
8207         * CutAndPaste.C (pasteSelection): adjust
8208
8209         * BufferView.C (getEncoding): adjust
8210
8211 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8212
8213         * text2.C (setCharFont): adjust
8214         (setCounter): adjust
8215
8216         * text.C (leftMargin): adjust
8217         (setHeightOfRow): adjust
8218
8219         * rowpainter.C (paintFirst): adjust
8220         (paintLast): adjust
8221
8222         * paragraph_pimpl.C (realizeFont): adjust
8223
8224         * paragraph.C (isFirstInSequence): move from here...
8225         * paragraph_funcs.C (isFirstInSequence): ...to here
8226
8227         * paragraph.C (outerHook): move from here...
8228         * paragraph_funcs.C (outerHook): ...to here
8229
8230         * paragraph.C (depthHook): move from here...
8231         * paragraph_funcs.C (depthHook): ...to here
8232
8233         * paragraph.C (getEndLabel): move from here...
8234         * paragraph_funcs.C (getEndLabel): ...to here
8235
8236         * text2.C (realizeFont): move from here...
8237         * paragraph_funcs.C (realizeFont): ...to here
8238
8239 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8240
8241         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8242
8243 2003-04-14  Angus Leeming  <leeming@lyx.org>
8244
8245         * LColor.[Ch]: scrap LColor mathcursor.
8246
8247 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8248
8249         * lyxlex.[Ch] (text): delete function
8250         * trans.C (Load): adjust
8251         * paragraph_funcs.C (readParToken): adjust
8252
8253 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8254
8255         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8256         vector<char> instead of a char[].
8257
8258         * lyxlex_pimpl.C (getString): adjust
8259         (next): adjust
8260         (lex): use getString
8261         (eatLine): adjust
8262         (nextToken): adjust
8263
8264         * lyxlex.C (text): use pimpl_->getString()
8265         (getBool): ditto
8266         (findToken): ditto
8267
8268 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8269
8270         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8271         (makeFontEntriesLayoutSpecific): temp var for par.size()
8272         (setLayout): temp var for ownerParagraphs().end()
8273         (fullRebreak): temp var for rows().end()
8274         (selectionAsString): temp var for boost::next(startpit), realize
8275         that the while really is a regular for loop.
8276         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8277         setCursor in one place.
8278         (setParagraph): temp vr for ownerParagraphs().end()
8279         (updateCounters): make the while loop a for loop
8280         (cutSelection): temp var for ownerParagraphs().end()
8281         (updateInset): make the do {} while() a regular for loop
8282         (getCursorX): use temp vars
8283         (setCurrentFont): use temp vars
8284         (getColumnNearX): use temp vars
8285
8286 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8287
8288         * text.C (transformChar): use temp var for getChar
8289         (computeBidiTables): use temp var for row->par()
8290         (fill): move temp vars for row->par() and pit->layout() earlier in
8291         the function.
8292         (labelFill): use temp var for row->par()
8293         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8294         asc and desc, realize that pit never changes and that firstpit is
8295         just a duplicate and not needed. Exchange rit->par() with pit in a
8296         lot of places.
8297         (breakAgain): use a temp var for boost::next(rit)
8298         (breakAgainOneRow): ditto
8299         (breakParagraph): use a temp var for rows().begin()
8300         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8301         (cursorRightOneWord): use temp var for cursor.par() and
8302         cursor.pos(), remove usage of tmpcursor.
8303         (cursorLeftOneWord): use temp var for cursor.par() and
8304         cursor.pos() only set cur at end of function.
8305
8306 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8307
8308         * text.C, text2.C: exchange all usage of Paragraph::next with
8309         boost::next(ParagraphList::iterator)
8310
8311         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8312
8313         * text2.C (cursorTop): simplify implementation
8314         (cursorBottom): ditto
8315         (setParagraph): use ParagraphList::iterator
8316         (setCurrentFont): adjust
8317         (getColumnNearX): adjust
8318         (cursorRight): adjust
8319         (cursorLeft): remove usage of Paragraph::previous
8320         (cursorUpParagraph): ditto
8321         (deleteEmptyParagraphMechanism): slight cleanup
8322
8323         * text.C (isBoundary): take a Paragraph const & instead of a
8324         pointer as arg.
8325         (addressBreakPoint): ditto
8326         (leftMargin): remove usage of Paragraph::previous.
8327         (setHeightOfRow): ditto
8328         (cursorLeftOneWord): ditto
8329         (selectNextWordToSpellcheck): ditto
8330         (Delete): ditto
8331         (backspace): ditto
8332         (breakParagraph): remove one usage of Paragraph::next
8333         (redoParagraph): ditto
8334         (acceptChange): ditto
8335         (insertChar): adjust
8336         (rowBreakPoint): adjust
8337
8338         * bufferview_funcs.C (toggleAndShow): adjust
8339
8340 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8341
8342         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8343         methods to access it.
8344         * lyxtext.h:
8345         * text.C: Added updateRowPositions to compute all row positions.
8346         Make top_y and getRowNearY() to use the cached y position
8347
8348 2003-04-11  John Levon  <levon@movementarian.org>
8349
8350         * text.C (rowBreakPoint): reintroduce the labelEnd
8351         checks, code copied from the row fill stuff. Deep voodoo.
8352
8353         * text.C (fill): add a comment and debugging for the
8354         next poor soul.
8355
8356 2003-04-11  John Levon  <levon@movementarian.org>
8357
8358         * text.C: make sure fullrow insets get wrapped to the next line,
8359         even when they're in a manual label
8360
8361 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8362
8363         * text2.C (insertParagraph): make it take ParagraphList::iterator
8364         as arg.
8365         (setLayout): make it return ParagraphList::iterator
8366         (redoParagraphs): ditto
8367         (setCounter): ditto
8368         (checkParagraph): ditto
8369
8370         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8371
8372         * text2.C: adjust several funcs.
8373         (realizeFont): take a ParagraphList::iterator as arg.
8374         (getLayoutFont): ditto
8375         (getLabelFont): ditto
8376         (setCharFont): ditto
8377
8378         * text.C: adjust several funcs.
8379
8380 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8381
8382         * text.C (selectNextWordToSpellcheck): don't accidentally
8383         skip insets
8384
8385 2003-04-10  John Levon  <levon@movementarian.org>
8386
8387         * ToolbarBackend.C (getIcon): special handling for
8388         LFUN_MATH_DELIM
8389
8390 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8391
8392         * text2.C (cursorRight): a getChar assert fixed
8393
8394 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8395
8396         * text2.C (getFont): change to take a ParagraphList::iterator
8397         instead of Paragraph*
8398         Adjust several functions.
8399
8400         * text.C (transformChar): change to take a ParagraphList::iterator
8401         instead of Paragraph*
8402         (singleWidth): ditto
8403         Adjust several functions.
8404
8405         * rowpainter.C: adjust several functions
8406         * rowpainter.h:store a ParagraphList::iterator and not a
8407         Paragraph&.
8408
8409
8410 2003-04-09  John Levon  <levon@movementarian.org>
8411
8412         * lyxfunc.C:
8413         * lfuns.h:
8414         * LyXAction.h:
8415         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8416         and the "help" bits as well
8417
8418 2003-04-09  John Levon  <levon@movementarian.org>
8419
8420         * ToolbarBackend.h:
8421         * ToolbarBackend.C: allow multiple toolbars
8422
8423 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8424
8425         * undo_funcs.C (setCursorParUndo): adjust
8426
8427         * text_funcs.C (transposeChars): adjust
8428
8429         * text3.C (gotoNextInset): adjust
8430         (dispatch): adjust
8431
8432         * text2.C (setLayout): adjust
8433         (changeDepth): adjust
8434         (setFont): adjust
8435         (redoParagraphs): adjust
8436         (selectionAsString): adjust
8437         (setParagraph): adjust
8438         (insertInset): adjust
8439         (cutSelection): adjust
8440         (copySelection): adjust
8441         (pasteSelection): adjust
8442         (insertStringAsLines): adjust
8443         (updateInset): adjust
8444         (setCursor): change to take a ParagraphList::iterator parameter
8445         (setCursorIntern): change to take a ParagraphList::iterator parameter
8446         (setCurrentFont): adjust
8447         (cursorLeft): adjust
8448         (cursorRight): adjust
8449         (deleteEmptyParagraphMechanism): adjust
8450
8451         * text.C (breakParagraph): adjust
8452         (insertChar): adjust
8453         (acceptChange): adjust
8454         (rejectChange): adjust
8455         (selectNextWordToSpellcheck): adjust
8456         (changeCase): adjust
8457         (Delete): adjust
8458         (backspace): adjust
8459
8460         * lyxfind.C (SearchForward): adjust
8461         (SearchBackward): adjust
8462         (nextChange): adjust
8463
8464         * lyxcursor.C (par): adjust
8465
8466         * lyxcursor.h: store a ParagraphList::iterator instead of a
8467         Paragraph*
8468
8469         * lyx_cb.C (getPossibleLabel): adjust
8470
8471         * bufferview_funcs.C (toggleAndShow): adjust
8472
8473         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8474         (dispatch): adjust
8475
8476         * BufferView.C (removeAutoInsets): adjust
8477         (lockedInsetStoreUndo): adjust
8478
8479 2003-04-09  John Levon  <levon@movementarian.org>
8480
8481         * ToolbarBackend.C: try icon without argument
8482         if with argument fails
8483
8484 2003-04-08  John Levon  <levon@movementarian.org>
8485
8486         * ToolbarBackend.h:
8487         * ToolbarBackend.C: add getIcon(), handle tooltip,
8488         and change from "Icon" to "Item".
8489
8490 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8491
8492         * BufferView.C (lockInset): another bad getchar crunched
8493
8494 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8495
8496         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8497         again)
8498
8499 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8500
8501         * lyxfind.C (searchForward, searchBackwards): bug 782
8502
8503 2003-04-07  John Levon  <levon@movementarian.org>
8504
8505         * paragraph.C: remove dead comment
8506
8507         * text.C: remove troublesome depth-fiddling code
8508         in leftMargin() and rightMargin() (bug 1017)
8509
8510         * text.C: fix breaking of rows in nested lists
8511         (bug 1004)
8512
8513         * text2.C (updateCounters): fix up depth values
8514         (bug 1013)
8515
8516 2003-04-07  John Levon  <levon@movementarian.org>
8517
8518         * BufferView_pimpl.C: clear message when doc finishes resizing,
8519         and after a mouse event
8520
8521         * lyxfunc.C: clear message after exiting inset
8522
8523 2003-04-07  John Levon  <levon@movementarian.org>
8524
8525         * bufferview_funcs.C: show math status not outside
8526         status in the statusbar
8527
8528 2003-04-07  John Levon  <levon@movementarian.org>
8529
8530         * lyxfunc.C: note status changed after a depth change
8531
8532 2003-04-04  Angus Leeming  <leeming@lyx.org>
8533
8534         * LaTeX.h: move AuxInfo operator==, != out of line.
8535         Remove LaTeX virtual destructor; nothing derives from it.
8536         Move operator()() out of public area and rename it startscript().
8537         Change protected for private.
8538
8539 2003-04-04  Angus Leeming  <leeming@lyx.org>
8540
8541         * lyxfunc.C:
8542         * text2.C: remove unneeded #includes.
8543
8544 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8545
8546         * text2.C (dEPM): fix the heigth of the next row
8547
8548 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8549
8550         * text.C: squashed an invalid getChar requester + some ws changes
8551
8552 2003-04-03  John Levon  <levon@movementarian.org>
8553
8554         * bufferview_funcs.h:
8555         * bufferview_funcs.C:
8556         * lyxfunc.C:
8557         * lyxtext.h:
8558         * text2.C: make getStatus work for the env depth lfuns
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: parlistize decDepth(), by merging it with incDepth()
8567
8568 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8569
8570         * lyxrow.h: store a ParagraphList::iterator instead of a
8571         Paragraph* and adjust other class functions to suit.
8572
8573         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8574         above.
8575
8576 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8577
8578         * text2.C (setCursor): do not anchor to cursor row for the time being
8579
8580 2003-04-02  John Levon  <levon@movementarian.org>
8581
8582         * LyXAction.C:
8583         * lfuns.h:
8584         * lyx_main.C:
8585         * lyxtext.h:
8586         * text.C:
8587         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8588
8589 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8590
8591         * paragraph.h: make ParagraphList and ParagraphList::iterator
8592         friends of Paragraph.
8593
8594         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8595
8596         * ParagraphList.C: Use the private next_ and previous_ from
8597         Paragraph.
8598
8599 2003-04-01  John Levon  <levon@movementarian.org>
8600
8601         * ToolbarBackend.h:
8602         * ToolbarBackend.C:
8603         * Makefile.am: rename, remove defaults gunk
8604
8605         * MenuBackend.h:
8606         * MenuBackend.C: remove defaults gunk
8607
8608         * Languages.h:
8609         * Languages.C: remove defaults gunk
8610
8611         * lyx_main.h:
8612         * lyx_main.C: error out if files couldn't be found.
8613
8614 2003-04-02  John Levon  <levon@movementarian.org>
8615
8616         * text2.C: make incDepth() use parlist
8617
8618 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8619
8620         * undo_funcs.C (firstUndoParagraph): adjust
8621
8622         * text3.C (gotoInset): adjust
8623         (dispatch): adjust, and rewrite loop.
8624
8625         * text2.C (init): adjust, and rewrite loop.
8626         (redoParagraphs): adjust
8627         (updateInset): adjust, and rewrite loop.
8628         (deleteEmptyParagraphMechanism): adjust
8629
8630         * tabular.C (LyXTabular): adjust
8631         (SetMultiColumn): adjust
8632         (TeXRow): adjust
8633
8634         * lyxtext.[Ch] (ownerParagraph): delete function
8635         (ownerParagraphs): new function returns a ParagraphList.
8636
8637         * BufferView.C (removeAutoInsets): adjust
8638         (insertErrors): adjust
8639         (setCursorFromRow): adjust
8640
8641 2003-04-01  Angus Leeming  <leeming@lyx.org>
8642
8643         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8644         in the frontends.
8645
8646 2003-04-02  John Levon  <levon@movementarian.org>
8647
8648         * lyxtext.h:
8649         * text.C:
8650         * Makefile.am:
8651         * text_funcs.h:
8652         * text_funcs.C: make transposeChars a free function
8653
8654         * lyxrow_funcs.C: remove wrong comment
8655
8656 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8657
8658         * lyxtext.h: adjust
8659         * rowpainter.C: adjust
8660         * text.C: adjust
8661         * text2.C: adjust
8662         * text3.C: adjust
8663
8664         * lyxrow_funcs. [Ch]: new files
8665
8666         * lyxrow.[Ch]: remove next and previous pointers
8667         (next,previous): remove accessor functions
8668         (isParEnd): move to lyxrow_funcs
8669         (lastPos): move to lyxrow_funcs
8670         (nextRowIsAllInset): move to lyxrow_funcs
8671         (lastPrintablePos): move to lyxrow_funcs
8672         (numberOfSeparators): move to lyxrow_funcs
8673         (numberOfHfills): move to lyxrow_funcs
8674         (numberOfLabelHfills): move to lyxrow_funcs
8675         (hfillExpansion): move to lyxrow_funcs
8676
8677         * lyxfunc.C: adjust
8678
8679         * bufferview_funcs.C (toggleAndShow): adjust
8680
8681         * RowList.h: Remove class RowList from file leave just a
8682         std::list<Row>.
8683
8684         * RowList.C: delete file
8685
8686         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8687         and lyxrow_funcs.h
8688
8689 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8690
8691         * text3.C (cursorPrevious): adjust
8692         (cursorNext): adjust
8693         (dispatch): adjust
8694
8695         * text2.C (redoHeightOfParagraph): adjust
8696         (redoDrawingOfParagraph): adjust
8697         (setCursor): adjust
8698
8699         * text.C (breakParagraph): adjust
8700         (insertChar): adjust
8701         (backspace): adjust
8702
8703         * rowpainter.C (RowPainter): adjust
8704         (leftMargin): simplify and adjust
8705         (most rowpainter functions): adjust.
8706
8707         * rowpainter.h: store the row as RowList::iterator not as Row*
8708
8709         * lyxcursor.C (row): taka RowList::iterator as arg
8710         (irow): ditto
8711
8712         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8713         of Row*.
8714
8715 2003-04-01  Angus Leeming  <leeming@lyx.org>
8716
8717         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8718         stuff like bool Bool.
8719
8720 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8721
8722         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8723         rewrite a loop
8724
8725 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8726
8727         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8728         RowList::iterator.
8729
8730         * lyxtext.h (rows): drop one version and leve a const variant that
8731         returns a RowList::iterator.
8732
8733 2003-03-31  Angus Leeming  <leeming@lyx.org>
8734
8735         * text.C (fill): ensure that the signature is the same as that in the
8736         header file.
8737
8738 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8739
8740         * text2.C (redoParagraphs): adjust
8741         (updateCounters): adjust
8742         (checkParagraph): adjust
8743         (getColumnNearX): adjust and reformat a bit.
8744
8745         * text.C (top_y): adjust
8746         (workWidth): adjust
8747         (leftMargin): adjust
8748         (prepareToPrint): adjust
8749         (getRow): adjust
8750         (getRowNearY): adjust
8751
8752         * lyxtext.h: make rowlist_ mutable.
8753
8754         * RowList.h: add const_iterator
8755         * RowList.C: adjust for RowList::const_iterator.
8756
8757         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8758         adjust.
8759
8760 2003-03-31  John Levon  <levon@movementarian.org>
8761
8762         * lyxrc.h:
8763         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8764
8765         * lyx_main.C: set default fonts from using lyx_gui funcs
8766
8767         * exporter.C: pdf_mode moved from lyxrc
8768
8769         * lyx_cb.C:
8770         * lyxfunc.C: changes from above
8771
8772 2003-03-31  John Levon  <levon@movementarian.org>
8773
8774         * lyx_main.C: fix to the last fix
8775
8776 2003-03-31  John Levon  <levon@movementarian.org>
8777
8778         * bufferlist.C: "Load original" -> "Load Original"
8779
8780         * converter.C:
8781         * exporter.C:
8782         * importer.C:
8783         * lyx_main.C:
8784         * format.C: more Alert cleanups
8785
8786 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8787
8788         * text2.C (removeParagraph): make it take a RowList::iterator as
8789         arg, adjust.
8790         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8791         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8792
8793         * text.C (anchor_row): make it take a RowList::iterator as arg,
8794         adjust.
8795         (computeBidiTables): make it take a const reference to Row instead
8796         of Row pointer, adjust.
8797         (leftMargin): make it take a RowList::iterator as arg, adjust.
8798         (rowBreakPoint): adjust
8799         (breakAgainOneRow): make it take a RowList::iterator as arg,
8800         adjust.
8801         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8802
8803         * bufferview_funcs.C (toggleAndShow): adjust
8804
8805 2003-03-30  John Levon  <levon@movementarian.org>
8806
8807         * Makefile.am:
8808         * BoostFormat.h:
8809         * boost-inst.C: moved to support
8810
8811         * several files: changes as a result
8812
8813 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8814
8815         * text2.C (LyXText): adjust.
8816         (init): adjust
8817         (removeRow): make it take a RowList::iterator as arg, adjust.
8818         (fullRebreak): adjust
8819         (deleteEmptyParagraphMechanism): adjust
8820         (clearPaint): adjust
8821         (postPaint): adjust
8822
8823         * text.C (top_y): adjust
8824         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8825         (breakAgain): make it take a RowList::iterator as arg, adjust.
8826         (breakParagraph): adjust
8827         (insertChar): adjust
8828         (backspace): adjust
8829
8830         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8831         need_break_row, and refresh_row.
8832
8833         * text3.C (dispatch): adjust
8834
8835         * text2.C (checkParagraph): adjust
8836         (setCursor): adjust
8837         (setCursorFromCoordinates): adjust
8838
8839         * text.C (top_y): adjust
8840         (workWidth): adjust
8841         (getRow): make it return a RowList::iterator, adjust
8842         (getRowNearY): make it return a RowList::iterator, adjust
8843
8844         * text2.C (init): adjust
8845         (insertRow): remove function
8846         (insertParagraph): adjust
8847         (redoParagraphs): adjust
8848         (fullRebreak): adjust
8849         (updateCounters): adjust
8850
8851         * text.C (top_y): rewrite to use RowList iterators.
8852         (top_y): adjust
8853         (setHeightOfRow): rewrite to sue RowList iterators.
8854         (appendParagraph): adjust
8855         (breakAgain): adjust
8856         (breakAgainOneRow): adjust
8857         (breakParagraph): adjust
8858         (getRow): adjust
8859         (getRowNearY): adjust, and remove commented code.
8860
8861         * lyxtext.h (firstRow): delete function
8862         (lastRow): delete function
8863         (rows): new function (const and non-const versions.)
8864         (insertRow): delete function
8865
8866         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8867
8868 2003-03-29  John Levon  <levon@movementarian.org>
8869
8870         * BufferView_pimpl.C: always update scrollbar top
8871         because pasting text when we're anchored could mean we
8872         miss an update altogether
8873
8874 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8875
8876         * text2.C (init): use rowlist_.end() and not 0.
8877         (insertRow): change to take a RowList::iterator as arg, adjust
8878         for this.
8879         (insertParagraph): change to take a RowList::iterator as arg,
8880         adjust for this.
8881         (redoParagraphs): remove some debug msgs.
8882
8883         * text.C (appendParagraph): change to take a RowList::iterator
8884         arg, adjust for this.
8885         (breakAgain): add an assert
8886         (breakAgainOneRow): ditto
8887
8888 2003-03-29  John Levon  <levon@movementarian.org>
8889
8890         * text2.C: do not clear selection after inc/decDepth
8891         (bug 550)
8892
8893 2003-03-29  John Levon  <levon@movementarian.org>
8894
8895         * BufferView.C:
8896         * buffer.C: fix broken strerrors according to Lars
8897
8898 2003-03-29  John Levon  <levon@movementarian.org>
8899
8900         * converters.C: more Alert cleanups
8901
8902 2003-03-29  John Levon  <levon@movementarian.org>
8903
8904         * bufferview_funcs.C: remove pointless Alert
8905
8906         * buffer.C: fix confusing error message when
8907         a template is chmoded 000
8908
8909 2003-03-29  John Levon  <levon@movementarian.org>
8910
8911         * BufferView.C:
8912         * BufferView.h:
8913         * BufferView_pimpl.C: Alert fixes
8914
8915         * Makefile.am:
8916         * tabular.C:
8917         * tabular-old.C: remove unused table compat reading
8918
8919 2003-03-29  John Levon  <levon@movementarian.org>
8920
8921         * BufferView.C:
8922         * buffer.C:
8923         * lyx_cb.h:
8924         * lyx_cb.C: more Alert cleanups
8925
8926         * lyxfunc.C: don't allow chktex if not latex document
8927
8928 2003-03-29  John Levon  <levon@movementarian.org>
8929
8930         * lyx_cb.C:
8931         * BufferView.C:
8932         * buffer.C: warnings pushed down from support/,
8933         kill err_alert
8934
8935 2003-03-29  John Levon  <levon@movementarian.org>
8936
8937         * lyxfunc.C: safety check for C-r (revert)
8938
8939 2003-03-29  John Levon  <levon@movementarian.org>
8940
8941         * bufferlist.h:
8942         * bufferlist.C: several UI fixes using Alert::prompt.
8943         Fix the pointless looping quit code. Fix stupid revert
8944         behaviour (bug 938)
8945
8946         * lyxvc.h:
8947         * lyxvc.C:
8948         * lyx_cb.C: use Alert::prompt
8949
8950         * lyx_main.C: remove a silly question
8951
8952         * lyxfunc.C: remove a couple of silly questions,
8953         use Alert::prompt
8954
8955 2003-03-28  John Levon  <levon@movementarian.org>
8956
8957         * text2.C: fix bug 974 (End on empty par)
8958
8959 2003-03-28  John Levon  <levon@movementarian.org>
8960
8961         * BufferView_pimpl.C:
8962         * LyXAction.C:
8963         * lfuns.h: remove do-nothing math greek lfuns
8964
8965 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8966
8967         * lyxgluelength.h (isValidGlueLength): add default arg on
8968         parameter 2. Remove default arg from friend in class.
8969
8970         * lyxlength.h (isValidLength): add default arg on parameter 2.
8971         Remove default arg from friend in class.
8972
8973         * text2.C (LyXText): adjust, initialize refresh_row.
8974         (init): adjust
8975         (removeRow): adjust
8976         (insertRow): adjust
8977         (insertParagraph): adjst
8978         (redoParagraphs): adjust
8979         (fullRebreak): adjust
8980         (updateCounters): adjust
8981         (deleteEmptyParagraphMechanism): first attempt at fixing a
8982         crashing bug.
8983
8984         * text.C (top_y): adjust
8985         (setHeightOfRow): adjust
8986         (getRow): adjust
8987         (getRowNearY): adjust
8988
8989         * lyxtext.h: include RowList.h
8990         (~LyXText): not needed anymore, deleted.
8991         (firstRow): modify for RowList
8992         (lastRow): new function
8993         Delete firstrow and lastrow class variables, add a Rowlist
8994         rowlist_ class variable.
8995
8996         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8997         paragraph is empty.
8998
8999         * RowList.C (insert): fix case where it == begin().
9000
9001 2003-03-26  Angus Leeming  <leeming@lyx.org>
9002
9003         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9004         the thesaurus dialog.
9005
9006 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9007
9008         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9009
9010         * RowList.[Ch]: new files
9011
9012         * ParagraphList.C (erase): handle the case where it == begin
9013         correctly.
9014
9015 2003-03-25  John Levon  <levon@movementarian.org>
9016
9017         * Makefile.am:
9018         * aspell_local.h:
9019         * aspell.C: add new aspell support
9020
9021         * lyxrc.h:
9022         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9023         have it accessible.
9024
9025 2003-03-25  Angus Leeming  <leeming@lyx.org>
9026
9027         * lfuns.h:
9028         * LyXAction.C (init): new LFUN_INSET_INSERT.
9029
9030         * BufferView_pimpl.C (dispatch): split out part of the
9031         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9032
9033         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9034         LFUN_INSET_APPLY.
9035
9036 2003-03-25  Angus Leeming  <leeming@lyx.org>
9037
9038         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9039
9040 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9041
9042         * text2.C:
9043         * text3.C: remove useless row->height(0)
9044
9045 2003-03-25  John Levon  <levon@movementarian.org>
9046
9047         * lyxtext.h:
9048         * text2.C:
9049         * text3.C: rename the refreshing stuff to better names
9050
9051 2003-03-24  John Levon  <levon@movementarian.org>
9052
9053         * BufferView_pimpl.h:
9054         * BufferView_pimpl.C: update layout choice on a mouse
9055         press/release
9056
9057 2003-03-23  John Levon  <levon@movementarian.org>
9058
9059         * Makefile.am: fix commandtags.h reference
9060
9061 2003-03-22  John Levon  <levon@movementarian.org>
9062
9063         * BufferView_pimpl.C:
9064         * lyxtext.h:
9065         * rowpainter.C:
9066         * rowpainter.h:
9067         * text.C:
9068         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9069
9070 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9071
9072         * lyxtext.h:
9073         * text.C: take the rtl methods out of line
9074
9075 2003-03-21 André Pönitz <poenitz@gmx.net>
9076
9077         * metricsinfo.[Ch]: new files containing structures to be passed around
9078         during the two-phase-drawing...
9079
9080 2003-03-21 André Pönitz <poenitz@gmx.net>
9081
9082         * lyxtextclass.C: read 'environment' tag.
9083
9084 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9085
9086         * text2.C (removeRow): fix bug 964
9087
9088 2003-03-20  John Levon  <levon@movementarian.org>
9089
9090         * rowpainter.C:
9091         * text.C:
9092         * text2.C: paint cleanups. Inset::update() dropped font
9093         parameter
9094
9095 2003-03-19  John Levon  <levon@movementarian.org>
9096
9097         * lyxfunc.C: only fitcursor/markDirty if available()
9098
9099 2003-03-19  John Levon  <levon@movementarian.org>
9100
9101         * commandtags.h: rename to ...
9102
9103         * lfuns.h: ... this, and renumber / cleanup
9104
9105 2003-03-19  John Levon  <levon@movementarian.org>
9106
9107         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9108         fit the cursor after an lfun
9109
9110         * BufferView.h:
9111         * BufferView.C:
9112         * BufferView_pimpl.h:
9113         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9114
9115         * LyXAction.C: layout-character should have ReadOnly
9116
9117         * ParagraphParameters.C:
9118         * buffer.C:
9119         * bufferview_funcs.C:
9120         * lyx_cb.C:
9121         * lyxfind.C:
9122         * lyxtext.h:
9123         * text.C:
9124         * text2.C:
9125         * text3.C:
9126         * undo_funcs.C: changes from above
9127
9128 2003-03-18  John Levon  <levon@movementarian.org>
9129
9130         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9131         remove it from update()
9132
9133         * lyxfunc.C: update layout choice after an lfun
9134
9135         * text3.C: remove extra updateLayoutChoice()s
9136
9137 2003-03-18  John Levon  <levon@movementarian.org>
9138
9139         * text.C: top_y change means full repaint, fix
9140         a drawing bug with cursor movement
9141
9142 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9143
9144         * lyxtext.h:
9145         * text.C:
9146         * text2.C: anchor row on setCursor
9147
9148 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9149
9150         * lyxtext.h: remove almost all mutable keywords
9151         * text.C:
9152         * text2.C:
9153         * text3.C: remove const keywords accordingly
9154
9155 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9156
9157         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9158         anon namespace
9159         (TeXEnvironment): ditto
9160         (TeXOnePar): ditto
9161
9162 2003-03-17  John Levon  <levon@movementarian.org>
9163
9164         * text.C (rowBreakPoint): remove attempt to fix displayed
9165         math insets inside a manual label
9166
9167 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9168
9169         * lyxtext.h: remove BufferView* as first arg from almost all class
9170         functions.
9171         * other files: adjust.
9172
9173 2003-03-17  John Levon  <levon@movementarian.org>
9174
9175         * lyxtext.h:
9176         * undo_funcs.C:
9177         * text2.C: more paint cleanups
9178
9179         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9180
9181         * rowpainter.h:
9182         * rowpainter.C: remove "smart" background painting code
9183
9184 2003-03-16  John Levon  <levon@movementarian.org>
9185
9186         * lyxtext.h:
9187         * text.C:
9188         * text2.C:
9189         * text3.C: add helper functions for setting refresh_row/y
9190
9191 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9192
9193         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9194         newline inset which *can* get inserted in the pass_thru layouts.
9195         This is primarily for literate documents.
9196
9197 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9198
9199         * buffer.C: increment LYX_FORMAT to 223
9200
9201 2003-03-14 André Pönitz <poenitz@gmx.net>
9202
9203         * textclass.h: prepare for environment handling, ws changes
9204         * lyxlayout.C: read latexheader and latexfooter tags
9205
9206 2003-03-14  John Levon  <levon@movementarian.org>
9207
9208         * text2.C: rewrite ::status() a bit
9209
9210 2003-03-13  John Levon  <levon@movementarian.org>
9211
9212         * lyxtext.h: add some docs
9213
9214 2003-03-13  John Levon  <levon@movementarian.org>
9215
9216         * lyxtext.h:
9217         * text.C:
9218         * text2.C:
9219         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9220
9221 2003-03-13  John Levon  <levon@movementarian.org>
9222
9223         * text3.C: fix appendix redrawing
9224
9225 2003-03-13  John Levon  <levon@movementarian.org>
9226
9227         * text.C (setHeightOfRow):
9228         * rowpainter.h:
9229         * rowpainter.C: make appendix mark have the text
9230           "Appendix" so the user knows what it is
9231
9232         * LColor.h:
9233         * LColor.C: s/appendixline/appendix/ from above
9234
9235 2003-03-13  John Levon  <levon@movementarian.org>
9236
9237         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9238
9239         * text.C: fix a getChar(pos) bug properly
9240
9241 2003-03-13  Angus Leeming  <leeming@lyx.org>
9242
9243         * commandtags.h:
9244         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9245         Probably only temporary. Let's see how things pan out.
9246
9247         * BufferView.C (unlockInset):
9248         * BufferView_pimpl.C (fitCursor):
9249         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9250
9251         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9252         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9253
9254         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9255         new functions that convert ParagraphParameters to and from a string.
9256
9257         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9258         BufferView::Pimpl's dispatch.
9259         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9260
9261 2003-03-13 André Pönitz <poenitz@gmx.net>
9262
9263         * lyxfunc.C:
9264         * text3.C:
9265         * factory.C: make it aware of InsetEnv
9266
9267 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9268
9269         * text2.C (setCursor): never ask for one past last
9270         (setCursor): add some debugging messages.
9271
9272         * text.C (singleWidth): never ask for one past last
9273         (singleWidth): ditto
9274         (leftMargin): ditto
9275         (rightMargin): ditto
9276         (rowBreakPoint): ditto
9277         (setHeightOfRow): ditto
9278         (prepareToPrint): ditto
9279
9280         * rowpainter.C (paintBackground): never ask for one past last
9281         (paintText): never ask for one past last
9282
9283         * paragraph_pimpl.C (getChar): make the assert stricter, never
9284         allow the one past last pos to be taken
9285
9286         * paragraph.C (getChar): ws changes only
9287
9288         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9289         (numberOfSeparators): ditto
9290         (numberOfHfills): ditto
9291
9292 2003-03-12  John Levon  <levon@movementarian.org>
9293
9294         * author.h:
9295         * author.C:
9296         * bufferparams.h:
9297         * bufferparams.C:
9298         * paragraph_funcs.C: fix per-buffer authorlists
9299
9300 2003-03-12  John Levon  <levon@movementarian.org>
9301
9302         * text.C: fix newline in right address
9303
9304 2003-03-12  Angus Leeming  <leeming@lyx.org>
9305
9306         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9307         duplicate those in LyXFunc::dispatch.
9308
9309         * commandtags.h:
9310         * LyXAction.C:
9311         * ToolbarDefaults.C:
9312         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9313         Add LFUN_FONTFREE_UPDATE.
9314
9315         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9316         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9317
9318         * bufferview_func.[Ch]: several new functions to facilliate
9319         transfer of data to and from the character dialog.
9320
9321 2003-03-12  John Levon  <levon@movementarian.org>
9322
9323         * buffer.C:
9324         * paragraph.h:
9325         * paragraph.C:
9326         * paragraph_funcs.C:
9327         * paragraph_pimpl.C:
9328         * sgml.C:
9329         * tabular.C:
9330         * text.C:
9331         * text3.C: remove META_NEWLINE in favour of an inset
9332
9333         * rowpainter.h:
9334         * rowpainter.C: remove paintNewline (done by inset)
9335
9336 2003-03-12  John Levon  <levon@movementarian.org>
9337
9338         * paragraph_pimpl.C: complain about bad getChar()s
9339         for a while at least
9340
9341 2003-03-12  John Levon  <levon@movementarian.org>
9342
9343         * buffer.h:
9344         * buffer.C: move paragraph read into a separate function,
9345         a little renaming to reflect that.
9346
9347         * bufferparams.h:
9348         * bufferparams.C: remove the author_ids map, not necessary now
9349
9350         * factory.h:
9351         * factory.C: moved Buffer::readInset to here
9352
9353         * paragraph_funcs.h:
9354         * paragraph_funcs.C: readParagraph free function moved from
9355         buffer.C
9356
9357         * tabular.C: name change
9358
9359 2003-03-12  John Levon  <levon@movementarian.org>
9360
9361         * buffer.C:
9362         * ParagraphParameters.C: move par params input to
9363         a read() method
9364
9365         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9366         behave like a normal read from the stream wrt reading
9367         a line vs. a \\token
9368
9369 2003-03-12  John Levon  <levon@movementarian.org>
9370
9371         * paragraph.C:
9372         * ParagraphParameters.h:
9373         * ParagraphParameters.C: move output code to a
9374         ::write() method
9375
9376 2003-03-12  John Levon  <levon@movementarian.org>
9377
9378         * BufferView.C (insertLyXFile):
9379         * buffer.h:
9380         * buffer.C:
9381         * tabular.C: use a parlist iterator for creating the
9382           document.
9383
9384 2003-03-12  John Levon  <levon@movementarian.org>
9385
9386         * buffer.C: make current_change static local not
9387           static file-scope
9388
9389 2003-03-12  John Levon  <levon@movementarian.org>
9390
9391         * buffer.C: fix insertStringAsLines for change tracking
9392
9393 2003-03-12  John Levon  <levon@movementarian.org>
9394
9395         * BufferView.C:
9396         * tabular.C:
9397         * buffer.h:
9398         * buffer.C:
9399         * bufferparams.h:
9400         * bufferparams.C: move author list into params. Rename some
9401           functions. Move the header reading into a separate token
9402           loop. Move the header token reading into BufferParams.
9403
9404 2003-03-12  John Levon  <levon@movementarian.org>
9405
9406         * changes.C: put debug inside lyxerr.debugging() checks
9407
9408 2003-03-11 André Pönitz <poenitz@gmx.net>
9409
9410         * factory.C: make it aware of InsetHFill
9411
9412 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9413
9414         * buffer.C (latexParagraphs): move function from here...
9415         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9416         args.
9417
9418 2003-03-10  Angus Leeming  <leeming@lyx.org>
9419
9420         * LyXAction.C (init): fix bug in poplating array with multiple entries
9421         with the same LFUN (spotted by JMarc).
9422
9423 2003-03-10  John Levon  <levon@movementarian.org>
9424
9425         * text.C:
9426         * text2.C: move getColumnNearX() near its
9427         only call site
9428
9429 2003-03-10  John Levon  <levon@movementarian.org>
9430
9431         * text.C: fix break before a minipage
9432
9433 2003-03-10  John Levon  <levon@movementarian.org>
9434
9435         * text.C: fix the last commit
9436
9437 2003-03-09  John Levon  <levon@movementarian.org>
9438
9439         * lyxtext.h:
9440         * text.C:
9441         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9442         bug 365 (don't break before insets unless needed). Don't
9443         return a value > last under any circumstances.
9444
9445 2003-03-09  Angus Leeming  <leeming@lyx.org>
9446
9447         * BufferView_pimpl.C (trackChanges, dispatch): call
9448         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9449
9450 2003-03-09  Angus Leeming  <leeming@lyx.org>
9451
9452         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9453         than Dialogs::showAboutlyx().
9454
9455 2003-03-09  Angus Leeming  <leeming@lyx.org>
9456
9457         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9458         than Dialogs::showTabularCreate().
9459
9460 2003-03-09  John Levon  <levon@movementarian.org>
9461
9462         * lyxtext.h:
9463         * text.C:
9464         * text2.C: 3rd arg to nextBreakPoint was always the same.
9465           Use references.
9466
9467 2003-03-08  John Levon  <levon@movementarian.org>
9468
9469         * lyxrow.C:
9470         * paragraph.C:
9471         * paragraph.h:
9472         * rowpainter.C:
9473         * text.C:
9474         * text2.C: Remove the "main" bit from the "main body"
9475           notion.
9476
9477 2003-03-08  John Levon  <levon@movementarian.org>
9478
9479         * text.C (leftMargin): The left margin of an empty
9480         manual label paragraph should not include the label width
9481         string length.
9482
9483         * text.C (prepareToPrint): don't attempt to measure hfills
9484         for empty manual label paragraphs - the answer should be 0
9485
9486 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9487
9488         * CutAndPaste.C: remove commented code and reindent.
9489
9490 2003-03-08  John Levon  <levon@movementarian.org>
9491
9492         * lyxfunc.h:
9493         * lyxfunc.C: move reloadBuffer()
9494
9495         * BufferView.h:
9496         * BufferView.C: to here
9497
9498         * lyxvc.C: add comment
9499
9500         * vc-backend.h:
9501         * vc-backend.C: call bv->reload() to avoid
9502           getStatus() check on MENURELOAD
9503
9504 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9505
9506         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9507         to an old format .dep file.
9508
9509 2003-03-07  Angus Leeming  <leeming@lyx.org>
9510
9511         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9512         when the LFUN_MOUSE_RELEASE should have been handled by
9513         inset->localDispatch.
9514
9515 2003-03-07  Angus Leeming  <leeming@lyx.org>
9516
9517         * BufferView_pimpl.C (dispatch):
9518         * LyXAction.C (init):
9519         * ToolbarDefaults.C (init):
9520         * commandtags.h:
9521         * lyxfunc.C (getStatus):
9522         remove LFUN_INSET_GRAPHICS.
9523
9524         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9525
9526 2003-03-07  Angus Leeming  <leeming@lyx.org>
9527
9528         * commandtags.h:
9529         * LyXAction.C (init):
9530         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9531
9532         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9533
9534         * commandtags.h:
9535         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9536
9537         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9538         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9539
9540 2003-03-07  Angus Leeming  <leeming@lyx.org>
9541
9542         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9543         remove "ert".
9544
9545 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9546
9547         * ParagraphList.C (front): new function
9548         (back): implement
9549
9550 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9551
9552         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9553         and top_row_offset_. removed var first_y.
9554         * text.C (top_y):
9555         * text2.C (LyXText, removeRow):
9556         * text3.C:
9557         * BufferView_pimpl.C:
9558         use these methods instead of using first_y
9559
9560 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9561
9562         * text2.C (pasteSelection): adjust for checkPastePossible
9563
9564         * CutAndPaste.C: remove Paragraph * buf and replace with
9565         ParagraphList paragraphs.
9566         (DeleteBuffer): delete
9567         (cutSelection): change the tc type to textclass_type
9568         (copySelection): change the tc type to textclass_type
9569         (copySelection): adjust for ParagraphList
9570         (pasteSelection): change the tc type to textclass_type
9571         (pasteSelection): adjust for Paragraphlist
9572         (nrOfParagraphs): simplify for ParagraphList
9573         (checkPastePossible): simplify for ParagraphList
9574         (checkPastePossible): remove unused arg
9575
9576         * ParagraphList.C (insert): handle the case where there are no
9577         paragraphs yet.
9578
9579         * CutAndPaste.h: make CutAndPaste a namespace.
9580
9581         * text3.C (dispatch): adjust
9582
9583         * text.C (breakParagraph): add a ParagraphList as arg
9584
9585         * paragraph_funcs.C (breakParagraph): change to take a
9586         BufferParams and a ParagraphList as args.
9587         (breakParagraphConservative): ditto
9588         (mergeParagraph): ditto
9589         (TeXDeeper): add a ParagraphList arg
9590         (TeXEnvironment): ditto
9591         (TeXOnePar): ditto
9592
9593         * buffer.C (readLyXformat2): adjust
9594         (insertStringAsLines): adjust
9595         (latexParagraphs): adjust
9596
9597         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9598         (cutSelection): adjust
9599         (pasteSelection): adjust
9600
9601         * BufferView_pimpl.C (insertInset): adjust
9602
9603 2003-03-05  Angus Leeming  <leeming@lyx.org>
9604
9605         * commandtags.h:
9606         * LyXAction.C (init):
9607         * BufferView_pimpl.C (dispatch):
9608         * lyxfunc.C (getStatus):
9609         remove LFUN_CHILD_INSERT.
9610
9611         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9612
9613 2003-03-05  Angus Leeming  <leeming@lyx.org>
9614
9615         * commandtags.h:
9616         * LyXAction.C (init):
9617         * src/factory.C (createInset):
9618         * lyxfunc.C (getStatus):
9619         * text3.C (dispatch):
9620         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9621
9622         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9623
9624 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9625
9626         * ParagraphList.C (insert): handle insert right before end()
9627         (erase): fix cases where it can be first or last paragraph.
9628
9629 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9630
9631         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9632         Paragraph::next and Paragraph::previous
9633         (TeXOnePar): ditto
9634
9635         * text.C (breakParagraph): adjust
9636
9637         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9638         BufferParams& as arg.
9639         (breakParagraph): use ParagraphList::insert
9640         (breakParagraphConservative): take a Buffer* instead of a
9641         BufferParams& as arg.
9642         (breakParagraphConservative): use ParagraphList::insert.
9643
9644         * buffer.C (insertStringAsLines): un-const it
9645         (insertStringAsLines): adjust
9646
9647         * ParagraphList.C (insert): new function
9648
9649         * CutAndPaste.C (pasteSelection): adjust
9650
9651         * text.C (backspace): adjust
9652
9653         * tabular.C (SetMultiColumn): adjust
9654
9655         * CutAndPaste.C (cutSelection): adjust
9656         (pasteSelection): adjust
9657
9658         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9659         Buffer const * as arg
9660
9661         * ParagraphList.C (erase): new function
9662         * paragraph_funcs.C (mergeParagraph): use it
9663         (mergeParagraph): make it take a Buffer* instead of a
9664         BufferParams* as arg
9665
9666         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9667         as arg
9668         (breakParagraphConservative): ditto
9669
9670         * paragraph.h: remove the breakParagraph friend
9671
9672         * paragraph.C (eraseIntern): new function
9673         (setChange): new function
9674
9675         * paragraph_funcs.C (mergeParagraph): make it take a
9676         ParagraphList::iterator instead of a Paragraph *, adjust
9677         accordingly.
9678
9679         * paragraph.h: move an #endif so that the change tracking stuff
9680         also works in the NO_NEXT case.
9681
9682 2003-03-04  Angus Leeming  <leeming@lyx.org>
9683
9684         * commandtags.h:
9685         * LyXAction.C: new LFUN_INSET_MODIFY.
9686
9687         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9688         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9689
9690 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9691
9692         * several files: ws changes only
9693
9694         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9695         (TeXEnvironment): ditto
9696         (TeXDeeper): ditto
9697
9698         * buffer.C (makeLaTeXFile): adjust
9699         (latexParagraphs): make it take ParagraphList::iterator as args
9700
9701 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9702
9703         * buffer.C (latexParagraphs): adjust
9704
9705         * paragraph.C (TeXOnePar): move function...
9706         (optArgInset): move function...
9707         (TeXEnvironment): move function...
9708         * paragraph_pimpl.C (TeXDeeper): move function...
9709         * paragraph_funcs.C: ...here
9710
9711         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9712
9713 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9714
9715         * buffer.C (readInset): remove compability code for old Figure and
9716         InsetInfo insets
9717
9718 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9719
9720         * buffer.C: ws changes
9721         (readInset):
9722
9723         * BufferView_pimpl.C: ditto
9724         * author.C: ditto
9725         * buffer.h: ditto
9726         * bufferlist.h: ditto
9727         * changes.h: ditto
9728         * lyxfunc.C: ditto
9729
9730 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9731
9732         * converter.[Ch]: split into itself +
9733         * graph.[Ch]
9734         * format.[Ch]
9735         * Makefile.am: += graph.[Ch] + format.[Ch]
9736         * MenuBackend.C
9737         * buffer.C
9738         * exporter.C
9739         * importer.C
9740         * lyx_main.C
9741         * lyxfunc.C
9742         * lyxrc.C: added #include "format.h"
9743
9744 2003-02-27  Angus Leeming  <leeming@lyx.org>
9745
9746         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9747           a label.
9748
9749         * factory.C (createInset): add "label" to the factory.
9750
9751         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9752           string and do no more.
9753
9754 2003-02-27  Angus Leeming  <leeming@lyx.org>
9755
9756         * commandtags.h:
9757         * LyXAction.C (init):
9758         * factory.C (createInset):
9759         * BufferView_pimpl.C (dispatch):
9760           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9761
9762         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9763
9764         * lyxfunc.C (dispatch):
9765         * text3.C (dispatch): pass name to params2string.
9766
9767 2003-02-26  Angus Leeming  <leeming@lyx.org>
9768
9769         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9770           blocks together.
9771           Rearrange the ~includes. Strip out the unnecessary ones.
9772
9773         * factory.C (createInset): reformat.
9774           create new insets for the various LFUN_XYZ_APPLY lfuns.
9775
9776 2003-02-26  John Levon  <levon@movementarian.org>
9777
9778         * lyxrow.h:
9779         * lyxrow.C: add isParStart,isParEnd helpers
9780
9781         * paragraph.h: make isInserted/DeletedText take refs
9782
9783         * paragraph_funcs.h:
9784         * paragraph_funcs.C: remove #if 0'd code
9785
9786         * lyxtext.h:
9787         * text3.C:
9788         * text2.C:
9789         * text.C: use lyxrow helpers above.
9790           Move draw and paint routines to RowPainter.
9791           Make several methods use refs not pointers.
9792           Make backgroundColor() const.
9793           Add markChangeInDraw(), isInInset().
9794           Merge changeRegionCase into changeCase.
9795           Make workWidth() shouldn't-happen code into an Assert.
9796
9797         * rowpainter.h:
9798         * rowpainter.C: new class for painting a row.
9799
9800         * vspace.h:
9801         * vspace.C: make inPixels take a ref
9802
9803 2003-02-26  Angus Leeming  <leeming@lyx.org>
9804
9805         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9806         LFUN_REF_APPLY.
9807
9808 2003-02-25  John Levon  <levon@movementarian.org>
9809
9810         * ispell.C: give the forked command a more accurate name
9811
9812 2003-02-22  John Levon  <levon@movementarian.org>
9813
9814         * toc.h:
9815         * toc.C: make TocItem store an id not a Paragraph *
9816           (bug #913)
9817
9818 2003-02-21  Angus Leeming  <leeming@lyx.org>
9819
9820         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9821           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9822           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9823           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9824           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9825           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9826
9827         * BufferView_pimpl.C (dispatch):
9828         * LyXAction.C (init):
9829         * factory.C (createInset):
9830         * lyxfunc.C (getStatus, dispatch):
9831         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9832
9833 2003-02-21  Angus Leeming  <leeming@lyx.org>
9834
9835         * BufferView_pimpl.C (MenuInsertLyXFile):
9836         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9837         * lyxfunc.C (menuNew, open, doImport):
9838           no longer pass a LyXView & to fileDlg.
9839
9840 2003-02-21  Angus Leeming  <leeming@lyx.org>
9841
9842         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9843         * LyXAction.C: change, BIBKEY to BIBITEM.
9844         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9845         Change InsetBibKey to InsetBibitem.
9846         Change BIBKEY_CODE to BIBITEM_CODE.
9847         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9848         * factory.C: replace insetbib.h with insetbibitem.h.
9849         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9850         * paragraph.C: replace insetbib.h with insetbibitem.h.
9851         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9852         Change bibkey() to bibitem().
9853         * text.C: remove insetbib.h.
9854         * text2.C: replace insetbib.h with insetbibitem.h.
9855         change bibkey() to bibitem().
9856         * text3.C: remove insetbib.h.
9857         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9858
9859 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9860
9861         * lyxrc.C (output): enclose user email in quotes (in case there are
9862         several words)
9863
9864 2003-02-18  John Levon  <levon@movementarian.org>
9865
9866         * buffer.h: add std::
9867
9868 2003-02-17  John Levon  <levon@movementarian.org>
9869
9870         * SpellBase.h:
9871         * ispell.h:
9872         * ispell.C:
9873         * pspell.h:
9874         * pspell.C: reworking. Especially in ispell, a large
9875           number of clean ups and bug fixes.
9876
9877         * lyxfunc.C: fix revert to behave sensibly
9878
9879 2003-02-17 André Pönitz <poenitz@gmx.net>
9880
9881         * LyXAction.C:
9882         * commandtags.h: new LFUN_INSERT_BIBKEY
9883
9884         * layout.h:
9885         * lyxlayout.C:
9886         * buffer.C:
9887         * factory.C:
9888         * text.C:
9889         * text2.C:
9890         * text3.C:
9891         * paragraph.[Ch]:
9892         * paragraph_func.C: remove special bibkey handling
9893
9894 2003-02-17  John Levon  <levon@movementarian.org>
9895
9896         * text.C (Delete): fix case where delete at the end of
9897           the very first paragraph would not merge the pars
9898
9899 2003-02-17  John Levon  <levon@movementarian.org>
9900
9901         * lyxrow.C: fix lastPrintablePos()
9902
9903 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9904
9905         * bufferparams.C (writeLaTeX): add a std:here
9906
9907         * buffer.C: and remove a using directive there
9908
9909 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9910
9911         * buffer.C (makeLaTeXFile): move the code that generates the
9912           preamble...
9913
9914         * bufferparams.C (writeLaTeX): ... in this new method
9915
9916         * LaTeXFeatures.C (getEncodingSet): make const
9917           (getLanguages): make const
9918
9919         * MenuBackend.C (binding): returns the binding associated to this
9920           action
9921           (add): sets the status of each item by calling getStatus. Adds
9922           some intelligence.
9923           (read): add support for OptSubMenu
9924           (expand): remove extra separator at the end of expanded menu
9925
9926 2003-02-15  John Levon  <levon@movementarian.org>
9927
9928         * BufferView.C:
9929         * BufferView_pimpl.C:
9930         * bufferlist.h:
9931         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9932           inset code that had no actual effect. Remove unneeded status
9933           code.
9934
9935 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9936
9937         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9938           in preamble
9939
9940 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9941
9942         * text.C (drawLengthMarker): also draw an arrow marker for
9943           symbolic lengths (medskip...)
9944
9945 2003-02-14  John Levon  <levon@movementarian.org>
9946
9947         * tabular.h:
9948         * tabular.C: better method names
9949
9950 2003-02-14  John Levon  <levon@movementarian.org>
9951
9952         * BufferView_pimpl.C:
9953         * bufferlist.C:
9954         * buffer.C:
9955         * converter.C:
9956         * lyx_cb.C:
9957         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9958           it's a more accurate name. Remove some pointless uses.
9959
9960 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9961
9962         * text2.C (LyXText): change order of initilizers to shut off
9963           warnings
9964
9965 2003-02-14  John Levon  <levon@movementarian.org>
9966
9967         * buffer.C: use ParIterator for getParFromID()
9968
9969         * paragraph.h:
9970         * paragraph.C:
9971         * paragraph_pimpl.h:
9972         * paragraph_pimpl.C: remove unused getParFromID()
9973
9974 2003-02-14  John Levon  <levon@movementarian.org>
9975
9976         * buffer.C: remove some very old #if 0'd parse code
9977
9978 2003-02-13  John Levon  <levon@movementarian.org>
9979
9980         * text.h:
9981         * text.C:
9982         * text2.C: move hfillExpansion(), numberOfSeparators(),
9983           rowLast(), rowLastPrintable(), numberofHfills(),
9984           numberOfLabelHfills() ...
9985
9986         * lyxrow.h:
9987         * lyxrow.C: ... to member functions here.
9988
9989         * paragraph.h:
9990         * paragraph.C:
9991         * lyxtext.h:
9992         * text.C: remove LyXText::beginningOfMainBody(), and call
9993           p->beginningOfMainBody() directly. Move the check for
9994           LABEL_MANUAL into the latter.
9995
9996         * text.h:
9997         * text.C:
9998         * text2.C:
9999         * vspace.C:
10000         * BufferView.h:
10001         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10002
10003         * text.h:
10004         * text.C:
10005         * text2.C:
10006         * text3.C:
10007         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10008           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10009
10010 2003-02-13  John Levon  <levon@movementarian.org>
10011
10012         * CutAndPaste.C: remove debug
10013
10014 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10015
10016         * paragraph.C (asString): remove two unused variables
10017
10018         * lyxtextclass.C (readTitleType):
10019           (Read):
10020           (LyXTextClass): handle new members titletype_ and titlename_
10021
10022         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10023
10024 2003-02-09  John Levon  <levon@movementarian.org>
10025
10026         * buffer.h:
10027         * buffer.C: replace hand-coded list with a map for the dep clean
10028
10029 2003-02-08  John Levon  <levon@movementarian.org>
10030
10031         * LaTeX.C: consolidate code into showRunMessage() helper
10032
10033 2003-02-08  John Levon  <levon@movementarian.org>
10034
10035         * lyxfind.C:
10036         * lyxtext.h:
10037         * text2.C:
10038         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10039           and pass the size in explicitly
10040
10041         * BufferView_pimpl.h:
10042         * BufferView_pimpl.C:
10043         * BufferView.h:
10044         * BufferView.C: add getCurrentChange()
10045
10046         * BufferView_pimpl.h:
10047         * BufferView_pimpl.C: handle change lfuns
10048
10049         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10050           for changes. Mark pasted paragraphs as new.
10051
10052         * support/lyxtime.h:
10053         * support/lyxtime.C:
10054         * DepTable.C: abstract time_t as lyx::time_type
10055
10056         * LColor.h:
10057         * LColor.C: add colours for new text, deleted text, changebars
10058
10059         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10060           package use "usenames" option.
10061
10062         * commandtags.h:
10063         * lyxfunc.C:
10064         * LyXAction.C: add change lfuns
10065
10066         * Makefile.am:
10067         * author.h:
10068         * author.C: author handling
10069
10070         * buffer.h:
10071         * buffer.C: add a per-buffer author list, with first entry as
10072           current author. Handle new .lyx tokens for change tracking. Output
10073           author list to .lyx file. Output dvipost stuff to .tex preamble.
10074           Bump lyx format to 222.
10075
10076         * bufferlist.h:
10077         * bufferlist.C: add setCurrentAuthor() to reset current author details
10078           in all buffers.
10079
10080         * bufferparams.h:
10081         * bufferparams.C: add param for tracking
10082
10083         * bufferview_funcs.C: output change info in minibuffer
10084
10085         * Makefile.am:
10086         * changes.h:
10087         * changes.C: add change-tracking structure
10088
10089         * debug.h:
10090         * debug.C: add CHANGES debug flag
10091
10092         * lyxfind.h:
10093         * lyxfind.C: add code for finding the next change piece
10094
10095         * lyxrc.h:
10096         * lyxrc.C: add user_name and user_email
10097
10098         * lyxrow.h:
10099         * lyxrow.C: add a metric for the top of the text line
10100
10101         * lyxtext.h:
10102         * text.C: implement accept/rejectChange()
10103
10104         * lyxtext.h:
10105         * text.C: paint changebars. Paint new/deleted text in the chosen
10106         colours. Strike through deleted text.
10107
10108         * paragraph.h:
10109         * paragraph.C:
10110         * paragraph_pimpl.h:
10111         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10112           in the current change to the insert functions. Rework erase to
10113           mark text as deleted, adding an eraseIntern() and a range-based
10114           erase(). Implement per-paragraph change lookup and
10115           accept/reject.
10116
10117         * paragraph_funcs.C: Fixup paste for change tracking.
10118
10119         * tabular.C: mark added row/columns as new.
10120
10121         * text.C: fix rowLast() to never return -1. Don't allow
10122           spellchecking of deleted text. Track transpose changes. Don't
10123           allow paragraph break or merge where appropriate.
10124
10125         * text2.C: leave cursor at end of selection after a cut.
10126
10127 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10128
10129         * text.C (getLengthMarkerHeight):
10130         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10131         visible on screen too.
10132
10133 2003-02-07  John Levon  <levon@movementarian.org>
10134
10135         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10136
10137 2003-02-05  Angus Leeming  <leeming@lyx.org>
10138
10139         * lyxserver.C (read_ready): revert my patch of 11 September last year
10140         as it sends PC cpu through the roof. Presumably this means that
10141         the lyxserver will no longer run on an Alpha...
10142
10143 2003-01-30  Angus Leeming  <leeming@lyx.org>
10144
10145         * factory.C (createInset): create an InsetCommandParam of type "index"
10146         and use it to 'do the right thing'.
10147
10148         * text2.C (getStringToIndex): ensure that cursor position is always
10149         reset to the reset_cursor position.
10150
10151 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10152
10153         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10154         disabled.
10155
10156 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10157
10158         * bufferview.C:
10159         * lyxcb.C:
10160         * lyxfunc.C: Output messages with identical spelling, punctuation,
10161         and spaces
10162
10163 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10164
10165         * MenuBackend.C (expandFormats): List only viewable export formats
10166         in "View" menu
10167
10168         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10169         message
10170
10171         * lyxfunc.C (getStatus): Make sure that formats other than
10172         "fax" can also be disabled
10173
10174 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10175
10176         * text3.C (dispatch): put the lfuns that insert insets in 3
10177         groups, and call doInsertInset with appropriate arguments.
10178         (doInsertInset): new function, that creates an inset and inserts
10179         it according to some boolean parameters.
10180
10181 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10182
10183         * buffer.C (readFile): remember to pass on 'par' when calling
10184         readFile recursively.
10185
10186 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10187
10188         * MenuBackend.C (expandFormats): add "..." to import formats.
10189
10190 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10191
10192         * paragraph.C (asString): Remove XForms RTL hacks.
10193
10194 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10195         * buffer.C: fix typo
10196
10197 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10198
10199         * Makefile.am (LIBS): delete var
10200         (lyx_LDADD): add @LIBS@ here instead.
10201
10202 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10203
10204         * Clarify the meaning of "wheel mouse jump"
10205
10206 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10207
10208         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10209         tabular in a float
10210
10211 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10212
10213         * importer.C (Loaders): do not preallocate 3 elements in the
10214         vector, since one ends up with 6 elements otherwise
10215
10216 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10217
10218         * DepTable.C (write): write the file name as last element of the
10219         .dep file (because it may contain spaces)
10220         (read): read info in the right order
10221
10222 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10223
10224         * paragraph_pimpl.C (simpleTeXBlanks):
10225         (simpleTeXSpecialChars):
10226         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10227
10228         * tabular.C (latex): add some missing case statements. Reindent.
10229
10230         * MenuBackend.C (expandToc): remove unused variable.
10231
10232 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10233
10234         * LColor.C:
10235         * LaTeX.C:
10236         * LyXAction.C:
10237         * MenuBackend.C:
10238         * buffer.C:
10239         * exporter.C:
10240         * lyxfunc.C:
10241         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10242         and the like.
10243
10244 2003-01-05  John Levon  <levon@movementarian.org>
10245
10246         * BufferView.h:
10247         * BufferView.C: add getEncoding()
10248
10249         * kbsequence.h:
10250         * kbsequence.C: do not store last keypress
10251
10252         * lyxfunc.h:
10253         * lyxfunc.C: store last keypress here instead. Pass encoding
10254           to getISOEncoded()
10255
10256 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10257
10258         * lyx_main.C (init): remove annoying error message when following
10259         symbolic links (bug #780)
10260
10261 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10262
10263         * text.C (insertChar):
10264         * lyxrc.C (getDescription): remove extra spaces
10265
10266 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10267
10268         * lyxrc.C (getDescription): remove extra spaces
10269
10270 2002-12-20  John Levon  <levon@movementarian.org>
10271
10272         * text3.C: hack fix for page up/down across tall rows
10273
10274 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10275
10276         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10277         not been invoked
10278
10279 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10280
10281         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10282         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10283         thesaurus is not compiled in
10284
10285 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10286
10287         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10288
10289 2002-12-16  Angus Leeming  <leeming@lyx.org>
10290
10291         * lyxrc.[Ch]:
10292         * lyx_main.C (init): remove override_x_deadkeys stuff.
10293
10294 2002-12-12  John Levon  <levon@movementarian.org>
10295
10296         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10297           insert. Only remove shift modifier under strict
10298           circumstances.
10299
10300 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10301
10302         * MenuBackend.C (expandToc): fix crash.
10303
10304 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10305
10306         * MenuBackend.C (expandToc): gettext on float names.
10307
10308 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10309
10310         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10311         implement bool empty() [bug 490]
10312
10313 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10314
10315         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10316
10317 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10318
10319         * several files: ws changes
10320
10321 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10322
10323         * text2.C (setCounter): clean up a bit, use boost.format.
10324         (updateCounters): initialize par upon declaration.
10325
10326         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10327         if the layout exists. We do not just store the layout any more.
10328         (SwitchLayoutsBetweenClasses): use boost.format
10329
10330 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10331
10332         * converter.C (convert): if from and to files are the same, use a
10333         temporary files as intermediary
10334
10335 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10336
10337         * commandtags.h:
10338         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10339
10340 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10341
10342         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10343
10344 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10345
10346         * tabular.C (asciiPrintCell): use string(size, char) instead of
10347         explicit loop.
10348
10349         * sgml.C (openTag): fix order of arguments to string constructor
10350         (closeTag): ditto
10351
10352         * lyxfunc.C (dispatch): use boost.format
10353
10354         * lots of files: change "c" -> 'c'
10355
10356 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10357
10358         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10359
10360 2002-11-25  Angus Leeming  <leeming@lyx.org>
10361
10362         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10363
10364         * lyx_main.C (init): compile fix.
10365
10366 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10367
10368         * lyx_cb.C (start): boost.formatify
10369         do not include <iostream>
10370
10371         * lengthcommon.C: ws only
10372
10373         * boost-inst.C,BoostFormat.h: add more explict instantations
10374
10375 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10376
10377         * lots of files: handle USE_BOOST_FORMAT
10378
10379 2002-11-21  John Levon  <levon@movementarian.org>
10380
10381         * pspell.C: fix compile
10382
10383 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10384
10385         * lyxfunc.C (dispatch): use boost::format
10386         (open): ditto
10387         (doImport): ditto
10388
10389         * lyxfont.C (stateText): use boost::format
10390
10391         * lyx_main.C (LyX): use boost::format
10392         (init): ditto
10393         (queryUserLyXDir): ditto
10394         (readRcFile): ditto
10395         (parse_dbg): ditto
10396         (typedef boost::function): use the recommened syntax.
10397
10398         * importer.C (Import): use boost::format
10399
10400         * debug.C (showLevel): use boost::format
10401
10402         * converter.C (view): use boost::format
10403         (convert): ditto
10404         (move): ditto
10405         (scanLog): ditto
10406
10407         * bufferview_funcs.C (currentState): use boost::format
10408
10409         * bufferlist.C (emergencyWrite): use boost::format
10410
10411         * buffer.C (readLyXformat2): use boost::format
10412         (parseSingleLyXformat2Token): ditto
10413
10414         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10415
10416         * LaTeX.C (run): use boost::format
10417
10418         * Chktex.C (scanLogFile): use boost::format
10419
10420         * BufferView_pimpl.C (savePosition): use boost::format
10421         (restorePosition): ditto
10422         (MenuInsertLyXFile): ditto
10423
10424         * BoostFormat.h: help file for explicit instation.
10425
10426 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10427
10428         * tabular.C (latex): Support for block alignment in fixed width
10429         columns.
10430
10431 2002-11-17  John Levon  <levon@movementarian.org>
10432
10433         * BufferView_pimpl.C:
10434         * lyx_cb.C:
10435         * lyxfunc.C: split filedialog into open/save
10436
10437 2002-11-08  Juergen Vigna  <jug@sad.it>
10438
10439         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10440         by my last patch (hopefully).
10441
10442 2002-11-08  John Levon  <levon@movementarian.org>
10443
10444         * iterators.h:
10445         * iterators.C:
10446         * buffer.h:
10447         * buffer.C:
10448         * paragraph.h:
10449         * paragraph.C:
10450         * toc.h:
10451         * toc.C: ParConstIterator, and use it (from Lars)
10452
10453 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10454
10455         * lyxtextclass.[Ch]: revise and add doxygen comments
10456
10457 2002-11-07  John Levon  <levon@movementarian.org>
10458
10459         * text.C: fix progress value for spellchecker
10460
10461         * toc.C: fix navigate menu for insetwrap inside minipage
10462
10463         * paragraph_funcs.C: added FIXME for suspect code
10464
10465 2002-11-07  John Levon  <levon@movementarian.org>
10466
10467         * BufferView_pimpl.C: fix redrawing of insets
10468           on buffer switch
10469
10470 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10471
10472         * text2.C (updateCounters): fix bug 668
10473
10474 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10475
10476         * text3.C (dispatch): Do not make the buffer dirty when moving the
10477         cursor.
10478
10479 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10480
10481         * vc-backend.C: STRCONV
10482         (scanMaster): ditto
10483
10484         * text2.C (setCounter): STRCONV
10485
10486         * paragraph.C (asString): STRCONV
10487
10488         * lyxlength.C (asString): STRCONV
10489         (asLatexString): ditto
10490
10491         * lyxgluelength.C (asString): STRCONV
10492         (asLatexString): ditto
10493
10494         * lyxfunc.C (dispatch): STRCONV
10495         (open): ditto
10496
10497         * lyxfont.C (stateText): STRCONV
10498
10499         * importer.C (Import): STRCONV
10500
10501         * counters.C (labelItem): STRCONV
10502         (numberLabel): ditto
10503         (numberLabel): remove unused ostringstream o
10504
10505         * chset.C: STRCONV
10506         (loadFile): ditto
10507
10508         * bufferview_funcs.C (currentState): STRCONV
10509
10510         * buffer.C (readFile): STRCONV
10511         (asciiParagraph): ditto
10512         (makeLaTeXFile): ditto
10513
10514         * Spacing.C (writeEnvirBegin): STRCONV
10515
10516         * LaTeXFeatures.C (getLanguages): STRCONV
10517         (getPackages): ditto
10518         (getMacros): ditto
10519         (getBabelOptions): ditto
10520         (getTClassPreamble): ditto
10521         (getLyXSGMLEntities): ditto
10522         (getIncludedFiles): ditto
10523
10524         * LaTeX.C: STRCONV
10525         (run): ditto
10526         (scanAuxFile): ditto
10527         (deplog): ditto
10528
10529         * LString.h: add the STRCONV macros
10530
10531         * BufferView_pimpl.C (savePosition): STRCONV
10532         (restorePosition): ditto
10533         (MenuInsertLyXFile): ditto
10534
10535         * vc-backend.C (scanMaster): change from submatch[...] to
10536         submatch.str(...)
10537
10538         * funcrequest.C: include config.h
10539
10540         * factory.C: include config.h
10541
10542         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10543
10544         * box.C: include config.h
10545
10546         * LaTeX.C (scanAuxFile): change from submatch[...] to
10547         submatch.str(...)
10548         (deplog): ditto
10549
10550 2002-10-25  Angus Leeming  <leeming@lyx.org>
10551
10552         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10553
10554         * ispell.[Ch] (setError): new method.
10555         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10556         Use setError() insetead of goto END.
10557
10558         * lyx_cb.C (AutoSave): move out child process into new class
10559         AutoSaveBuffer.
10560
10561 2002-10-30  John Levon  <levon@movementarian.org>
10562
10563         * text3.C: make start appendix undoable
10564
10565 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10566
10567         * lyxlength.C (inPixels): Fix returned value.
10568
10569         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10570         environment.
10571
10572 2002-10-24  Angus Leeming  <leeming@lyx.org>
10573
10574         * lyxgluelength.h: no need to forward declare BufferParams
10575         or BufferView, so don't.
10576
10577 2002-10-21  John Levon  <levon@movementarian.org>
10578
10579         * BufferView.C: menuUndo ->undo, redo
10580
10581         * BufferView.h: document, remove dead, make some methods private
10582
10583         * paragraph_funcs.h:
10584         * paragraph_funcs.C:
10585         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10586
10587         * buffer.h:
10588         * buffer.C:
10589         * sgml.h:
10590         * sgml.C: move sgml open/close tag into sgml.C
10591
10592         * bufferview_funcs.h: unused prototype
10593
10594         * lyxfunc.h:
10595         * lyxfunc.C: remove unused
10596
10597         * lyxtext.h:
10598         * text.C: remove unused
10599
10600 2002-10-21  John Levon  <levon@movementarian.org>
10601
10602         * BufferView.h:
10603         * BufferView.C:
10604         * BufferView_pimpl.h:
10605         * BufferView_pimpl.C: fix mouse wheel handling based on
10606           patch from Darren Freeman
10607
10608 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10609
10610         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10611
10612 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10613
10614         * lyxlength.C (inPixels): Fix hanfling of negative length.
10615         Fix LyXLength::MU case.
10616
10617 2002-10-16  John Levon  <levon@movementarian.org>
10618
10619         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10620
10621 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10622
10623         * converter.C (view): add support for $$i (file name) and $$p
10624         (file path) for the viewer command. If $$i is not specified, then
10625         it is appended to the command (for compatibility with old syntax)
10626
10627 2002-10-14  Juergen Vigna  <jug@sad.it>
10628
10629         * undo_funcs.C (textHandleUndo): alter the order in which the
10630         new undopar is added to the LyXText, as we have to set first
10631         the right prev/next and then add it as otherwise the rebuild of
10632         LyXText is not correct. Also reset the cursor to the right paragraph,
10633         with this IMO we could remove the hack in "redoParagraphs()".
10634
10635 2002-10-09  Angus Leeming  <leeming@lyx.org>
10636
10637         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10638         to turn off an optimisation if a new inset is to be inserted.
10639
10640 2002-10-11 André Pönitz <poenitz@gmx.net>
10641
10642         * lyxtext.h: make some functions public to allow access
10643         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10644
10645 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10646
10647         * text3.C (dispatch): when changing layout, avoid an infinite loop
10648         [bug #652]
10649
10650 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10651
10652         * lyxrc.C (read): treat a viewer or converter command of "none" as
10653         if it were empty.
10654
10655         * MenuBackend.C (expandFormats): for an update, also allow the
10656         formats that are not viewable
10657
10658         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10659         script if it is newer than the lyxrc.defaults in user directory
10660
10661 2002-10-07 André Pönitz <poenitz@gmx.net>
10662
10663         * text.C: Vitaly Lipatov's small i18n fix
10664
10665 2002-09-25  Angus Leeming  <leeming@lyx.org>
10666
10667         * ispell.h: doxygen fix.
10668
10669 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10670
10671         * buffer.h (readFile): Add a new argument to the method, to allow
10672         reading of old-format templates.
10673
10674 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10675
10676         * toc.C (getTocList): Get TOC from InsetWrap.
10677
10678 2002-09-16  John Levon  <levon@movementarian.org>
10679
10680         * lyxfunc.C: check tabular for cut/copy too
10681
10682 2002-09-12  John Levon  <levon@movementarian.org>
10683
10684         * LyXAction.C: tidy
10685
10686         * factory.h:
10687         * factory.C: add header
10688
10689         * paragraph_funcs.h:
10690         * paragraph_funcs.C: cleanup
10691
10692 2002-09-11  John Levon  <levon@movementarian.org>
10693
10694         * PrinterParams.h: odd/even default to true
10695
10696 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10697
10698         * PrinterParams.h: update printer parameters for new xforms dialog
10699
10700 2002-09-11  Angus Leeming  <leeming@lyx.org>
10701
10702         * lyxserver.C (read_ready): re-write to make it more transparent
10703         and to make it work in coherent fashion under Tru64 Unix.
10704
10705 2002-09-11  André Pönitz <poenitz@gmx.net>
10706
10707         * commandtags.h:
10708         * LyXAction.C:
10709         * text3.C: implement LFUN_WORDSEL
10710
10711 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10712
10713         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10714         make floatlist_ a boost::shared_ptr<FloatList>
10715
10716         * lyxtextclass.C: include FloatList.h
10717         (LyXTextClass): initialize floatlist_
10718         (TextClassTags): add TC_NOFLOAT
10719         (Read): match "nofloat" to TC_NOFLOAT and use it.
10720         (readFloat): modify call to floatlist_
10721         (floats): ditto
10722         (floats): ditto
10723
10724         * FloatList.[Ch] (FloatList): remove commented out float
10725         initialization.
10726         (erase): new function
10727
10728 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10729
10730         * MenuBackend.C (expandToc): fix crash when there is no document
10731         open
10732
10733 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10734
10735         * many files: Add insetwrap.
10736
10737 2002-09-09  John Levon  <levon@movementarian.org>
10738
10739         * text2.C: remove confusing and awkward depth wraparound
10740
10741 2002-09-09  John Levon  <levon@movementarian.org>
10742
10743         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10744
10745         * buffer.h:
10746         * buffer.C: remove getIncludeonlyList()
10747
10748         * paragraph.C:
10749         * lyxfunc.C: remove headers
10750
10751 2002-09-09  Juergen Vigna  <jug@sad.it>
10752
10753         * text.C (getColumnNearX): fix form Michael this is most
10754         probably a cut&paste bug.
10755
10756 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10757
10758         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10759
10760         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10761         references, ws changes.
10762
10763         * text2.C (init): update counters after init
10764         (insertParagraph): no need to set counter on idividual paragraphs.
10765         (setCounter): access the counters object in the textclass object
10766         on in the buffer object.
10767         (updateCounters): ditto
10768
10769         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10770         shared_ptr<Counters> to avoid loading counters.h in all
10771         compilation units.
10772         (LyXTextClass): initialize ctrs_
10773         (TextClassTags): add TC_COUNTER, and ...
10774         (Read): use it here.
10775         (CounterTags): new tags
10776         (readCounter): new function
10777         (counters): new funtion
10778         (defaultLayoutName): return a const reference
10779
10780         * counters.C (Counters): remove contructor
10781         (newCounter): remove a couple of unneeded statements.
10782         (newCounter): simplify a bit.
10783         (numberLabel): some small formatting changes.
10784
10785         * buffer.[Ch]: remove all traces of counters, move the Counters
10786         object to the LyXTextClass.
10787
10788 2002-09-06  Alain Castera  <castera@in2p3.fr>
10789
10790         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10791         package to set the horizontal alignment on fixed width columns.
10792
10793         * lyx_sty.C:
10794         * lyx_sty.h: added tabularnewline macro def.
10795
10796         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10797
10798 2002-09-06  John Levon  <levon@movementarian.org>
10799
10800         * LyXAction.C: tooltips for sub/superscript
10801
10802         * MenuBackend.C: a bit more verbose
10803
10804         * lyxfunc.C: tiny clean
10805
10806         * undo_funcs.C: document undo_frozen
10807
10808 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10809
10810         * counters.C (Counters): add missing algorithm counter.
10811
10812         * text2.C (setCounter): lookup the counter with layouts latexname
10813         instead of by section number.
10814         (setCounter): use a hackish way to lookup the correct enum
10815         counter.
10816         a float name->type change
10817         reset enum couners with counter name directly instead of depth value.
10818
10819         * counters.C (Counters): remove the push_backs, change to use the
10820         float type not the float name.
10821         (labelItem): remove unused string, float name->type change
10822
10823         * counters.h: don't include vector, loose the enums and sects vectors
10824
10825 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10826
10827         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10828         (Read): add float->TC_FLOAT to textclassTags
10829         (Read): and handle it in the switch
10830         (readFloat): new function
10831
10832         * FloatList.C (FloatList): comment out the hardcoded float
10833         definitions.
10834
10835         * lyxlayout.h: ws change.
10836
10837 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10838
10839         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10840
10841 2002-09-03  Angus Leeming  <leeming@lyx.org>
10842
10843         * BufferView_pimpl.h: qualified name is not allowed in member
10844         declaration: WorkArea & Pimpl::workarea() const;
10845
10846         * factory.C: added using std::endl directive.
10847
10848         * text3.C: added using std::find and std::vector directives.
10849
10850 2002-08-29  André Pönitz <poenitz@gmx.net>
10851
10852         * lyxtext.h:
10853         * text2.C: remove unused member number_of_rows
10854
10855         * Makefile.am:
10856         * BufferView2.C: remove file, move contents to...
10857         * BufferView.C: ... here
10858
10859         * BufferView_pimpl.C:
10860         * factory.C: move more inset creation to factory
10861
10862         * vspace.C: avoid direct usage of LyXText, ws changes
10863
10864         * BufferView.[Ch]:
10865                 don't provide direct access to WorkArea, use two simple
10866                 acessors haveSelction() and workHeight() instead
10867
10868
10869 2002-08-29  John Levon  <levon@movementarian.org>
10870
10871         * BufferView_pimpl.C (dispatch): do not continue when
10872           no buffer
10873
10874 2002-08-28  André Pönitz <poenitz@gmx.net>
10875
10876         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10877
10878         * BufferView.h:
10879         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10880
10881 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10882
10883         * buffer.C: increment LYX_FORMAT to 221
10884
10885         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10886         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10887
10888         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10889
10890         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10891
10892 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10893
10894         * factory.C (createInset): use LyXTextClass::floats
10895
10896         * MenuBackend.C (expandFloatListInsert):
10897         (expandFloatInsert):
10898         (expandToc):
10899
10900         * text2.C (setCounter):
10901
10902         * LaTeXFeatures.C (useFloat):
10903         (getFloatDefinitions):
10904
10905         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10906
10907         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10908         floatlist_, with accessor floats().
10909
10910         * FloatList.h: remove global FloatList
10911
10912 2002-08-26  André Pönitz <poenitz@gmx.net>
10913
10914         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10915
10916         * BufferView.h:
10917         * BufferView2.C:
10918         * BufferView_pimpl.C:
10919         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10920
10921 2002-08-25  John Levon  <levon@movementarian.org>
10922
10923         * LyXAction.C: fix margin note description
10924
10925 2002-08-24  John Levon  <levon@movementarian.org>
10926
10927         * buffer.C:
10928         * bufferlist.C:
10929         * bufferview_funcs.C:
10930         * lyxfont.C:
10931         * undo_funcs.C: cleanups
10932
10933         * lyxfunc.C: disable CUT/COPY when no selection
10934
10935 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10936
10937         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10938         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10939
10940         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10941         Add backward compatibility to "mono", "gray" and "no".
10942
10943 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10944
10945         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10946         (and file_format >= 200).
10947
10948 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10949
10950         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10951
10952 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10953
10954         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10955
10956 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10957
10958         * BufferView_pimpl.C:
10959         * LyXAction.C:
10960         * buffer.C:
10961         * commandtags.h:
10962         * lyxfunc.C:
10963         * paragraph.[Ch]:
10964         * text2.C:
10965         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10966         inset and code to make it  work with the paragraph code. The inset
10967         can be anywhere in the paragraph, but will only do the expected
10968         thing in LaTeX if the layout file contains the parameter line
10969                         OptionalArgs    1
10970         (or more generally, a nonzero value) for that layout.
10971
10972 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10973
10974         * paragraph.h: remove the declaration of undefined counters class
10975         function.
10976
10977 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10978
10979         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10980         Dr. Richard Hawkins.
10981
10982 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10983
10984         * paragraph_funcs.h: remove some unneeded includes
10985
10986         * text.C (backspace): pasteParagraph now in global scipe
10987
10988         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10989         (pasteSelection): ditto
10990
10991         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10992         * paragraph_funcs.C (pasteParagraph): ... here
10993
10994 2002-08-20  André Pönitz <poenitz@gmx.net>
10995
10996         * commandtags.h: new LFUNs for swapping/copying table row/colums
10997
10998         * LyXAction.C:
10999         * lyxfunc.C: support for new lfuns
11000
11001 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11002
11003         * tabular.C:
11004         * buffer.[Ch]: remove NO_COMPABILITY stuff
11005
11006 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11007
11008         * boost.C (throw_exception): new file, with helper function for
11009         boost compiled without exceptions.
11010
11011         * paragraph.h:
11012         * lyxlength.C:
11013         * buffer.C:
11014         * ParameterStruct.h:
11015         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11016
11017         * bufferlist.C (emergencyWriteAll): use boost bind
11018
11019         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11020
11021         * text.C: include paragraph_funcs.h
11022         (breakParagraph): breakParagraph is now in global scope
11023
11024         * paragraph_funcs.[Ch]: new files
11025
11026         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11027         global scope
11028
11029         * buffer.C: include paragraph_funcs.h
11030         (insertStringAsLines): breakParagraph is now in global scope
11031
11032         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11033         paragraph_funcs.C
11034
11035         * CutAndPaste.C: include paragraph_funcs.h
11036         (cutSelection): breakParagraphConservative is now in global scope
11037         (pasteSelection): ditto
11038
11039         * buffer.h: declare oprator== and operator!= for
11040         Buffer::inset_iterator
11041
11042         * bufferlist.C (emergencyWrite): don't use fmt(...)
11043
11044         * text3.C: add using std::endl
11045
11046         * BufferView.C (moveCursorUpdate): remove default arg
11047
11048 2002-08-20  André Pönitz <poenitz@gmx.net>
11049
11050         * buffer.[Ch]: move inline functions to .C
11051
11052         * BufferView2.C:
11053         * BufferView_pimpl.C:
11054         * text.C:
11055         * buffer.[Ch]: use improved inset_iterator
11056
11057         * buffer.C:
11058         * paragraph.[Ch]: write one paragraph at a time
11059
11060 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11061
11062         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11063         style if style is not specified.
11064
11065 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11066
11067         * text2.C (setCounter): when searching for right label for a
11068         caption, make sure to recurse to parent insets (so that a caption
11069         in a minipage in a figure float works) (bug #568)
11070
11071 2002-08-20  André Pönitz <poenitz@gmx.net>
11072
11073         * text3.C: new file for LyXText::dispatch() and helpers
11074
11075         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11076
11077         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11078
11079 2002-08-19  André Pönitz <poenitz@gmx.net>
11080
11081         * lyxtext.h:
11082         * text.C: new LyXText::dispatch()
11083
11084         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11085
11086 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11087
11088         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11089
11090         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11091         Hebrew text.
11092
11093 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11094
11095         * Makefile.am: use $(variables) instead of @substitutions@
11096
11097 2002-08-15  André Pönitz <poenitz@gmx.net>
11098
11099         * lyxfunc.C:
11100         * BufferView_pimpl.C: streamlining mathed <-> outer world
11101         interaction
11102
11103         * commandtags.h:
11104         * LyXAction.C: remove unused LFUN_MATH
11105
11106 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11107
11108         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11109
11110 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11111
11112         * paragraph.C (Paragraph): reformat a bit
11113         (cutIntoMinibuffer): use builtin InsetList function instad of
11114         doing it manually.
11115         (getInset): ditto
11116
11117         * buffer.C: include boost/bind.hpp, add using std::for_each
11118         (writeFileAscii): use ParagraphList iterators
11119         (validate): use for_each for validate traversal of paragraphs
11120         (getBibkeyList): use ParagraphList iterators
11121         (resizeInsets): use for_each to resizeInsetsLyXText for all
11122         paragraphs.
11123         (getParFromID): use ParagraphList iterators
11124
11125         * BufferView2.C (lockInset): use paragraph list and iterators
11126
11127 2002-08-14  John Levon  <levon@movementarian.org>
11128
11129         * lyxserver.C: remove spurious xforms include
11130
11131 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11132
11133         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11134
11135 2002-08-13  André Pönitz <poenitz@gmx.net>
11136
11137         * LyXAction.[Ch]:
11138         * lyxfunc.C: further cleaning
11139
11140 2002-08-13  André Pönitz <poenitz@gmx.net>
11141
11142         * funcrequest.h: new constructor
11143
11144         * funcrequest.C: move stuff here from .h
11145
11146         * Makefile.am:
11147         * BufferView_pimpl.C:
11148         * LyXAction.C:
11149         * toc.C:
11150         * lyxfunc.C: subsequent changes
11151
11152         * lyxfunc.h: new view() member function
11153
11154         * lyxfunc.C: subsequent changes
11155
11156 2002-08-13  Angus Leeming  <leeming@lyx.org>
11157
11158         * BufferView2.C:
11159         * BufferView_pimpl.C:
11160         * buffer.C:
11161         * converter.C:
11162         * importer.C:
11163         * lyxfunc.C:
11164         * lyxvc.C:
11165         * toc.C:
11166         * vc-backend.C:
11167         changes due to the changed LyXView interface that now returns references
11168         to member variables not pointers.
11169
11170 2002-08-13  Angus Leeming  <leeming@lyx.org>
11171
11172         * WordLangTuple (word, lang_code): return references to strings,
11173         not strings.
11174
11175         * BufferView.h:
11176         * SpellBase.h:
11177         * lyxtext.h: forward-declare WordLangTuple.
11178
11179         * BufferView2.C:
11180         * ispell.C:
11181         * pspell.C:
11182         * text.C: #include "WordLangTuple.h".
11183
11184         * lyxtext.h:
11185         * text.C: (selectNextWordToSpellcheck): constify return type.
11186
11187 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11188
11189         * buffer.C:
11190         * buffer.h:
11191         * lyxtext.h:
11192         * paragraph.C:
11193         * paragraph_pimpl.h:
11194         * text.C:
11195         * text2.C:
11196         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11197         suggested by Angus.
11198         Made updateCounter always count from start of buffer, and removed
11199         second argument (par).
11200         Reverted floats number display to '#'. Perhaps I'll try again when the
11201         code base is sanitized a bit.
11202
11203 2002-08-12  Angus Leeming  <leeming@lyx.org>
11204
11205         * buffer.[Ch] (getLabelList): constify.
11206
11207 2002-08-07  André Pönitz <poenitz@gmx.net>
11208
11209         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11210
11211         * funcrequest.h: extension to keep mouse (x,y) position
11212
11213 2002-08-12  Juergen Vigna  <jug@sad.it>
11214
11215         * BufferView2.C (insertErrors): forbid undo when inserting error
11216         insets.
11217
11218         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11219
11220 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11221
11222         * ParagraphList.[Ch]: new files
11223
11224         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11225
11226         * BufferView2.C (lockInset): ParagraphList changes
11227         * toc.C: ditto
11228         * text2.C: ditto
11229         * bufferlist.C: ditto
11230         * buffer.h: ditto
11231         * buffer.C: ditto
11232
11233 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11234
11235         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11236         unused class variable counter_,
11237
11238         * paragraph.[Ch] (getFirstCounter): delete unused function
11239
11240         * counters.C: include LAssert.h
11241         (reset): add a new function with no arg, change other version to
11242         not have def. arg and to not allow empty arg.
11243
11244         * text2.C (setCounter): remove empty arg from call to Counters::reset
11245
11246 2002-08-11  John Levon  <levon@movementarian.org>
11247
11248         * Makefile.am: add WordLangTuple.h
11249
11250 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11251
11252         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11253         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11254
11255         * insets/insettext.C: InsetList changes
11256
11257         * graphics/GraphicsSupport.C (operator()): InsetList changes
11258
11259         * toc.C (getTocList): InsetList changes
11260
11261         * paragraph_pimpl.[Ch]: InsetList changes
11262
11263         * paragraph.[Ch]: InsetList changes
11264
11265         * buffer.C (inset_iterator): InsetList changes
11266         (setParagraph): ditto
11267         * buffer.h (inset_iterator): ditto
11268         * iterators.C (operator++): ditto
11269         * iterators.h: ditto
11270
11271         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11272
11273         * InsetList.[Ch]: new files, most InsetList handling moved out of
11274         paragraph.C.
11275
11276         * BufferView2.C (removeAutoInsets): InsetList changes
11277         (lockInset): ditto
11278         (ChangeInsets): ditto
11279
11280 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11281
11282         * paragraph_pimpl.h (empty): new function
11283
11284         * paragraph.[Ch] (empty): new function
11285
11286         * other files: use the new Paragraph::empty function
11287
11288 2002-08-09  John Levon  <levon@movementarian.org>
11289
11290         * lyxtext.h: remove unused refresh_height
11291
11292 2002-08-09  John Levon  <levon@movementarian.org>
11293
11294         * Makefile.am:
11295         * sgml.h:
11296         * sgml.C:
11297         * buffer.C:
11298         * paragraph.h:
11299         * paragraph.C: move sgml char escaping out of paragraph
11300
11301         * paragraph.h:
11302         * paragraph.C: remove id setter
11303
11304         * buffer.C:
11305         * paragraph.C:
11306         * paragraph_pimpl.C: remove dead tex_code_break_column
11307
11308         * bufferview_funcs.C: small cleanup
11309
11310         * lyxfunc.C: remove dead proto
11311
11312         * lyxtext.h: make some stuff private. Remove some dead stuff.
11313
11314         * lyxgluelength.C: make as[LyX]String() readable
11315
11316 2002-08-08  John Levon  <levon@movementarian.org>
11317
11318         * LyXAction.h:
11319         * LyXAction.C:
11320         * MenuBackend.C:
11321         * ToolbarDefaults.C:
11322         * lyxfunc.C:
11323         * lyxrc.C:
11324         * toc.C: lyxaction cleanup
11325
11326 2002-08-08  John Levon  <levon@movementarian.org>
11327
11328         * BufferView2.C: small cleanup
11329
11330         * lyxfind.h:
11331         * lyxfind.C: move unnecessary header into the .C
11332
11333 2002-08-08  John Levon  <levon@movementarian.org>
11334
11335         * funcrequest.h: just tedious nonsense
11336
11337         * lyx_main.h:
11338         * lyx_main.C: cleanups
11339
11340         * buffer.C:
11341         * vspace.C: remove dead header lyx_main.h
11342
11343 2002-08-07  Angus Leeming  <leeming@lyx.org>
11344
11345         * Paragraph.[Ch]:
11346         * paragraph_pimpl.h:
11347         Forward declare class Counters in paragraph.h by moving the ctrs member
11348         variable into Paragraph::Pimpl.
11349         (counters): new method, returning a reference to pimpl_->ctrs.
11350
11351         * text2.C: ensuing changes.
11352
11353 2002-08-07  John Levon  <levon@movementarian.org>
11354
11355         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11356
11357         * BufferView_pimpl.C: announce X selection on double/triple
11358           click
11359
11360         * lyx_main.C: use correct bool in batch dispatch
11361
11362         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11363
11364 2002-08-07  André Pönitz <poenitz@gmx.net>
11365
11366         * funcrequest.h: new class to wrap a kb_action and its argument
11367
11368         * BufferView.[Ch]:
11369         * BufferView_pimpl[Ch]:
11370         * LaTeX.C:
11371         * LyXAction.[Ch]:
11372         * lyxfunc.[Ch]:
11373         * lyxrc.C: subsequent changes
11374
11375
11376 2002-08-07  John Levon  <levon@movementarian.org>
11377
11378         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11379           document options change.
11380
11381 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11382
11383         * counters.[Ch]
11384         * text2.C
11385         * paragraph.[Ch]
11386         * makefile.am: move counters functionality over from
11387         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11388
11389 2002-08-06  John Levon  <levon@movementarian.org>
11390
11391         * WordLangTuple.h: new file for word + language code tuple
11392
11393         * SpellBase.h:
11394         * pspell.h:
11395         * pspell.C:
11396         * ispell.h:
11397         * ispell.C:
11398         * lyxtext.h:
11399         * text.C:
11400         * text2.C:
11401         * BufferView.h:
11402         * BufferView2.C: use WordLangTuple
11403
11404         * layout.h:
11405         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11406
11407 2002-08-06  John Levon  <levon@movementarian.org>
11408
11409         * lyx_main.C: fix cmdline batch handling
11410
11411 2002-08-06  André Pönitz <poenitz@gmx.net>
11412
11413         * lyxrc.C: set default for show_banner to true
11414
11415 2002-08-06  John Levon  <levon@movementarian.org>
11416
11417         * pspell.C: fix a crash, and allow new aspell to work
11418
11419 2002-08-06  John Levon  <levon@movementarian.org>
11420
11421         * lyxfunc.C:
11422         * kbmap.C: small cleanup
11423
11424         * vspace.h:
11425         * vspace.C: add const
11426
11427 2002-08-05  John Levon  <levon@movementarian.org>
11428
11429         * LyXAction.C: back to tabular-insert
11430
11431 2002-08-04  John Levon  <levon@movementarian.org>
11432
11433         * BufferView.h:
11434         * BufferView.C: cosmetic change
11435
11436         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11437
11438         * bufferlist.C:
11439         * buffer.h:
11440         * buffer.C:
11441         * lyxcb.h:
11442         * lyxcb.C:
11443         * lyxserver.C:
11444         * lyxvc.C:
11445         * vc-backend.C:
11446         * BufferView2.C: purge all "Lyx" not "LyX" strings
11447
11448         * lyxcursor.h:
11449         * lyxcursor.C: attempt to add some documentation
11450
11451         * lyxfunc.C:
11452         * commandtags.h:
11453         * LyXAction.C:
11454         * ToolbarDefaults.C:
11455         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11456           merge with LFUN_TABULAR_INSERT
11457
11458         * Makefile.am:
11459         * SpellBase.h:
11460         * ispell.h:
11461         * ispell.C:
11462         * pspell.h:
11463         * pspell.C: split up i/pspell implementations into separate
11464           files, many cleanups
11465
11466         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11467
11468         * text2.C: some cleanup
11469
11470         * lyxfunc.C: don't check for isp_command == "none" any more, it
11471           didn't make any sense
11472
11473 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11474
11475         * counters.[Ch]
11476         * text2.C
11477         * paragraph.[Ch]
11478         * makefile.am: move counters functionality over
11479         from text2.C/paragraph.[Ch] to counters.[Ch], and
11480         make proper C++.
11481 2002-08-02  John Levon  <levon@movementarian.org>
11482
11483         * buffer.C: s/lyxconvert/lyx2lyx/
11484
11485 2002-08-02  Angus Leeming  <leeming@lyx.org>
11486
11487         * lyxlex.C: revert John's change as it breaks reading of the user
11488         preamble.
11489
11490 2002-08-02  Angus Leeming  <leeming@lyx.org>
11491
11492         * importer.C (Import):
11493         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11494         changes due to LyXView::view() now returning a boost::shared_ptr.
11495
11496 2002-08-02  John Levon  <levon@movementarian.org>
11497
11498         * lyxlex.C: small cleanup
11499
11500 2002-08-02  John Levon  <levon@movementarian.org>
11501
11502         * text2.C (status): small cleanup, no logic change
11503
11504 2002-08-01  John Levon  <levon@movementarian.org>
11505
11506         * buffer.h:
11507         * buffer.C (writeFile): don't output alerts, caller
11508           handles this
11509
11510         * bufferlist.C:
11511         * lyx_cb.C: from above
11512
11513         * lyxfunc.C: allow to open non-existent files
11514
11515 2002-07-31  John Levon  <levon@movementarian.org>
11516
11517         * lyxserver.C: don't let incidental errors get
11518           in the way (errno)
11519
11520 2002-07-30  John Levon  <levon@movementarian.org>
11521
11522         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11523
11524 2002-07-30  John Levon  <levon@movementarian.org>
11525
11526         * lyxserver.h:
11527         * lyxserver.C: remove I/O callback too
11528
11529 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11530
11531         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11532         log.
11533
11534 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11535
11536         * many files: strip,frontStrip -> trim,ltrim,rtrim
11537
11538 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11539
11540         * PrinterParams.h: remove extern containsOnly, and include
11541         support/lstrings.h instead.
11542
11543         * LaTeX.C (scanAuxFile): modify because of strip changes
11544         (deplog): ditto
11545         * buffer.C (makeLaTeXFile): ditto
11546         * bufferparams.C (writeFile): ditt
11547         * lyxfont.C (stateText): ditto
11548         * lyxserver.C (read_ready): ditto
11549         * vc-backend.C (scanMaster): ditto
11550
11551         * BufferView_pimpl.h: ws changes
11552
11553         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11554
11555 2002-07-26  André Pönitz <poenitz@gmx.net>
11556
11557         * kb_sequence.C: remove unnedred usings
11558
11559 2002-07-26  Juergen Vigna  <jug@sad.it>
11560
11561         * lyxfind.C (LyXReplace): we have to check better if the returned
11562         text is not of theLockingInset()->getLockingInset().
11563
11564 2002-07-25  Juergen Vigna  <jug@sad.it>
11565
11566         * lyxfind.C (LyXReplace): don't replace if we don't get the
11567         right LyXText.
11568
11569         * undo_funcs.C (createUndo): remove debugging code.
11570
11571 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11572
11573         * buffer.C (parseSingleLyXformat2Token): Use default placement
11574         when reading old floats.
11575
11576         * FloatList.C (FloatList): Change the default placement of figure
11577         and tables to "tbp".
11578
11579 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11580
11581         * MenuBackend.C: using std::max
11582
11583 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11584
11585         * MenuBackend.C (expandToc):
11586         (expandToc2): code moved from xforms menu frontend. It is now
11587         generic and TOCs are transparent to menu frontends.
11588
11589 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11590
11591         * toc.C (getTocList): protect against buf=0
11592
11593         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11594         Menu as first parameter. Now, this calls itself recursively to
11595         expand a whole tree (this will be useful for TOC handling)
11596         (expandFloatInsert): remove 'wide' version of floats
11597
11598         * MenuBackend.h (submenuname): returns the name of the submenu.
11599         (submenu): returns the submenu itself, provided it has been
11600         created by MenuBackend::expand
11601
11602 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11603
11604         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11605         insets which have noFontChange == true. (bug #172)
11606
11607 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11608
11609         * BufferView_pimpl.C: add connection objects and use them...
11610         (Pimpl): here.
11611
11612 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11613
11614         * MenuBackend.C (expandLastfiles):
11615         (expandDocuments):
11616         (expandFormats):
11617         (expandFloatListInsert):
11618         (expandFloatInsert):
11619         (expand): split expand in parts
11620
11621 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11622
11623         * lyx_gui.C: use lyx_gui::exit()
11624
11625 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11626
11627         * LyXAction.C: show the failing pseudo action
11628
11629 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11630
11631         * buffer.C (readFile): Run the lyxconvert script in order to read
11632         old files.
11633
11634 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11635
11636         * LyXAction.C:
11637         * commandtags.h:
11638         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11639
11640 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11641
11642         * LyXAction.C:
11643         * commandtags.h:
11644         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11645
11646 2002-07-22  Herbert Voss  <voss@lyx.org>
11647
11648         * lengthcommon.C:
11649         * lyxlength.[Ch]: add support for the vertical lengths
11650
11651 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11652
11653         * toc.[Ch]: std:: fixes
11654
11655 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11656
11657         * lyxrc.C: do not include lyx_main.h
11658
11659         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11660         for layouts
11661
11662         * lyxrc.C:
11663         * encoding.C:
11664         * bufferlist.C:
11665         * BufferView2.C: include "lyxlex.h"
11666
11667         * tabular.h:
11668         * bufferparams.h: do not #include "lyxlex.h"
11669
11670         * lyxtextclasslist.C (Add): remove method
11671         (classlist): renamed to classlist_
11672
11673         * paragraph_pimpl.C:
11674         * paragraph.C:
11675         * text2.C:
11676         * CutAndPaste.C:
11677         * bufferview_funcs.C:
11678         * bufferlist.C:
11679         * text.C:
11680         * LaTeXFeatures.C:
11681         * buffer.C:
11682         * toc.C (getTocList): use BufferParams::getLyXTextClass
11683
11684         * toc.C (getTocList): use InsetFloat::addToToc
11685
11686         * toc.[Ch]: new files, containing helper functions to handle table
11687         of contents
11688
11689         * lyxfunc.C (dispatch): no need to remove spaces around command
11690         given as a string
11691         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11692         first command of the sequence; it is not very clever, but I do not
11693         have a better idea, actually
11694
11695         * LyXAction.C (LookupFunc): make sure to remove space at the
11696         beginning and end of the command
11697
11698 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11699
11700         * MenuBackend.C (getMenubar): new method: return the menubar of
11701         this menu set
11702         (read): treat differently reading of menu and menubar (in
11703         particular, the menubar has no name now)
11704         (Menu::menubar): remove
11705
11706         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11707         saving is finished
11708
11709 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11710
11711         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11712         a bibitem inset in a RTL paragraph.
11713
11714 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11715
11716         * paragraph_pimpl.C: constify
11717
11718         * BufferView_pimpl.C:
11719         * LaTeX.C:
11720         * lyxfunc.C: fix dispatch in a nicer way
11721
11722 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11723
11724         * lyxfunc.C (dispatch):
11725         * BufferView_pimpl.C:
11726         * BufferView_pimpl.h:
11727         * BufferView.C:
11728         * BufferView.h: rename Dispatch() to dispatch()
11729
11730         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11731
11732         * lyxlayout.C (Read): honor DependsOn tag
11733
11734         * lyxlayout.[Ch] (depends_on): new method
11735
11736         * version.C.in: update lyx_docversion
11737
11738         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11739
11740         * paragraph.C (validate): remove from here...
11741         * paragraph_pimpl.C (validate): ... and move here
11742         (isTextAt): make it const
11743
11744         * buffer.C (getLists): ws cleanup
11745
11746 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11747
11748         * language.C (read): Use iso8859-1 encoding in latex_lang
11749         (this prevents LyX from crashing when using iso10646-1 encoding).
11750
11751 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11752
11753         * text2.C (toggleInset): if cursor is inside an inset, close the
11754         inset and leave cursor _after_ it
11755
11756 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11757
11758         * lyxfunc.C: move minibuffer completion handling out of here
11759
11760 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11761
11762         * BufferView_pimpl.C:
11763         * LaTeX.C: fix dispatch calls
11764
11765 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11766
11767         * text.C (drawChars): Fix Arabic text rendering.
11768
11769 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11770
11771         * LyXAction.C:
11772         * commandtags.h:
11773         * lyxfunc.C: remove message-push/pop
11774
11775         * lyxserver.C:
11776         * lyxfunc.h:
11777         * lyxfunc.C: rationalise some code by removing verboseDispatch
11778           in favour of a bool argument to dispatch()
11779
11780 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11781
11782         * lyx_main.C (init): make sure to read symlinks as absolute paths
11783
11784 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11785
11786         * lyxfunc.h:
11787         * lyxfunc.C: no need for commandshortcut to be a member
11788
11789 2002-07-15  André Pönitz <poenitz@gmx.net>
11790
11791         * converter.C: add support for $$s (scripts from lib/scripts dir)
11792         * lyx_main.C: white space
11793
11794 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11795
11796         * bufferlist.C:
11797         * lyxrc.h:
11798         * lyxrc.C: remove second exit confirmation
11799
11800 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11801
11802         * BufferView.h:
11803         * BufferView.C:
11804         * BufferView2.C:
11805         * BufferView_pimpl.h:
11806         * BufferView_pimpl.C:
11807         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11808
11809 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11810
11811         * MenuBackend.C (expand): add numeric shortcuts to document menu
11812
11813         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11814
11815 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11816
11817         * lyxfont.C (setLyXFamily):
11818         (setLyXSeries):
11819         (setLyXShape):
11820         (setLyXSize):
11821         (setLyXMisc):
11822         (lyxRead):
11823         * debug.C (value):
11824         * buffer.C (asciiParagraph): use ascii_lowercase
11825
11826 2002-07-15  Mike Fabian  <mfabian@suse.de>
11827
11828         * lyxlex_pimpl.C (search_kw):
11829         * lyxlex.C (getLongString):
11830         * converter.h (operator<):
11831         * converter.C (operator<):
11832         * buffer.C (parseSingleLyXformat2Token):
11833         (asciiParagraph):
11834         * ToolbarDefaults.C (read):
11835         * MenuBackend.C (checkShortcuts):
11836         (read):
11837         * LColor.C (getFromGUIName):
11838         (getFromLyXName): use the compare_ascii_no_case instead of
11839         compare_no_case, because in turkish, 'i' is not the lowercase
11840         version of 'I', and thus turkish locale breaks parsing of tags.
11841
11842 2002-07-16  Angus Leeming  <leeming@lyx.org>
11843
11844         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11845         now takes a Buffer const & argument.
11846
11847 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11848
11849         * BufferView.C (resize): check there's a buffer to resize
11850
11851 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11852
11853         * lyxfunc.C: remove dead code
11854
11855         * lyxserver.h:
11856         * lyxserver.C: use lyx_guii::set_read_callback
11857
11858 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11859
11860         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11861         an inset in a RTL paragraph.
11862
11863 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11864
11865         * lyxfunc.C: repaint after a font size update
11866
11867 2002-07-15  André Pönitz <poenitz@gmx.net>
11868
11869         * lyxlength.C: inBP should be able to return negative values
11870
11871 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11872
11873         * lyxfunc.C: use lyx_gui::update_fonts()
11874
11875 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11876
11877         * lyxfunc.C: use lyx_gui::update_color()
11878
11879 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11880
11881         * bufferlist.C:
11882         * lyxfunc.h:
11883         * lyxfunc.C:
11884         * lyxrc.h:
11885         * lyxrc.C: remove file->new asks for name option, and let
11886           buffer-new take an argument
11887
11888 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11889
11890         * BufferView_pimpl.C: remove unneeded extra repaint()
11891
11892 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11893
11894         * LyXAction.C: allow command-sequence with NoBuffer
11895
11896         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11897
11898 2002-07-10  Angus Leeming  <leeming@lyx.org>
11899
11900         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11901
11902 2002-07-09  Angus Leeming  <leeming@lyx.org>
11903
11904         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11905
11906 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11907
11908         * lengthcommon.h: whitespace
11909
11910         * lyxfunc.C: update scrollbar after goto paragraph
11911
11912         * lyxtext.h: factor out page break drawing, and fix it so
11913           page break/added space paints as selected nicely
11914
11915 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11916
11917         * BufferView_pimpl.C: add FIXMEs, clean up a little
11918
11919 2002-07-09  André Pönitz <poenitz@gmx.net>
11920
11921         * lyxfont.[Ch]: support for wasy symbols
11922
11923 2002-07-08  André Pönitz <poenitz@gmx.net>
11924
11925         * BufferView_pimpl.C: apply John's patch for #93.
11926
11927 2002-07-05  Angus Leeming  <leeming@lyx.org>
11928
11929         * BufferView_pimpl.C (buffer): generate previews if desired.
11930
11931         * LColor.h: add "preview" to the color enum.
11932
11933         * LColor.C (LColor): add a corresponding entry to the items array.
11934
11935         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11936         with this buffer.
11937
11938 2002-07-05  Angus Leeming  <leeming@lyx.org>
11939
11940         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11941         The body of the code is now in the method that is passed an ostream &
11942         rather than a file name.
11943         Pass an additional only_preamble parameter, useful for the forthcoming
11944         preview stuff.
11945
11946 2002-07-03  André Pönitz <poenitz@gmx.net>
11947
11948         * lyxfunc.C: simplify getStatus() a bit for math stuff
11949
11950 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11951
11952         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11953
11954 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11955
11956         * text.C (changeRegionCase): do not change case of all the
11957         document when region ends at paragraph end (bug #461)
11958
11959 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11960
11961         * paragraph.C (startTeXParParams):
11962         (endTeXParParams): add \protect when necessary
11963
11964 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11965
11966         * BufferView_pimpl.C (workAreaExpose): remove warning
11967
11968 2002-06-27  Angus Leeming  <leeming@lyx.org>
11969
11970         * Makefile.am: add lyxlayout_ptr_fwd.h.
11971
11972 2002-06-26  André Pönitz <poenitz@gmx.net>
11973
11974         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11975
11976 2002-06-25  Angus Leeming  <leeming@lyx.org>
11977
11978         * lyxfunc.C (dispatch): Comment out the call to
11979         grfx::GCache::changeDisplay. The method no longer exists now that the
11980         pixmap generation part of the graphics loader has been moved into
11981         InsetGraphics.
11982
11983 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11984
11985         * text2.C: layout as layout
11986
11987         * text.C: layout as layout
11988
11989         * tabular.C (OldFormatRead): layout as layout
11990
11991         * paragraph_pimpl.C (TeXDeeper): layout as layout
11992         (realizeFont): layout as layout
11993
11994         * paragraph.C (writeFile): layout as layout
11995         (validate): layout as layout
11996         (getFont): layout as layout
11997         (getLabelFont): layout as layout
11998         (getLayoutFont): layout as layout
11999         (breakParagraph): layout as layout
12000         (stripLeadingSpaces): layout as layout
12001         (getEndLabel): layout as layout
12002         (getMaxDepthAfter): layout as layout
12003         (applyLayout): layout as layout
12004         (TeXOnePar): layout as layout
12005         (simpleTeXOnePar): layout as layout
12006         (TeXEnvironment): layout as layout
12007         (layout): layout as layout
12008         (layout): layout as layout
12009
12010         * lyxtextclass.C (compare_name): new functor to work with
12011         shared_ptr, layout as layout
12012         (Read): layout as layout
12013         (hasLayout): layout as layout
12014         (operator): layout as layout
12015         (delete_layout): layout as layout
12016         (defaultLayout): layout as layout
12017
12018         * lyxlayout_ptr_fwd.h: new file
12019
12020         * lyxlayout.C (Read): layout as layout
12021
12022         * lyx_cb.C (MenuInsertLabel): layout as layout
12023
12024         * bufferlist.C (newFile): layout as layout
12025
12026         * buffer.C (readLyXformat2): layout as layout
12027         (parseSingleLyXformat2Token): layout as layout
12028         (insertStringAsLines): layout as layout
12029         (asciiParagraph): layout as layout
12030         (latexParagraphs): layout as layout
12031         (makeLinuxDocFile): layout as layout
12032         (simpleLinuxDocOnePar): layout as layout
12033         (makeDocBookFile): layout as layout
12034         (simpleDocBookOnePar): layout as layout
12035         (getLists): layout as layout
12036
12037         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12038
12039         * CutAndPaste.C (cutSelection): layout as layout
12040         (pasteSelection): layout as layout
12041         (SwitchLayoutsBetweenClasses): layout as layout
12042
12043         * BufferView_pimpl.C (Dispatch): layout as layout
12044         (smartQuote): layout as layout
12045
12046         * BufferView2.C (unlockInset): layout as layout
12047
12048 2002-06-24  André Pönitz <poenitz@gmx.net>
12049
12050         * lyxfunc.C: fix #487
12051
12052 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12053
12054         * lyxrc.h:
12055         * lyxrc.C:
12056         * lyxfunc.C: remove display_shortcuts, show_banner
12057
12058 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12059
12060         * Buffer_pimpl.C: oops, update on resize
12061
12062 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12063
12064         * buffer.C:
12065         * converter.C:
12066         * exporter.C:
12067         * lyxfunc.C:
12068         * BufferView.h:
12069         * BufferView.C: use repaint()
12070
12071         * BufferView_pimpl.h:
12072         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12073           as it's a clearer description. Remove superfluous
12074           redraws.
12075
12076 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12077
12078         * text.C: fix bug 488. Not ideal, but getting
12079           getWord() to work properly for the insets that
12080           matter is more difficult ...
12081
12082 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12083
12084         * BufferView_pimpl.C:
12085         * LyXAction.C:
12086         * commandtags.h:
12087         * lyxfunc.C: remove the six million index lyxfuncs to just
12088           one, and DTRT (bug 458)
12089
12090 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12091
12092         * BufferView.h:
12093         * BufferView.C:
12094         * BufferView_pimpl.h:
12095         * BufferView_pimpl.C: clean up resize() stuff,
12096           and unnecessary updateScreen()s
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:
12104         * lyxfind.h:
12105         * lyxfind.C:
12106         * minibuffer.C: remove focus management of workarea,
12107           not needed. Use screen's greyOut()
12108
12109 2002-06-17  Herbert Voss  <voss@lyx.org>
12110
12111         * converter.C: (convert) do not post a message, when converting
12112         fails, let the calling function decide what to do in this case
12113
12114 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12115
12116         * lyxfunc.C: tidy up a little
12117
12118 2002-06-16    <alstrup@diku.dk>
12119
12120         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12121         Got rid of FORMS_H_LOCATION include. Now we are
12122         GUII.
12123
12124 2002-06-15  LyX Development team  <lyx@rilke>
12125
12126         * buffer.[Ch] (sgmlOpenTag):
12127         (sgmlCloseTag): Added support for avoiding pernicious mixed
12128         content. Return number of lines written.
12129
12130         (makeLinuxDocFile):
12131         (makeDocBookFile): Fixed calls to sgml*Tag.
12132         Simple white space clean.
12133
12134         (simpleDocBookOnePar): Simple white space clean.
12135
12136         * tabular.[Ch] (docBook): Renamed to docbook and got another
12137         argument to related with the pernicious mixed content.
12138
12139         (docbookRow): Fixed calls for docbook inset method.
12140
12141 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12142
12143         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12144         so it's X11 independent.
12145
12146         * kb*.[Ch]: ditto.
12147
12148         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12149
12150 2002-06-15  Lyx Development team  <lyx@electronia>
12151
12152         * intl.h: Renamed getTrans to getTransManager.
12153
12154 2002-06-14  Angus Leeming  <leeming@lyx.org>
12155
12156         * Makefile.am: nuke forgotten stl_string_fwd.h.
12157
12158 2002-06-12  Angus Leeming  <leeming@lyx.org>
12159
12160         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12161
12162 2002-06-13  Angus Leeming  <leeming@lyx.org>
12163
12164         * LaTeX.C:
12165         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12166
12167 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12168
12169         * kbmap.C (getiso): add support for cyrillic and greek
12170
12171 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12172
12173         * BufferView.h:
12174         * BufferView.C:
12175         * BufferView_pimpl.h:
12176         * BufferView_pimpl.C: move bogus scrolling logic
12177           to xforms
12178
12179 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12180
12181         * lyxfunc.C:
12182         * BufferView_pimpl.C: view->resize() change
12183
12184 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12185
12186         * BufferView_pimpl.C: topCursorVisible
12187           prototype change
12188
12189 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12190
12191         * Makefile.am:
12192         * lyx_gui.h:
12193         * lyx_gui.C: move to frontends/
12194
12195         * main.C:
12196         * lyx_main.h:
12197         * lyx_main.C: changes from above
12198
12199 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12200
12201         * intl.C:
12202         * intl.h:
12203         * kbmap.C:
12204         * kbsequence.C:
12205         * lyx_cb.C:
12206         * lyx_main.C: minor tidy
12207
12208 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12209
12210         * BufferView_pimpl.h:
12211         * BufferView_pimpl.C:
12212         * BufferView.h:
12213         * BufferView.C: make painter() const,
12214           remove dead code
12215
12216         * BufferView2.C: use screen() accessor
12217
12218         * lyx_main.h:
12219         * lyx_main.C: some minor cleanup
12220
12221 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12222
12223         * BufferView_pimpl.h:
12224         * BufferView_pimpl.C: remove enter/leaveView,
12225           use workHeight()
12226
12227 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12228
12229         * BufferView.h:
12230         * BufferView.C:
12231         * BufferView2.C:
12232         * BufferView_pimpl.h:
12233         * BufferView_pimpl.C: only construct screen once,
12234           rename
12235
12236         * lyxrc.C: remove pointless comment
12237
12238 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12239
12240         * BufferView.h:
12241         * BufferView.C: remove active() and belowMouse()
12242
12243         * BufferView_pimpl.h:
12244         * BufferView_pimpl.C: use workarea() not workarea_,
12245           and make it use a scoped_ptr instead
12246
12247 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12248
12249         * lyx_gui.C: add debug message on BadWindow
12250
12251 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12252
12253         * sp_spell.C: fdopen is not part of the C++ standard.
12254
12255         * paragraph.C (InsetIterator): use >= instead of ==
12256
12257 2002-06-07  Angus Leeming  <leeming@lyx.org>
12258
12259         Fixes needed to compile with Compaq cxx 6.5.
12260         * BufferView_pimpl.C:
12261         * DepTable.C:
12262         * buffer.C:
12263         * converter.C:
12264         * encoding.C:
12265         * lyx_gui.C:
12266         * lyx_main.C:
12267         * lyxtextclasslist.C:
12268         * minibuffer.C:
12269         * sp_spell.C:
12270         * tabular_funcs.C:
12271         * vc-backend.C:
12272         all c-library variables have been moved into namespace std. Wrap
12273         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12274
12275         * lyxlength.C:
12276         * tabular-old.C:
12277         * tabular.C:
12278         Add a using std::abs declaration.
12279
12280         * kbmap.h (modifier_pair):
12281         * paragraph.h (InsetTable, InsetList):
12282         * lyxfont.h (FontBits):
12283         type definition made public.
12284
12285         * bufferlist.C (emergencyWriteAll): the compiler complains that
12286         there is more than one possible lyx::class_fun template to choose from.
12287         I re-named the void specialisation as lyx::void_class_fun.
12288
12289         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12290
12291         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12292         the compiler is is unable to find tostr in write_attribute.
12293
12294 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12295
12296         * buffer.C (sgmlError): hide #warning
12297
12298 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12299
12300         * xtl/*: get rid of xtl, which is not in use anyway
12301
12302         * LyXAction.C (init):
12303         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12304         were unimplemented xtl experimentation
12305
12306 2002-06-04  André Pönitz <poenitz@gmx.net>
12307
12308         * lyxfunc.C: disable array operation on simple formulae
12309
12310 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12311
12312         * converter.C: constify a bit
12313
12314 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12315
12316         * lyx_gui.C: check xforms version correctly
12317
12318 2002-04-30  Herbert Voss  <voss@lyx.org>
12319
12320         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12321         "keep" option
12322
12323 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12324
12325         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12326           attempt to register it with a VCS)
12327
12328 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12329
12330         * lyx_main.C (init): honor variables LYX_DIR_13x and
12331         LYX_USERDIR_13x
12332
12333 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12334
12335         * buffer.h:
12336         * buffer.C:
12337         * lyx_main.C: fix a crash on bad command line,
12338           and give a useful exit status on error
12339
12340         * lyxfunc.C (doImport): allow -i lyx to work
12341
12342 2002-03-30  André Pönitz <poenitz@gmx.net>
12343
12344         * lyxfunc.C: mathed font changes
12345
12346 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12347
12348         * LaTeX.C:
12349         * importer.h:
12350         * importer.C:
12351         * lyx_sty.h:
12352         * lyx_sty.C:
12353         * lyxlex.C:
12354         * lyxrow.h:
12355         * lyxtext.h:
12356         * paragraph.h:
12357         * paragraph.C:
12358         * texrow.h:
12359         * texrow.C:
12360         * text.C:
12361         * trans_mgr.h: srcdocs, and some minor cleanups
12362
12363 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12364
12365         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12366         call getFont all the time)
12367
12368 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12369
12370         * switch from SigC signals to boost::signals
12371
12372 2002-05-29  André Pönitz <poenitz@gmx.net>
12373
12374         * paragraph_pimpl.C (getChar): don't call size() too often...
12375
12376 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12377
12378         * paragraph_pimpl.C (insertChar): do not try to update tables when
12379         appending (pos == size())
12380
12381         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12382         in order to reduce drastically the number of comparisons needed to
12383         parse a large document
12384
12385 2002-05-29  André Pönitz <poenitz@gmx.net>
12386
12387         * text.C:
12388         * text2.C:
12389         * lyxtextclass.C:
12390         * sp_pspell.h:
12391         * textclasslist.[Ch]:
12392         * sp_ispell.h: whitespace change
12393
12394 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12395
12396         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12397         lyxaction directly now.
12398
12399 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12400
12401         * trans.C:
12402         * lyxfont.C:
12403         * lyxvc.C: remove unused headers
12404
12405 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12406
12407         * Makefile.am:
12408         * buffer.h:
12409         * undostack.h:
12410         * undostack.C:
12411         * undo_funcs.h:
12412         * undo_funcs.C: some cleanups. Use shared_ptr
12413           and a template for the undo stacks.
12414
12415 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12416
12417         * BufferView_pimpl.h:
12418         * BufferView_pimpl.C:
12419         * kbmap.h:
12420         * kbmap.C:
12421         * kbsequence.h:
12422         * kbsequence.C:
12423         * lyxfunc.h:
12424         * lyxfunc.C:
12425         * text2.C: use key_state/mouse_state
12426
12427 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12428
12429         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12430         and LSubstring
12431
12432         * chset.C: change include order
12433         (loadFile): use boost regex and get rid of LRegex and LSubstring
12434
12435         * Makefile.am (BOOST_LIBS): new variable
12436         (lyx_LDADD): use it
12437
12438         * LaTeX.C: change include order.
12439         (scanAuxFile): use boost regex and get rid of LRegex and
12440         LSubstring
12441         (deplog): ditto
12442
12443 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12444
12445         * ColorHandler.h:
12446         * ColorHandler.C:
12447         * FontInfo.h:
12448         * FontInfo.C: moved to frontends/xforms/
12449
12450         * FontLoader.h:
12451         * FontLoader.C: moved into frontends for GUIIzation
12452
12453         * Makefile.am:
12454         * lyx_gui.C:
12455         * lyxfont.C:
12456         * lyxfunc.C: changes from above
12457
12458 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12459
12460         * LColor.C: remove spurious X include
12461
12462         * BufferView_pimpl.C:
12463         * Makefile.am:
12464         * font.h:
12465         * font.C:
12466         * text.C:
12467         * text2.C: move font metrics to frontends/
12468
12469 2002-05-24  Juergen Vigna  <jug@sad.it>
12470
12471         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12472         setting the undo_cursor.
12473
12474         * ParagraphParameters.h: include local includes first.
12475
12476 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12477
12478         * BufferView_pimpl.C:
12479         * BufferView_pimpl.h:
12480         * Makefile.am:
12481         * WorkArea.h:
12482         * WorkArea.C:
12483         * screen.C: move WorkArea into frontends/
12484
12485         * lyxscreen.h:
12486         * screen.C:
12487         * text.C:
12488         * BufferView.C:
12489         * BufferView2.C: move LyXScreen into frontends/
12490
12491         * lyxlookup.h:
12492         * lyxlookup.C:
12493         * lyx_gui.C: move lyxlookup into frontends/xforms/
12494
12495 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12496
12497         * BufferView2.C:
12498         * BufferView_pimpl.C:
12499         * FontLoader.C:
12500         * LyXView.h:
12501         * LyXView.C:
12502         * Makefile.am:
12503         * WorkArea.C:
12504         * XFormsView.h:
12505         * XFormsView.C:
12506         * buffer.C:
12507         * bufferlist.C:
12508         * bufferview_funcs.C:
12509         * converter.C:
12510         * importer.C:
12511         * lyx_cb.C:
12512         * lyx_gui.C:
12513         * lyx_main.C:
12514         * lyx_find.C:
12515         * lyxfunc.C:
12516         * lyxvc.C:
12517         * minibuffer.C:
12518         * text.C:
12519         * text2.C:
12520         * trans.C:
12521         * vc-backend.C: move LyX/XFormsView into frontends/
12522
12523 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12524
12525         * Makefile.am:
12526         * PainterBase.C:
12527         * PainterBase.h:
12528         * Painter.C:
12529         * Painter.h:
12530         * WorkArea.C:
12531         * WorkArea.h:
12532         * screen.C:
12533         * tabular.C:
12534         * text.C:
12535         * text2.C: move Painter to frontends/
12536
12537 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12538
12539         * buffer.C: comment out some some code that depend upon lyx_format
12540         < 220
12541
12542         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12543         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12544
12545         * buffer.h (NO_COMPABILITY): turn off compability
12546
12547         * ColorHandler.C: include scoped_array.hpp
12548
12549         * font.C: Use more specific smart_ptr header.
12550         * Painter.C: ditto
12551         * gettext.C: ditto
12552         * ShareContainer.h: ditto
12553         * lyx_main.h: ditto
12554         * kbmap.h: ditto
12555         * FontInfo.h: ditto
12556         * BufferView_pimpl.h: ditto
12557         * ColorHandler.h: ditto
12558
12559         * kbmap.C (defkey): change call to shared_ptr::reset
12560
12561 2002-05-21  Juergen Vigna  <jug@sad.it>
12562
12563         * buffer.C (insertErtContents): fix to insert ert asis if it is
12564         non empty. Skip it completely if it contains only whitespaces.
12565
12566 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12567
12568         * BufferView_pimpl.C:
12569         * BufferView2.C: clear selection on paste (bug 393)
12570
12571 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12572
12573         * DepTable.C: include ctime
12574
12575 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12576
12577         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12578
12579 2002-05-14  Juergen Vigna  <jug@sad.it>
12580
12581         * text.C (breakParagraph): fixed function to honor the keepempty
12582         layout in the right maner and also to permit the right breaking
12583         algorithm on empty or non empyt keepempty paragraphs.
12584
12585         * paragraph.C (breakParagraph): we have to check also if the par
12586         is really empty (!size()) for isempty otherwise we do the wrong
12587         paragraph break.
12588
12589 2002-05-10  Juergen Vigna  <jug@sad.it>
12590
12591         * buffer.[Ch] : The following are only changes to the ert
12592         compatibility read reading old LaTeX layout and font stuff and
12593         convert it to ERTInsets.
12594
12595         * buffer.h: added isErtInset().
12596
12597         * buffer.C (struct ErtComp): add a fromlayout bool to check
12598         if we're inside a LaTeX layout.
12599         (isErtInset): new helper function.
12600         (insertErtContents): look for other ert insets before this one
12601         and insert the contents there, so that we don't have subsequent
12602         ERT insets with nothing between them. This way we create only one
12603         inset with multiple paragraphs. Also check if we don't insert only
12604         spaces ' ' as they are ignored anyway afterwards in the .tex file
12605         so if we have only spaces we will ignore this latex part in the
12606         new file.
12607         (parseSingleLyXformat2Token \\layout): better compatibility when
12608         reading layout-latex stuff.
12609         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12610         language tag.
12611         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12612         stuff after reading the inset only get the information back from
12613         the stack.
12614
12615 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12616
12617         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12618
12619         * LaTeXFeatures.C (getBabelOptions): New method.
12620
12621 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12622
12623         * BufferView_pimpl.C (Dispatch): work around missing argument for
12624         'layout'
12625
12626 2002-05-08  Juergen Vigna  <jug@sad.it>
12627
12628         * text.C (leftMargin): handle paragraph leftindent.
12629
12630         * paragraph.C (writeFile): write the new \\leftindent tag.
12631         (validate): handle leftindent code.
12632         (TeXEnvironment): handle paragraphleftindent code again.
12633
12634         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12635
12636         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12637         for paragrap_extra indent code and new token \\leftindent.
12638         (latexParagraphs): handle the leftindent as environment.
12639
12640         * ParameterStruct.h: added leftindent support.
12641
12642         * ParagraphParameters.C (leftIndent): added support functions for
12643         the paragraph left indent.
12644
12645         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12646         more appropriate.
12647
12648 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12649
12650         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12651         inside insetERT.
12652
12653         * text.C (computeBidiTables): No bidi in insetERT.
12654
12655         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12656         in RTL documents.
12657
12658 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12659
12660         * version.C.in: pre 5
12661
12662 2002-05-02  José Matos  <jamatos@fep.up.pt>
12663         * buffer.C (makeDocBookFile): white space changes, add newline to
12664         command styles.
12665         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12666
12667         * tabular.C (docBook): fix typo.
12668
12669 2002-05-03  Juergen Vigna  <jug@sad.it>
12670
12671         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12672         change in LyXText as we can not be sure it was not freed.
12673         (drawOneRow): remove unused code.
12674
12675         * text.C (drawInset): redo the calculation of the need_break_row as
12676         it could have a row which was already freed.
12677         (draw): look at the return value of drawInset and return false if
12678         it also returned false.
12679         (paintRowText): look at the return value of draw and return false if
12680         it also returned false.
12681
12682         * lyxtext.h: added bool return type to drawInset() and draw() so that
12683         if we have a change in the row so that the rowbreak has to be redone
12684         we abort drawing as it will be called again.
12685
12686 2002-05-02  Juergen Vigna  <jug@sad.it>
12687
12688         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12689         a change in the maintext also if we're inside an inset.
12690         (Dispatch): set the cursor again after a break line and after the
12691         screen has been updated as it could be we're in a different row.
12692
12693         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12694         to set the cursor behind the pargraph with > size().
12695         (setCursor): check also for the same paragraph when checking where
12696         to put the cursor if we have a NFR inset.
12697
12698         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12699         parts of layout read further up as it still was in the wrong
12700         position.
12701
12702 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12703
12704         * screen.C (drawFromTo): change sine fullRebreak always return
12705         true.
12706
12707         * buffer.C (parseSingleLyXformat2Token): reindent some
12708
12709         * BufferView_pimpl.C (update): change since fullRebreak always
12710         return true.
12711         (Dispatch): git rid of the last hardcoded "Standard"s.
12712
12713 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12714
12715         * text2.[Ch] (fullRebreak): make it return void now that we always
12716         returned true.
12717
12718 2002-04-30  Juergen Vigna  <jug@sad.it>
12719
12720         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12721         ert compatibility check for "latex" layout.
12722
12723 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12724
12725         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12726         minipages: use col% instead of p%, and also use the current font.
12727         (makeLaTeXFile): Fix use babel condition.
12728         (parseSingleLyXformat2Token): Correct font when reading old floats.
12729
12730 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12731
12732         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12733         inserting list of floats.
12734
12735 2002-04-25  Herbert Voss  <voss@lyx.org>
12736
12737         * MenuBackend.C (expand): don't add the graphics extensions to the
12738         export menu
12739
12740 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12741
12742         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12743         non-existing layout, do not complain if it was the default layout
12744         of the original class (bug #342)
12745
12746 2002-04-24  Juergen Vigna  <jug@sad.it>
12747
12748         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12749         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12750
12751 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12752
12753         * buffer.C (getBibkeyList): If using \bibliography, return the
12754         option field with the reference itself. Enables us to provide natbib
12755         support when using \bibliography.
12756
12757 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12758
12759         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12760
12761         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12762         natbib is provided by the LaTeX class.
12763
12764 2002-04-23  Juergen Vigna  <jug@sad.it>
12765
12766         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12767         Wakeup functions.
12768
12769         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12770
12771 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12772
12773         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12774
12775         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12776         ensuremath around textordmasculine, textordfeminine and
12777         textdegree.
12778
12779 2002-04-19  Juergen Vigna  <jug@sad.it>
12780
12781         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12782         reinitializing the buffer otherwise row-dimensions may be wrong.
12783         (update): reset also the selection cursors if they do exits otherwise
12784         their x/y positions may be wrong.
12785
12786         * text2.C (cursorDown): don't enter the inset if we came from a row
12787         above and are one row over the inset.
12788
12789         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12790         really leaving an inset.
12791
12792 2002-04-18  Juergen Vigna  <jug@sad.it>
12793
12794         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12795         of the selected paragraph does not have the selected layout also if
12796         the last one had!
12797
12798         * text2.C (setLayout): fixed bug which did not change last selected
12799         paragraph.
12800
12801         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12802         changed the read and substituted \\end_float with \\end_inset!
12803
12804         * BufferView_pimpl.C (cursorPrevious):
12805         (cursorNext): fixed to make it work with rows heigher than the work
12806         area without moving the cursor only the draw of the row.
12807         (workAreaMotionNotify): fix jumping over high rows.
12808
12809 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12810
12811         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12812         Ressler.
12813
12814 2002-04-16  Juergen Vigna  <jug@sad.it>
12815
12816         * text2.C (setCursor): set also the irow().
12817         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12818         (cursorUp):
12819         (cursorDown): support for locking an inset if the x_fix value goes
12820         inside it. That way I can transverse insets too with cursor up/down.
12821
12822         * lyxrow.h: added irow helper function same as other (i) functions.
12823
12824         * BufferView_pimpl.C (cursorPrevious):
12825         (cursorNext): fixed for insets!
12826
12827 2002-04-15  Juergen Vigna  <jug@sad.it>
12828
12829         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12830         position otherwise it is wrong in some cases.
12831
12832         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12833         inside the inset before the call.
12834
12835 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12836
12837         * buffer.[Ch] (getBibkeyList): make it const.
12838
12839 2002-04-12  Juergen Vigna  <jug@sad.it>
12840
12841         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12842
12843         * text2.C (getCursorX): new helper function
12844         (setCursor): compute also ix_
12845         (setCursorFromCoordinates): set also ix.
12846
12847         * lyxcursor.h: added ix_ and helper functions.
12848
12849         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12850
12851         * buffer.C (insertStringAsLines): dont break paragraph if the this
12852         paragraph is inside an inset which does not permit it!
12853
12854         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12855         also with no chars on this paragraph.
12856         (paintRowText): only paint stuff if it's inside the workarea!
12857
12858         * paragraph.C (breakParagraph): honor keepempty flag and break the
12859         paragraph always below not above.
12860
12861         * BufferView2.C (unlockInset): update the paragraph layout on inset
12862         unlock as we changed paragraph in such a case.
12863
12864         * lyxfind.C (LyXFind): clear the former selection if not found!
12865
12866         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12867         again called in insertChar().
12868
12869         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12870         an inset which uses the whole row!
12871         (rightMargin): ditto.
12872         (insertChar): force a rebreak if we inserted an inset!
12873
12874 2002-03-28  Herbert Voss  <voss@lyx.org>
12875
12876         * lyxlength.[Ch]: add inBP() to get the right PS-point
12877         units (BigPoint). With inPixels we have rounding errors
12878
12879 2002-04-11  Juergen Vigna  <jug@sad.it>
12880
12881         * text2.C (setCursorFromCoordinates): set iy to the right value.
12882         (setCursor): add check if row->previous exists!
12883
12884         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12885         an old float_type as this was the case in the old code!
12886
12887         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12888
12889         * BufferView2.C (showLockedInsetCursor): use iy
12890         (fitLockedInsetCursor): ditto
12891
12892         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12893         locked insets as there we have the right value now.
12894
12895         * lyxcursor.C: added iy_ variable and iy functions to set to the
12896         baseline of cursor-y of the locked inset.
12897
12898         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12899         (setCursor): fixed for insets which need a full row.
12900
12901         * text.C (rowLastPrintable): don't ignore the last space when before
12902         an inset which needs a full row.
12903         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12904         as last character of a row when before a inset which needs a full row.
12905
12906 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12907
12908         * version.C.in: update date
12909
12910         * text2.C (fullRebreak): try to always return true and see what
12911         happens...
12912
12913 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12914
12915         * MenuBackend.C (expand): use Floating::listName
12916
12917         * FloatList.C (FloatList): add listName argument to the built-in
12918         floats
12919
12920         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12921         text associated with the float.
12922
12923 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12924
12925         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12926
12927 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12928
12929         * ShareContainer.h: add a couple of missing typenames.
12930
12931 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12932
12933         * lyxrc.C (getDescription): use _() correctly rather than N_().
12934
12935 2002-03-28  Herbert Voss  <voss@lyx.org>
12936
12937         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12938         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12939
12940 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12941
12942         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12943         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12944
12945 2002-03-29  Juergen Vigna  <jug@sad.it>
12946
12947         * lyxfunc.C (dispatch): add a missing fitCursor call.
12948
12949         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12950         it was scrolled by a cursor move, so return the bool status.
12951
12952         * BufferView.C (fitCursor): return the bool flag also to the outside
12953         world as this is needed.
12954
12955         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12956
12957         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12958         call the edit() as it is not needed (and wrong) IMO.
12959         (workAreaButtonPress): set the screen_first variable before evt.
12960         unlock the inset as this may change screen_first and then we have
12961         a wrong y position for the click!
12962
12963 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12964
12965         * MenuBackend.C (expand): another translation that I missed
12966
12967 2002-03-28  Juergen Vigna  <jug@sad.it>
12968
12969         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12970
12971         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12972
12973 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12974
12975         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12976
12977         * MenuBackend.C (expand): fix export/view/update when there is no
12978         document open.
12979
12980 2002-03-27  Herbert Voss  <voss@lyx.org>
12981
12982         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12983         and text%
12984
12985 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12986
12987         * bufferview_funcs.C (currentState): only show paragraph number
12988         for is DEVEL_VERSION is set.
12989
12990         * lyxfunc.C (dispatch): put warning in INFO channel
12991
12992         * MenuBackend.C (expand): translate the name of floats
12993
12994         * FloatList.C (FloatList): mark the float names for translation
12995
12996         * converter.C (convert): use LibScriptSearch
12997
12998 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12999
13000         * MenuBackend.C (defaults): fix default menu (we might as well get
13001         rid of it...)
13002
13003 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13004
13005         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13006         directory.
13007
13008 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13009
13010         * lyxvc.C: reorder includes.
13011
13012 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13013
13014         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13015           properly
13016
13017 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13018
13019         * CutAndPaste.C: change layouts earlier on paste
13020           to avoid crashing when calling getFont()
13021
13022 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13023
13024         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13025         irritating #error.
13026
13027 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13028
13029         * WorkArea.C: remove 'Pending' debug message.
13030
13031         * most files: ws cleanup
13032
13033         * buffer.[Ch]: ws changes
13034
13035         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13036
13037 2002-03-21  Juergen Vigna  <jug@sad.it>
13038
13039         * tabular.C (SetMultiColumn): collapse also the contents of the
13040         cells and set the last border right. Added a Buffer const * param.
13041
13042 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13043
13044         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13045         linking or not.
13046
13047 2002-03-19  Juergen Vigna  <jug@sad.it>
13048
13049         * text2.C (clearSelection): reset also xsel_cache.
13050
13051         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13052         where it needs to be called (John tells us to do so too :)
13053         (selectionLost): reset sel_cache.
13054
13055         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13056
13057 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13058
13059         * text2.C (setCursorIntern): put debuging code in INSETS channel
13060
13061 2002-03-19  André Pönitz <poenitz@gmx.net>
13062
13063         * lyxfunc.C: tiny whitespace change
13064
13065 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13066
13067         * ToolbarDefaults.C (init):
13068         * LyXAction.C (init):
13069         * commandtags.h:
13070         * BufferView_pimpl.C (Dispatch):
13071         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13072
13073 2002-03-19  Allan Rae  <rae@lyx.org>
13074
13075         * exporter.C (Export): removeAutoInsets before doing anything else.
13076         While I've just introduced a dependency on BufferView this really is
13077         the best place to clean the buffer otherwise you need to cleanup in
13078         a dozen places before calling export or cleanup in a dozen functions
13079         that export calls.
13080
13081         * converter.C (runLaTeX):
13082         (scanLog): Better handling of removeAutoInsets and screen updates.
13083
13084         * lyxfunc.C (dispatch): small whitespace changes
13085
13086 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13087
13088         * WorkArea.C (C_WorkAreaEvent): return a value.
13089         (event_cb): return 1 if we handled the event, 0 otherwise.
13090
13091         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13092
13093 2002-03-18  Juergen Vigna  <jug@sad.it>
13094
13095         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13096         (GetAdditionalWidth): ditto.
13097         (RightLine): ditto.
13098         (LeftLine): ditto.
13099
13100         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13101         inset if we're there actually (probably not used right now but this
13102         is the direction to go for unifying code).
13103         (paste): disable code to clear the selection.
13104
13105         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13106         inside an InsetText and move the check further up as it is in the
13107         wrong place.
13108
13109         * text2.C (pasteSelection): set a selection over the pasted text.
13110
13111 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13112
13113         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13114         and libgraphics to build on Cygwin.
13115
13116 2002-03-15  Juergen Vigna  <jug@sad.it>
13117
13118         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13119         inserting an Inset into the paragraph. I know this is not the best
13120         fix but we already use current_view in CutAndPaste so we will remove
13121         all of it's using at the same time.
13122
13123         * buffer.C (sgmlError): deactivated function till it is rewritten in
13124         the right mode, now it can create problems.
13125
13126         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13127         before accessing it.
13128
13129 2002-03-14  Juergen Vigna  <jug@sad.it>
13130
13131         * undo_funcs.C (textHandleUndo): do the right thing when updating
13132         the inset after the undo/redo.
13133
13134         * text2.C (setCursor): just some testcode for #44 not ready yet.
13135
13136         * undo_funcs.C (textHandleUndo): set the next() and previous()
13137         pointers of the paragraph to 0 before deleting otherwise we have
13138         problems with the Paragraph::[destructor].
13139
13140         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13141         on a paragraph insertion.
13142
13143 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13144
13145         * buffer.C (asciiParagraph): use += operator for char append to
13146         string.
13147
13148         * paragraph.C (getFontSettings): compare >= not just >
13149         (highestFontInRange): ditto
13150         (setFont): ditto
13151
13152 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13153
13154         * paragraph.C: change several algorithm to be more appripriate for
13155         the problem domain. This is lookip in FontList and in the InsetList.
13156
13157 2002-03-13  André Pönitz <poenitz@gmx.net>
13158
13159         * commandtags.h:
13160         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13161
13162 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13163
13164         * commandtags.h:
13165         * LyXAction.C:
13166         * lyxfunc.C:
13167         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13168
13169 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13170
13171         * Painter.C (display): anon helper function, adjust code for this
13172         change.
13173         (pixmap): remove function.
13174
13175         * Painter.h: remove private display variable.
13176
13177         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13178
13179 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13180
13181         * WorkArea.[Ch]: remove figinset_canvas cruft.
13182
13183 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13184
13185         * lyxtextclass.C (operator): add one item cache optimization.
13186
13187         * bufferlist.h: doxy changes
13188
13189         * bufferlist.C: ws changes
13190
13191         * DepTable.[Ch] (ext_exist): place const in the right spot.
13192
13193         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13194         call resizeInsets.
13195         (workAreaExpose): call resizeInsets when the with BufferView changes.
13196         (Dispatch): adjust for protectedBlank removal
13197         (specialChar): call updateInset if the insert went ok.
13198
13199         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13200         specialChar instead.
13201
13202         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13203
13204         * BufferView.h: doxy change
13205
13206         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13207
13208         * lyxtextclass.C (operator[]): remove non-const version
13209         (defaultLayout): remove non-const version
13210
13211 2002-03-12  Juergen Vigna  <jug@sad.it>
13212
13213         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13214         did resize the LyXText too.
13215
13216         * buffer.C (readLyXformat2): set layout information on newly allocated
13217         paragraphs.
13218
13219         * tabular.C (OldFormatRead): set layout information on the paragraph.
13220
13221 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13222
13223         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13224
13225 2002-03-11  Juergen Vigna  <jug@sad.it>
13226
13227         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13228         plainly wrong.
13229         (resizeCurrentBuffer): force also the insets to resize themselfes.
13230         (moveCursorUpdate): fixed up for InsetText.
13231
13232 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13233
13234         * commandtags.h:
13235         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13236         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13237         value of Dialogs::tooltipsEnabled().
13238         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13239
13240 2002-03-08  Juergen Vigna  <jug@sad.it>
13241
13242         * BufferView_pimpl.C (updateInset): update inset inside inset also
13243         if it isn't inside theLockingInset().
13244
13245 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13246
13247         * buffer.C (asciiParagraph): redo some of the word and line length
13248         handling.
13249         (getLists): look for Caption instead of caption.
13250
13251 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13252
13253         * buffer.C (Buffer): initialize niceFile to true
13254         (makeLaTeXFile):
13255         (makeLinuxDocFile):
13256         (makeDocBookFile): make sure niceFile is true on exit
13257
13258 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13259
13260         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13261
13262 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13263
13264         * LyXSendto.C: remove.
13265         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13266         * lyx_gui.C: remove now-redundant comment.
13267         * ColorHandler.h: remove forward declaration of class WorkArea.
13268         * lyxfunc.C: remove #include "WorkArea.h".
13269
13270 2002-03-07  Juergen Vigna  <jug@sad.it>
13271
13272         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13273         got moved away with the DEPM and also set the inset_owner always
13274         right which before could have been omitted.
13275
13276 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13277
13278         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13279         wanted layout is not found.
13280
13281 2002-03-07  Juergen Vigna  <jug@sad.it>
13282
13283         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13284
13285 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13286
13287         * paragraph.C (breakParagraph): use default layout not layout of
13288         prev paragraph.
13289         (Paragraph): clear ParagraphParameters.
13290
13291 2002-03-06  Juergen Vigna  <jug@sad.it>
13292
13293         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13294         otherwise it would not be a valid lenght. Fixed a special case in
13295         the minipage compatibility read where we end the document with a
13296         minipage.
13297
13298         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13299         was set as it could be 0 for InsetTexts first entry.
13300
13301 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13302
13303         * paragraph.C (writeFile): if layout is empty write out
13304         defaultLayoutName().
13305
13306         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13307         file without named layout we set layout to defaultLayoutName().
13308
13309 2002-03-06  Juergen Vigna  <jug@sad.it>
13310
13311         * CutAndPaste.C (copySelection): set layout for new paragraph.
13312
13313         * text.C (prepareToPrint): leave ERT inset left aligned
13314         (leftMargin): don't indent paragraphs inside ERT insets
13315
13316 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13317
13318         * paragraph.C (breakParagraph): dont call clear do the work manually
13319
13320         * paragraph.[Ch] (clear): remove function
13321
13322 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13323
13324         * paragraph.C (Paragraph): dont call clear, the work has already
13325         been done.
13326
13327         * lyxtextclass.C (operator): assert if n is empty
13328
13329         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13330         work manually instead.
13331
13332 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13333
13334         * BufferView_pimpl.C: protect selectionLost against text == 0
13335
13336 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13337
13338         * text.C (breakParagraph): fix a setting layout to '0' problem.
13339
13340 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13341
13342         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13343         final location of file, for the included files, and graphics.
13344
13345 2002-03-05  Juergen Vigna  <jug@sad.it>
13346
13347         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13348
13349 2002-03-04  Juergen Vigna  <jug@sad.it>
13350
13351         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13352
13353         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13354         last column of multicolumn cells.
13355         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13356
13357 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13358
13359         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13360         file if it doesn't go to a temporary file.
13361
13362         * buffer.C (sgmlOpenTag):
13363         (sgmlCloseTag):  remove extra newline insertion.
13364
13365 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13366
13367         * text.C (getRowNearY): comment out debug msg
13368
13369 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13370
13371         * text2.C: first -> first_y
13372
13373         * text.C (getRowNearY): add some attemts at a possible
13374         optimization, not working.
13375
13376         * tabular.[Ch]: add BufferParams to several function so that newly
13377         created paragraph can be initialized to he default layotu for the
13378         buffers textclass.
13379
13380         * tabular-old.C (ReadOld): add buf->params to call of Init
13381
13382         * screen.C: rename text->first to text->first_y
13383
13384         * paragraph.C (breakParagraph): always set layout in the broken
13385         paragraph
13386
13387         * lyxtextclass.C (Read): remove lowercase
13388         (hasLayout): ditto
13389         (operator): ditto
13390         (delete_layout): ditto
13391
13392         * lyxtext.h: rename first -> first_y
13393
13394         * lyxlayout.C (Read): remove lowercase
13395         (name): ditto
13396         (setName): ditto
13397         (obsoleted_by): ditto
13398
13399         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13400
13401         * buffer.C (insertErtContents): add params are to InsetERT
13402         (parseSingleLyXformat2Token): add code to check if a paragraphs
13403         layout really exist.
13404         (parseSingleLyXformat2Token): add params to several inset
13405         constructors
13406         (asciiParagraph): remove lowercase, do the layout comparisons with
13407         no_case
13408
13409         * BufferView_pimpl.C (cursorNext): first -> first_y
13410         (resizeCurrentBuffer): first -> first_y
13411         (updateScrollbar): first -> first_y
13412         (scrollCB): first -> first_y
13413         (workAreaMotionNotify): first -> first_y
13414         (workAreaButtonPress): first -> first_y
13415         (checkInsetHit): first -> first_y
13416         (cursorPrevious): first -> first_y
13417         (cursorNext): first -> first_y
13418         (Dispatch): add buffer_->params to severl inset contructors
13419
13420 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13421
13422         * lyxlayout.C (Read): remove some debug info that I forgot.
13423
13424         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13425         clean up the code slightly.
13426         (makeLinuxDocFile): ditto
13427         (makeDocBookFile): ditto
13428
13429         * text2.C: layout as string
13430
13431         * text.C: layout as string
13432
13433         * paragraph_pimpl.C: layout as string
13434
13435         * paragraph.[Ch]: layout as string
13436
13437         * lyxtextclasslist.[Ch]: layout as string
13438
13439         * lyxtextclass.[Ch]: layout as string
13440
13441         * lyxtext.h: layout as string
13442
13443         * lyxlayout.[Ch]: layout as string
13444
13445         * lyx_cb.C: layout as string
13446
13447         * bufferview_funcs.C: layout as string
13448
13449         * bufferparams.C: layout as string
13450
13451         * buffer.C: layout as string
13452
13453         * LyXView.[Ch]: layout as string
13454
13455         * LaTeXFeatures.[Ch]: layout as string
13456
13457         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13458
13459         * BufferView_pimpl.C: change current_layout to string, remove
13460         lyx::layout_type.
13461         (Dispatch):
13462         (smartQuote):
13463         (insertInset):
13464         (workAreaButtonRelease): layout as string
13465
13466         * BufferView2.C (unlockInset): adjust
13467
13468         * vspace.C (asLatexCommand): use an explict temp variable.
13469
13470 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13471
13472         * Makefile.am: use FRONTEND_*
13473
13474 2002-03-01  Juergen Vigna  <jug@sad.it>
13475
13476         * tabular.C (SetWidthOfMulticolCell): changed to something better
13477         I hope but still work in progress.
13478         (recalculateMulticolumnsOfColumn): renamed function from
13479         recalculateMulticolCells as it is more appropriate now.
13480         (SetWidthOfCell): calculate multicols better.
13481
13482 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13483
13484         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13485
13486         * lyxfunc.C (processKeySym): print sequence also if it is
13487         `deleted' (complete)
13488
13489         * kbsequence.C (print): print sequence even if it is deleted
13490         (complete would be a better word, actually).
13491
13492         * lyxfunc.C (dispatch): print complete options after a prefix key
13493
13494         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13495
13496 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13497
13498         * text2.C (setCharFont): eliminate setCharFont code duplication.
13499
13500 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13501
13502         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13503         LFUN_TABULAR_FEATURE (bug #177)
13504
13505 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13506
13507         * Makefile.am: remove figure.h
13508
13509 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13510
13511         * Bufferview_pimpl.C:
13512         * CutAndPasteC:
13513         * LaTeX.C:
13514         * LyXSendto.C:
13515         * buffer.C:
13516         * bufferlist.C:
13517         * converter.C:
13518         * language.C:
13519         * lyxfunc.C:
13520         * lyxvc.C:
13521         * paragraph.C:
13522         * text.C:
13523         * text2.C: remove #include "lyx_gui_misc.h".
13524
13525         * LaTeX.C: added #include <cstdio>
13526
13527 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13528
13529         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13530         that the paragraph following this one can have.
13531
13532         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13533
13534         * vspace.C (asLatexCommand): fix bogus gcc warning
13535
13536         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13537
13538 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13539
13540         * text2.C (setLayout): get rid of redundant code
13541
13542 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13543
13544         * text2.C (incDepth): make sure depth cannot be increased beyond
13545         reasonable values.
13546
13547 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13548
13549         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13550         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13551
13552         * PainterBase.h (image):
13553         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13554         a LyXImage const *.
13555
13556 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13557
13558         * BufferView.C:
13559         * BufferView.h:
13560         * BufferView_pimpl.C:
13561         * BufferView_pimpl.h:
13562         * LaTeXFeatures.C:
13563         * LyXAction.C:
13564         * LyXView.C:
13565         * Makefile.am:
13566         * UpdateList.h:
13567         * UpdateList.C:
13568         * buffer.C:
13569         * figure.h:
13570         * figureForm.C:
13571         * figureForm.h:
13572         * figure_form.C:
13573         * figure_form.h:
13574         * lyx_cb.C:
13575         * lyx_gui.C:
13576         * lyx_gui_misc.C:
13577         * lyxfunc.C:
13578         * sp_base.h:
13579         * sp_ispell.h:
13580         * sp_pspell.h:
13581         * sp_spell.C: remove fig inset, and the crap house of
13582           cards that follows it
13583
13584 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13585
13586         * Makefile.am:
13587         * lyxserver.C:
13588         * os2_defines.h:
13589         * os2_errortable.h:
13590         * nt_defines.h: move .h into support/
13591
13592         * vms_defines.h: remove
13593
13594         * WorkArea.C: add space in debug output
13595
13596         * text2.C:
13597         * paragraph.C:
13598         * buffer.C: add WITH_WARNINGS
13599
13600         * vc-backend.h:
13601         * vc-backend.C:
13602         * bufferlist.C: s/retrive/retrieve/, add docs
13603
13604         * vspace.h:
13605         * vspace.C:
13606         * kbmap.h:
13607         * lyxlength.h:
13608         * lyxgluelength.h:
13609         * length_common.h:
13610         * chset.h:
13611         * chset.C: add docs
13612
13613         * lyxgui.C: add ID to X error handler
13614
13615         * lyxtestclass.c: fix typo
13616
13617 2002-02-26  Juergen Vigna  <jug@sad.it>
13618
13619         * tabular_funcs.C (write_attribute): changed so that some default
13620         attributes are not written at all.
13621         (getTokenValue): set default values before trying to read the
13622         value so we have the return value always set as default if we don't
13623         find the token we search for.
13624
13625         * tabular.C (Write): write bools as bools not as strings!
13626
13627 2002-02-22  Juergen Vigna  <jug@sad.it>
13628
13629         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13630         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13631
13632         * text.C (leftMargin): don't add an indent for paragraphs inside
13633         tabular cells (fix #208).
13634
13635 2002-02-21  José Matos  <jamatos@fep.up.pt>
13636
13637         * tabular.C (docBook): fixed support for long tables.
13638
13639 2002-02-20  Juergen Vigna  <jug@sad.it>
13640
13641         * text2.C (getFont): get the drawing font of the Inset if this
13642         paragraph is inside an inset (only important for InsetERT for now).
13643
13644         * buffer.C (insertErtContents): use new lanugage params in ERT
13645         constructor.
13646
13647         * CutAndPaste.C: commenting out seemingly uneeded code.
13648
13649 2002-02-19  Allan Rae  <rae@lyx.org>
13650
13651         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13652         Iterators might be simple to use but they also get invalidated.
13653         (removeAutoInsets): renamed saved cursor tracking variables and added
13654         some comments to clarify what everything does.
13655
13656 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13657
13658         * Chktex.C:
13659         * LaTeX.C:
13660         * LyXSendto.C:
13661         * converter.C:
13662         * lyx_cb.C:
13663         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13664         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13665
13666         * lyxfunc.C:
13667         * vc-backend.h: remove #include "support/syscall.h"
13668
13669         * LaTeX.C:
13670         * LyXSendto.C:
13671         * converter.C: rearrange #includes in Lars' approved fashion.
13672
13673         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13674         forward declare class Timeout in the header file.
13675
13676         * XFormsView.C: changes due to the above.
13677
13678         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13679         similar to LyXView.
13680
13681         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13682         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13683
13684 2002-02-18  José Matos  <jamatos@fep.up.pt>
13685
13686         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13687         insets contents.
13688
13689 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13690
13691         * a lot of small ws changes
13692         * add a lot of using std::XXX
13693         * use std construcs some places where approp.
13694         * use some exisint stuff from lyxfunctional where approp.
13695         * Make file changes to use partial linking (lets test this now...)
13696
13697 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13698
13699         * Chktex.C:
13700         * buffer.C:
13701         remove #include "support/syscontr.h" as it's redundant. Always has been.
13702
13703         * Chktex.C:
13704         * LaTeX.C:
13705         * LyXSendto.C:
13706         * converter.C:
13707         * lyx_cb.C:
13708         * vc-backend.C:
13709         change Systemcalls::System to Systemcalls::Wait and
13710         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13711         No change of functionality, just reflects the stripped down Systemcalls
13712         class.
13713
13714 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13715
13716         * debug.[Ch]: add a GRAPHICS type to the enum.
13717
13718 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13719
13720         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13721
13722         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13723         there is an inset.
13724
13725 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13726
13727         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13728         match the changes below.
13729
13730         * text2.C (toggleInset): if there is not editable inset at cursor
13731         position, try to see if cursor is _inside_ a collapsable inset
13732         and close it.
13733
13734 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13735
13736         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13737         document menu has a nice checkbox
13738
13739 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13740
13741         * lyxlength.C (asLatexString): change PW to output as percent of
13742         \textwidth.
13743
13744         * lengthcommon.C: change '%' to 't%'
13745
13746         * lyxfunc.C (dispatch): a few comments from Martin
13747
13748 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13749
13750         * WorkArea.h:
13751         * WorkArea.C:
13752         * BufferView_pimpl.h:
13753         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13754           the X selection.
13755
13756 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13757
13758         * vspace.C (inPixels): fix compiler warning
13759
13760 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13761
13762         * lyxfunc.C (getStatus): fix status message for disabled commands.
13763
13764 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13765
13766         * BufferView_pimpl.C: fix crash on close buffer
13767         during selection (#227)
13768
13769 2002-01-27  Herbert Voss  <voss@lyx.org>
13770
13771         * buffer.C: link old Figure to new graphic inset
13772
13773 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13774
13775         * FontLoader.C (getFontinfo): Change the latex font names in order
13776         to match the names of type1inst.
13777
13778 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13779
13780         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13781
13782         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13783         (extchanged): ditto
13784         (ext_exist): ditto
13785         (remove_files_with_extension): ditto
13786         (remove_file): ditto
13787         (write): ditto
13788
13789         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13790         document is smaller than the work area height. Do not initialize
13791         static variables to 0.
13792
13793 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13794
13795         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13796
13797         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13798         LFUN_LAYOUT_PARAGRAPHS.
13799
13800         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13801         tabular. It is possible to provide a possible cell, which will
13802         typically be the actcell from the corresponding insettabular
13803
13804         * lyxfunc.C (getStatus): small cleanup; disable
13805         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13806         true
13807
13808 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13809
13810         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13811
13812         * paragraph.C (startTeXParParams):
13813         (endTeXParParams): new methods. The LaTeX code to
13814         start/end paragraph formatting
13815         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13816         empty (fixes bug #200)
13817
13818         * vspace.C (inPixels): adapt to the change below
13819         (inPixels): [later] more cleanups (remove unused variables)
13820
13821         * lyxlength.C (inPixels): change to use a width and a height as
13822         parameter.
13823
13824 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13825
13826         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13827         Replaced with \paperwidth
13828
13829         * DepTable.C (insert): add std:: qualifier
13830
13831 2002-01-18  Allan Rae  <rae@lyx.org>
13832
13833         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13834         updated also?
13835
13836         * text.C (drawInset): Turned out I didn't know enough about how
13837         rebreaking worked.  This fixes most of the redraw problems.  I see
13838         an occasional cursor trail when a line is broken now and the cursor
13839         placement can seem out by a few pixels also after a rebreak.
13840
13841 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13842
13843         * buffer.C (parseSingleLyXformat2Token): update because minipage
13844         width is now a LyXLength
13845
13846         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13847
13848         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13849         math insets
13850
13851 2002-01-17  Juergen Vigna  <jug@sad.it>
13852
13853         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13854
13855         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13856         is set correctly and the inset is updated correctly.
13857
13858 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13859
13860         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13861         the beginning of the loop.
13862
13863 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13864
13865         * lyxrc.C: improve help for use_scalable_fonts
13866
13867 2002-01-17  Allan Rae  <rae@lyx.org>
13868
13869         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13870
13871 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13872
13873         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13874         make sure to set their inset_owner to the right value (bug #171)
13875
13876 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13877
13878         * DepTable.h
13879         * DepTable.C: Implement mtime checking to reduce time spent doing
13880         CRCs.
13881
13882 2002-01-16  Juergen Vigna  <jug@sad.it>
13883
13884         * tabular.C (GetAdditionalHeight): one of error fixed.
13885
13886         * lyxrc.C (output): small fix in writing use_pspell.
13887
13888 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13889
13890         * sp_base.h: #include LString.h
13891
13892 2002-01-16  Allan Rae  <rae@lyx.org>
13893
13894         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13895         Can someone check this please?
13896
13897         * text.C (drawInset): It was possible that p.row would be removed by
13898         breakAgainOneRow upsetting a few other settings.  There may be another
13899         small tweak possible by setting need_break_row = 0 when p.row has been
13900         removed but I don't know enough about the logic here.
13901
13902 2002-01-15  Allan Rae  <rae@lyx.org>
13903
13904         * text.C (insertChar): removed conditional truism.
13905
13906         * BufferView2.C (removeAutoInsets): More tweaks.
13907         cur_par_prev could be a stray pointer.  Check for trailing empty line
13908         in case last line was cur_par and only had an error inset on it.
13909
13910 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13911
13912         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13913         absolute
13914
13915         * vc-backend.C (most methods):
13916         * exporter.C (Export):
13917         * converter.C (convert):
13918         (runLaTeX):
13919         * LyXSendto.C (SendtoApplyCB):
13920         * lyxfunc.C (dispatch):
13921         (menuNew):
13922         (open):
13923         (doImport):
13924         * lyx_cb.C (AutoSave):
13925         (InsertAsciiFile):
13926         * BufferView_pimpl.C (MenuInsertLyXFile):
13927         * buffer.C (runChktex): use Buffer::filePath().
13928
13929         * buffer.h: rename filename to filename_; rename filepath to
13930         filepath_ and make it private
13931         (filePath): new method
13932
13933         * buffer.C (writeFile): use fileName()
13934         (getLatexName):
13935
13936         * lyx_main.C (init): fix starting  of LyX when the binary is a
13937         link from so,ewhere else.
13938
13939         * minibuffer.C: include <cctype> for isprint
13940
13941 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13942
13943         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13944         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13945         name clash with InsetCollapsable's width function.
13946
13947 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13948
13949         * lastfiles.C: include <iterator>
13950
13951 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13952
13953         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13954         std::count.
13955
13956         * buffer.C (makeLaTeXFile): ditto.
13957         Also make loop operation more transparent.
13958
13959 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13960
13961         * ToolbarDefaults.C: remove trailing comma closing namespace.
13962
13963         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13964
13965         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13966         as in WorkArea.
13967
13968         * trans.C (Load): comment out unused variable, allowed.
13969
13970 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13971
13972         * minibuffer.[Ch] (append_char): new method to recieve input from the
13973         drop-down completion browser. If a key was pressed, then recieve this
13974         char and append it to the existing string.
13975         (peek_event): modify the positioning data passed to the completion
13976         browser so that it can be placed above the minibuffer rather than below.
13977 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13978
13979         * LyXAction.C (init): alloe error-next for readonly documents.
13980
13981         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13982         count.
13983
13984 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13985
13986         * bufferlist.C (readFile): create the buffer _after_ checking that
13987         the file exists.
13988
13989         * lyxfunc.C (verboseDispatch): fix handling of arguments
13990
13991         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13992
13993         * lyxrc.C: use string::erase() instead of initializing to "".
13994
13995
13996 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13997
13998         * BufferView_pimpl.h:
13999         * BufferView_pimpl.C:
14000         * WorkArea.h:
14001         * WorkArea.C:
14002         * text2.C: tell X when we have made a selection for copying
14003
14004 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14005
14006         * BufferView_pimpl.C (MenuInsertLyXFile):
14007         * lyxfunc.C (menuNew):
14008         (open):
14009         (doImport): add shortcuts to directory buttons
14010
14011         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14012         open a float)
14013
14014         * lyxfunc.C (setStatusMessage):
14015         (getStatusMessage): new methods
14016         (getStatus):use setStatusMessage instead of setErrorMessage
14017         (dispatch): when function is disabled, set error message here
14018         [instead of in getStatus previously]
14019
14020         * BufferView_pimpl.C (workAreaButtonRelease): update
14021         toolbar/menubar here too.
14022
14023 2002-01-13  Allan Rae  <rae@lyx.org>
14024
14025         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14026         Now seems indestructible.  Remaining task is to audit all other
14027         code affected by deleteEmptyParagraphMechanism.  One small quirk
14028         left is that an empty document with an error in the preamble can
14029         be made to report an error but no error box appears.  I don't know
14030         where it goes.
14031         (removeAutoInsets): Improved comments.
14032
14033 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14034
14035         * Thesaurus.h:
14036         * Thesaurus.C: update for Aiksaurus 0.14
14037
14038 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14039
14040         * text2.C (firstParagraph): removed member function, all uses
14041         replaces with ownerParagraph
14042         (redoParagraphs): here
14043         (updateInset): here
14044         (toggleAppendix): here
14045         * BufferView2.C (insertErrors): here
14046         (setCursorFromRow): here
14047
14048 2002-01-13  Allan Rae  <rae@lyx.org>
14049
14050         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14051         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14052         There is still a way to segfault this although you may have to do this
14053         multiple times: Have an InsetERT with an unknown command in it.
14054         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14055         <down-arrow>, <Enter> again, View->DVI, BANG!
14056
14057         * text2.C (setCursor):
14058         (deleteEmptyParagraphMechanism):
14059         * lyxtext.h (setCursor):
14060         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14061         Making use of the return value may help fix other bugs.
14062
14063 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14064
14065         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14066
14067         * LyXView.C (updateMenubar): call MenuBar::update here
14068         (updateToolbar): but not here
14069         (showState): do not update toolbar/menubar
14070
14071         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14072         should need to care about that.
14073
14074         * lyxfunc.C (verboseDispatch): simplify a bit
14075         (getStatus): have a version which takes a pseudoaction, and
14076         another which requires a (kb_action,string).
14077
14078         * LyXAction.C (retrieveActionArg): make it work also when action
14079         is not a pseudo-action.
14080         (getActionName): simplify a bit
14081         (helpText):
14082
14083 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14084
14085         * lyxfunc.C (verboseDispatch): new families of methods with
14086         several ways to specify a command and a bool to indicate whether
14087         the command name and shortcut should be displayed in minibuffer
14088         (eventually, we could extend that to a finer bitmask like
14089         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14090         (dispatch): the pristine dispatch command which just, well,
14091         dispatchs! Note it still sets its result to minibuffer; I'm not
14092         sure we want that.
14093
14094         * lyxfunc.h: remove setHintMessage
14095
14096         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14097
14098 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14099
14100         * BufferView_pimpl.C (specialChar): delete new inset if we have
14101         not been able to insert it.
14102
14103         * kbmap.C: revert to using int instead of kb_action, since all we
14104         are dealing with is pseudo-actions.
14105
14106         * LyXAction.C (searchActionArg): change to return int instead of
14107         kb_action, since the result is a pseudoaction.
14108
14109 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14110
14111         * buffer.C (insertErtContents): Fix (partially) the font bug.
14112
14113 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14114
14115         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14116         as the other one is broken on my machine!
14117
14118 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14119
14120         * commandtags.h:
14121         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14122
14123 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14124
14125         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14126         reflect their actual use. Provide compatibility code for older lyxrc
14127         files.
14128
14129         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14130         FL_NORMAL_STYLE.
14131         change names of popup font variables in line with the changes to lyxrc.C
14132
14133 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14134
14135         * buffer.C (asciiParagraph): avoid outputing a word twice after
14136         an inset.
14137
14138         * lyxrc.C (getDescription): document that document_path and
14139         template_path can be empty.
14140
14141 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14142
14143         * LaTeXFeatures.C (getMacros):
14144         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14145
14146         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14147
14148         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14149         getPackages.
14150         (getPackages): rename feature "floats" to "float". Use an array to
14151         iterate over 'simple' features (i.e. just a \usepackage). Add
14152         handling of "amsmath" (renamed from "amsstyle").
14153
14154 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14155
14156         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14157         features list.
14158
14159 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14160
14161         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14162         FuncStaus::FuncStatus & FuncStaus::some_method().
14163
14164 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14165
14166         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14167         of the func_satus stuff. Edited and massaged in various ways by
14168         JMarc.
14169
14170         * lyxfunc.C (getStatus): use FuncStatus
14171
14172 2002-01-08  Juergen Vigna  <jug@sad.it>
14173
14174         * text.C (nextBreakPoint): use function Inset::isChar().
14175
14176         * paragraph.C (TeXOnePar): use function
14177         Inset::forceDefaultParagraphs.
14178
14179         * buffer.C (latexParagraphs): use function
14180         Inset::forceDefaultParagraphs.
14181
14182 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14183
14184         * lyx_gui.C (init): set the style of the menu popups to
14185         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14186
14187 2002-01-07  Juergen Vigna  <jug@sad.it>
14188
14189         * text.C (setHeightOfRow): small fix
14190         (prepareToPrint): don't look at alignment if we don't have the place
14191         for doing it.
14192
14193 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14194
14195         * box.C: New file. Move the Box methods and functions out of box.h,
14196         following Lars' suggestion.
14197
14198 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14199
14200         * box.h: #include "support/LOstream.h", needed for inlined function.
14201
14202         * lyxtextclass.C:
14203         * lyxtextclasslist.C: added some using std declarations.
14204
14205 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14206
14207         * box.h: make signed dimensions to allow insets wider than
14208           the screen (bug #162)
14209
14210         * BufferView_pimpl.C: add some insetHit debug
14211
14212 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14213
14214         * vc-backend.C: add FIXME
14215
14216 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14217
14218         * lyxfunc.C (getStatus): enable code for showing math font status
14219         in toolbar/menu.
14220
14221 2002-01-07  Juergen Vigna  <jug@sad.it>
14222
14223         * text.C (nextBreakPoint): removed debug output not needed anymore.
14224
14225 2002-01-06  Juergen Vigna  <jug@sad.it>
14226
14227         * text.C (nextBreakPoint): fixed up this function we had this bug
14228         since ever but now hopefully we break row better.
14229         (insertChar): we have to check if an inset is the next char as it
14230         could now happen that a large inset is causing a break.
14231
14232 2002-01-05  Juergen Vigna  <jug@sad.it>
14233
14234         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14235         if it doesn't like to be drawed.
14236
14237 2002-01-04  Juergen Vigna  <jug@sad.it>
14238
14239         * BufferView2.C (lockInset): forgot to set a cursor.
14240
14241         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14242
14243 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14244
14245         * FormMathsPanel.C:
14246         * FormMathsPanel.h
14247         * MathsSymbols.C:
14248         * form_maths_panel.C:
14249         * form_maths_panel.h:
14250         * form_maths_panel.fd: implemented sub- and super- buttons in math
14251         panel.
14252
14253         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14254         (or ^ space) to be used as in TeX (req'd by Andr�.
14255
14256         * lyxfunc.C: Allow ^ and _ again to be used both as
14257         super/subscript (mathed) and as themselves (in text).
14258
14259 2002-01-03  Allan Rae  <rae@lyx.org>
14260
14261         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14262         "LyX" or the filename of the current buffer if it has one.  This is a
14263         modified form of John Levon's patch.
14264
14265         * XFormsView.C (setWindowTitle): also set icon title.
14266
14267         * LyXView.h (setWindowTitle): signature changed.
14268         * XFormsView.h (setWindowTitle): ditto.
14269
14270 2002-01-02  Juergen Vigna  <jug@sad.it>
14271
14272         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14273
14274 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14275
14276         * screen.C (topCursorVisible): introduce a temp var for
14277         text->cursor.row(), handle the case where this row is null. (kindo
14278         hachish)
14279
14280         * text2.C (setCursor): add a couple of asserts.
14281
14282         * paragraph.h (inset_iterator): add -> operator
14283
14284         * paragraph.[Ch] (autoDeleteInsets): remove member function
14285
14286         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14287         cursor pos correctly and handle inset deletion by itself.
14288         (insertErrors): move iterator declaration out of for expression
14289
14290         * lyxtextclass.C: add <algorithm>
14291
14292         * Makefile.am: added the new files to sources, removed layout.C
14293
14294         * layout.C: removed file
14295
14296         * layout.h: remove LYX_DUMMY_LAYOUT
14297
14298         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14299         layout.
14300
14301         * lyxlayout.[Ch]:
14302         * lyxtextclass.[Ch]:
14303         * lyxtextclasslist.[Ch]: new files
14304
14305         * include order changes to a lot of files, also changes because of
14306         the six new files.
14307
14308 2001-12-27  Juergen Vigna  <jug@sad.it>
14309
14310         * buffer.C (asciiParagraph): more fixes.
14311
14312         * tabular.C (ascii): make ascii export support export of only the
14313         data separated by a column-delimiter.
14314         (ascii): better support for ascii export.
14315
14316         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14317
14318 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14319
14320         * tabular_funcs.C: use a "using std::getline" instead of the
14321         previous fix from Angus (necessary for cxx + lyxstring)
14322
14323 2001-12-24  Juergen Vigna  <jug@sad.it>
14324
14325         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14326
14327         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14328         problems. First check a minipage also if we have some ert-contents
14329         (not only on par->size(), second set the right depth of the paragraph
14330         on the relink to the root-paragraph-list!
14331
14332         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14333         which then did not anymore update the main paragraphs on undo/redo!
14334
14335 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14336
14337         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14338         code. Support all font-changing funcs (even those which are not in
14339         menu currently). Support for reporting font settings in
14340         mathed (disabled until Andre provides a function on mathed's side).
14341
14342         * func_status.h (toggle): small helper function to set toggle
14343         state on a flag.
14344
14345 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14346
14347         * tabular_funcs.C: getline -> std::getline
14348
14349 2001-12-21  Juergen Vigna  <jug@sad.it>
14350
14351         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14352         accessed and could be 0 (I couldn't generate this but it seems
14353         Michael could!).
14354
14355 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14356
14357         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14358         * tabular_funcs.h: here and include iosfwd
14359
14360 2001-12-20  Juergen Vigna  <jug@sad.it>
14361
14362         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14363         inside inset but undo_par was.
14364
14365 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14366
14367         * Thesaurus.C: always include <config.h> in sources.
14368
14369         * Painter.h:
14370         * lyxlookup.h:
14371         * box.h: do not include <config.h> in header files
14372
14373         * text.C (paintLastRow): remove unused variable
14374
14375         * text.C (transformChar):
14376         (insertChar):
14377         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14378
14379         * Painter.C (text):
14380         * font.C (width): rewrite to use uppercase() instead of
14381         islower/toupper.
14382
14383         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14384
14385 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14386
14387         * lyxfind.C: clean up of find failure position change
14388
14389 2001-12-20  Juergen Vigna  <jug@sad.it>
14390
14391         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14392
14393         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14394         (TeXRow): added to LaTeX a single tabular row.
14395         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14396         (Latex): simplified and finally good LT-h/f support.
14397         (various_functions): just small adaptions for LT-h/f support.
14398
14399         * tabular_funcs.[hC]: added and moved here all not classfunctions
14400         of LyXTabular.
14401
14402 2001-12-19  Juergen Vigna  <jug@sad.it>
14403
14404         * tabular.[Ch]: better support for longtabular options (not finished
14405         yet!)
14406
14407 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14408
14409         * text.C (paintLastRow): use the label font instead of the font of
14410         the last character to compute the size of *_BOX. This makes more
14411         sense and avoids a crash with empty paragraphs.
14412         Use Painter::rectangle to draw EMPTY_BOX.
14413
14414 2001-12-19  Juergen Vigna  <jug@sad.it>
14415
14416         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14417         the paragraphs if the replaced paragraph is not the first one!
14418         Tried to delete not used paragraphs but does not work yet so for
14419         now it's inside #ifdef's and by default off!
14420
14421 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14422
14423         * MenuBackend.C: include "lyx_main.h" instead of declaring
14424         lastfiles (actually was declared as LastFiles* instead of a
14425         scoped_ptr).
14426
14427 2001-12-17  Juergen Vigna  <jug@sad.it>
14428
14429         * tabular.C (AppendColumn): applied John's fix
14430
14431 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14432
14433         * BufferView.h:
14434         * BufferView.C:
14435         * BufferView_pimpl.h:
14436         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14437
14438         * Makefile.am:
14439         * box.h: new start of class for above
14440
14441         * lyxfunc.C: ignore space-only minibuffer dispatches.
14442           Show the command name when it doesn't exist
14443
14444         * minibuffer.C: don't add empty lines to the history
14445
14446         * minibuffer.C: add a space on dropdown completion
14447
14448 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14449
14450         * text.C: fix line above/below drawing in insets
14451
14452 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14453
14454         * lyxlength.C (LyXLength): Initialize private variables.
14455
14456 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14457
14458         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14459         when inserting error insets.
14460
14461 2001-12-13  Juergen Vigna  <jug@sad.it>
14462
14463         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14464         actually sometimes the before-paragraph.
14465         (setUndo): don't clear the redostack if we're not actually undoing!
14466
14467 2001-12-06  Juergen Vigna  <jug@sad.it>
14468
14469         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14470         and fixed redoing of main paragraph, so we can use it now ;)
14471
14472         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14473
14474 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14475
14476         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14477         Juergen's request
14478
14479 2001-12-13  André Pönitz <poenitz@gmx.net>
14480
14481         * undostack.[Ch]:
14482         * undo_func.C: minor cleanup
14483
14484 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14485
14486         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14487         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14488         font in urw-fonts package which is marked as -urw-fontspecific and
14489         does not work (incidentally, changing the encoding in the
14490         fonts.dir of this package to -adobe-fontspecific fixes the
14491         problem).
14492
14493         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14494         is a crash when undoing first paragraph (Juergen, please take a
14495         look). THis does not mean the undo fix is wrong, just that it
14496         uncovers problems.
14497
14498         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14499         the (Paragraph*) version when needed instead of duplicating the
14500         code.
14501
14502         * text.C (workWidth): use Inset::parOwner to find out where the
14503         inset has been inserted. This is a huge performance gain for large
14504         documents with lots of insets. If Inset::parOwner is not set, fall
14505         back on the brute force method
14506
14507         * paragraph_pimpl.C (insertInset):
14508         * paragraph.C (Paragraph):
14509         (cutIntoMinibuffer): set parOwner of insets when
14510         inserting/removing them
14511
14512         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14513
14514 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14515
14516         * commandtags.h:
14517         * LyXAction.C:
14518         * lyx_main.C:
14519         * lyxfunc.C:
14520         * mathed/formulabase.C:
14521         * mathed/math_cursor.[Ch]:
14522         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14523
14524
14525 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14526
14527         * lyxlength.[Ch] (operator!=): new function
14528
14529 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14530
14531         * text.C (workWidth): use Inset::parOwner to find out where the
14532         inset has been inserted. This is a huge performance gain for large
14533         documents with lots of insets. If Inset::parOwner is not set, fall
14534         back on the brute force method
14535
14536         * paragraph_pimpl.C (insertInset):
14537         * paragraph.C (Paragraph):
14538         (cutIntoMinibuffer): set parOwner of insets when
14539         inserting/removing them
14540
14541         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14542
14543 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14544
14545         * tabular-old.C (getTokenValue):
14546         * tabular.C (getTokenValue):
14547         (write_attribute): new versions for LyXLength
14548         (everywhere): adjust the use of widths
14549
14550         * tabular.h: change the type of widths from string to LyXLength
14551
14552 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14553
14554         * paragraph.C: fixed missing line number count when exporting
14555         Environments to LaTeX file
14556
14557         * buffer.C: added informational message for checking line numbers.
14558
14559 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14560
14561         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14562         paragraph, do the 'double space' part, but not the 'empty
14563         paragraph' one.
14564
14565         * text.C (workWidth): small optimization
14566         (getLengthMarkerHeight): use minimal size for negative lengths.
14567
14568 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14569
14570         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14571
14572         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14573
14574 2001-12-11  André Pönitz <poenitz@gmx.net>
14575
14576         * FontLoader.C:
14577         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14578
14579 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14580
14581         * text2.C: keep selection on a setFont()
14582
14583 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14584
14585         * lyx_cb.C: another bv->text misuse, from insert label
14586
14587 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14588
14589         * kbsequence.h:
14590         * kbsequence.C: re-instate nmodifier mask
14591
14592 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14593
14594         * lyx_main.h: make lyxGUI private.
14595
14596 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14597
14598         * lyxfind.C: place the cursor correctly on failed search
14599
14600 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14601
14602         * text.C (getLengthMarkerHeight): for small heights, the arrows
14603         are not always on top/bottom of the text
14604         (drawLengthMarker): smaller arrows; take the left margin in
14605         account; draw also vfills.
14606         (paintFirstRow):
14607         (paintLastRow): remove special code for vfill and standard spaces,
14608         since everything is handled in drawLengthMarker now.
14609
14610 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14611
14612         * buffer.C (insertErtContents): try to handle font and language
14613         interaction a bit better.g
14614
14615         * ColorHandler.C (updateColor): change the hash to cover the whole
14616         LColor enum, ws cleanup
14617         (getGCLinepars): ditto
14618         (getGCLinepars): only lookup in the linecache once.
14619
14620 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14621
14622         * iterators.C (operator++): Make the iterator more robust
14623
14624         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14625         (John's patch)
14626         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14627
14628 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14629
14630         * lyxtext.h:
14631         * text.C: better added space drawing
14632
14633 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14634
14635         * LyXView.C:
14636         * BufferView2.C: fix layout combo update on inset unlock
14637
14638 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14639
14640         * Makefile.am: don't compile unused files
14641
14642 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14643
14644         * lyxfunc.C:
14645         * commandtags.h:
14646         * LyXAction.C: remove old LFUN_LAYOUTNO
14647
14648 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14649
14650         * paragraph_pimpl.h:
14651         * paragraph_pimpl.C: isTextAt() doesn't need font param
14652
14653 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14654
14655         * lyxlex.h:
14656         * lyxlex.C: little cleanup
14657
14658 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14659
14660         * BufferView_pimpl.C: fix insertAscii for insets
14661
14662 2001-12-05  Juergen Vigna  <jug@sad.it>
14663
14664         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14665         set the right font on the "multi" paragraph paste!
14666
14667 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14668
14669         * trans_decl.h:
14670         * trans_mgr.[Ch]:
14671         * trans.[Ch]:
14672         * lyxgluelength.C:
14673         * lyxlength.C: remove out-commented code.
14674
14675         * BufferView_pimpl:
14676         * CutAndPaste.C:
14677         * DepTable.C:
14678         * buffer.C:
14679         * chset.C:
14680         * lastfiles.C:
14681         * lyxlex.C:
14682         * lyxlex_pimpl.C:
14683         * lyxserver.C:
14684         * screen.C:
14685         * tabular-old.C:
14686         * tabular.C:
14687         * text.C:
14688         * trans_mgr.C:
14689         * vc-backend.C: change "while(" to "while ("
14690
14691         * lyxlength.[Ch]: add zero function to check if length is zero or
14692         not
14693         * lyxgluelength.C: use it
14694
14695 2001-12-05  Allan Rae  <rae@lyx.org>
14696
14697         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14698         Works for 2.95.3, from what I understand of Garst's reports this should
14699         work for other g++ versions.  We're screwed if the abs(int) definition
14700         changed between bugfix releases of gcc.
14701
14702 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14703
14704         * text.C: fix chapter label offset !
14705
14706 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14707
14708         * lyxtext.h:
14709         * text.C: fix hfill at end of line, clean up
14710
14711 2001-12-04  Juergen Vigna  <jug@sad.it>
14712
14713         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14714         that we force an update of the inset and it's owners if neccessary.
14715
14716 2001-12-03  Juergen Vigna  <jug@sad.it>
14717
14718         * text.C (rowLast): simplified code
14719
14720 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14721
14722         * lyxfunc.C: fix show options on timeout
14723
14724 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14725
14726         * screen.C (topCursorVisible): scroll half a page when the cursor
14727         reached top of bottom of screen
14728
14729 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14730
14731         * minibuffer.C: deactivate on loss of focus
14732
14733 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14734
14735         * vspace.[Ch] (operator!=): add operator.
14736
14737 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14738
14739         * BufferView_pimpl.C: refuse to open an inset when
14740         there's a selection.
14741
14742 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14743
14744         * BufferView_pimpl.C: allow to click on RHS of full row insets
14745
14746 2001-11-30  Juergen Vigna  <jug@sad.it>
14747
14748         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14749         insets for undo reasons.
14750
14751 2001-11-28  André Pönitz <poenitz@gmx.net>
14752
14753         * vspace.[Ch]: cosmetical changes
14754
14755 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14756
14757         * LyXAction.h:
14758         * LyXAction.C:
14759         * lyxfunc.h:
14760         * lyxfunc.C:
14761         * kbmap.h:
14762         * kbmap.C:
14763         * lyxrc.C:
14764         * kbsequence.h:
14765         * kbsequence.C: part re-write of old kb code
14766
14767         * Painter.C:
14768         * WorkArea.C: remove Lgb_bug_find_hack
14769
14770 2001-11-30  José Matos <jamatos@fep.up.pt>
14771
14772         * buffer.C (makeDocBookFile): add a comment to point a hack.
14773         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14774         Fixed a double write of labels.
14775
14776 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14777
14778         * LaTeX.C:
14779         * LaTeX.h Fixed bug in LaTeX class where it would not
14780         re-run latex if no depfiles were changed, but the .dvi was removed.
14781
14782 2001-11-28  André Pönitz <poenitz@gmx.net>
14783
14784         * all the files from the change on 2001/11/26:
14785         use lyx::layout_type instead of LyXTextClass::size_type
14786         use lyx::textclass_type instead of LyXTextClassList::size_type
14787
14788 2001-11-29  Juergen Vigna  <jug@sad.it>
14789
14790         * text.C: added support for paragraph::isFreeSpacing()
14791
14792         * buffer.C: same as above
14793
14794         * paragraph.h: inserted isFreeSpacing() function to enable
14795         FreeSpacing inside InsetERT.
14796
14797         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14798         of the paragraph's in the cut/copy buffer to 0!
14799
14800         * text2.C (removeRow): remove the assert as it can!
14801
14802         * lyxtext.h: added helper function firstRow returning firstrow and
14803         made firstrow private again.
14804
14805         * BufferView2.C (lockInset): don't relock if we're already locked!
14806
14807         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14808         the only paragraph.
14809         (removeRow): added Assert::(firstrow)
14810
14811         * debug.C: forgot to add INSETTEXT here.
14812
14813 2001-11-28  Juergen Vigna  <jug@sad.it>
14814
14815         * sp_spell.C (initialize): changed error text to more general
14816         spellchecker command use (not only ispell!)
14817
14818         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14819
14820         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14821
14822 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14823
14824         * vspace.C: initialise lyxgluelength on failure
14825
14826 2001-11-28  Allan Rae  <rae@lyx.org>
14827
14828         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14829         declaration & definition that looks like a function declaration.
14830
14831 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14832
14833         * BufferView2.C (copy):
14834         (copyEnvironment): do not clear the selection when doing a copy.
14835
14836         * text.C (paintFirstRow): compilation fix
14837
14838 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14839
14840         * tabular.C (Latex): correct line count when writing latex.
14841
14842 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14843
14844         * paragraph_pimpl.h:
14845         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14846           bug a bit
14847
14848 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14849
14850         * text.C:
14851         * LColor.h:
14852         * LColor.C: change vfillline->added_space
14853
14854         * text.C: add markers and text for added space
14855
14856         * vspace.C: fix comment
14857
14858 2001-11-28  André Pönitz <poenitz@gmx.net>
14859
14860         * paragraph.C: whitespace changes
14861         * all the other files from the change on 2001/11/26:
14862         change *::pos_type into lyx::pos_type
14863
14864 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14865
14866         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14867         language of the document when inserting error insets.
14868
14869 2001-11-26  André Pönitz <poenitz@gmx.net>
14870
14871         * BufferView_pimpl.[Ch]:
14872         *       CutAndPaste.C:
14873         * buffer.[Ch]:
14874         * lyxcursor.[Ch]:
14875         * lyxfind.C:
14876         * lyxfunc.C:
14877         * lyxrow.[Ch]:
14878         * paragraph.[Ch]:
14879         * paragraph_pimpl.[Ch]:
14880         * sp_spell.C:
14881         * text.C:
14882         * text2.C: reduce header dependencies, introduce type for positions
14883
14884 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14885
14886         * <various>: change to use Alert.h
14887
14888 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14889
14890         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14891         when encountering an unknown token.
14892         (readLyXformat2): Show an error message if there were unknown tokens.
14893
14894 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14895
14896         * BufferView2.C:
14897         * BufferView_pimpl.C:
14898         * buffer.C:
14899         * paragraph.h:
14900         * text.C:
14901         * text2.C: use par->isInset()
14902
14903 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14904
14905         * paragraph_pimpl.h:
14906         * paragraph_pimpl.C: cleanup
14907
14908 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14909
14910         * text2.C (removeRow):
14911         * text.C (setHeightOfRow): remove useless (and costly) call to
14912         getRow.
14913
14914 2001-11-20  Allan Rae  <rae@lyx.org>
14915
14916         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14917         Now need Inset*::checkInsertChar() to return true for appropriate
14918         cases so that the characters in the minibuffer will actually be
14919         inserted.
14920
14921 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14922
14923         * text.C: change the order of the includes.
14924         (workWidth): initialize it at once.
14925         (workWidth): make maxw unsigned
14926         (setHeightOfRow): remove unused variable (inset)
14927         (selectSelectedWord): remove unused variable (inset)
14928         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14929
14930 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14931
14932         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14933         server is not running.
14934         (openConnection):
14935         (closeConnection): add debug info when server is disabled.
14936
14937         * ColorHandler.C (getGCForeground): send debug message to GUI
14938         channel.
14939
14940         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14941
14942         * kbmap.C (bind): modify because return conventions of
14943         kb_sequence::parse have changed.
14944
14945         * kbsequence.C (parse): only ignore spaces and not any stupid
14946         control character. This avoids tests like s[i] <= ' ', which are
14947         guaranteed to fail with 8bit characters and signed chars.
14948         Change return code to string::npos when there have been no error
14949         (0 was a bad idea when error is at first character)
14950
14951 2001-11-14  José Matos  <jamatos@fep.up.pt>
14952
14953         * buffer.h:
14954         * buffer.C (simpleDocBookOnePar): removed unused argument.
14955
14956 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14957
14958         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14959         insets which are part of a word. Paragraph::isLetter takes care of
14960         that now. Use Paragraph::isInset to identify insets.
14961         (selectSelectedWord): do not test for hyphenation break.
14962
14963         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14964         that protected spaces are considered as spaces.
14965
14966         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14967         Inset::isLetter.
14968
14969 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14970
14971         * lyxserver.h:
14972         * lyxserver.C: fix it. and small cleanup.
14973
14974 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14975
14976         * BufferView_pimpl.C: use inline helpers
14977
14978         * LaTeXFeatures.h:
14979         * LaTeXFeatures.C: fix typos
14980
14981         * Spacing.h:
14982         * Spacing.C: move spacing_string into class
14983
14984         * ToolbarDefaults.C: move stuff into namespace anon
14985
14986         * layout.h: update enum
14987
14988         * lyxfunc.C: use better debug
14989
14990         * minibuffer.h: fix typo
14991
14992         * debug.h:
14993         * debug.C:
14994         * WorkArea.C: add and use Debug::WORKAREA
14995
14996         * lyxtext.h:
14997         * text.C:
14998         * text2.C: code re-organisation, inline helpers
14999
15000 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15001
15002         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15003         std::vector.empty().
15004
15005 2001-11-09  Allan Rae  <rae@lyx.org>
15006
15007         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15008         '\n's after tables.  Tabular and ERT inset work now makes this no
15009         longer necessary.
15010
15011 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15012
15013         * minibuffer.h:
15014         * minibuffer.C: fix crash, improve drop-down completion
15015
15016 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15017
15018         * lyxserver.h:
15019         * lyxserver.C: invalidate fd's when doing endPipe()
15020
15021 2001-11-08  José Matos  <jamatos@fep.up.pt>
15022
15023         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15024         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15025
15026         * paragraph.h:
15027         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15028
15029 2001-11-07  José Matos  <jamatos@fep.up.pt>
15030
15031         * buffer.h:
15032         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15033         const qualifier.
15034
15035         * buffer.C (sgmlOpenTag):
15036         * buffer.C (sgmlCloseTag): removed debug info.
15037
15038         * buffer.h (sgmlOpenTag):
15039         * buffer.h (sgmlCloseTag): made public.
15040
15041 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15042
15043         * buffer.C (saveParamsAsDefaults):
15044         * lyx_cb.C (MenuLayoutSave): remove
15045
15046         * LyXAction.C (init):
15047         * commandtags.h:
15048         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15049
15050 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15051
15052         * buffer.C (setPaperStuff): removed from here...
15053
15054         * bufferparams.C (setPaperStuff): ... and moved there.
15055
15056 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15057
15058         * minibuffer.h:
15059         * minibuffer.C:
15060         * XFormsView.C: add support for drop-down completion
15061
15062 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15063
15064         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15065         commands.
15066
15067 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15068
15069         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15070         disabled.
15071
15072 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15073
15074         * lyx_main.C: change ref to known bugs
15075
15076 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15077
15078         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15079         to work around older babel problems.
15080
15081 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15082
15083         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15084
15085 2001-10-24  Juergen Vigna  <jug@sad.it>
15086
15087         * tabular-old.C (ReadOld): below variable changes reflected.
15088
15089         * tabular.[Ch]: added ltType struct for longtable header/footer
15090         defines and changed all instances where they are used. Added
15091         future support for double top/bottom rows.
15092
15093 2001-10-24  José Matos  <jamatos@fep.up.pt>
15094
15095         * buffer.h (docbookHandleCaption):
15096         * buffer.C (docbookHandleCaption): removed unused function.
15097         (makeDocBookFile): moved docbook supported version to v4.1.
15098
15099 2001-10-24  José Matos  <jamatos@fep.up.pt>
15100
15101         * tabular.h:
15102         * tabular.C (docbookRow): new function to export docbook code of a row.
15103         (DocBook): now honors the longtable flags.
15104
15105 2001-10-23  José Matos  <jamatos@fep.up.pt>
15106
15107         * LaTeXFeatures.h:
15108         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15109         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15110
15111         * buffer.C (makeLinuxDocFile):
15112         (makeDocBookFile): reworked the preamble, more clean, and with
15113         support for lyx defined entities. Changed the document declaration
15114         to be more XML friendly.
15115
15116         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15117         if we need to output XML that should be done with a filter.
15118
15119 2001-10-22  Juergen Vigna  <jug@sad.it>
15120
15121         * sp_pspell.h (class PSpell): add alive function needed in the
15122         controller to see if the spellchecker could be started.
15123
15124 2001-10-22  Juergen Vigna  <jug@sad.it>
15125
15126         * buffer.C (insertStringAsLines): modify the font for inserting
15127         chars in certain conditions by calling checkInsertChar(font).
15128
15129 2001-10-19  Juergen Vigna  <jug@sad.it>
15130
15131         * text.C (workWidth): use getRow instead of wrong algorithm.
15132         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15133
15134 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15135
15136         * lyxserver.h:
15137         * lyxserver.C:
15138         * lyx_main.h:
15139         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15140
15141 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15142
15143         * text.C (workWidth): do not search for the exact row when
15144         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15145         optimization for big documents.
15146
15147 2001-10-18  Juergen Vigna  <jug@sad.it>
15148
15149         * text.C (workWidth): new function with added Inset * parameter.
15150
15151 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15152
15153         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15154
15155         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15156         change return type of getColumnNearX.
15157
15158
15159         * text.C (changeRegionCase): use uppercase/lowercase instead of
15160         toupper/tolower.
15161         (leftMargin):
15162         (rightMargin): simplify code by factoring out the uses of
15163         textclasslist.
15164         (labelFill):
15165         (numberOfHfills):
15166         (setHeightOfRow):
15167         (appendParagraph): use Paragraph::size_type
15168
15169 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15170
15171         * vspace.C (asLatexString): add a missing break
15172
15173 2001-10-15  Herbert Voss  <voss@perce.de>
15174
15175         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15176
15177 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15178
15179         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15180         is not available.
15181
15182 2001-10-10  André Pönitz <poenitz@gmx.net>
15183
15184         * lyxfunc.C: removed greek_kb_flag.
15185
15186 2001-10-10  Herbert Voss  <voss@perce.de>
15187
15188         * lyx_main.C: delete global string help_lyxdir.
15189
15190 2001-10-09  Herbert Voss  <voss@perce.de>
15191
15192         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15193
15194         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15195
15196         * lyx_main.C: added global string help_lyxdir.
15197
15198         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15199
15200 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15201
15202         * lyxrc.C (set_font_norm_type): support iso8859-4
15203
15204 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15205
15206         * LaTeX.C (deplog): add another regex for MikTeX
15207
15208 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15209
15210         * lyxrc.C (set_font_norm_type): support iso8859-3
15211
15212 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15213
15214         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15215
15216         * LaTeXFeatures.C: remove special case of french and index
15217
15218         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15219         before \begin{document}). This solves several incompatibilities.
15220
15221 2001-10-03  Garst Reese  <reese@isn.net>
15222
15223         * lyx_cb.C: change CheckTex error msg.
15224
15225 2001-10-03  José Matos  <jamatos@fep.up.pt>
15226
15227         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15228
15229 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15230
15231         * .cvsignore: update
15232
15233         * lyx_main.C (commandLineVersionInfo): use new style version info.
15234
15235         * buffer.C (writeFile):
15236         (makeLaTeXFile):
15237         (makeLinuxDocFile):
15238         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15239
15240         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15241
15242         * version.h: update to use stuff in version.C
15243
15244         * version.C.in: new file. Contains version information determined
15245         at compile time. This is a merging of version.h and
15246         version_info.h.in.
15247
15248 2001-10-03  Juergen Vigna  <jug@sad.it>
15249
15250         * BufferView_pimpl.C (update): don't change "dirty" status in
15251         updateInset call.
15252
15253 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15254
15255         * WorkArea.C (c-tor): re-position version string slightly.
15256
15257 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15258
15259         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15260         revert to previous code.
15261
15262         WorkArea.[Ch]: (show, destroySplash): methods removed.
15263
15264         WorkArea.C: rework code so that it's an amalgam of the codes before and
15265         after the splash screen was moved to WorkArea.
15266
15267 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15268
15269         * lyxrc.C (read):
15270         * vspace.C (inPixels):
15271         (lyx_advance):
15272         * kbmap.C (bind):
15273         * buffer.C (insertStringAsLines):
15274         (asciiParagraph): fix types to be large enough
15275
15276         * lyxlex_pimpl.h: change member status from short to int
15277
15278         * layout.h: fix type of endlabeltype
15279
15280         * kbmap.C (bind):
15281         * kbsequence.C (parse): change return type to string::size_type
15282
15283         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15284         variable
15285
15286         * Bullet.C (bulletSize):
15287         (bulletEntry): do not use short ints as parameters
15288
15289         * BufferView2.C (insertLyXFile): change a char to an int.
15290
15291         * WorkArea.C (WorkArea): remove unneeded floats in computation
15292
15293 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15294
15295         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15296
15297         * paragraph.C (asString): Do not ignore newline/hfill chars when
15298         copying to the clipboard.
15299
15300 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15301
15302         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15303         after a multi-line inset.
15304
15305 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15306
15307         * paragraph.C (validate): Set NeedLyXFootnoteCode
15308
15309 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15310
15311         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15312         and decrease-error to decrease.
15313
15314 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15315
15316         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15317         it more readable (should be equivalent)
15318
15319 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15320
15321         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15322
15323 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15324
15325         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15326         of a cursor (row, etc.) after a character has been deleted
15327         (deleteEmptyParagraphMechanism): call the method above on _all_
15328         cursors held by the LyXText when a double space has been
15329         detected/deleted.
15330
15331 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15332
15333         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15334         pixmap.
15335         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15336
15337         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15338         background. Use greyOut() and the new show() methods to toggle between
15339         the foreground and background. Add code to remove the splash after
15340         its initial showing.
15341
15342         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15343         (create_forms): no longer call Dialogs::showSplash.
15344
15345 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15346
15347         * .cvsignore: add version_info.h
15348
15349 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15350
15351         * version_info.h.in: new file
15352
15353         * Makefile.am: add version_info.h.in
15354
15355         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15356         version_info.h instead of VERSION_INFO
15357
15358 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15359
15360         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15361         The ERT inset now returns string().
15362
15363 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15364
15365         * lyxtext.h, text.C (selectNextWord): renamed as
15366         selectNextWordToSpellcheck.
15367
15368         * text.C (selectNextWordToSpellcheck): Modified to not select
15369         words inside an ERT inset.
15370
15371 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15372
15373         * lyx_cb.C (MenuLayoutSave): change a bit the question
15374
15375         * sp_base.h: include <sys/types.h>
15376
15377 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15378
15379         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15380
15381 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15382
15383         * several files: fix typos in user-visible strings
15384
15385 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15386
15387         * text2.C (pasteSelection): do not set the selection, since it
15388         will be cleared later. Actually, the intent was to fix the way the
15389         selection was set, but I figured rmoving the code was just as good.
15390
15391 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15392
15393         * FontLoader.C (available): Check if font is available without
15394         loading the font.
15395
15396 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15397
15398         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15399
15400 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15401
15402         * lyxrc.[Ch]: added display_graphics variable and associated code.
15403
15404 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15405
15406         * bufferparams.C (hasClassDefaults): new method. Returns true if
15407         the buffer parameters correspond to known class defaults
15408
15409 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15410
15411         * XFormsView.C (show): set minimum size to the main window.
15412
15413 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15414
15415         * text2.C (copySelection):
15416         (cutSelection):
15417         * lyxfind.C (LyXReplace):
15418         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15419         LyXText::selectionAsString.
15420
15421         * paragraph.C (asString): add "label" argument to the second form
15422
15423         * text2.C (selectionAsString): add "label" argument and pass it to
15424         Paragraph::asString.
15425
15426 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15427
15428         * lyx_main.C (commandLineHelp): remove version information
15429
15430 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15431
15432         * lyx_main.C: add -version commandline option
15433
15434 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15435
15436         * paragraph.h: make the optional constructor arg required instead.
15437         some modifications to other files because of this.
15438
15439         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15440
15441         * lyxserver.C (C_LyXComm_callback): make it static
15442
15443         * lyx_main.C (error_handler): make it static
15444
15445         * lyx_gui.C (LyX_XErrHandler): make it static
15446
15447         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15448
15449         * WorkArea.C: make the extern "C" methods static.
15450
15451         * Makefile.am (lyx_LDADD): simplify
15452
15453 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15454
15455         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15456         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15457
15458         * LyXAction.C (init):
15459         * lyxfunc.C (dispatch): associated code removal.
15460
15461 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15462
15463         * lyxfont.h (isSymbolFont): shut off warning
15464
15465         * text.C (setHeightOfRow):
15466         (getVisibleRow): fix crash with empty paragraphs which have a
15467         bottom line
15468
15469 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15470
15471         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15472         code.
15473
15474 2001-09-04  José Matos  <jamatos@fep.up.pt>
15475         * buffer.C
15476         * buffer.h
15477         * tabular.C (docbook): rename docBook method to docbook.
15478
15479 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15480
15481         * Makefile.am: add dependencies to main.o.
15482
15483 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15484
15485         * FontLoader.C (available): Return false if !lyxrc.use_gui
15486
15487 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15488
15489         * FontInfo.C (query):
15490         * converter.C (view):
15491         * importer.C (Import):
15492         * exporter.C (Export): Can not -> cannot.
15493
15494 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15495
15496         * BufferView_pimpl.C: allow to create index inset even if
15497           string is empty
15498
15499 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15500
15501         * buffer.C (getLists): replace boost::tie code with an explicit pair
15502         as boost::tie can break some compilers.
15503
15504         * iterators.h: Added a std:: declaration to the return type of
15505         ParIterator::size.
15506
15507 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15508
15509         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15510           case.
15511
15512 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15513
15514         * iterators.[Ch]: New files. Provide paragraph iterators.
15515
15516         * buffer.C (changeLanguage): Use paragraph iterators.
15517         (isMultiLingual): ditto
15518
15519         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15520
15521 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15522
15523         * FontLoader.C: Support for cmr font.
15524
15525 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15526
15527         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15528         (available): New method.
15529
15530         * FontInfo.C (getFontname): Use scalable fonts even when
15531         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15532         found.
15533
15534 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15535
15536         * converter.C (Formats::view): reverted! Incorrect fix.
15537
15538 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15539
15540         * converter.C (Formats::view): only output the -paper option
15541         if the dvi viewer is xdvi, thereby fixing bug #233429.
15542
15543 2001-08-23  Herbert Voss  <voss@perce>
15544
15545         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15546
15547 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15548
15549         * Spacing.h (Spacing): Set space to Default on in the default
15550         constructor.
15551
15552 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15553
15554         * vc-backend.h (RCS::versionString): add RCS to version
15555         (CVS::versionString): add CVS to version
15556
15557         * vc-backend.C (scanMaster): do not add CVS to version.
15558         (scanMaster): do not add RCS to version
15559
15560         * lyxvc.C (versionString): new method
15561
15562         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15563
15564 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15565
15566         * Spacing.C (set): initialize fval
15567
15568 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15569
15570         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15571         " or \.
15572
15573 2001-08-16  Juergen Vigna  <jug@sad.it>
15574
15575         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15576
15577 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15578
15579         * BufferView_pimpl.C:
15580         * figureForm.C:
15581         * lyxtext.h:
15582         * text2.C: setParagraph takes linespacing now
15583
15584 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15585
15586         * LyxAction.C: add internal LFUN_CITATION_INSERT
15587
15588         * LyXView.C: actually apply fix
15589
15590         * bufferlist.C: fix open non-existent file
15591
15592         * lyxfind.C: fix indentation
15593
15594         * lyxfunc.C: remove unneeded assert, fix typo
15595
15596 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15597
15598         * MenuBackend.C: use "Floatname List"
15599
15600 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15601
15602         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15603         when converting LaTeX layout to insetERT.
15604         Generate a non-collapsed float when reading old float
15605
15606 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15607
15608         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15609         ERT insets.
15610
15611 2001-08-13  Juergen Vigna  <jug@sad.it>
15612
15613         * text.C (fill): return 0 instead of 20 as this seems to be the more
15614         correct value.
15615
15616 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15617
15618         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15619         lyxrc.font_norm.
15620
15621 2001-08-13  Juergen Vigna  <jug@sad.it>
15622
15623         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15624         casesensitive off.
15625         (SearchBackward): comment out the unlocking of the inset_owner this
15626         should not be needed!
15627
15628 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15629
15630         * Many files: Remove inherit_language, and add latex_language
15631
15632         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15633         collapsible insets.
15634
15635 2001-08-10  Juergen Vigna  <jug@sad.it>
15636
15637         * text.C (prepareToPrint): fixed hfill-width in draw!
15638
15639         * BufferView2.C (selectLastWord): save the selection cursor as this
15640         now is cleared in the function LyXText::clearSelection!
15641
15642 2001-08-08  Juergen Vigna  <jug@sad.it>
15643
15644         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15645         BACKSPACE type functions.
15646
15647         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15648         is only cutted from the document but not put in the cut-buffer, where
15649         still the old stuff should be.
15650
15651         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15652
15653         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15654
15655         * tabular.C (SetWidthOfCell): fixed special case where the width
15656         was not updated!
15657         (LeftLine): handle '|' in align_special.
15658         (RightLine): ditto
15659         (LeftAlreadyDrawed): ditto
15660         (SetWidthOfCell): ditto
15661
15662 2001-08-07  Juergen Vigna  <jug@sad.it>
15663
15664         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15665
15666 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15667
15668         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15669         * lyxlex.[hC]: ditto
15670
15671 2001-08-06  Juergen Vigna  <jug@sad.it>
15672
15673         * text.C (getVisibleRow): fix up row clearing a bit.
15674
15675 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15676
15677         * minibuffer.C: make sure the X server sees the changes in the input.
15678
15679 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15680
15681         * paragraph.C (getFont): split into...
15682         (getLabelFont): this
15683         (getLayoutFont): and this
15684         * paragraph_pimpl.C (realizeFont): calling this
15685
15686         * text2.C (getFont): split into...
15687         (getLayoutFont): this
15688         (getLabelFont): and this
15689         (realizeFont): all three calling this
15690
15691         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15692         files where used.
15693
15694 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15695
15696         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15697
15698 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15699
15700         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15701         layouts from the Quote inset insertion.
15702
15703 2001-08-03  Juergen Vigna  <jug@sad.it>
15704
15705         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15706
15707         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15708         only if status not is already CHANGED_IN_DRAW (second level).
15709
15710         * text.C (draw): don't set the need_break_row when inside an
15711         InsetText LyXText.
15712
15713 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15714
15715         * buffer.C (parseSingleLyXformat2Token): handle more latex
15716         conversion cases.
15717
15718         * bufferview_funcs.[hC]: change function names to
15719         begin with small char, adjust other files.
15720
15721 2001-08-02  André Pönitz <poenitz@gmx.net>
15722
15723         * lyxfunc.C:
15724         BufferView_pimpl.C: remove broken special code for math-greek
15725
15726 2001-08-02  Juergen Vigna  <jug@sad.it>
15727
15728         * BufferView_pimpl.C (update): redone this function so that we
15729         update the text again if there was a CHANGE_IN_DRAW.
15730
15731         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15732         (drawFromTo): added a new internal bool which is used by draw() and
15733         redraw() function.
15734         (general): some cursor drawing problems fixed.
15735
15736 2001-08-01  Juergen Vigna  <jug@sad.it>
15737
15738         * lyxfind.C (LyXFind): fixed
15739         (SearchForward): ditto
15740         (SearchBackward): ditto
15741
15742         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15743         spurius drawing of the cursor in the main area.
15744
15745         * text2.C (status): small fix which could lead to a segfault!
15746         (clearSelection): remove unneeded BufferView param.
15747
15748 2001-08-01  André Pönitz <poenitz@gmx.net>
15749
15750         * lyxfunc.C: small change due to changed mathed interface
15751
15752 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15753
15754         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15755
15756 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15757
15758         * lyxfunc.c: fail gracefully if file doesn't exist
15759
15760         * LyXSendto.C:
15761         * buffer.C:
15762         * lyxfunc.C:
15763         * BufferView_pimpl.C: IsDirWriteable() proto changed
15764
15765         * LyXView.C: fix updateWindowTitle() to store the last title
15766
15767 2001-07-31  Juergen Vigna  <jug@sad.it>
15768
15769         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15770         the font (wrong since using of Paragraph::highestFontInRange).
15771
15772         * paragraph.C (highestFontInRange): added a default_size parameter.
15773
15774         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15775         (setHeightOfRow): reformat
15776
15777 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15778
15779         * converter.[hC] + affected files: move to (inital-char)lowercase
15780         function names.
15781
15782         * ParagraphParameters.C (ParagraphParameters): remove commented code
15783
15784         * PainterBase.[Ch]: remove commented code
15785
15786         * LaTeXFeatures.h: add "bool floats" for float.sty
15787
15788         * LaTeXFeatures.C (LaTeXFeatures): init floats
15789         (require): handle float
15790         (getPackages): do it with floats
15791
15792 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15793
15794         * BufferView_pimpl.C (Dispatch): improve handling of
15795         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15796
15797         * commandtags.h: #include lyxfont.h here temporarily to avoid
15798         keybinding bug.
15799
15800         * bufferlist.h: include LString.h here.
15801
15802 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15803
15804         * text2.C (getStringToIndex): new method.
15805
15806 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15807
15808         * *: Reduced header file dependencies all over.
15809
15810 2001-07-30  Baruch Even  <baruch@lyx.org>
15811
15812         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15813
15814 2001-07-29  Baruch Even  <baruch@lyx.org>
15815
15816         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15817
15818 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15819
15820         * ParameterStruct.h (endif): add a default constructor to make
15821         sure that all variables is initialized.
15822
15823         * ParagraphParameters.C (ParagraphParameters): adjust
15824
15825 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15826
15827         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15828         index; also, check that there is something to index, and that it
15829         does not span over several paragraphs.
15830         (doubleClick): use WHOLE_WORD_STRICT for double click.
15831
15832         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15833
15834         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15835         scheme.
15836
15837 2001-07-26  Baruch Even  <baruch@lyx.org>
15838
15839         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15840         an InsetFig figure, backwards compatible reading of old figure code.
15841
15842 2001-07-27  Juergen Vigna  <jug@sad.it>
15843
15844         * text2.C: font.realize function adaption.
15845
15846         * text.C (draw): add a warnings lyxerr text if needed.
15847
15848         * layout.C: font.realize function adaption.
15849
15850         * language.C: add inherit_language and implement it's handlings
15851
15852         * bufferview_funcs.C (StyleReset): remove language parameter from
15853         font creation (should be language_inherit now).
15854
15855         * bufferparams.C (writeFile): handle ignore_language.
15856
15857         * paragraph.C (getFontSettings): the language has to be resolved
15858         otherwise we have problems in LyXFont!
15859
15860         * lyxfont.C (lyxWriteChanges): added document_language parameter
15861         (update): removed unneeded language parameter
15862
15863         * paragraph.C (validate): fixed wrong output of color-package when
15864         using interface colors for certain fonts in certain environments,
15865         which should not seen as that on the final output.
15866
15867 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15868
15869         * BufferView_pimpl.C:
15870         * Thesaurus.h:
15871         * Thesaurus.C:
15872         * Makefile.am:
15873         * commandtags.h:
15874         * LyXAction.C: add thesaurus support
15875
15876         * lyxfind.h:
15877         * lyxfind.C: add "once" parameter, for thesaurus, to not
15878           move to the next match
15879
15880 2001-07-26  Juergen Vigna  <jug@sad.it>
15881
15882         * lyxfont.C (realize): honor ignore_language too!
15883         (resolved): ditto.
15884
15885         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15886
15887         * text.C (draw): one place more for ignore_language to not draw
15888         itself!
15889
15890 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15891
15892         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15893
15894 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15895
15896         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15897         the minipage conversion problem.
15898
15899 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15900
15901         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15902         insert an inset.
15903
15904 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15905
15906         * BufferView.h: don't forward declare WorkArea
15907
15908         * BufferView.C: don't include WorkArea.h
15909
15910 2001-07-25  André Pönitz <poenitz@gmx.net>
15911
15912         * commandtags.h:
15913         * LyXAction.C:
15914         * lyxfunc.C:  new LFUN 'math-space'
15915
15916         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15917
15918 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15919
15920         * text2.C (toggleInset): call open/close
15921
15922 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15923
15924         * lyxfunc.C (dispatch): add debug for the disabled case
15925
15926         * font.C (buttonText): make similar to rectText
15927
15928         * buffer.C (readInset): comment out parsing of insetlist and
15929         insttheorem
15930
15931         * PainterBase.C (rectText): small correction
15932
15933         * BufferView_pimpl.C: comment out insettheorem and insetlist
15934         * LyXAction.C: ditto
15935         * commandtags.h: ditto
15936
15937 2001-07-24  Juergen Vigna  <jug@sad.it>
15938
15939         * text.C (draw): honor the ignore_language.
15940
15941         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15942
15943 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15944
15945         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15946         char inset.
15947
15948 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15949
15950         * lyxtext.h: remove unused (and unimplemented) methods
15951
15952 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15953
15954         * text.C (getVisibleRow): honor background color
15955
15956         * PainterBase.h:
15957         * Painter.h: remove default color argument for fillRectangle
15958
15959         * text.C (backgroundColor): new method
15960
15961 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15962
15963         * text.C (getVisibleRow): adjust
15964
15965         * font.[Ch] (rectText): new method, metrics
15966         (buttonText): new method, metrics
15967
15968         * PainterBase.[hC]: make rectText and buttonText always draw and take
15969         fewer paramteres.
15970
15971 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15972
15973         * ToolbarDefaults.C (read):
15974         * MenuBackend.C (read): allow escaping in all strings
15975
15976         * BufferView_pimpl.C (insertAndEditInset): new method.
15977         (Dispatch): use insertAndEditInset whenever appropriate.
15978
15979         * BufferView_pimpl.C (insertNote): removed
15980
15981         * BufferView_pimpl.C (smartQuote): new method, moved from
15982         BufferView; if an insetquote cannot be inserted, insert a '"'
15983         character instead.
15984
15985         * BufferView2.C: remove insertCorrectQuote();
15986
15987         * lyxfunc.C (getStatus): Add support for all remaingin
15988         inset-insert lfuns.
15989
15990         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15991
15992         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15993         command (necessary to pass " as parameter of self-insert.
15994
15995         * text.C (selectWordWhenUnderCursor):
15996         (selectWord): add word_location parameter
15997         (selectWordWhenUnderCursor): same + remove special code for word
15998         boundary.
15999         (selectNextWord): use kind() to guess type of insetspecialchar,
16000         not latex().
16001
16002         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16003         (insertErtContents): create ert insets as collapsed.
16004         (readInset): better compatibility code for Info inset.
16005
16006 2001-07-20  Juergen Vigna  <jug@sad.it>
16007
16008         * lyxfunc.C (dispatch): use always LyXFind now!
16009
16010         * text2.C (init): add a reinit flag so that the LyXText can be
16011         reinited instead of deleted and reallocated (used in InsetText).
16012
16013         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16014
16015         * text.C: ditto
16016
16017         * text2.C: ditto
16018
16019 2001-07-18  Juergen Vigna  <jug@sad.it>
16020
16021         * text.C (selectNextWord): handle insets inside inset by calling
16022         always the bv->text functions so that we can go up the_locking_inset!
16023
16024         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16025         in strange locations when inside an inset!
16026
16027         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16028         handling to include insets.
16029
16030         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16031
16032 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16033
16034         * LyXAction.C (init):
16035         * commandtags.h:
16036         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16037         LIGATURE_BREAK, since the name is so stupid.
16038
16039 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16040
16041         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16042         InsetInfos.
16043
16044         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16045
16046         * sp_form.[Ch]: remove.
16047
16048         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16049
16050         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16051         InsetInfo.
16052
16053         * src/buffer.C (readInset): ditto.
16054
16055 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16056
16057         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16058         menuSeparator(), endOfSentenceDot(), ldots() and
16059         hyphenationPoint(), which are therefore removed.
16060         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16061
16062         * LyXAction.C (init):
16063         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16064
16065         * paragraph.C (getWord): removed.
16066
16067         * BufferView_pimpl.C (Dispatch): use last word or selection for
16068         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16069
16070         * lyx_main.C (queryUserLyXDir): do not ask before creating
16071         user_dir, except if it has been named explicitely.
16072
16073 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16074
16075         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16076         a document of zero size.
16077
16078 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16079
16080         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16081         approriately in the c-tor and in require().
16082         (getPackages): output the appropriate LaTeX for natbib support.
16083
16084         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16085         variables "use_natbib" and "use_numerical_citations" when reading the
16086         LyX file.
16087         (readInset): read the various natbib cite commands.
16088         (validate): white-space change.
16089
16090         * bufferparams.[Ch]: new variables "bool use_natbib" and
16091         "bool use_numerical_citations".
16092         (writeFile): output them in the LyX file.
16093
16094 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16095
16096         * lyxfunc.C (getStatus): add support for all the inset insertion
16097         commands.
16098
16099         * text2.C (insertInset):
16100         * paragraph.C (insetAllowed):
16101         * BufferView_pimpl.C (insertInset): update to take in account the
16102         renaming of insertInsetAllowed
16103
16104         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16105
16106         * text2.C (getInset): new method. returns inset at cursor position.
16107
16108         * BufferView_pimpl.C (Dispatch): changes because of this.
16109
16110         * LyXAction.C (init): rename open-stuff to inset-toggle.
16111
16112         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16113
16114         * text2.C (toggleInset): renamed from openStuff; use
16115         Inset::open().
16116
16117 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16118
16119         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16120
16121         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16122
16123 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16124
16125         * buffer.C (readLyXformat2): Add filename to the error dialog
16126
16127 2001-07-18  Juergen Vigna  <jug@sad.it>
16128
16129         * tabular.C (GetCellNumber): put an assert here instead of the check!
16130
16131 2001-07-17  Juergen Vigna  <jug@sad.it>
16132
16133         * BufferView_pimpl.C (toggleSelection): adapted too.
16134
16135         * text.C (selectNextWord): adapted for use with insets.
16136         (selectSelectedWord): ditto
16137
16138 2001-07-17  Juergen Vigna  <jug@sad.it>
16139
16140         * sp_spell.C (PSpell): fix initialitation order.
16141
16142 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16143
16144         * paragraph.C: spacing
16145
16146 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16147
16148         * sp_spell.C: repair language selection for pspell
16149
16150 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16151
16152         * lyxfunc.h: change more methods to begin with lower char.
16153
16154 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16155
16156         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16157         for unknown layouts.
16158
16159 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16160
16161         * buffer.C (readLyXformat2): Generate an error dialog if there are
16162         unknown layouts.
16163
16164 2001-07-16  Juergen Vigna  <jug@sad.it>
16165
16166         * sp_spell.C: always compile ISpell part.
16167
16168         * lyxrc.C: added use_pspell entry and it's handling.
16169
16170 2001-07-13  Juergen Vigna  <jug@sad.it>
16171
16172         * sp_spell.C: removed double includes.
16173
16174 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16175
16176         Consistent use of Lsstream.h:
16177         * Lsstream.h: added using std::stringstream for consistencies sake.
16178
16179         * buffer.C: removed using std::stringstream
16180
16181         * lyxfont.C (stateText):
16182         * paragraph.C (asString):
16183         * text.C (selectNextWord, selectSelectedWord):
16184         * text2.C (setCounter):
16185         * vspace.C (asString, asLatexString):
16186         std::ostringstream -> ostringstream.
16187
16188 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16189
16190         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16191         * commandtags.h: add LFUN_HELP_ABOUTLYX
16192         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16193
16194 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16195
16196         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16197         cursorToggle()
16198         * lyx_gui_misc.C: remove spellchecker
16199         * lyxfunc.C: showSpellchecker
16200         * sp_base.h: added
16201         * sp_ispell.h: added
16202         * sp_pspell.h: added
16203         * sp_spell.C: added
16204         * sp_form.[Ch]: removed
16205         * spellchecker.[Ch]: removed
16206
16207 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16208
16209         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16210         is set.
16211         (simpleTeXSpecialChars): Simply print the input character without
16212         any special translation if pass_thru is set.
16213
16214         * layout.h: Added bool pass_thru to layout class for being able to
16215         implement pass through of a paragraph for Literate Programming.
16216
16217         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16218         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16219         * layout.C (Read): add "passthru" to list of layout tags and add
16220         code to set the pass_thru boolean when it is read.
16221
16222 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16223
16224         * trans_decl.h: remove allowed from KmodInfo
16225
16226         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16227         remove allowed code
16228         (Load): adjust
16229
16230         * paragraph_pimpl.C (erase): use boost::prior
16231
16232         * Painter.C (text): use data() instead of c_str() when length is
16233         also provided.
16234         * WorkArea.C (putClipboard): ditto
16235         * font.h (width): ditto
16236
16237         * BufferView2.C: use it-> instead of (*it). for iterators
16238         * texrow.C: ditto
16239         * paragraph_pimpl.C: ditto
16240         * paragraph.C: ditto
16241         * minibuffer.C: ditto
16242         * language.C: ditto
16243         * kbmap.C: ditto
16244         * encoding.C: ditto
16245         * counters.C: ditto
16246         * converter.C: ditto
16247         * chset.C: ditto
16248         * Variables.C: ditto
16249         * TextCache.C: ditto
16250         * MenuBackend.C: ditto
16251         * LyXAction.C: ditto
16252         * LColor.C: ditto
16253         * FloatList.C: ditto
16254         * DepTable.C: ditto
16255         * ColorHandler.C (LyXColorHandler): ditto
16256
16257 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16258
16259         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16260
16261         * text2.C (openStuff): reintroduce this method (which had been
16262         nuked in NEW_INSETS frenzy).
16263
16264         * lyxfunc.C (Dispatch): when an action has not been handled, use
16265         its name in the error message, not its number.
16266
16267         * paragraph.C (inInset): change method name to begin with lowercase.
16268
16269         * undo_funcs.C:
16270         * text2.C: updates because of this.
16271
16272 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16273
16274         * ToolbarDefaults.C (add): add spaces in error message
16275
16276 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16277
16278         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16279         (readLyXformat2): rename return_par to first_par, use lyxlex's
16280         pushToken and remove the manual push handling.
16281         (parseSingleLyXformat2Token): add another ert comp. variable:
16282         in_tabular, rename return_par to first_par. handle newlines better
16283
16284 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16285
16286         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16287
16288 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16289
16290         * text2.C (getParFromID): removed
16291
16292         * buffer.C (getParFromID): new method moved form lyxtext.
16293         * BufferView2.C (insertErrors): adjust
16294         (setCursorFromRow): adjust
16295         * BufferView_pimpl.C (restorePosition): adjust
16296         * lyxfunc.C (Dispatch): adjust
16297         * undo_funcs.C (textUndo): adjust
16298         (textRedo): adjust
16299         (textHandleUndo): adjust
16300         (textHandleUndo): adjust
16301
16302 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16303
16304         * buffer.C: up' the LYX_FORMAT
16305
16306         * lyxfont.h: turn NO_LATEX on as default
16307
16308         * buffer.C (insertErtContents): new methods of tex style compability.
16309         (parseSingleLyXformat2Token): use it several places.
16310         * tabular.C (OldFormatRead): and here
16311
16312 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16313
16314         * text2.C: remove some commented code.
16315         reindent file.
16316
16317         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16318         * trans.C: changes because of the above.
16319
16320 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16321
16322         * text2.C (setCounter): Fix counters bug with bibliography layout.
16323
16324 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16325
16326         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16327         own member functions
16328         (simpleTeXSpecialChars): ditto
16329
16330 2001-07-06  Juergen Vigna  <jug@sad.it>
16331
16332         * a lot of files: changed the access to LyXText::status and the
16333         call of undo-functions.
16334
16335         * undo.[Ch]: added a inset_id to the undo informations.
16336
16337         * undo_funcs.[Ch]: added and moved here all undo functions.
16338
16339         * lyxtext.h: give the status enum a weight, made status_ a private
16340         variable and made accessor functions for it, removed the whole bunch
16341         of undo-functions as they are now in their own file, make some
16342         functions publically available. Added function ownerParagraph with
16343         int parameter.
16344
16345         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16346         made InInset() a const function, added getParFromID() function.
16347
16348         * buffer.[Ch]: added const version for inset_iterator functions,
16349         added getInsetFromID() function.
16350
16351         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16352         changed undo functions for new version.
16353
16354 2001-07-05  Juergen Vigna  <jug@sad.it>
16355
16356         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16357         unknow mechanism does not call the proper constructor but only this
16358         one also if I request the other!?
16359
16360 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16361
16362         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16363
16364         * text2.C (LyXText): use initialization lists.
16365
16366         * lyxtext.h (Selection): initialize set_ and mark_
16367         (init): remove method
16368
16369 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16370
16371         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16372
16373 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16374
16375         * screen.[Ch]: change method names to begin with lowercase
16376
16377         * BufferView_pimpl.C (updateScrollbar): simplify further and
16378         hopefully make it a bit faster.
16379
16380 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16381
16382         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16383         calling directly xforms functions.
16384
16385         * Painter.C (Painter):
16386         * lyx_cb.C (MenuWrite):
16387         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16388         fl_display.
16389
16390         * lyx_gui.C: remove bogus guiruntime extern declaration.
16391
16392 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16393
16394         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16395         in NEW_INSETS
16396         (redoDrawingOfParagraph): ditto
16397         (redoParagraphs): ditto
16398         (cutSelection): don't create a object for CutAndPaste use the
16399         static method directly
16400         (pasteSelection): ditto
16401
16402         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16403         LyXview (+ rename)
16404
16405 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16406
16407         * modifications to some other files because of this.
16408
16409         * Makefile.am (lyx_SOURCES): add XFormsView
16410
16411         * XFormsView.[Ch]: new files
16412
16413         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16414         the main window. Move the gui dependent stuff to XFormsView
16415
16416 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16417
16418         * tabular.C (GetCellInset): update cur_cell also in the row/col
16419         version of this function.
16420
16421         * lyxfunc.C: no need to include figure_form.h here.
16422
16423         * FontLoader.h:
16424         * lyxfunc.h:
16425         * lyxscreen.h:
16426         * text2.C:
16427         * lyxvc.C: no need to include forms.h here.
16428
16429 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16430
16431         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16432
16433         * lyxfunc.C (Dispatch):
16434         * Spacing.C (set):
16435         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16436         constructor argument.
16437
16438 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16439
16440         * paragraph.C (Paragraph): dont't clear, and just set layout.
16441         (makeSameLayout): use params's copy contructor.
16442
16443         * ParagraphParameters.[Ch] (makeSame): delete method
16444
16445 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16446
16447         * Variables.[Ch]: fix indentation, rename set to isSet
16448
16449 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16450
16451         * lyxfunc.C (Dispatch): fix typo
16452
16453 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16454
16455         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16456         upper_bound.
16457
16458         * bufferlist.C: include assert.h for emergencyWrite().
16459
16460 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16461
16462         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16463           give up at last (bug #425202) !
16464
16465 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16466
16467         * lyx_gui_misc.C:
16468         * sp_form.h:
16469         * sp_form.C:
16470         * spellchecker.h:
16471         * spellchecker.C: strip spellchecker options and bring up
16472           preferences tab instead
16473
16474 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16475
16476         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16477         the istringstream constructor
16478
16479 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16480
16481         * paragraph.C (getLayout): fix return value
16482
16483         * paragraph.h: do not declare getLayout as inline.
16484
16485         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16486
16487 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16488
16489         * lyxcursor.h (operator<): new func
16490         (operator>): new func
16491         (operator>=): new func
16492         (operator<=): new func
16493
16494         * text.C (changeCase): use selection.start and selection.end
16495         (changeRegionCase): require from to be <= to. Require par to be a
16496         valid paragraph.
16497
16498         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16499
16500 2001-06-27  Juergen Vigna  <jug@sad.it>
16501
16502         * text.C (cursorLeftOneWord): changed to return the cursor and added
16503         overlay with BufferView * parameter which calls this one.
16504         (getWord): added
16505         (selectWord): use new getWord function.
16506         (changeCase): renamed from changeWordCase as and extended to work
16507         also on selections.
16508
16509         * lyxtext.h: added enum word_location
16510
16511         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16512         changeCase as this operates now also on selections.
16513
16514 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16515
16516         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16517
16518         * many files: send debug output to Debug::INFO instead of
16519         Debug::ANY.
16520
16521         * converter.C (View):
16522         (Convert):
16523         (Move): send debug output to Debug::FILES instead of console.
16524
16525 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16526
16527         * lyxfunc.C (getStatus): use func_status
16528
16529         * func_status.h: new header, describing the results of
16530         LyXFunc::getStatus;
16531
16532         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16533         LFUN_MATH_HALIGN.
16534
16535 2001-06-25  The LyX Project  <jug@sad.it>
16536
16537         * buffer.C (sgmlOpenTag):
16538         (sgmlCloseTag):
16539         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16540
16541 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16542
16543         * text2.C: remove some dead code
16544
16545         * tabular.C (GetCellInset): store the last cell checked (gotten)
16546
16547         * tabular.h: add the helper for the speedup
16548
16549         * lyxtext.h: remove some dead code
16550
16551 2001-06-26  The LyX Project  <Asger>
16552
16553         * paragraph.C: Change export to LaTeX of alignment to
16554         \begin{center} and family for better roundtrip work with reLyX.
16555
16556         * Tune the math drawing a bit.
16557
16558 2001-06-25  The LyX Project  <Asger>
16559
16560         * LColor.C (LColor): New color for math background. New color
16561         for buttons.
16562
16563 2001-06-25  The LyX Project  <jug@sad.it>
16564
16565         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16566
16567         * lyxfunc.C (Open):
16568         * bufferlist.C (newFile): do not restrict to files ending with
16569         .lyx
16570
16571         * BufferView_pimpl.C (MenuInsertLyXFile):
16572
16573 2001-06-24  The LyX Project  <jug@sad.it>
16574
16575         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16576         of compare_no_case
16577
16578 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16579
16580         * lyxtext.h: rename most methods to begin with a small char.
16581         Lots of changes because of this.
16582
16583         * paragraph.C (Paragraph): do not call fitToSize
16584         (erase): call Pimpl::erase
16585         (insertChar): call Pimpl::insertChar
16586         (insertInset): call Pipl::insertInset
16587         (breakParagraph): do not call fitToSize
16588         (breakParagraphConservative): do not call fitToSize
16589         (fitToSize): remove method
16590
16591         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16592
16593 2001-06-24  The LyX Project  <Asger>
16594
16595         * Fix Qt compilation^2
16596
16597 2001-06-24  The LyX Project  <jug@sad.it>
16598
16599         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16600         depthHook(getDepth()-1).
16601
16602         * paragraph.h:
16603         * ParagraphParameters.h:
16604         * ParameterStruct.h: change type of depth to unsigned int ==
16605         depth_type. Many adaptations to other files before of that.
16606
16607 2001-06-24  The LyX Project  <Asger>
16608
16609         * Fix Qt compilation.
16610
16611 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16612
16613         * paragraph.h: renamed several methods to begin with small letter.
16614         several changes to many parts of the code because of this.
16615
16616 2001-06-23  The LyX Project  <jug@sad.it>
16617
16618         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16619         rewritten to discard all double spaces when KeepEmpty is off
16620         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16621         to only handle newlines but not fiddle with spaces and friends.
16622
16623         * lyxfunc.C (MenuNew): when doing 'new from template', use
16624         template_path as default directory
16625
16626 2001-06-23  The LyX Project  <Asger>
16627
16628         * Clean-up of header file includes all over
16629         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16630
16631 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16632
16633         * paragraph.h: renamed from lyxparagraph.h
16634
16635 2001-06-23  Asger  <lyx@violet.home.sad.it>
16636
16637         * Buffer.h: Removed Buffer::resize
16638         * BufferList.h: Removed BufferList::resize
16639         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16640         the document lazily when we change the width, or the font settings.
16641
16642 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16643
16644         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16645
16646 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16647
16648         * buffer.h: remove out of date comment
16649
16650 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16651
16652         * lyxscreen.h:
16653         * screen.C: fix "theoretical" GC leak
16654
16655 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16656
16657         * LaTeX.C (scanAuxFile):
16658         (deplog): remove trailing \r when reading stream (useful under
16659         win32)
16660
16661 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16662
16663         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16664         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16665         and BufferView::theLockingInset(Inset*), so should use them and not
16666         access bv_->text->the_locking_inset directly.
16667
16668         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16669
16670 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16671
16672         * Makefile.am:
16673         * tex-defs.h: remove old unused file
16674
16675 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16676
16677         * BufferView_pimpl.C: fix typo, remove minibuffer message
16678           when buffer has loaded
16679
16680 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16681
16682         * lyxfunc.C (Dispatch): use stringstream
16683         (MenuNew): use stringstream
16684         (Open): use stringstream
16685
16686         * importer.C (Import): use stringstream
16687
16688         * bufferview_funcs.C (CurrentState): use stringstream
16689
16690         * LaTeX.C (run): use stringstream
16691
16692         * BufferView_pimpl.C (savePosition): use stringstream
16693         (restorePosition): use stringstream
16694         (MenuInsertLyXFile): use stringstream
16695
16696 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16697
16698         * BufferView.C:
16699         * Bullet.C:
16700         * ColorHandler.C:
16701         * FontInfo.C:
16702         * FontLoader.C:
16703         * LColor.C:
16704         * LaTeXFeatures.C:
16705         * Painter.C:
16706         * gettext.C:
16707         * lyx_gui_misc.C:
16708         * lyxserver.C:
16709         * vspace.C: removed // -*- C++ -*- as first line.
16710
16711         * lyxfind.h:
16712         * version.h: added // -*- C++ -*- as first line.
16713
16714 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16715
16716         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16717
16718         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16719         of string
16720
16721 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16722
16723         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16724         of floats.
16725
16726 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16727
16728         * gettext.C: include LString.h even when --disable-nls is on.
16729
16730 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16731
16732         * converter.h (Get): changed argument type from int to
16733         FormatList::size_type to avoid unnecessary conversion.
16734
16735         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16736         before using it.
16737
16738 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16739
16740         * gettext.h: include LString.h even when --disable-nls is on.
16741
16742 2001-06-07  Juergen Vigna  <jug@sad.it>
16743
16744         * text.C (BreakAgain): subst spaces with tabs.
16745
16746         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16747         (resizeInsetsLyXText): set force on resizeLyXText.
16748
16749 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16750
16751         * gettext.h (gettext_init):
16752         (locale_init): use a real definition instead of a macro
16753
16754 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16755
16756         * Bufferview_pimpl.C:
16757         * LColor.h:
16758         * LColor.C: further lcolor tidies
16759
16760 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16761
16762         * BufferView_pimpl.C (updateScrollbar): simplify.
16763
16764         * BufferView2.C: don't include insets/insetinfo.h, change
16765         prototype for insertInset and call the Pimpl version. let
16766         updateInset call Pimpl version.
16767
16768         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16769         gotoInset to BufferView::Pimpl
16770
16771 2001-06-01  Juergen Vigna  <jug@sad.it>
16772
16773         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16774         inside a LockingInset (is the update needed at all?).
16775
16776 2001-05-31  Juergen Vigna  <jug@sad.it>
16777
16778         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16779         here not the old one otherwise how should we compare it afterwards
16780         if it's the same!
16781
16782 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16783
16784         * lyxfont.C:
16785         * tabular.C:
16786         * tabular-old.C:
16787         * FontInfo.C: bring C functions into global namespace when
16788         necessary
16789
16790 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16791
16792         * LString.h: make sure config.h has been loaded before LString.h.
16793
16794         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16795         (one for each char read by EatLine!).
16796
16797         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16798         variables.
16799
16800 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16801
16802         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16803         to the same as the par we break from
16804
16805 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16806
16807         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16808
16809         * MenuBackend.C (expand): also create menu entries for wide
16810         versions of the floats.
16811
16812         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16813
16814         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16815
16816         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16817         frontends/Makefile.am
16818
16819         * text2.C: adjust
16820         * text.C: adjust
16821
16822
16823         * tabular.C (getTokenValue): add std::
16824
16825         * tabular-old.C (getTokenValue): add std::
16826         (getTokenValue): ditto
16827         (getTokenValue): ditto
16828
16829         * screen.C (ToggleSelection): adjust
16830
16831         * lyxtext.h: put selection cursors inside a Selection struct.
16832
16833         * lyxfunc.C (moveCursorUpdate): adjust
16834
16835         * lyxfont.C (latexWriteStartChanges): add std::
16836
16837         * lyxfind.C: adjust
16838
16839         * font.h: delete with(char const *, LyXFont const &)
16840
16841         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16842
16843         * FontInfo.C (getFontname): add std::
16844
16845         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16846         (workAreaButtonPress): adjust
16847         (tripleClick): adjust
16848         (update): adjust
16849         (moveCursorUpdate): adjust
16850         (Dispatch): adjust
16851
16852         * BufferView2.C (gotoInset): adjust
16853
16854 2001-05-30  Juergen Vigna  <jug@sad.it>
16855
16856         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16857         to check pspell I add this as default as I now have new pspell
16858         libraries and they seem to use this.
16859
16860 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16861
16862         * text2.C (CutSelection): make the cursor valid before the call to
16863         ClearSelection.
16864
16865 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16866
16867         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16868         relied on 0 terminated strings and other horrors. Bug found due to
16869         the new assert in lyxstring!
16870
16871         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16872         KP_ keys.
16873
16874 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16875
16876         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16877         to latinkeys.bind.
16878
16879         * lyxfunc.C (processKeySym): change method of getting to the
16880         self-insert char.
16881
16882         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16883         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16884         * BufferView_pimpl.[Ch]: here as private methods.
16885
16886 2001-05-28  Juergen Vigna  <jug@sad.it>
16887
16888         * text.C (SetHeightOfRow): added the update() call again as it is
16889         needed to initialize inset dimensions!
16890
16891 2001-05-16  Juergen Vigna  <jug@sad.it>
16892
16893         * text2.C (SetCharFont): Add new function with BufferView * and
16894         bool toggleall parameters for setting insets internal fonts.
16895         (SetFont): Freeze the undo as we may change fonts in Insets and
16896         all this change should be inside only one Undo!
16897
16898         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16899         setting font's in insets as for them we have the SetFont function!
16900
16901 2001-05-15  Juergen Vigna  <jug@sad.it>
16902
16903         * text2.C (ClearSelection): to be sure we REALLY don't have any
16904         selection anymore!
16905
16906         * tabular.C (TeXCellPreamble): fixed the left border problem for
16907         multicolumn cells.
16908
16909 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16910
16911         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16912         dependancy file
16913
16914 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16915
16916         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16917         LFUN_BREAKPARAGRAPH.
16918
16919         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16920         help test to "internal only", similar for LFUN_INSERT_URL
16921
16922         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16923         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16924         auto_region_delete and deadkeys.
16925
16926 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16927
16928         * LColor.h:
16929         * LColor.C: remove some dead entries, tidy a little
16930
16931 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16932
16933         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16934         commented code.
16935         (Dispatch): implement LFUN_ESCAPE
16936
16937         * commandtags.h: add LFUN_ESCAPE
16938
16939         * LyXAction.C (init): add entry for LFUN_ESCAPE
16940
16941         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16942         Remove commented code.
16943         (insertNote): moved here
16944         (open_new_inset): moved here
16945
16946         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16947         BufferView_pimpl
16948
16949 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16950
16951         * kbmap.C (findbinding): clean it up and make it work correctly.
16952
16953         * lyx_main.C (init): do not pass argc and argv as parameters
16954
16955 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16956
16957         * buffer.C: fix path for OS/2 & Win32
16958
16959         * lyx_gui.C:
16960         * lyx_main:
16961         * lyx_main.C: Added os:: class.
16962
16963         * os2_defines.h: update
16964
16965 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16966
16967         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16968         better by trying again with reduced state.
16969
16970 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16971
16972         * lyxrc.C (read): print error about invalid key sequence only when
16973         debugging (because not all latinX keysyms are known to some X
16974         servers)
16975
16976         * kbsequence.C (getiso): add a few std:: qualifiers
16977         (getiso): comment out extra return statement.
16978
16979 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16980
16981         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16982         handling.
16983         (Dispatch): enhance the accent inset a bit. (not perfect)
16984
16985 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16986
16987         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16988
16989 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16990
16991         * bufferlist.C (emergencyWrite): fix assert() call
16992
16993 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16994
16995         * text.C (InsertChar): Added trivial patch to only send the "you
16996         can not do multiple spaces this way" message once during a
16997         session.
16998
16999 2001-05-08  Baruch Even  <baruch@lyx.org>
17000
17001         * Makefile.am: Changed order of libraries to get LyX to link properly
17002         with the gnome frontend.
17003
17004 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17005
17006         * LaTeXFeatures.h: add a std:: qualifier
17007
17008 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17009
17010         * paragraph.C (String): use stringstream
17011
17012 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17013
17014         * paragraph.C (writeFile): remove footflag arg
17015
17016         * buffer.C (makeLaTeXFile): use stringstream
17017         (latexParagraphs): remove footnot gurba
17018
17019         * LaTeXFeatures.C (getPackages): use stringstream
17020         (getMacros): likewise
17021         (getTClassPreamble): likewise
17022         (getFloatDefinitions): new method
17023
17024         * paragraph.C (writeFile): reindent
17025         (Erase): reindent
17026
17027         * WorkArea.h: revert the xpos + etc changes.
17028
17029         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17030
17031         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17032
17033         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17034         (pasteSelection): likewise
17035         * text2.C (CreateUndo): likewise
17036
17037 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17038
17039         * minibuffer.C (peek_event): temporarily reduce the functionality
17040         of the minibuffer (to allow args on lfuns)
17041
17042         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17043         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17044
17045         * buffer.C (readInset): add compability reading of old float
17046         lists, add reading of new style float list.
17047         (readInset): avoid reevaluation of inscmd.getCmdName()
17048         (getLists): reindent
17049
17050         * MenuBackend.C (MenuItem): implement parsing of
17051         md_floatlistinsert and md_floatinsert.
17052         (expand::LastFiles): move initalizaton of iterators out of loop,
17053         avoid reevaluation.
17054         (expand::Documents): introduce typdedef vector<string> Strings,
17055         and use it.
17056         (expand::ExportFormats): introduce typedef vector<Format const *>
17057         Formats, and use it.
17058         (expand): implement FloatListInsert and FloatInsert.
17059
17060         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17061         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17062         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17063
17064         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17065         handling.
17066         (Dispatch::LFUN_FLOAT_LIST): implement
17067
17068 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17069
17070         * LaTeX.C (run): Fix problem with --export code.
17071
17072 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17073
17074         * BufferView.[Ch] (workarea): removed.
17075         (getClipboard) new method; wrapper for workarea()->getClipboard()
17076
17077         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17078         bug.
17079
17080         * WorkArea.h (width, height, xpos, ypos): These methods all
17081         returned the dimensions of the work_area sub-area of WorkArea,
17082         resulting in a position error if the WorkArea were resized. Now
17083         return the dimensions of the entire WorkArea.
17084
17085         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17086
17087 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17088
17089         * LaTeX.C (deplog): correct the syntax of regex reg1
17090
17091 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17092
17093         * undo.C: remove !NEW_INSETS cruft
17094
17095 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17096
17097         * text2.C: remove !NEW_INSETS cruft
17098
17099         * text.C: remove !NEW_INSETS cruft
17100
17101         * tabular.C: remove !NEW_INSETS cruft
17102
17103         * spellchecker.C: remove !NEW_INSETS cruft
17104
17105         * lyxtext.h: remove !NEW_INSETS cruft
17106
17107         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17108
17109         * lyxfunc.C: remove !NEW_INSETS cruft
17110
17111         * lyxfind.C: remove !NEW_INSETS cruft
17112
17113         * lyx_cb.C: remove !NEW_INSETS cruft
17114
17115         * figureForm.C: remove  !NEW_INSETS cruft
17116
17117         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17118
17119         * buffer.[Ch]: remove !NEW_INSETS cruft
17120
17121         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17122
17123         * CutAndPaste.C: remove !NEW_INSETS cruft
17124
17125         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17126
17127         * BufferView2.C: remove !NEW_INSETS cruft
17128
17129         * BufferView.h: remove !NEW_INSETS cruft
17130
17131 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17132
17133         * Lsstream.h: include LString.h before the sstream headers to
17134         fix problem with gcc 2.95.3 and lyxstring
17135
17136 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17137
17138         * lyx_main.C: add using directives when needed for C functions
17139         declared in std:: namespace.
17140
17141 2001-04-27  Juergen Vigna  <jug@sad.it>
17142
17143         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17144         (SetHeightOfRow): comment out the update call should not be needed!
17145
17146 2001-04-13  Juergen Vigna  <jug@sad.it>
17147
17148         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17149         (LyXTabular): tried to minimize operator= operations (and realized
17150         hopfully Lars wish).
17151
17152 2001-04-27  Juergen Vigna  <jug@sad.it>
17153
17154         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17155
17156 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17157
17158         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17159
17160         * buffer.C (readInset): hack to make listof algorithm work
17161
17162         * BufferView_pimpl.C: hack to make listof algorithm work
17163
17164 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17165
17166         * LyXAction.C: removed all !NEW_INSETS cruft
17167         (init): moved lfun_item in method
17168
17169         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17170
17171 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17172
17173         * BufferView2.C (theLockingInset): white space.
17174
17175 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17176
17177         * minibuffer.C: include <iostream>
17178
17179         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17180
17181         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17182
17183         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17184
17185         * text.[Ch] (TransposeChars): new method
17186
17187 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17188
17189         * call message directly through LyXView instead of through LyXFunc
17190         * BufferView2.C: adjust
17191         * BufferView_pimpl.C: adjust
17192         * FontLoader.C: adjust
17193         * buffer.C: adjust
17194         * bufferview_funcs.C: adjust
17195         * converter.C: adjust
17196         * figureForm.C: adjust
17197         * importer.C: adjust
17198         * lyx_cb.C: adjust
17199         * lyx_gui_misc.C: adjust
17200         * lyxfunc.C: adjust
17201         * lyxvc.C: adjust
17202         * text2.C: adjust
17203         + more files in subdirs
17204
17205         * lyxparagraph.h (size): move up int file
17206         (GetLayout): ditto
17207
17208         * adjust all uses of Assert to lyx::Assert.
17209
17210         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17211         lyxfunctional in namespace lyx
17212         * layout.C (hasLayout): ditto
17213         (GetLayout): ditto
17214         (GetLayout): ditto
17215         (delete_layout): ditto
17216         (NumberOfClass): ditto
17217         * converter.C (GetFormat): ditto
17218         (GetNumber): ditto
17219         (Add): ditto
17220         (Delete): ditto
17221         (SetViewer): ditto
17222         * bufferlist.C (getFileNames): ditto
17223         (emergencyWriteAll): ditto
17224         (exists): ditto
17225         (getBuffer): ditto
17226         * MenuBackend.C (hasSubmenu): ditto
17227         (hasMenu): ditto
17228         (getMenu): ditto
17229         * BufferView_pimpl.C (getInsetByCode): ditto
17230
17231 2001-04-18  Juergen Vigna  <jug@sad.it>
17232
17233         * vspace.C (asLatexString): fixed the 100% problem.
17234
17235 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17236
17237         * lyxfunc.C (Dispatch):
17238         * minibuffer.C:
17239         * minibuffer.h: add a few std:: qualifiers
17240
17241 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17242
17243         * minibuffer.[Ch]: reimplement so that commands is initiated and
17244         run from lyxfunc, simplified som handling, and made the completion
17245         and history code for complete. wip.
17246
17247         * lyxfunc.C (processKeySym): call message
17248         (miniDispatch): new temporary method
17249         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17250         (LFUN_MESSAGE): implement
17251         (LFUN_MESSAGE_PUSH): implement
17252         (LFUN_MESSAGE_POP): implement
17253         (initMiniBuffer): the initial/defualt minibuffer message.
17254
17255         * lyxfont.[Ch]: inline some more getters
17256
17257         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17258
17259         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17260
17261         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17262         (AutoSave): use LFUN_MESSAGE
17263         (Reconfigure): ditto
17264
17265         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17266
17267         * figureForm.C: use LFUN_MESSAGE
17268
17269         * converter.C (runLaTeX): use LFUN_MESSAGE
17270
17271         * bufferview_funcs.C: use LFUN_MESSAGE
17272         (Melt): ditto
17273         (changeDepth): ditto
17274
17275         * bufferparams.h: use boost::
17276
17277         * bufferlist.h: inherit privately from noncopyable
17278
17279         * bufferlist.C (loadLyXFile): remove some commented code.
17280
17281         * buffer.C (runChktex): use LFUN_MESSAGE
17282
17283         * ShareContainer.h: inherit privately from noncopyable
17284
17285         * ParagraphParameters.[hC] (depth): inline it.
17286
17287         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17288         methods.
17289         (message): new method
17290         (messagePush): ditto
17291         (messagePop): ditto
17292         (show): init minibuffer
17293         (showState): direct call
17294
17295         * LaTeX.[Ch]: inherit privately from noncopyable
17296         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17297         instead of WriteStatus.
17298
17299         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17300
17301         * BufferView_pimpl.C (buffer): don't init minibuffer
17302         (workAreaButtonPress): use LFUN_MESSAGE
17303         (workAreaButtonRelease): ditto
17304         (savePosition): ditto
17305         (restorePosition): ditto
17306         (MenuInsertLyXFile): ditto
17307         (workAreaExpose): don't init minibuffer
17308         (update): remove commented code, simplify
17309
17310         * BufferView2.C (openStuff): use LFUN_MESSAGE
17311         (toggleFloat): ditto
17312         (menuUndo): ditto
17313         (menuRedo): ditto
17314         (copyEnvironment): ditto
17315         (pasteEnvironment): ditto
17316         (copy): ditto
17317         (cut): ditto
17318         (paste): ditto
17319         (gotoInset): ditto
17320         (updateInset): remove some commented code
17321
17322         * lastfiles.h: inherit privately from noncopyable
17323         * layout.h: ditto
17324         * lyx_gui.h: ditto
17325         * lyx_main.h: ditto
17326         * lyxlex.h: ditto
17327         * lyxlex_pimpl.h: ditto
17328
17329         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17330         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17331         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17332
17333         * LyXAction.h: inherit privately from noncopyable, add methods
17334         func_begin, func_end, returning iterators to the func map.
17335
17336         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17337         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17338         (func_begin): new method
17339         (func_end): new method
17340
17341         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17342         and not)
17343         (copySelection): ditto
17344         (pasteSelection): ditto
17345
17346         * BufferView.C: whitespace change
17347         * BufferView.h: inherit privately from noncopyable
17348
17349 2001-04-16  Allan Rae  <rae@lyx.org>
17350
17351         * tabular-old.C (l_getline):
17352         * spellchecker.C (sc_check_word):
17353         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17354         an unrecognised preprocessor directive.  So ensure they're wrapped.
17355
17356 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17357
17358         * src/exporter.C (Export): Give an error message when path to file
17359         contains spaces.
17360
17361 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17362
17363         * LaTeX.C (deplog): Always check that foundfile exists.
17364
17365 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17366
17367         * lyx_main.h:
17368         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17369
17370 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17371
17372         * tabular.[Ch] (getLabelList): implement new method
17373
17374         * minibuffer.h: comment ouf setTiimer
17375
17376         * minibuffer.C (ExecutingCB): constify res
17377         (peek_event): constify s
17378         (Set): constify ntext
17379         (Init): constify nicename
17380
17381         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17382
17383         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17384         (savePosition): use two params to Minibuffer::Set
17385         (restorePosition): ditto
17386
17387 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17388
17389         * lyx_main.C: include language.h
17390
17391         * Makefile.am (lyx_main.o): add language.h
17392
17393 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17394
17395         * exporter.C:
17396         * paragraph.C:
17397         * screen.C:
17398         * tabular.C:
17399         * CutAndPaste.C: include gettext.h
17400
17401         * lyxfont.h: remove old hack with ON and OFF.
17402
17403         * lyxparagraph.h:
17404         * lyxfont.h: do not include language.h...
17405
17406         * BufferView2.C:
17407         * LaTeXFeatures.C:
17408         * Painter.C:
17409         * bufferview_funcs.C:
17410         * font.C:
17411         * lyxfont.C:
17412         * text.C:
17413         * text2.C:
17414         * trans_mgr.C:
17415         * paragraph.C: ... but do it here instead
17416
17417 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17418
17419         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17420
17421         * tabular.C: small reformat
17422
17423         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17424         NEW_INSETS version
17425         (GetChar): ditto
17426         (BreakParagraph): ditto
17427         (SetOnlyLayout): ditto
17428         (SetLayout): ditto
17429
17430         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17431         with one arg less.
17432
17433         * lastfiles.C: removed most using decl, add std:: where needed
17434
17435         * buffer.C: ws changes
17436
17437         * MenuBackend.C (class compare_format): put into anon namespace
17438         (expand): constify label, names, action, action2
17439         (expand):
17440
17441         * text.C (SingleWidth): constify font
17442         (IsBoundary): constify rtl2
17443         (GetVisibleRow): constify ww
17444
17445         * LaTeX.C (deplog): constify logfile
17446
17447         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17448         start_x, end_x
17449         (workAreaExpose): constify widthChange, heightChange
17450
17451         * lyxrow.C (par): moved
17452         (height): moved
17453         (next): moved
17454         * lyxrow.h: as inlines here
17455
17456         * lyxfont.h (shape): moved from lyxfont.C
17457         (emph): moved from lyxfont.C
17458
17459         * lyxfont.C (LyXFont): use initialization list for all
17460         constructors
17461         (shape): move to lyxfont.h as inline
17462         (emph): move to lyxfont.h as inline
17463
17464
17465 2001-04-04  Juergen Vigna  <jug@sad.it>
17466
17467         * vspace.C: had to include stdio.h for use of sscanf
17468
17469 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17470
17471         * BufferView.h:
17472         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17473         independent of xforms.
17474
17475 2001-04-02  Juergen Vigna  <jug@sad.it>
17476
17477         * spellchecker.C: fixed namespace placing!
17478
17479 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17480
17481         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17482         the LyXParagraph * is 0.
17483
17484 2001-03-29  Juergen Vigna  <jug@sad.it>
17485
17486         * vspace.C: added support for %, c%, p%, l%.
17487         (stringFromUnit): added helper function.
17488         (asLatexString): changed to give right results for the %-values.
17489
17490         * buffer.C: convert the widthp in a width%.
17491
17492 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17493
17494         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17495         figureForm.[Ch].
17496
17497         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17498         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17499
17500         * lyx_cb.[Ch]: see above.
17501
17502         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17503         form1.[Ch].
17504
17505         * form1.[Ch]:
17506         * lyx.[Ch]: replaced by figure_form.[Ch].
17507
17508         * lyx_gui.C:
17509         * lyx_gui_misc.C:
17510         * lyxfunc.C: changed headers associated with above changes.
17511
17512 2001-03-27  Juergen Vigna  <jug@sad.it>
17513
17514         * BufferView_pimpl.C: set the temporary cursor right!
17515
17516 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17517
17518         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17519
17520 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17521
17522         * LString.h: removed "using std::getline"!
17523
17524         * BufferView_pimpl.C (Dispatch): changes due to changes in
17525         InsetInclude::Params.
17526
17527         * buffer.C (tag_name): removed redundant break statements as they were
17528         producing lots of warnings with my compiler.
17529
17530 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17531
17532         * LString.h: add "using std::getline" when using the real <string>.
17533
17534 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17535
17536         * buffer.C: removed bitset usage.
17537         PAR_TAG moved to an anonymous name space.
17538         (tag_name): new funtion, also in the anonymous namespace.
17539         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17540         (makeDocBookFile): clean code. Completed transition from string arrays
17541         to string vectors.
17542         (SimpleDocBookOnePar): code clean.
17543
17544 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17545
17546         * tabular.C: add some comments.
17547
17548 2001-03-22  Juergen Vigna  <jug@sad.it>
17549
17550         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17551         compatibility read a bit and fixed bug with minipage in different
17552         depth.
17553
17554 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17555
17556         * buffer.C (pop_tag): removed.
17557         (push_tag): removed.
17558         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17559         array replaced with vector. Added support for CDATA sections.
17560         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17561         at any nest level.
17562         (makeDocBookFile): XML conformant declaration of CDATA section,
17563         fixed bug related to <emphasis> in the first paragraph char.
17564         (sgmlOpenTag): exclude empty tags.
17565         (sgmlCloseTag): ditto.
17566
17567         * buffer.h (pop_tag): removed.
17568         (push_tag): removed.
17569
17570 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17571
17572         * language.h (Languages): added size_type and size().
17573
17574 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17575
17576         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17577         response on compability reading of minipages. One probliem is that
17578         the old usage of minipages was flertydig
17579
17580         * several files here and in subdirs: don't use static at file
17581         scope use anon namespaces instead.
17582
17583 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17584
17585         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17586         LaTeX output. This is necessary for Literate document
17587         processing.
17588
17589 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17590
17591         * buffer.C: insert hfill when needed.
17592
17593         * tabular.C (l_getline): use string::erase, small whitespace change.
17594
17595         * BufferView_pimpl.C: try the anon namespace.
17596         * WorkArea.C: ditto
17597
17598 2001-03-16  Juergen Vigna  <jug@sad.it>
17599
17600         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17601         otherwise it won't open options-dialogs.
17602
17603         * buffer.C: honor pextraWidth(p) on converting minipages.
17604
17605         * tabular.C (l_getline): changed the functions to strip trailing \r.
17606
17607 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17608
17609         * BufferView_pimpl.C:
17610         * minibuffer..C: added "using SigC::slot" declaration.
17611
17612 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17613
17614         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17615
17616         * text2.C: ditto
17617
17618         * text.C: ditto
17619
17620         * paragraph.C: ditto
17621
17622         * lyxtext.h: NO_PEXTRA
17623
17624         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17625
17626         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17627         * ParameterStruct.h: ditto
17628         * ParagraphParameters.h: ditto
17629         * lyxparagraph.h: ditto
17630
17631 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17632
17633         * buffer.C: add compability for minipage alignment.
17634         (latexParagraphs): remove unwanted pextra check.
17635
17636         * several files: remove CXX_WORKING_NAMESPACES
17637
17638         * buffer.C (pop_tag): tie is in namespace boost
17639
17640         * BufferView.h: noncopyable is in namespace boost
17641         * lyxlex.h: ditto
17642         * lyx_main.h: ditto
17643         * lyx_gui.h: ditto
17644         * layout.h: ditto
17645         * lastfiles.h: ditto
17646         * bufferlist.h: ditto
17647         * ShareContainer.h: ditto
17648         * LyXView.h: ditto
17649         * LyXAction.h: ditto
17650         * LaTeX.h: ditto
17651
17652 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17653
17654         * Merging changes from BRANCH_MVC back into HEAD.
17655
17656         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17657
17658 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17659
17660         * BufferView_pimpl.C: change from intl.C
17661
17662         * combox.h:
17663         * combox.C:
17664         * Makefile.am: move combox.*
17665
17666         * form1.h:
17667         * form1.C:
17668         * lyx_gui.C:
17669         * intl.h:
17670         * intl.C: remove dialog (covered by prefs)
17671
17672 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17673
17674         * lyxfunc.C (Dispatch): removed redundant break statement.
17675
17676 2001-03-14  Juergen Vigna  <jug@sad.it>
17677
17678         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17679
17680 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17681
17682         * buffer.C: add hack to fix compability reading of minipages.
17683
17684 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17685
17686         * buffer.C (getLists): Cleanup.
17687
17688 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17689
17690         * lyxfont.C (update): don't honor toggleall on font size.
17691
17692 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17693
17694         * bmtable.c:
17695         * bmtable.h:
17696         * Makefile.am: moved to frontends/xforms/
17697
17698         * lyx_gui_misc.C:
17699         * lyxfunc.C:
17700         * BufferView_pimpl.C: changes for moved mathpanel
17701
17702 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17703
17704         * gettext.h: fix gettext_init() in --disable-nls
17705
17706 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17707
17708         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17709
17710 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17711
17712         * lyx.C:
17713         * lyx.h: strip external form
17714
17715 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17716
17717         * BufferView_pimpl.C: add comment, destroySplash()
17718
17719 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17720
17721         * BufferView_pimpl.C:
17722         * LyXAction.C:
17723         * buffer.C:
17724         * commandtags.h:
17725         * lyxfunc.C: use re-worked insetinclude
17726
17727 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17728
17729         * buffer.C: add using std::stringstream.
17730
17731         * lyx_cb.C: readd using std::ios.
17732
17733         * buffer.C: add using std::map.
17734
17735         * BufferView_pimpl.C: add using std::vector.
17736
17737         * ShareContainer.h: add std:: to swap.
17738
17739         * buffer.h: add some typedefs
17740         * buffer.C (getLists): use them
17741         (getLists): renamed from getTocList.
17742         add a counter for the different float types and use it in the
17743         generated string.
17744         (getLists): use the same counter for the NEW_INSETS and the "non"
17745         NEW_INSETS
17746
17747         * lyx_cb.h: remove unused items, includes, using etc.
17748
17749         * ShareContainer.h: remove some commented code, add more comments
17750         and "documentation".
17751
17752 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17753
17754         * buffer.C (getTocList): make the list also when NEW_INSETS is
17755         defined.
17756
17757         * buffer.h: remove TocType
17758
17759         * buffer.C (getTocList): change to return a map<string,
17760         vector<TocItem> >, implement for dynamic number of list.
17761
17762         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17763         * text2.C (PasteSelection): adjust
17764         * CutAndPaste.C (pasteSelection): adjust
17765
17766         * FloatList.C (FloatList): update from the new_insets branch.
17767         * Floating.[Ch]: ditto
17768         * LaTeXFeatures.C: ditto
17769         * buffer.C: ditto
17770         * lyxlex_pimpl.C: ditto
17771
17772         * paragraph.C (Last): remove when NEW_INSETS is defined.
17773
17774         * other file: changes because of the above.
17775
17776 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17777
17778         * lyxparagraph.h: rename next to next_, previous to previous_,
17779         make them private for NEW_INSETS. Rename Next() to next(),
17780         Previous() to previous().
17781
17782         * other files: changes because of the above.
17783
17784 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17785
17786         * BufferView.h:
17787         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17788         problem.
17789
17790 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17791
17792         * main.C (main): pass lyx_localedir to gettext_init().
17793
17794         * gettext.h: remove locale_init and gettext_init macros
17795
17796         * gettext.C (locale_init): new function
17797         (gettext_init): new function
17798
17799         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17800         setlocale().
17801
17802 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17803
17804         * Moved credits to frontends:
17805         * credits.[Ch]: removed
17806         * credits_form.[Ch]: removed
17807         * lyx_gui_misc.C: remove credits stuff
17808         * Makefile.am:
17809
17810 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17811
17812         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17813
17814         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17815         unneeded destructor.
17816
17817         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17818         a standalone pointer again.
17819
17820         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17821
17822 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17823
17824         * Makefile.am:
17825         * filedlg.h:
17826         * filedlg.C:
17827         * LyXAction.C:
17828         * ToolbarDefaults.C:
17829         * bufferlist.C:
17830         * commandtags.h:
17831         * form1.C:
17832         * form1.h:
17833         * lyx_cb.C:
17834         * lyx_cb.h:
17835         * lyxfunc.h:
17836         * lyxfunc.C:
17837         * BufferView_pimpl.C: use new file dialog in GUII
17838
17839         * lyx_cb.h:
17840         * lyx_cb.C: remove LayoutsCB to Toolbar
17841
17842 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17843
17844         * ShareContainer.h (get): add std:: qualifier
17845
17846 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17847
17848         * ShareContainer.h: define a proper ShareContainer::value_type
17849         type (and use typename to please compaq cxx)
17850
17851 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17852
17853         * lyxparagraph.h: move serveral local vars to
17854         ParameterStruct/ParagraphParameters., use ShareContainer in
17855         FontTable., make vars in FontTable private and add getter and
17856         setter.
17857
17858         * paragraph.C: changes because of the above.
17859
17860         * lyxfont.h: remove copy constructor and copy assignment. (the
17861         default ones is ok), move number inside FontBits. move inlines to
17862         lyxfont.C
17863
17864         * lyxfont.C: add number to initializaton of statics, move several
17865         inlines here. constify several local vars. some whitespace
17866         cleanup. Dont hide outerscope variables.
17867
17868         * Spacing.h: add two new constructors to match the set methods.
17869
17870         * ShareContainer.h: new file, will perhaps be moved to support
17871
17872         * ParameterStruct.h: new file
17873
17874         * ParagraphParameters.h: new file
17875
17876         * ParagraphParameters.C: new file
17877
17878         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17879         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17880
17881         * BufferView_pimpl.C: ParagraphParameter changes.
17882         * buffer.C: Likewise.
17883         * bufferview_funcs.C: Likewise.
17884         * text.C: Likewise.
17885         * text2.C: Likewise.
17886
17887 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17888
17889         * lyxfind.C (LyXReplace): do not redefine default argument in
17890         implementation.
17891         (IsStringInText): ditto
17892         (SearchForward): ditto
17893         (SearchBackward): ditto
17894
17895 2001-03-06  Juergen Vigna  <jug@sad.it>
17896
17897         * lyxfind.C (IsStringInText): put parentes around expressions.
17898
17899 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17900
17901         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17902
17903 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17904
17905         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17906
17907         * stl_string_fwd.h: add comment
17908
17909         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17910
17911         * tabular.h:
17912         * tabular.C: remove unused DocBook methods
17913
17914         * intl.C:
17915         * language.C:
17916         * paragraph.C:
17917         * buffer.C:
17918         killed DO_USE_DEFAULT_LANGUAGE
17919
17920 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17921
17922         * lyx_gui.C: do not include language.h.
17923
17924         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17925         arguments in function implementation.
17926
17927 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17928
17929         * BufferView_pimpl.C: add <ctime>
17930
17931 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17932
17933         * BufferView_pimpl.C: add using std::find_if
17934
17935 2001-02-27  José Matos  <jamatos@fep.up.pt>
17936
17937         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17938         by OnlyPath.
17939
17940 2001-02-11  José Matos  <jamatos@fep.up.pt>
17941
17942         * buffer.C (makeDocBookFile): command styles now have a parameter as
17943         "title" by default.
17944
17945 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17946
17947         * layout_forms.[Ch]: removed
17948         * lyx_cb.[Ch]: out character
17949         * lyx_gui.C: out character
17950         * lyx_gui_misc.C: out character
17951         * bufferview_funcs.C: : out character,
17952         added toggleall as parameter in ToggleAndShow
17953
17954 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17955
17956         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17957
17958         * text2.C (SetCurrentFont): Disable number property at boundary.
17959
17960 2001-02-26  Juergen Vigna  <jug@sad.it>
17961
17962         * lyxfunc.C (getStatus): added a string argument override function so
17963         that this is correctly called from LyXFunc::Dispatch if it contains a
17964         do_not_use_argument which is used!
17965         (Dispatch): added check for "custom" export and call appropriate func.
17966
17967 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17968
17969         * lyxrc.C: Add language_command_local, language_use_babel and
17970         language_global_options.
17971
17972         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17973
17974         * buffer.C (makeLaTeXFile): Use language_use_babel and
17975         language_global_options.
17976
17977 2001-02-23  Juergen Vigna  <jug@sad.it>
17978
17979         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17980         which works with LyXText and putted it inside BufferView. Here now we
17981         only call for that part the BufferView::Dispatch() function.
17982
17983         * BufferView.C (Dispatch): added.
17984
17985         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17986         functions which needs to use a LyXText over from LyXFunc.
17987         (MenuInsertLyXFile): added
17988         (getInsetByCode): added
17989         (moveCursorUpdate): added
17990         (static TEXT): added
17991
17992 2001-02-22  Juergen Vigna  <jug@sad.it>
17993
17994         * BufferView_pimpl.C (update): call a status update to see if LyXText
17995         needs it.
17996
17997 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17998
17999         * vc-backend.C (revert): implement for CVS
18000         (getLog): implement for CVS
18001
18002 2001-02-20  Juergen Vigna  <jug@sad.it>
18003
18004         * text2.C (ClearSelection): added BufferView param for inset_owner call
18005
18006         * lyxfunc.C (TEXT): added this function and use it instead of
18007         directly owner->view()-text of getLyXText().
18008
18009 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18010
18011         * src/layout_forms.C: out preamble
18012         * src/layout_forms.h: out preamble
18013         * src/lyx_cb.C: out preamble
18014         * src/lyx_cb.h: out preamble
18015         * src/lyx_gui.C: out preamble
18016         * src/lyx_gui_misc.C: out preamble
18017         * src/lyxfunc.C: connect with guii preamble
18018
18019 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18020
18021         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18022
18023 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18024
18025         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18026         whether to run bibtex.
18027
18028 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18029
18030         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18031
18032 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18033
18034         * Makefile.am (lyx_SOURCES): removed bibforms.h
18035
18036         * vspace.h: doxygen
18037
18038         * text.C (GetVisibleRow): make several local vars const
18039
18040         * tabular.C: small cleanup.
18041
18042         * lyxserver.C (callback): use compare instead of strncmp
18043
18044         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18045         inlines to after class or to paragraph.C
18046
18047         * lyxfont.h: remove friend operator!=
18048
18049         * converter.h: move friend bool operator< to non friend and after
18050         class def.
18051
18052         * combox.h: small cleanup
18053
18054         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18055         to inlines after class def.
18056
18057         * buffer.C (pop_tag): use string operations instead of strcmp
18058
18059         * bmtable.c: doxygen, small cleanup
18060
18061         * LaTeX.h: remove friend operator==
18062
18063 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18064
18065         * screen.C:
18066         * lyxrc.[Ch]:
18067         * lyxfunc.C:
18068         * lyxfont.[Ch]:
18069         * lyx_cb.C:
18070         * intl.[Ch]:
18071         * commandtags.h:
18072         * buffer.C:
18073         * WorkArea.[Ch]:
18074         * LyXAction.C:
18075         * BufferView_pimpl.C:
18076         * BufferView.[Ch]: remove cruft
18077
18078 2001-02-14  Juergen Vigna  <jug@sad.it>
18079
18080         * lyxfunc.C: removed #if 0 unused code
18081
18082         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18083
18084         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18085
18086         * text2.C (SetSelection): added a BufferView * parameter
18087
18088 2001-02-13  Juergen Vigna  <jug@sad.it>
18089
18090         * lyxfunc.C (Dispatch): fixed protected blank problem.
18091         * BufferView2.C (protectedBlank): added LyxText * parameter.
18092
18093         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18094         (AppendColumn): same as above for column_info.
18095
18096         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18097         (moveCursorUpdate): use a LyXText param for support of InsetText.
18098
18099         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18100         (tripleClick): ditto
18101
18102         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18103
18104         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18105
18106         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18107
18108         * text2.C (SetSelection): set correct update status if inset_owner
18109         (ToggleFree): ditto
18110
18111 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18112
18113         * tabular.C: remove some commented code.
18114
18115 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18116
18117         * BufferView_pimpl.C: call hideSplash()
18118
18119         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18120
18121         * include_form.h:
18122         * bibforms.h: remove
18123
18124         * lyxfunc.C:
18125         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18126           add LFUN_CHILD_CREATE
18127
18128         * counters.h: fix tiny typo
18129
18130         * lyx_cb.C:
18131         * lyx.h:
18132         * lyx_gui.C:
18133         * lyx.C: move splash to frontends/xforms/
18134
18135         * lyx_gui_misc.C: move Include and Bibform to frontends
18136
18137         * lyxvc.h: clarify comment
18138
18139         * vspace.C: tiny housekeeping
18140
18141 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18142
18143         * text.C (PrepareToPrint): RTL Fix.
18144
18145         * paragraph.C (GetUChar): New method.
18146         (String):  Use GetUChar.
18147
18148         * buffer.C (asciiParagraph): Use GetUChar.
18149
18150 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18151
18152         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18153
18154 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18155
18156         * buffer.h:
18157         * buffer.C: rename to getLogName(), handle
18158           build log / latex log nicely
18159
18160 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18161
18162         * MenuBackend.C:
18163         * MenuBackend.h: remove support for reference menuitem type.
18164
18165 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18166
18167         * BufferView_pimpl.C: housekeeping
18168         * BufferView_pimpl.h:
18169         * LyXView.h:
18170         * Makefile.am:
18171         * Timeout.C:
18172         * Timeout.h:
18173         * minibuffer.h: move Timeout GUI-I
18174
18175 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18176
18177         * lyxrc.C (read): Update converters data-structures.
18178
18179 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18180
18181         * LaTeX.h (operator!=): add operator != for Aux_Info
18182
18183 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18184
18185         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18186
18187         * LaTeXLog.C: deleted, useful code moved to Buffer
18188
18189         * buffer.h:
18190         * buffer.C: new function getLatexLogName()
18191
18192         * lyx_gui_misc.C:
18193         * lyx_gui.C:
18194         * lyxvc.C:
18195         * lyxvc.h:
18196         * lyxfunc.C: use frontends for LaTeX and VC logs
18197
18198 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18199
18200         * LaTeX.h: yet another std:: that Allan forgot.
18201
18202         * Variables.C (set): renamed from isset(), because this clashes
18203         with some HP-UX macros (grr).
18204
18205 2001-02-06  Allan Rae  <rae@lyx.org>
18206
18207         * LaTeX.h: Another bug fix.  Missing std:: this time.
18208
18209 2001-02-04  Allan Rae  <rae@lyx.org>
18210
18211         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18212         floats problem. I've left it commented out because it's not quite
18213         correct.  It should also test that the current object is a table or
18214         figure inset.  But I haven't gotten around to figuring out how to do
18215         that.  I *think* it'll be something like: "table" == inset.type()
18216
18217         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18218         bool.
18219
18220 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18221
18222         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18223         all the citation/databases/styles in the auxilary file.
18224         (run): Rerun latex if there was a babel language error.
18225
18226 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18227
18228         * text.C (Backspace): Preserve the font when changing newline char
18229         with a space.
18230         (BreakParagraph): If the cursor is before a space, delete the space.
18231
18232         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18233
18234 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18235
18236         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18237         new argument (code).
18238         (ChangeCitationsIfUnique): New method.
18239
18240         * paragraph.C (GetPositionOfInset): Handle bibkey.
18241
18242 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18243
18244         * BufferView_pimpl.h: change type of Position::par_pos to
18245         LyXParagraph::size_type.
18246
18247 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18248
18249         * BufferView_pimpl.C (savePosition, restorePosition): Write
18250         messages to minibuffer.
18251
18252 2001-01-28  José Matos  <jamatos@fep.up.pt>
18253
18254         * buffer.C (makeDocBookFile): adds support for document language.
18255         A silly restriction on the name of LatexCommand types where removed.
18256         Added support for CDATA sections, allows to chars unescaped, used
18257         among others in code, to avoid escape < and >.
18258
18259 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18260
18261         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18262         saved positions instrad of a stack. Furthermore, a position is
18263         stored using paragraph id/paragraph position.
18264
18265         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18266         Remove LFUN_REF_BACK.
18267
18268 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18269
18270         * converter.C (dvipdfm_options): New method.
18271
18272 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18273
18274         * vspace.C (isValidLength): Fix for empty input string.
18275
18276 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18277
18278         * LyXAction.C (init): change description of LFUN_FIGURE to
18279         "Insert Graphics"
18280
18281 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18282
18283         * LaTeX.C: add using directive
18284
18285 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18286
18287         * MenuBackend.C (expand): Fix the sorting of the formats.
18288
18289 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18290
18291         * lyx_main.C: tiny error message fix
18292
18293 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18294
18295         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18296         calling fl_initialize(). This fixes the problem with ',' as
18297         decimal separator in text files.
18298
18299 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18300
18301         * trans.C (process): Fix the keymap bug.
18302
18303 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18304
18305         * LaTeX.C (scanAuxFiles): New method. Provides support for
18306         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18307         (scanLogFile) Scan for "run BibTeX" messages.
18308
18309         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18310         OT1 font encoding. Also, load the aecompl package if the ae
18311         package is loaded.
18312
18313         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18314
18315 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18316
18317         * texrow.C (increasePos): turn two error messages into debug
18318         messages.
18319
18320 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18321
18322         * LaTeX.C (scanAux): Handle the \@input macro.
18323         (runBibTeX): Use scanAux().
18324
18325         * language.C (latex_options_): New field.
18326
18327         * LaTeXFeatures.C (getMacros): Add language macros.
18328
18329         * buffer.C (makeLaTeXFile): Small fix.
18330
18331 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18332
18333         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18334
18335         * text2.C: add a using directive.
18336
18337 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18338
18339         * BufferView2.C:
18340         * lyx_gui_misc.h:
18341         * lyxfr1.C:
18342         * lyxfunc.C: kill LyXBell.
18343
18344 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18345
18346         * text.C (IsBoundary): Remove the error message
18347
18348         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18349
18350         * lyxrc.C (setDefaults): Correct initialization value for
18351         font_norm_type.
18352
18353 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18354
18355         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18356         gotoError().
18357
18358         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18359         and GotoNextNote().
18360
18361         * src/LyXAction.C: Added reference-next.
18362
18363         * text.C (InsertChar): Use contains instead of strchr.
18364
18365         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18366
18367 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18368
18369         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18370         alignment commands (when needed).
18371
18372         * text.C (InsertChar): Add ':' to number separator chars.