]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
6205cd8d9b9087c132766d9139fc6211901a4d64
[lyx.git] / src / ChangeLog
1 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
4         argument, use "newcommand".
5
6 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7
8         * cursor.C (setSelection): do not open collapsable insets;
9         the insets do by themselves now (autoopen).
10
11 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12
13         * buffer.C: format is up to 244.
14
15 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
16
17         * text.C (redoParagraph): fix calcultation of inset width wrt 
18         leftMargin (bug 1957).
19
20         * text3.C (dispatch): leave inset to the right when hitting ESC 
21         (bug 2034).
22
23 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
24
25         * text2.C: 
26         * text.C: 
27         * factory.C:
28         * messages.C: include <boost/current_function.hpp> 
29
30 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
31
32         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
33         when command is internal. (bug 1941)
34
35 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
36
37         * text2.C (cursorRight): do not honor boundary when at the end of
38         a paragraph. (bug 2010 again)
39
40 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
41
42         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
43
44 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
45
46         * rowpainter.C (paintText): fix RtL space width display bug (2029)
47
48 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
49
50         * text2.C (setCursor): remove the unused 'boundary' parameter for
51         the CursorSlice version; adapt the LCursor version.
52
53         * lyxrc.C (write): 
54         * paragraph_pimpl.C (markErased): 
55         * cursor.C (bruteFind2, bruteFond3): fix warnings.
56
57 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
58
59         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
60         as is already done for "chapter".
61
62 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
63
64         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
65         textclass; do not record undo if nothing is changed.
66
67 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
68
69         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
70
71 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
72
73         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
74
75 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
76
77         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
78         combox, it is necessary to search for the topmost paragraph in the
79         cursor stack (bug 1926)
80
81 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
82
83         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
84         end of paragraph. (bug 2010)
85
86 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
87
88         * text.C (leftMargin): check for inInset == 0
89
90 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
91
92         * text.C (leftMargin): test for insetbase's new neverIndent()
93         bool instead of listing each and every inset that does not
94         wish par indendation.
95
96 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
97
98         * buffer_funcs.C (setCounter): put the code to compute enum label
99         here (where it belongs).
100
101         * counters.C (enumLabel): move code to buffer_funcs.C.
102
103 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
104
105         * outputparams.[Ch]: store local_font instead of local_language
106         * paragraph.C (simpleTeXOnePar): adapt to the change above
107
108 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
109
110         * buffer_funcs.C:
111         * counters.[Ch]: clean up special code for Hebrew.
112
113 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
114
115         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
116         than 2.
117
118 2005-09-08  Angus Leeming  <leeming@lyx.org>
119
120         * ispell.C:
121         * lyxrc.C: correct grammar describing invocation of the
122         spellchecker.
123
124 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
125
126         * text.C (read): remove unused variable.
127         (readParToken): remove static Change variable (never good in
128         recursive settings...); add it as a parameter instead.
129
130         * paragraph_pimpl.C (acceptChange): make debug info conditional.
131
132         * metricsinfo.C (PainterInfo): add new member erased_.
133
134         * rowpainter.C (RowPainter): add erased_ member, initialized from
135         PainterInfo. 
136         (paintInset): pass erased_ to Inset::draw.
137
138         * lyxfunc.C (lookupChange): new function. Tells whether change 
139         tracking is disabled at a given postion.
140         (getStatus): disable some actions when in deleted text with change
141         tracking. 
142
143 2005-08-03  John Levon  <levon@movementarian.org>
144         
145         * tabular.C (appendColumn, setMultiColumn): adapt to change to
146         InsetText::clear().
147
148         * paragraph_pimpl.C (markErased): add bool argument and handle it.
149         Also make sure to mark insets recursively.
150         (rejectChange, erase): be recursive
151
152         * paragraph.C (markErased): add bool argument.
153 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
154
155         * lyxfind.C (findNextChange): tiny cleanup.
156
157         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
158         change tracking with the cursor in an inset; make sure the first
159         change is not skipped.
160
161 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
162
163         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
164         tabularStackDirty to work around bug 1919 (tabular needs
165         to know whether its own cell paste buffer or the one of 
166         texted is newer.
167         * CutAndPaste.C: mark tabular_stack_ clean after copy.
168
169 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
170
171         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
172
173 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
174
175         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
176         use old deleteion algorithm when changetracking is on.
177
178 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
179
180         * messages.C (get): add debug output.
181
182 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
183
184         * text.C (cursorX): fix bug 1965: cursor movement at
185         line end broken in RtL.
186         (drawSelection): fix bug 1970: drawing of single-line 
187         selection broken for RtL.
188
189 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
190
191         bug 465.
192
193         * dociterator.h (clear, push_back, pop_back): change from
194         protected to public.
195
196         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
197         and changed to just return the value of the item depth; take a
198         ParIterator as argument; take the itemdepth at outer nesting level
199         in account if necessary; cleanup and comment the code.
200         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
201         and changed to just return true if reset is needed; take a
202         ParIterator as argument; cleanup and comment the code.
203         (setCounter): adapt to above changes.
204
205 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
206
207         * text3.C (dispatch): make debug message optional
208
209 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
210
211         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
212         inset. (bug 1963)
213
214 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
215
216         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
217
218 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
219
220         * text.C (insertChar):
221         * text2.C (deleteEmptyParagraphMechanism): take care whether 
222         a blank has been deleted (in change tracking mode) (bug 1254).
223
224 2005-07-20  John Levon  <levon@movementarian.org>
225
226         * text2.C (insertStringAsLines): remove old dubious code,
227         fixing bug 1939.
228
229 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
230
231         * MenuBackend.C (expandToc): use Floating::listName() as title of
232         the floats submenus.
233
234 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
235
236         * toc.[Ch]: Do not use translatable strings (bug 1870).
237
238 2005-07-20  John Levon  <levon@movementarian.org>
239
240         * tabular.C: fix 1748 - setting multicolumn adds
241           left line to the first cell
242
243 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
244
245         bug 1920
246         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
247         pars in one go.
248
249 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
250
251         * messages.C: supress some lyxerr messages
252
253 2005-07-18  Juergen Vigna  <jug@lyx.org>
254
255         * text.C (drawSelection): honor boundary when asking for cursorX.
256
257 2005-07-17  José Matos  <jamatos@fc.up.pt>
258
259         * tabular.C (recalculateMulticolumns): fix handling of one column
260         tables.
261
262 2005-07-17  Juergen Vigna  <jug@lyx.org>
263
264         * text.C (Delete, backspace): fixed so that paragraph with the
265         same layout can be merged by Delete/Backspace.
266
267 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
268
269         * text.C (readParToken): fix spelling.
270
271 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
272
273         * text2.C: fix counter update for DEPM problem reported by
274         Georg Baum
275
276 2005-07-17  Juergen Vigna  <jug@lyx.org>
277
278         * BufferView_pimpl.C (setBuffer): save/restore the
279         cursor/selection when switching buffers
280
281         * buffer.h: 
282         * buffer.C (saveCursor): add saveDocumentIterators to save the
283         cursor when switching buffer.
284
285 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
286
287         * debug.C: fix typo
288         * buffer.C: clarify message
289         
290 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
291
292         * dociterator.C (DocIterator): fix initialization order
293
294 2005-07-17  Juergen Vigna  <jug@lyx.org>
295
296         * text2.C (cursorHome): 
297         * text.C (drawSelection, cursorX): 
298         * dociterator.C (textRow): add boundary to getRow() call
299
300         * paragraph.C (getRow): implementation of below
301
302         * paragraph.h: add parameter boundary for getRow() function
303
304 2005-07-17  José Matos  <jamatos@fc.up.pt>
305
306         * buffer.C:
307         * bufferparams.[Ch]:
308         * tex-strings.[Ch]: new file format, remove support for a4.sty,
309         a4wide.sty and a4widemargins.
310
311 2005-07-17  Juergen Vigna  <jug@lyx.org>
312
313         * text2.C (cursorLeft): fix one of error
314
315 2005-07-17  Juergen Vigna  <jug@lyx.org>
316
317         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
318                    cursorEnd):
319         more fixes for boundary handling
320
321         * text3.C (dispatch): don't reset cursor if boundary has changed
322         on cursor movement.
323
324 2005-07-16  Juergen Vigna  <jug@lyx.org>
325
326         * text2.C (getColumnNearX): hopefully got it right now,
327         check if we are on column 0 for special case.
328
329 2005-07-16  Juergen Vigna  <jug@lyx.org>
330
331         * text2.C (getColumnNearX): handle special case Newline Inset
332
333         * text.C (singleWidth): Just remove bogus check
334
335 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
336
337         * funcrequest.C (split): avoid reading uninitialized char c
338
339 2005-07-16  José Matos  <jamatos@fc.up.pt>
340
341         * buffer.C:
342         * converter.C:
343         * lyxrc.C:
344         * paper.h:
345         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
346         single papersize variable.
347
348 2005-07-16  Juergen Vigna  <jug@lyx.org>
349
350         * text3.C (dispatch): honor boundary when checking if a cursor
351         movement has been done
352
353         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
354         (setCursor, setCursorIntern): fix cursor movement with boundary
355
356 2005-07-16  Juergen Vigna  <jug@lyx.org>
357
358         * text.C (currentState): output the actual Boundary
359
360 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
361
362         * factory.C (createInset): fix bad logic for tabular creation
363
364 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
365
366         * lyx_main.C (init): change some reLyX reference to tex2lyx
367
368 2005-07-16  Juergen Vigna  <jug@lyx.org>
369
370         * dociterator.C (DocIterator): initialize boundary
371
372 2005-07-16  Juergen Vigna  <jug@lyx.org>
373
374         * text2.C (getColumnNearX): Consider rows without trailing blank.  
375
376 2005-07-16  André Pönitz  <poenitz@gmx.net>
377
378         * lyxfont.h: Change order of declarations to give the compiler
379         a better chance to inline things
380
381         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
382         questions on unsaved docs for better scritability
383
384 2005-07-16  André Pönitz  <poenitz@gmx.net>
385
386         * paragraph.h (getChar): remove asserts as the same kind of security
387         can be achieved by using a suitable standard library implementation
388         and the function was in the critical path (25.9% in profiler)
389
390 2005-07-16  Juergen Vigna  <jug@lyx.org>
391
392         * cursor.C (bruteFind2):
393         * bufferview_funcs.C (coordOffset): 
394         * text.C (cursorX,cursorY): Handle cursor position after last char
395         in row before a inset which uses a whole row.
396
397 2005-07-15  José Matos <jamatos@lyx.org>
398
399         * output_plaintext.[Ch] (writeFileAscii): control reference title
400         printing.
401         (asciiParagraph): noparbreak was already deal and was incorrectly
402         used.
403
404 2005-07-15  Juergen Vigna <jug@lyx.org>
405
406         * lyxfunc.C (dispatch): save and restore the cursor after a
407         textclass switch.
408
409 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
410
411         * text.C (backspace): bug 806 for empty keepempty paragraphs we
412         change the layout to default before letting DEPM do its thing.
413
414         * paragraph_funcs.C (breakParagraph): dont reset the layout on
415         keepEmpty paragraphs
416
417         * text.C (setCursorFromCoordinates): add a debug statement
418
419         * text2.C (getColumnNearX): bug 1825 make sure that we don't
420         return a pos that is not on the row
421
422         * output_latex.C (TeXDeeper): get rid of potential dereferencing
423         of past the end iterator
424
425 2005-07-14  André Pönitz  <poenitz@gmx.net>
426
427         * undo.C (recordUndoFullBuffer): implement undo for
428         textclass switches
429
430 2005-07-14  André Pönitz  <poenitz@gmx.net>
431
432         * cursor.C (setSelection): open insets when selection is set there
433         to avoid crashs with cold coord cache
434
435 2005-07-14  André Pönitz  <poenitz@gmx.net>
436
437         * trans_mgr.C (insert): move cursor to the right after inserting
438         a char.
439
440 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
441
442         * BufferView_pimpl.C (update): dampen some of the debug blabbering
443         * factory.C (readInset): ditto
444         * text.C, text2.C: ditto
445
446 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
447
448         * buffer.C: format incremented to 242. There is no file format per
449         se, but the "frenchb" language has been removed from lib/language
450         and has to be translated to "french" by lyx2lyx.
451
452 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
453
454         * cursor_slice.h, dociterator.h: add some documentation
455         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
456
457 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
458
459         * text.C (leftMargin): do not add identation to display() style
460         insets, because they are always centered (bug 1293).
461
462 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
463
464         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
465         formatted_time methods in support/lyxtime.
466
467 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
468
469         * toc.[Ch]: new method getGuiName, which is used by the frontends 
470         to set the toc combo (fixes bug 1870). Make TOC string translatable.
471
472 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
473
474         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
475         StableDocIterator const &)
476         * undo.C (recordUndo): use the above instead of cell.size() comparison
477         (fixes bug 1808; instructed by Andr�.
478
479 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
480
481         * cursor_slice.h: 
482         * dociterator.h: Fix the assert when copying rows/cols in math
483
484 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
485
486         * BufferView_pimpl.C:
487         * LyXAction.C:
488         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
489
490         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
491         (findInset): new functions, refactored from goto Inset that return 
492         the position of a certain inset without setting the buffer's cursor
493         (by Jean-Marc); 
494         (gotoInset): rewrite to call findInset and then set the cursor
495         (by Jean-Marc).
496
497 2005-06-16  Angus Leeming  <leeming@lyx.org>
498
499         * lyxrc.C (output, read): wrap all input and output of paths with
500         calls to os::internal_path and os::external_path, respectively.
501         (output): wrap bind_file inside quotes.
502
503         * format.C (view): enable the viewer to use the '$$s' placeholder.
504
505 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
506
507         * LColor.[Ch] (getFromLaTeXName): new
508
509 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
510
511         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
512
513 2005-06-14  Angus Leeming  <leeming@lyx.org>
514
515         * lyx_main.C (init): ensure that the LyX binary dir is the first
516         element in the PATH on non-POSIX builds.
517
518 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
519
520         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
521
522 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
523
524         * rowpainter.C (paintInset, paintHebrewComposeChar)
525         (paintArabicComposeChar, paintChars): add a LyXFont argument.
526         (paintChars): use getFontSpan to reduce calls to getFont to a
527         minimum; use Paragraph::lookupChange instead of isXXXText.
528         (paintForeignMark): rename LyXFont argument.
529         (paintFromPos): pass a LyXFont object to the various paintXXX
530         methods.
531
532         * FontIterator.C (FontIterator, operator++): use
533         Paragraph::getFontSpan
534
535         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
536         version that returns the font span as a pair.
537
538 2005-06-09  Angus Leeming  <leeming@lyx.org>
539
540         * converter.C (convert): Don't forget "outfile = real_outfile" as
541         the final step in a conversion where the input and output file names
542         are the same. Otherwise, future conversion steps won't work...
543
544 2005-06-09  Angus Leeming  <leeming@lyx.org>
545
546         * lyxsocket.C: remove stub code as it isn't needed by
547         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
548
549 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
550
551         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
552         effectively disabled -x
553
554 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
555
556         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
557         when it actually makes sense.
558
559 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
560
561         * BufferView_pimpl.C: revert to showCursor in connection with
562         Lars's front-end stack
563
564 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
565
566         * text.C (redoParagraph): move cursor right after a bibitem
567         has been inserted.
568
569         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
570
571 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
572
573         * buffer_funcs.C (bufferErrors): fix computation of the end of an
574         error range.
575
576 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
577
578         * BufferView.[Ch] (update):
579         * BufferView_pimpl.[Ch] (update, metrics):
580         * dimension.h (operator==):
581         * lyxfunc.C (dispatch):
582         * metricsinfo.h (ViewMetricsInfo):
583         * rowpainter.C (paintText):
584         * lyxtext.h:
585         * text.C (redoParagraph):
586         * text3.C (dispatch): Make LyX only repaint current paragraph in
587         case of character insert --> speedup. Also fix cursor draw
588         artifacts
589
590 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
591
592         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
593         avoid a crash (bug 1891)
594
595 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
596
597         Fix bug 1892:
598
599         * text2.C (getStringToIndex): constify cur argument.
600
601         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
602         argument has been given
603         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
604         try to invoke LFUN_INSET_APPLY).
605
606         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
607         if no inset was created by doInsertInset
608         (doInsertInset): return true if an inset has been inserted.
609
610 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
611
612         * vspace.C (asGUIName): new method. A version of the space
613         suitable for showing on screen.
614
615 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
616
617         * MenuBackend.C:
618         * lyxrc.C: rename "ASCII" to "Plain Text"
619
620 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
621
622         * buffer_funcs.C (expandLabel): take a Buffer as argument;
623         translate the labelstring.
624         (setCounter): translate labelstring as needed.
625
626         * output_docbook.C (makeCommand): fix expandLabel invokation
627
628 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
629
630         * BufferView.C: fix dialog title
631
632 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
633
634         * lyx_main.C (priv_exec): fix logic error with help from Angus
635         * lyx_main.C (parse_execute): set is_gui = false and remove now
636         obsolete comment about a segfault
637
638 2005-05-18  Angus Leeming  <leeming@lyx.org>
639
640         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
641
642 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
643
644         * tabular.[hC]: added setCellInset to fix tabular paste.
645
646 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
647
648         * buffer.C (save): check if destination is writable before trying
649         to copy a file
650
651 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
652
653         * BufferView_pimpl.C (update): fix processEvents -caused update
654         recursion bug
655
656 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
657
658         * buffer_funcs.C (setCounter): fix test for numbering of
659         environments.
660
661         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
662         depth correctly; use optional argument when it exists
663
664         * lyxtextclass.C: remove unused MaxCounterTags enum
665         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
666         (max_toclevel, min_toclevel): new methods.
667
668         * MenuBackend.C (expandToc2): fix case where depth is smaller than
669         the smallest depth in toc.
670
671         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
672         layouts that should not appear in a table of contents.
673
674 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
675
676         * cursor.h (undispatched, noUpdate): add comments from Andr�
677 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
678
679         * lfuns.h:
680         * LyXAction.C:
681         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
682
683 2005-05-07  André Pönitz  <poenitz@gmx.net>
684
685         * cursor.[Ch] (leaveInset): new function
686
687 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
688
689         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
690
691 2005-05-04  Angus Leeming  <leeming@lyx.org>
692
693         * lyxfunc.C (getStatus): disable the spell checker dialog if
694         none of USE_[AIP]SPELL are defined.
695
696 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
697
698         * tabular.C (setWidthOfCell): remove obsolete comment
699
700 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
701
702         * paragraph.C (bibitem):
703         * buffer_funcs.C (setCounter):
704         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
705
706 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
707
708         * text3.C (getStatus): immediately return after setOnOff
709
710         * rowpainter.C: fix drawing of appendix start
711
712 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
713
714         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
715         SwitchBetweenClasses and remove the unused return value.
716         Handle character styles, too
717
718 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
719
720         * factory.C (createInset): handle undefined character styles
721
722 2005-05-02  Angus Leeming  <leeming@lyx.org>
723
724         * buffer.C: protect the #include of utime.h with a preprocessor
725         guard.
726
727 2005-05-02  Angus Leeming  <leeming@lyx.org>
728
729         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
730         function so that auto-saving works, albeit in a blocking manner.
731
732         * Makefile.am: make compilation of the client sub directory, of
733         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
734         on conditionals set at configure time.
735
736         * SpellBase.[Ch]: no longer an abstract base class. Instead,
737         it can be compiled in its own right but has no-op functionality.
738
739         * aspell.C, pspell.C: remove preprocessor guards. The files should
740         be compiled only if the necessary functionality exists.
741
742         * lyxserver.C, lyxsocket.C: disable on Windows.
743
744 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
745
746         * text.C (leftMargin): Fix the parindent use bug (1764)
747         by dirty trick
748
749 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
750
751         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
752         argument.
753
754 2005-04-25  Angus Leeming  <leeming@lyx.org>
755
756         * Bidi.[Ch]:
757         * coordcache.[Ch]:
758         * ispell.C:
759         * lyxserver.C:
760         * mover.C:
761         * pch.h:
762         include <config.h> in .C files, not .h ones.
763         add licence blurb.
764         protect headers inside preprocessor guards.
765
766 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
767
768         * FuncStatus.h (StatusCodes): document
769
770 2005-04-21  André Pönitz  <poenitz@gmx.net>
771
772         * FuncStatus.h (enabled, onoff): document
773
774 2005-04-19  Angus Leeming  <leeming@lyx.org>
775
776         * BufferView_pimpl.C (cursorToggle): no longer test whether
777         any child processes have been reaped before calling
778         handleCompletedProcesses().
779
780 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
781
782         * text3.C (dispatch): fix, finally fix, the language problem in
783         new lyxtexts, without disabling on-the-fly font changes (Helge's
784         bug report)
785
786 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
787
788         * text3.C (dispatch): set cursor on double/triple click events
789         (bug 1811)
790
791 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
792
793         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
794         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
795
796         * rowpainter.C (paintFirst): simplify the code a little bit. In
797         particular, remove the test for secnumdepth.
798         * text.C (setHeightOfRow): only allocate space for chapter number
799         when updateCounters provided an actual label, instead of looking
800         at secnumdepth directly.
801
802         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
803
804         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
805         paragraphs when secnumdepth is large enough or, for environments,
806         when they are not the first in a sequence.
807
808 2005-04-17  Angus Leeming  <leeming@lyx.org>
809
810         * buffer.C (makeLaTeXFile): replace code to manipulate a path
811         containing space and '~' characters with a call to latex_path().
812
813 2005-04-17  Angus Leeming  <leeming@lyx.org>
814
815         * converter.C (convert): protect all args of convertDefault.sh
816         script with quotes.
817
818 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
819
820         * text3.C (dispatch): change the layout to "Caption" after inserting
821         a float.
822
823 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
824
825         * text3.C (dispatch): fix language problem in newly created
826         textinsets (and main text) in non-english docs
827
828 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
829
830         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
831         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
832         * text3.C (getStatus): disable LFUN_INSET_MODIFY
833
834 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
835
836         * lyxtext.h:
837         * text.C (metrics):
838         * text2.C (getFont):
839         * rowpainter.C (getFont): Fix metrics bug introduced by inset
840         fonts fix
841
842 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
843
844         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
845         output of \item arguments without trailing text.
846
847 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
848
849         * FontIterator.C (operator*): avoid a copy of the font.
850
851 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
852
853         * rowpainter.C (getFont): fix language bug from previous fix
854
855 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
856
857         * rowpainter.C (RowPainter, getFont): fix font inside inset
858         (bugs 1766, 1809)
859
860 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
861
862         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
863         preventing inserted font, deco, delim insets jumping to start of
864         surrounding inset.
865
866 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
867
868         * lyxfunc.C (dispatch): translate message before sending it to the
869         minibuffer.
870
871 2005-03-29  Angus Leeming  <leeming@lyx.org>
872
873         * lyx_main.C (priv_exec): call os::internal_path on each file passed
874         to LyX on the command line.
875
876 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
877
878         * vc-backend.C: use QuoteName to protect file names wherever
879         necessary.
880
881 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
882
883         * buffer.[Ch]:
884         * BranchList.h: fix bugs 1844,1845: document settings don't
885         stick
886
887 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
888
889         * lyxrc.C (setDefaults, read, output, getDescription): add support
890         for tex_allows_spaces.
891
892         * exporter.C (Export): allows files in directory containing spaces
893         if tex_allows_spaces is true.
894
895         * buffer.C (makeLaTeXFile): if the document path contains spaces,
896         output it in double quotes.
897
898 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
899
900         * rowpainter.C: use default text height for drawing change tracker
901         strikeout lines.
902
903 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
904
905         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
906
907 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
908
909         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
910         directory is missing.
911
912 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
913
914         * text2.C: fixed the fix, extended to other case.
915
916 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
917
918         * text2.C: fix for cursor up/down stuck in math [bug 1792]
919
920 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
921
922         * text2.C (cursorUp): get rid of a crash
923         * text.C (x2pos): add an assert
924
925 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
926
927         * lyxfunc.C (getStatus): fix warning when assertions are disabled
928
929         * text3.C:
930         * lyxfunc.C:
931         * dociterator.C: include <boost/current_function.hpp>, which is
932         needed when assertions are disabled.
933
934 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
935
936         * text2.C: fix for stuck cursor when traversing two
937         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
938
939 2005-02-25  Andreas Vox  <avox@arcor.de>
940
941         * output_docbook.C (makeParagraph): suppress trailing newline
942         after a run of paragraphs
943
944 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
945
946         * paragraph.C: fix for confused change tracker when pasting
947         text that begins with a lineseparator. [bug 1827]
948         (setChange(0, Change::INSERTED);)
949
950         * paragraph_funcs.C: fix for lost changes on triple-paste
951         in change tracking mode [bug 1827] (par.setChange()).
952
953 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
954
955         * text2.C (updateCounters, setCounter, expandLabel): move to
956         buffer_funcs.
957
958         * buffer_funcs.C (updateCounters): turn into a free standing
959         function and add a buffer parameter. Remove dead code for tracking
960         labelstring change.
961         (setCounter): change into a free-standing function which gets a
962         dociterator as argument. Use this iterator to fix captions in a
963         simple way. When no float is found above the caption, use the
964         labelstring of the caption layout as default.
965
966         * text.C (breakParagraph, backspace):
967         * text2.C (init, setLayout, changeDepth):
968         * text3.C (dispatch):
969         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
970         updateCounters.
971
972         * dociterator.C (forwardPar): make it much faster by calling
973         forwardPos() only when really necessary.
974
975         * output_docbook.C (makeCommand): adapt to expandLabel move.
976
977         * cursor.C: remove unused variable
978
979 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
980
981         * paragraph_funcs.C: fix crash when pasting insets in change
982         tracking mode [bug 1277] (honour change type in moveItem).
983
984 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
985
986         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
987
988 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
989
990         * BufferView.C (setCursor): change to use a DocIterator.
991         (gotoLabel): use BufferView::setCursor (other part of bug 781).
992         (putSelectionAt): adapt to BufferView::setCursor change.
993
994         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
995         moved here from LyXText and rewritten to use proper cursor
996         methods. Fixes bug 1787, 616 and 835.
997
998         * BufferView_pimpl.C (restorePosition): set the cursor correctly
999         when inside an inset (part of bug 781).
1000         (dispatch): adapt to change of BufferView::setCursor.
1001         (getStatus, dispatch): handle LFUN_GOTOERROR,
1002         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1003
1004         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1005         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1006         * text3.C (gotoNextInset, gotoInset): removed.
1007
1008 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1009
1010         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1011
1012 2005-02-15  Angus Leeming  <leeming@lyx.org>
1013
1014         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1015         can be used meaningfully in a comparison.
1016
1017 2005-02-13  André Pönitz  <poenitz@gmx.net>
1018
1019         * bufferview_funcs.C (coordOffset): improve cursor drawing
1020
1021 2005-02-13  André Pönitz  <poenitz@gmx.net>
1022
1023         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1024         * Cursor.C (dispatch): use fixIfBroken
1025         * lyxfunc.C (getStatus): use fixIfBroken
1026
1027 2005-02-15  Angus Leeming  <leeming@lyx.org>
1028
1029         * lyx_main.C (error_handler):
1030         * lyxfunc.C:
1031         * lyxrc.C (setDefaults):
1032         s/GetEnv/getEnv/.
1033         #include "environment.h".
1034
1035         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1036
1037 2005-02-15  Angus Leeming  <leeming@lyx.org>
1038
1039         * lyxserver.C (startPipe): squash MSVC warning "local variable
1040         'fd' used without having been initialized".
1041
1042 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1043
1044         * BufferView_pimpl.C: revert accidental commit.
1045
1046 2005-02-14  André Pönitz  <poenitz@gmx.net>
1047
1048         * dociterator.[Ch]: new member forwardPosNoDescent(),
1049         which doesn't enter nested insets.
1050         * text2.C (setFont): use forwardPosNoDescent() instead
1051         of ForwardPos() (fixes crash on font change).
1052
1053 2005-02-13  Angus Leeming  <leeming@lyx.org>
1054
1055         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1056         only if lyxrc.path_prefix is not empty.
1057
1058 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1059
1060         * bufferparams.C (readGraphicsDriver): prevent crash
1061
1062 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1063
1064         * text2.C (setCounter): check for inInset() == 0
1065
1066 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1067
1068         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1069         but use update() to get correct screen display; use convert
1070         instead of istringstream.
1071         (getStatus): handle LFUN_GOTO_PARAGRAPH
1072
1073         * lyxfunc.C (dispatch, getStatus): do not handle
1074         LFUN_GOTO_PARAGRAPH here.
1075
1076 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1077
1078         * text3.C (dispatch): size() -> depth()
1079
1080         * text2.C: remove some debug output
1081
1082         * paragraph.C: ws changes only
1083
1084         * lyxfunc.C (getStatus): size() -> depth()
1085
1086         * dociterator.h (clear, push_back, pop_back, internalData,
1087         operator[], resize, empty): new functions
1088         Make StableDocIterator and operator== be friends. Don't inherit
1089         from std::vector use a privat class variable slices_ instead.
1090         Modify to fit.
1091
1092         * dociterator.C: update because of not inheriting from std::vector
1093         anymore. Call explictly to slices_ instead. Use depth() instead of
1094         size() and top() instead of back()
1095
1096         * cursor.C: chagne size() -> depth and back() -> top(). Also
1097         remove some direct operator[](i) calls in favour of foo[i]
1098         (getFont): remove some dead code
1099
1100         * bufferview_funcs.C (coordOffset): size() -> depth()
1101
1102         * buffer.C: ws changes only
1103
1104         * CutAndPaste.C (eraseSelection): back() -> top()
1105
1106         * BufferView_pimpl.C (selectionRequested): back() -> top()
1107
1108         * BufferView.C (setCursor): size() -> depth()
1109
1110 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1111
1112         * text3.C (cursorPrevious): return true if depm changed something
1113         (cursorNext): ditto
1114         (dispatch): rename sl to oldTopSlice, remove moving use the new
1115         NoUpdate func attrib instead. Make sure that needsUpdate is set
1116         for function that have NoUpdate, but where depm might have changed
1117         the buffer anyway.
1118
1119         * text2.C (cursorLeft): make us return true if depm changed
1120         something
1121         (cursorRight): ditto
1122         (cursorUpParagraph): ditto
1123         (curosrDownParagraph): ditto
1124         (cursorUp, cursorDown): ditto, make sure to read comments in code
1125         (deleteEmptyParagraphMechanism): remove an assert, also return
1126         true if just a single char was deleted.
1127
1128         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1129         cursor that we modify, to avoid modifying an active cursor before
1130         we call setCursor. This allows depm to run. Also return true if
1131         depm deleted something.
1132
1133         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1134         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1135         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1136         something was changed in the buffer because of them (ie. depm run)
1137
1138         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1139         debug messages. Make update by default be false. Make sure that
1140         the result of update is retained throught several calls down to
1141         dispatch.
1142
1143         * LyXAction.h: add a new func_attrib: NoUpdate
1144
1145         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1146         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1147         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1148         and LFUN_WORDLEFT
1149         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1150
1151 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1152
1153         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1154         bv_->owner(), bv_->buffer() by direct references to the private
1155         members.
1156         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1157         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1158         (fitCursor): center() is in BufferView::Pimpl.
1159         (getStatus, trackChanges, dispatch): no need for a temporary buf
1160         variable
1161         (fitCursor, workAreaDispatch): use workarea().workheight()
1162
1163 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1164
1165         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1166
1167 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1168
1169         * buffer.C: format up to 241.
1170         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1171         break if pasting into ERT
1172         * lyxfunc.C (getStatus): suppress mathpanel and
1173         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1174
1175 2005-02-01  Angus Leeming  <leeming@lyx.org>
1176
1177         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1178
1179 2005-02-01  Angus Leeming  <leeming@lyx.org>
1180
1181         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1182         calling fs::is_directory().
1183
1184 2005-01-31  Angus Leeming  <leeming@lyx.org>
1185
1186         * lyx_main.C (priv_exec): specify explicitly the relative location
1187         of the top level build directory when run in-place.
1188
1189 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1190
1191         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1192         LyXText containing the cursor, not the top-level one.
1193
1194         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1195         true.
1196         (insertStringAsLines): rename par to pit; use temporary variable
1197         par to hold a Paragraph; do not store par.layout() in a variable,
1198         since the pointer may die when breaking paragraphs; pass pars to
1199         breakParagraph() instead of Buffer::paragraphs().
1200
1201 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1202
1203         * lyxlex_pimpl.h: #include <fstream>.
1204
1205         * BufferView.[Ch] (getLyXText): add a const version.
1206
1207         * BufferView_pimpl.C: add debug aids.
1208
1209         * RowList_fwd.h:
1210         * buffer.h:
1211         * lyxrow.h:
1212         * paragraph_funcs.h: add commentary explaining what the class does.
1213
1214
1215         * coordcache.[Ch]: add lots of commentary.
1216         (startUpdating, doneUpdating): debug aids.
1217         (arrays, insets, parPos, getParPos): accessors to private data.
1218
1219         * cursor_slice.[Ch] (text): add a const version.
1220         * dociterator.[Ch] (text, innerText): add const versions.
1221
1222         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1223         bool.
1224
1225         * paragraph.C (getRow, pos2ros): add asserts.
1226
1227         * paragraph.h: add commentary. Lots of.
1228
1229         * paragraph.[Ch] (metrucs, draw): removed.
1230
1231         * cursor.C:
1232         * rowpainter.[Ch]: const-correct changes.
1233
1234         * text.C: various obvious clean-ups. Removal of ancient cruft.
1235         Bug fixes, even.
1236
1237 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1238
1239         * vc-backend.C (find_file): rewrite to use boost.filesystem
1240         (scanMaster): ditto
1241
1242         * main.C (main): set default name check for boost.filesystem to
1243         no check
1244
1245         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1246         (open): ditto
1247         (doImport): ditto
1248         (actOnUpdatedPrefs): ditto
1249
1250         * lyx_main.C (init): rewrite to use boost.filesystem
1251         (queryUserLyXDir): ditto
1252
1253         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1254         (getContentsOfAsciiFile): ditto
1255
1256         * lastfiles.C (readFile): rewrite to use boost.filesystem
1257
1258         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1259
1260         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1261         (loadLyXFile): ditto
1262
1263         * buffer.C (Buffer): adjust for destroydir
1264         (getLogName): rewrite to use boost.filesystem
1265         (setFileName): ditto
1266         (save): use fs::copy_file (from fs_extras)
1267
1268         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1269
1270         * LaTeX.C (run): rewrite to use boost.filesystem
1271         (scanAuxFiles): ditto
1272         (handleFoundFile): ditto
1273
1274 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1275
1276         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1277
1278         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1279
1280 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1281
1282         * lyxlayout.[Ch]: change some vars from float to double
1283
1284         * buffer.C (readFile): make a local var const
1285
1286         * Several files: use convert<> instead of atoi,strToXXX and friends
1287
1288 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1289
1290         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1291         holds the contents of packages.lst. New functions getAvailable
1292         and isAvailable to parse and check that list, resp.
1293
1294         * LyXAction.C:
1295         * lfuns.h:
1296         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1297
1298         * bufferparams.[Ch]: new param output_changes.
1299
1300         * Buffer.C: increase file format to 240.
1301         Use output_changes and isVailable.
1302
1303         * changes.[Ch]:
1304         * paragraph.C:
1305         * paragraph_pimpl.C: Use output_changes and isVailable.
1306
1307 2005-01-23  Angus Leeming  <leeming@lyx.org>
1308
1309         * output_latex.C: #include "insetbibitem.h", rather than
1310         forward declare function bibitemWidest.
1311
1312 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1313
1314         * lyx_main.C (init): make it compile on the Mac.
1315
1316 2005-01-20  Angus Leeming  <leeming@lyx.org>
1317
1318         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1319         (setLyXMisc): (char string literal) != (char string literal) is
1320         performing a comparison on the addresses. Convert one operand
1321         explicitly to string to guarantee expected behaviour.
1322         From MSVC warning.
1323
1324 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1325
1326         * buffer.C:
1327         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1328
1329         * output_plaintext.C: remove unneeded #include gzstream.h.
1330
1331 2005-01-20  Angus Leeming  <leeming@lyx.org>
1332
1333         * SpellBase.h: rename some of the elements of the Result enum.
1334
1335         * aspell_local.h:
1336         * ispell.h:
1337         * pspell.h:
1338         * aspell.C (check):
1339         * ispell.C (check):
1340         * pspell.C (check): ditto
1341
1342 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1343
1344         * buffer.C: add #include <fstream>.
1345
1346         * lyx_main.C (init): Compile fix.
1347
1348         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1349
1350 2005-01-20  Angus Leeming  <leeming@lyx.org>
1351
1352         * mover.h: change commentary to reflect the changed meaning of
1353         the $$s placeholder.
1354
1355 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1356
1357         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1358
1359         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1360
1361 2005-01-20  Angus Leeming  <leeming@lyx.org>
1362
1363         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1364         printing diagnostic data by not dereferecing an iterator past the
1365         end.
1366
1367 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1368
1369         * buffer.C (readHeader): use "&&" rather than "and".
1370
1371         * lyxserver.h (inPipeName, outPipeName): make these const.
1372
1373 2005-01-19  Angus Leeming  <leeming@lyx.org>
1374
1375         * lyx_main.C (error_handler, init): protect SIGHUP with
1376         #ifdef SIGHUP guards.
1377
1378 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1379
1380         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1381
1382 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1383
1384         * text.C (setHeightOfRow): add a margin at the top and bottom of
1385         the document (bug 1761)
1386
1387 2005-01-17  Angus Leeming  <leeming@lyx.org>
1388
1389         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1390         with "python ". Workaround for a brain-dead Windows.
1391
1392 2005-01-16  Angus Leeming  <leeming@lyx.org>
1393
1394         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1395         for MacOSX and Windows to use prependEnvPath.
1396         Strip out the hard-coded block to add elements to the PATH for
1397         MacOSX and replace it with a call to prependEnvPath using the
1398         contents of LyXRC::path_prefix.
1399         (queryUserLyXDir): strip out the code to run reconfigure, instead
1400         returning a boolean indicating the necessity to do so.
1401         (reconfigureUserLyXDir): contains the code to reconfigure the
1402         user support directory. Is now called after the various LyXRC data
1403         files have been read.
1404
1405         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1406
1407 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1408
1409         * converter.[Ch] (convert): take a new parameter try_default. Use
1410         a default converter (imagemagick) if try_default is true.
1411
1412 2005-01-13  Angus Leeming  <leeming@lyx.org>
1413
1414         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1415         os::cygwin_path_fix.
1416         (write): output LyXRC::cygwin_path_fix as necessary.
1417
1418 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1419
1420         * lyxrc.h:
1421         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1422
1423 2005-01-12  Angus Leeming  <leeming@lyx.org>
1424
1425         * lyx_main.C (init): set the PATH variable to include the
1426         directory containing the LyX binary when running on Mac or Windows.
1427
1428 2005-01-12  Angus Leeming  <leeming@lyx.org>
1429
1430         * lyx_main.C (init): remove cruft that purports to set the locale
1431         dir. It doesn't and is not needed anyway.
1432
1433 2005-01-10  Angus Leeming  <leeming@lyx.org>
1434
1435         * Makefile.am: remove the lyx_main.C special casing.
1436
1437         * BufferView_pimpl.C:
1438         * bufferlist.C:
1439         * exporter.C:
1440         * lyx_cb.C:
1441         * lyx_main.C:
1442         * lyxfunc.C:
1443         * messages.C: use support/package.h to provide the paths to the
1444         various directories used by LyX.
1445
1446 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1447
1448         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1449         layout if pasting into an empty paragraph)
1450
1451 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1452
1453         * tex-accent.C: add <string>
1454
1455 2005-01-06  José Matos  <jamatos@lyx.org>
1456
1457         * ParagraphParameters.C (write): put every parameter in its own line.
1458         * paragraph.C (write): reduce number of consecutive empty lines exported.
1459         * buffer.C (LYX_FORMAT): increase file format to 239.
1460
1461 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1462
1463         * everywhere: change support/tostr.h -> support/convert.h
1464
1465         * tabular.C: make all write_attributes templates, tostr -> convert
1466
1467         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1468         (emptyTag): and -> &&, and fix type for ret from getChar
1469         (getFirstWord): fix type for ret from getChar
1470         (onlyText): and -> &&
1471         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1472         getChar
1473
1474         * toc.C (goTo, action):
1475         * text3.C (dispatch):
1476         * text.C (currentState):
1477         * tex-accent.C (DoAccent):
1478         * sgml.C:
1479         * lyxrc.C:
1480         * lyxfunc.C (menuNew):
1481         * lyxfinc.C (replace):
1482         * counters.C (laberItem):
1483         * bufferview_funcs.C (font2string):
1484         * bufferparams.C (writeFile):
1485         * buffer.C (readFile):
1486         * Spacing.C (set):
1487         * MenuBackend.C: tostr -> convert
1488
1489         * LaTeX.C (runMessage): fix format
1490         (scanAuxFiles): tostr -> convert
1491
1492         * BufferView_pimpl.C (savePosition): fix format
1493         (restorePosition): ditto
1494         (dispatch): ditto
1495
1496 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1497
1498         * Spacing.[Ch]: New method getValueAsString().
1499
1500         * Spacing.[Ch]:
1501         * bufferparams.C:
1502         * ParagraphParameters.C:
1503         * lyxlayout.C:
1504         * text.C:
1505         * text3.C: store/read spacing value as string.
1506
1507         * rowpainter.C: change float value (spacing_val) to double.
1508
1509         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1510         broken custom document spacing).
1511
1512 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1513
1514         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1515         namespace, also more use of temp references and const
1516
1517         * cursor.[Ch] (getStatus): move to lyxfunc.C
1518
1519         * bufferparams.C: reformat slightly
1520
1521         * bufferview_funcs.C (font2string): constify arg
1522
1523         * changes.C:
1524         * converter.C:
1525         * counters.C:
1526         * bufferlist.C:
1527         * buffer_funcs.C: (many funcs): constify arg on function
1528         definitions, also make more local vars const, also add ASSERTS on
1529         pointer args.
1530
1531         * buffer.C (LYX_FORMAT): put const in correct place
1532         (many funcs): constify arg on function definitions, also make
1533         more local vars const
1534
1535         * aspell_local.h: remove "struct" from typdef setup
1536
1537         * aspell.C (check): make word_ok const
1538         (nextMiss): simplify slightly
1539         (error): ditto
1540
1541 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1542
1543         * lyxrc.[Ch]: store all float values as strings.
1544         use int (not float) for lyxrc.dpi.
1545
1546 2005-01-04  Angus Leeming  <leeming@lyx.org>
1547
1548         * lyx_cb.C (Reconfigure):
1549         * lyx_main.C (queryUserLyXDir):
1550         to run the <system_lyxdir>/configure correctly on Windows, prefix
1551         the path to the script with "sh " when generating the string that
1552         is passed to system().
1553
1554 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1555
1556         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1557
1558 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1559
1560         * lyxlength.C (asLatexString): get rid of setprecision
1561
1562 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1563
1564         * text2.C (setLayout): remove unused variable endpit.
1565         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1566
1567         * paragraph.C (onlyText): remove unused variable style.
1568
1569         * cursor.C (bruteFind): remove unused variables beg and end.
1570
1571         * Makefile.am (dist_noinset_DATA): not needed anymore
1572
1573         * cheaders/*: remove.
1574
1575 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1576
1577         * text3.C: fix LFUN_MATH_MODE.
1578
1579 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1580
1581         * buffer_funcs.C (countWords): new function. Counts words between
1582         two iterators.
1583
1584         * BufferView_pimpl.C (getStatus, dispatch): handle
1585         LFUN_WORDS_COUNT.
1586
1587         * LyXAction.C (init):
1588         * lfuns.h: add LFUN_WORDS_COUNT.
1589
1590 2004-12-19  Angus Leeming  <leeming@lyx.org>
1591
1592         * buffer.C (save): s/slashify_path/internal_path/.
1593
1594 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1595
1596         * lyxfind.C (findChange): do not search for end of pars, because
1597         the change tracker cannot handle this (fixes bug 1719).
1598
1599 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1600
1601         * paragraph.[Ch] (autoBreakRows): remove
1602
1603         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1604
1605         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1606         avoid using the paragraph one
1607
1608         * text2.C (LyXText, insertStringAsLines): adjust
1609
1610 2004-12-16  Angus Leeming  <leeming@lyx.org>
1611
1612         * bufferlist.C:
1613         * lyx_main.C:
1614         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1615
1616 2004-12-14  Angus Leeming  <leeming@lyx.org>
1617
1618         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1619
1620         * bufferlist.C (emergencyWrite):
1621         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1622         GetEnvPath("HOME").
1623
1624 2004-12-14  Angus Leeming  <leeming@lyx.org>
1625
1626         * main.C: (main): no longer pass pointers to os::init.
1627
1628 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1629
1630         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1631         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1632
1633 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1634
1635         * lyxfunc.C:
1636         * text3.C: remove selection_possible global flag
1637
1638 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1639
1640         * text2.C (getSelectionSpan): remove
1641         (changeDepth, changeDepthAllowed): adjust
1642
1643 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1644
1645         * Makefile.am (BOOST_LIBS): use boost variables
1646
1647 2004-12-03  José Matos  <jamatos@lyx.org>
1648
1649         * buffer.C: format up to 238.
1650
1651 2004-12-03  José Matos  <jamatos@lyx.org>
1652
1653         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1654
1655 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1656
1657         * cursor.C (goUpDown): remove call to idxUpDown2
1658
1659 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1660
1661         * tabular.[Ch]: use size_t-like types for cell, row and column
1662         indices
1663
1664 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1665
1666         * lyxfunc.C (getStatus): do not lose previous information when
1667         calling BufferView::getStatus; do not set a default "Command
1668         disabled" message at the beginning, but just before returning.
1669
1670 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1671
1672         * cursor.h (getStatus): add better comment from src/cursor.C
1673
1674 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1675
1676         * text3.C (getStatus): return false when the lfun is not handled
1677
1678 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1679
1680         * broken_headers.h: remove
1681
1682         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1683
1684 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1685
1686         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1687         offset_ref accessors
1688
1689         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1690         top_y_, merge fitcursor with update
1691         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1692         coord scheme
1693         (metrics): introduce
1694         (workAreaDispatch): adapt to new coord scheme
1695         (redoCurrentBuffer): remove
1696
1697         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1698
1699         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1700         CurStatus enum.
1701
1702         * coordcache.[Ch]: add paragraph cache and helpers
1703
1704         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1705         adjust everywhere
1706
1707         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1708         (targetX, setTargetX): introduce
1709
1710         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1711         baseline -> ascent, as the rest of lyx
1712
1713         * lyxtext.h: remove redoParagraphs, updateParPositions,
1714         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1715         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1716         have ascent/descent (ascent is ascent of first par)
1717
1718         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1719         step of BufferView
1720
1721         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1722
1723         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1724
1725         * pariterator.C: fix infinite loop introduced in par->pit renaming
1726
1727         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1728         in insets and LyXText, draw two off-screen paragraphs using
1729         NullPainter, and adapt to new coord scheme
1730
1731         * text.C:
1732         * text2.C:
1733         * text3.C: adapt lfun handlers to the new coord scheme, which
1734         means: there's only guaranteed coord information for onscreen pars
1735         plus one above and one below. This implies that one can do search
1736         from y coordinates in the range [-1,workHeight]
1737
1738 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1739
1740         * rename a lot of InsetOld to InsetBase
1741
1742 2004-11-25  Angus Leeming  <leeming@lyx.org>
1743
1744         * BufferView_pimpl.C:
1745         * lyx_cb.C:
1746         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1747
1748 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1749
1750         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1751         call BufferView::getStatus if LCursor::getStatus did nothing
1752         (setStatusMessage, getStatusMessage): removed.
1753
1754         * FuncStatus.C (message): new methods. Used to provide an error
1755         message indicating why a command is disabled.
1756         (clear, |=, FuncStatus): update for message.
1757
1758 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1759
1760         * lyxfunc.C (dispatch): always call sendDispatchMessage
1761
1762 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1763
1764         * BufferView.C:
1765         * BufferView_pimpl.C:
1766         * CutAndPaste.C:
1767         * FontIterator.C:
1768         * buffer.C:
1769         * cursor.C:
1770         * cursor_slice.[Ch]:
1771         * dociterator.[Ch]:
1772         * lyxfind.C:
1773         * paragraph_funcs.C:
1774         * pariterator.C:
1775         * rowpainter.C:
1776         * text.C:
1777         * text2.C:
1778         * text3.C:
1779         * undo.C: par->pit renaming
1780
1781 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1782
1783         * tabular.C (cellstruct): use initialization, store a shared_ptr
1784         to insettext instead of the insettext directly, adjust to fit.
1785         (operator=):  new function
1786         (swap): new function
1787         (rowstruct): use initialization
1788         (columnstruct): use initialization
1789         (ltType): use initialization
1790
1791
1792         * lyxlength.h (swap): new function
1793
1794         * LColor.[Ch] (operator=): use the common semantics
1795
1796 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1797
1798         * lyxfind.C (findNextChange): update the bufferview after setting
1799         the selection.
1800
1801 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1802
1803         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1804         number of InsetOptArgs has already been inserted.
1805
1806         * output_latex.C (latexOptArgInsets): new method. This outputs all
1807         the optarg insets, up to the limit defined in the layout file.
1808         (optArgInset): removed
1809         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1810
1811 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1812
1813         * paragraph.C (isLetter): remove special spellchecker-related
1814         code; return true also for digits
1815         (isWord, isKomma): remove
1816
1817         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1818         * lyxfind.C (MatchString()): use isLetter instead of isWord
1819
1820 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1821
1822         * pariterator.h (operatir=): comment out un-implemented member
1823         function.
1824
1825         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1826         static cast.
1827
1828 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1829
1830         * lyxfont.h: include LColor.h to satisfy concept checks.
1831
1832 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1833
1834         * pariterator.h: add typdefs for value_type, difference_type,
1835         pointer and reference to satisfy concept checks. Also add default
1836         constructor for same reason.
1837
1838         * pariterator.C (operator++): add post-increment operator to
1839         satisfy concept checks.
1840
1841         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1842         checks.
1843
1844         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1845
1846         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1847         checks. Also rename base_type to BaseType to follow naming
1848         standard better.
1849
1850         * FloatList.h: include Floating.h to satisfy concept checks.
1851
1852 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1853
1854         * lyxfunc.C (getStatus): when the origin of the request is menu or
1855         toolbar, and the LyXView does not have focus, do as if there was
1856         no buffer (bug 1720)
1857
1858         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1859         FuncRequest to individual entries of LFUN_SEQUENCE
1860
1861 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1862
1863         * output_latex.C (TeXOnePar): override runparams.moving_arg
1864         according to the needprotect value of the current paragraph (bug
1865         1739)
1866
1867         * paragraph.C (simpleTeXOnePar): no need to override
1868         runparams.moving_args here
1869
1870 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1871
1872         * vspace.C: fix off-by-one-error, related to fix #1682
1873
1874 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1875
1876         * lengthcommon.C: a more general fix for bug 1682
1877
1878 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1879
1880         * text.C (backspace): fix crash
1881
1882 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1883
1884         * format.[Ch] (getFormatFromFile): new method
1885         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1886
1887 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1888
1889         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1890
1891 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1892
1893         * lyxfunc.C (dispatch): remove the verbose argument
1894         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1895         instead
1896
1897         * kbmap.C (defkey): set the origin of func to KEYBOARD
1898
1899         * MenuBackend.C (MenuItem):
1900         * ToolbarBackend.C (add): set the origin of func to UI
1901
1902         * funcrequest.[Ch]: add origin member, which indicates which part
1903         of LyX requests an action
1904
1905 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1906
1907         * converter.C (move): don't lie in the error message
1908         * converter.h (isReachable, move): document
1909
1910 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1911
1912         * buffer.C: remove unused using lyx::support::atoi
1913         * paragraph_funcs.C: ditto
1914
1915 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1916
1917         * bufferlist.C (exists): use bind and equal_to instead of
1918         compare_memfun
1919         (getBuffer): ditto
1920         * lyxtextclasslist.C (NumberOfClass): ditto
1921
1922         * cursor.C (insert): use for_each instead of explicit for loop
1923
1924         * bufferlist.C (getFileNames): use std::transform and
1925         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1926
1927         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1928         for loop
1929
1930         * buffer.C (changeLanguage): use for_each instead of explicit for
1931         loop
1932         (hasParWithID): implement using getParFromID
1933
1934         * LaTeXFeatures.C: ws change only
1935
1936         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1937         to cleanup a bit.
1938
1939         * BufferView_pimpl.C (trackChanges): use for_each instead of
1940         expilicit for loop
1941
1942 2004-11-04  André Pönitz  <poenitz@gmx.net>
1943
1944         * undo.h:
1945         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1946
1947         * dociterator.C (asDocIterator): use hard assert again.
1948
1949 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1950
1951         * lyxlength.C (asLatexString): rewrite so that it does not use
1952         snprintf anymore
1953
1954 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1955
1956         * text3.C (specialChar, dispatch): make sure cursor moves to the
1957         right after inserting an inset
1958
1959 2004-11-02  José Matos  <jamatos@lyx.org>
1960
1961         * output_docbook.C (docbook):
1962         * paragraph.C (getID):
1963         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1964         garantee that the output is always legal.
1965
1966         * tabular.C (docbook):
1967         * outputprams.[Ch]: remove mixed contents.
1968
1969 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1970
1971         * text2.C (setCounter): prevent endless loop
1972
1973 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1974
1975         * exporter.C (copyFile): use the mover instead of support::copy()
1976         * exporter.C (Export): pass format and latex name to copyFile()
1977         * exporter.h (addExternalFile): document
1978         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1979
1980 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1981
1982         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1983
1984 2004-10-30  José Matos  <jamatos@lyx.org>
1985
1986         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1987         text and no inset or font change. This allows to use CDATA
1988         sections just for the whole paragraph.
1989
1990 2004-10-30  José Matos  <jamatos@lyx.org>
1991
1992         * paragraph.C (getFirstWord): remove unused variable.
1993
1994 2004-10-30  José Matos  <jamatos@lyx.org>
1995
1996         * paragraph.C (getFirstWord): the content should always be escaped
1997         there.
1998         (simpleDocBookOnePar):
1999         * output_docbook.C (makeEnvironment): replace reference to CDATA
2000         to style pass_thru.
2001
2002 2004-10-30  José Matos  <jamatos@lyx.org>
2003
2004         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2005
2006 2004-10-30  José Matos  <jamatos@lyx.org>
2007
2008         * output_docbook.C (makeParagraphs):
2009         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2010         standard paragraph has only a given type of content drop the wrapper.
2011
2012 2004-10-29  José Matos  <jamatos@lyx.org>
2013
2014         * output_docbook.C (makeEnvironment):
2015         * sgml.C (openTag):
2016         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2017
2018 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2019
2020         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2021         (cleanID): sanitize any id.
2022
2023 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2024
2025         * buffer.C, lyxlex_pimpl.C:
2026         * lyxlex_pimpl.C (setFile):
2027         s/getExtFromContents/getFormatFromContents/
2028
2029 2004-10-28  José Matos  <jamatos@lyx.org>
2030
2031         * output_docbook.C (makeEnvironment): move id to broadest possible
2032         scope.
2033
2034         * sgml.C (openTag): apply substitution of <> for all attributes.
2035
2036 2004-10-28  José Matos  <jamatos@lyx.org>
2037
2038         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2039         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2040         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2041
2042         * sgml.[Ch]: new version for open and closeTag for paragraph and
2043         for strings. Now they handle the ids of paragraphs.
2044
2045 2004-10-26  Angus Leeming  <leeming@lyx.org>
2046
2047         * Makefile.am: add mover.[Ch].
2048
2049         * converter.C (convert, move): use the new Movers to move external
2050         files to the temp directory.
2051
2052         * lyx_main.C (init): ensure that the global system_movers data
2053         is initialised.
2054
2055         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2056         preferences file.
2057
2058         * mover.[Ch]: new files, defining a Mover as a utility to move an
2059         external file between directories and, if necessary, manipulate this
2060         file using a helper script.
2061
2062 2004-10-25  José Matos  <jamatos@lyx.org>
2063
2064         * output_docbook.C (makeCommand): merge two if's that tested the
2065         same condition.
2066
2067 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2068
2069         * sgml.C (escapeString): fix warning in a better way
2070
2071 2004-10-25  José Matos  <jamatos@lyx.org>
2072
2073         * sgml.C (escapeString): import the require boosts header file for
2074         tie, and avoid a signed unsigned comparison.
2075
2076 2004-10-25  José Matos  <jamatos@lyx.org>
2077
2078         * sgml.h: add #include <string>
2079
2080 2004-10-25  José Matos  <jamatos@lyx.org>
2081
2082         * sgml.[Ch] (escapeString): new function to escape all the string.
2083
2084 2004-10-24  José Matos  <jamatos@lyx.org>
2085
2086         * paragraph.[Ch] (getFirstWord): new function to get the first
2087         word. Useful for description.
2088         (simpleDocBookOnePar): remove depth argument, add another that
2089         says where to start the paragraph.
2090
2091         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2092         use the new functions to fix cleanly the support for descriptions.
2093
2094 2004-10-24  José Matos  <jamatos@lyx.org>
2095
2096         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2097         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2098         * output_linuxdoc.C (linuxdocParagraphs):
2099         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2100         add buffer as argument.
2101
2102 2004-10-24  José Matos  <jamatos@lyx.org>
2103
2104         * output_docbook.C (makeEnvironment, searchEnvironment): place
2105         CDATA inside paragraphs and fix scope for listitems.
2106
2107 2004-10-24  José Matos  <jamatos@lyx.org>
2108
2109         * output_docbook.C: remove using statement for stack.
2110
2111 2004-10-23  José Matos  <jamatos@lyx.org>
2112
2113         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2114         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2115         docbook. The new scheme is recursive and makes use of iterators, the
2116         same as latex export works.
2117         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2118         directly with the paragraph contents. This code was moved up to
2119         output_docbook.C (docbookParagraphs).
2120         * sgml.C (openTag, closeTag): removed unneeded newlines.
2121         (closeEnvTags) removed.
2122
2123 2004-10-23  André Pönitz  <poenitz@gmx.net>
2124
2125         * undo.C (textUndoOrRedo):
2126         * dociterator.C (asDocIterator): work around crash
2127
2128         * cursor.C (getStatus): replace ASSERT by more verbose error message
2129           and manual correction of the problem. Should increase stability
2130           while providing more sensible information.
2131
2132 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2133
2134         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2135
2136         * bufferlist.C (previous, next): new methods
2137
2138         * lfuns.h:
2139         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2140
2141 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2142
2143         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2144         entities to preamble.
2145
2146 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2147
2148         * messages.C (Pimpl): strip off translation context information
2149
2150 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2151
2152         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2153         the cursor is correct (bug 1694)
2154
2155 2004-10-13  José Matos  <jamatos@lyx.org>
2156
2157         * output_docbook.C (docbookParagraphs): fix closing tags in the
2158         end of the document.
2159
2160 2004-10-09  José Matos  <jamatos@lyx.org>
2161
2162         * buffer.C: format up to 237.
2163         * bufferparams.C (write): use tostr to convert booleans to strings.
2164
2165 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2166
2167         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2168
2169 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2170
2171         * LaTeX.C: implement use of babel language in xindy.
2172
2173 2004-10-05  José Matos  <jamatos@lyx.org>
2174
2175         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2176         Add new translators to help reading and writing the lyx file.
2177
2178 2004-10-05  José Matos  <jamatos@lyx.org>
2179
2180         * ParagraphParameters.C (read):
2181         * text.C (readParToken): replace nexToken by more appropriate lex
2182         methods.
2183
2184 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2185
2186         * LaTeX.C (runMakeIndex):
2187         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2188         (usually 'makeindex') configurable.
2189
2190         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2191         with a variable rather than with a number.
2192
2193 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2194
2195         * output_latex.C (TeXOnePar): make sure font setting is the first
2196         thing that gets output (and the last at the end). Should fix bug
2197         1404.
2198
2199 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2200
2201         * pch.h: use proper signal include
2202
2203         * LaTeX.h: Use preferred calling of Boost.Signal
2204         * buffer.h: ditto
2205
2206 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2207
2208         * pch.h: dont include <boost/function/function0.hpp>
2209
2210         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2211
2212         * paragraph_pimpl.h: remove usage of ShareContainer
2213
2214         * paragraph_pimpl.C: remove initialization of ShareContainer.
2215
2216 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2217
2218         Fix bug #1666
2219
2220         * BufferView.C (putSelectionAt): change the semantics when
2221         backwards == true: now, this just swaps cursor and anchor wrt the
2222         forward case
2223
2224         * BufferView.h (putSelectionAt): add some documentation
2225
2226         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2227         make sure backwardChar is done at least once (to avoid getting
2228         stuck)
2229         (findNextChange): use putSelectionAt in the forward direction
2230         (operator()): use Paragraph::isWord
2231
2232 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2233
2234         * Spacing.C (set): c_str fix
2235
2236 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2237
2238         * lyx_cb.C (Reconfigure): quote the name of configure script in
2239         case it contains spaces
2240
2241 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2242
2243         * client: new dir
2244
2245         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2246         (BOOST_LIBS): use top_buildir when looking for the file
2247
2248 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2249
2250         * pch.h: do not use include boost/format.hpp, multiple symbols
2251                 will result (gcc bug)
2252
2253
2254 2004-08-23  José Matos  <jamatos@lyx.org>
2255
2256         * bufferparams.C (readToken): fix reading of the author field.
2257
2258 2004-08-20  José Matos  <jamatos@lyx.org>
2259
2260         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2261
2262 2004-08-20  José Matos  <jamatos@lyx.org>
2263
2264         * lyxlex.[Ch] (findToken): remove function.
2265
2266         * ParagraphParameters.C (findToken):
2267         * bufferparams.C (findToken): replace call for previous function
2268         with local copy. This local function has one more argument, the
2269         read string argument.
2270
2271 2004-08-16  José Matos  <jamatos@lyx.org>
2272
2273         * ParagraphParameters.C (write):
2274         * Spacing.C (writeFile):
2275         * bufferparams.C (writeLaTeX):
2276         * lyx_cb.C (Reconfigure):
2277         * paragraph.C (write):
2278         * tabular.C (write): remove unnecessary space at end of line.
2279
2280
2281 2004-08-16  José Matos  <jamatos@lyx.org>
2282
2283         * text.C (readParagraph): remove debug message.
2284
2285 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2286
2287         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2288         crash
2289
2290         * output_plaintext.C (asciiParagraph): set depth correctly
2291
2292         * outputparams.h: add member depth
2293
2294         * paragraph_funcs.C (ownerPar): remove.
2295
2296         * text2.C (setCounter): remove first_pit; comment out some
2297         non-working code that uses ownerPar
2298
2299         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2300         uses ownerPar
2301
2302 2004-08-16  José Matos  <jamatos@lyx.org>
2303
2304         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2305         For the same level of importance use the same chanel to report problems.
2306         (read): add code to deal with \begin_body and \end_body.
2307
2308
2309 2004-08-15  José Matos  <jamatos@lyx.org>
2310
2311         * lyxlex.C (getString): fix comment, buffer::readBody is now
2312         buffer:readDocument.
2313
2314         * tex-strings.C (string_papersize): Default -> default,
2315         Custom -> custom, for consistency with other options.
2316
2317 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2318
2319         * pch.h: new file
2320
2321         * Makefile.am: support pch
2322
2323 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2324
2325         * text.C (readParToken): remove the static LyXFont variable and
2326         pass it as a parameter instead. This fixes a nasty bug where an
2327         inset will be inserted with a bad font in some situations
2328         (readParagraph): adapt
2329
2330         * text2.C (setCounter): reduce number of calls to pars_[pit]
2331
2332         * text.C (singleWidth): add an assert, fix a test
2333
2334         * rowpainter.C (paintText): reduce number of calls to singleWidth
2335
2336         * paragraph.C (isHfill):
2337         (isNewline): ws only
2338
2339 2004-08-14  André Pönitz  <poenitz@gmx.net>
2340
2341         * text.C:
2342         * text2.C:
2343         * rowpainter.C:
2344         * lyxtext.h (several functions): use a Paragraph & argument
2345         instead of par_type
2346
2347 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2348
2349         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2350
2351         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2352
2353         * text.C (singleWidth): remove useless test
2354
2355 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2356
2357         * tabular.h: remove bogus comments
2358
2359         * tabular.C (getDescentOfRow):
2360         (isPartOfMultiColumn): add assertions
2361
2362         * lyxlength.C (inPixels): remove #warning
2363
2364 2004-08-14  André Pönitz  <poenitz@gmx.net>
2365
2366         * paragraph.h: inline getChar()
2367
2368         * BufferView.h: remove unused declarations
2369
2370 2004-08-14  José Matos  <jamatos@lyx.org>
2371
2372         * Buffer.[Ch] (readDocument): new name for old readBody.
2373         * Buffer.C: new file format, new keywords: \begin_document,
2374         \begin_header, \begin_body, \end_body.
2375
2376         * bufferparams.C (readToken): replace all calls to lex.nextToken
2377         by lex.next(). Do the same to eatLine except where really needed.
2378
2379         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2380         line when writing to the lyx file.
2381
2382         * output_plaintext.C (asciiParagraph): fix Bibliography style
2383         handling.
2384
2385         * text.C (read): fix end of file handling.
2386
2387 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2388
2389         * MenuBackend.C (Menu::operator[]): new method to access
2390         individual menu items
2391         (Menu::hasFunc): new method. search for an item that corresponds
2392         to a given func
2393         (MenuBackend::specialMenu): new method
2394         (MenuBackend::expand): if a special menu has been set, skip
2395         entries whose func() appears in this menu
2396
2397 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2398
2399         * text3.C: use Debug::DEBUG a bit more
2400
2401         * text.C (leftMargin): try to simplify a tiny bit change var x to
2402         l_margin. Dont output the wide margins always.
2403         (rightMargin): no margin in inner texts
2404
2405         * rowpainter.h (nestMargin): new func
2406         (changebarMargin): new func
2407         (rightMargin): new func
2408
2409         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2410         now functions.
2411         (paintLast): ditto
2412
2413         * factory.C (createInset): modify setDrawFrame
2414
2415         * cursor.C: use Debug::DEBUG a bit more
2416
2417 2004-08-14  André Pönitz  <poenitz@gmx.net>
2418
2419         * coordcache.[Ch]:
2420         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2421         cache for all insets in (at least partially) visible (top-level)
2422         paragraphs.
2423
2424         * BufferView_pimpl.C: reset external coord cache before every update.
2425         This means the coord cache only contains valid entries.
2426
2427 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2428
2429         bug 1096
2430         * BufferView_pimpl.C (getInsetByCode): move function out of class
2431         and change in to a template in anon namespace. Also fix to do what
2432         suits us better.
2433
2434 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2435
2436         bug 1305
2437         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2438         of char
2439         (breakParagraph): rename par to par_offset and use a local
2440         reference. Add code to keep the language over a rebreak.
2441         (breakParagraphConservative): rename par to par_offset, use a
2442         local reference
2443         (mergeParagraph): ditto
2444         (outerHook): ditto
2445         (isFirstInSequence): ditto
2446         (outerFont): rename pit to par_offset
2447
2448         * paragraph.C: ws change
2449         * paragraph.h: ditto
2450         * text3.C: ditto
2451         * text.C: ditto
2452
2453 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2454
2455         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2456         treatment for ']'
2457
2458         * paragraph.C (simpleTeXOnePar): when we have a \item with
2459         optional argument, enclose the argument with curly brackets (in
2460         case it contains a closing square bracket)
2461
2462         * text2.C (editXY):
2463         * text2.C (editXY):
2464         * text3.C (checkInsetHit): constify
2465
2466 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2467
2468         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2469         documents (bug 1629)
2470
2471 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2472
2473         Fix toggling of collapsable insets with the mouse (bug 1558)
2474
2475         * lyxfunc.C (dispatch): adapt to LCursor changes
2476
2477         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2478         make sure that dispatch is not invoked twice
2479
2480         * cursor.C (needsUpdate): new method
2481         (dispatch): return void
2482         (result): new method, to access the DispatchResult of the cursor.
2483
2484 2004-08-13  José Matos  <jamatos@lyx.org>
2485
2486         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2487
2488 2004-08-13  André Pönitz  <poenitz@gmx.net>
2489
2490         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2491
2492         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2493           multiple cells
2494
2495 2004-08-12  André Pönitz  <poenitz@gmx.net>
2496
2497         * text3.C: take out the 'cursor right' form insertInset and only
2498         do it in those places when it is really needed. Fixes crash on
2499         C-m...
2500
2501 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2502
2503         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2504
2505         * BufferView_pimpl.C (setBuffer): initialize the current font of
2506         the underlying LyXText
2507
2508 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2509
2510         * kbsequence.C (print): use UI native formatting for menu
2511         shortcuts
2512
2513         * text.C (insertChar): call Paragraph::insertChar with a font
2514         argument (cosmetic)
2515
2516         * paragraph.C (insertInset, insertChar): the version that takes a
2517         LyXFont argument is now a wrapper around the other one (the
2518         opposite used to be true).
2519
2520         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2521         argument. Font setting is done in Paragraph now.
2522
2523 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2524
2525         * outputparams.h: add new members intitle and lang.
2526
2527         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2528         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2529
2530 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2531
2532         * text3.C (dispatch): remove special handling of button 4 and 5,
2533         it is now taken care of in the frontend code.
2534
2535 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2536
2537         * Spacing.h: add <string> (STLPort compile fix)
2538
2539 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2540
2541         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2542
2543 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2544
2545         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2546         to bool.
2547
2548         * converter.C (showMessage): inherit from unary_function, make
2549         operator() const.
2550
2551         * buffer.C (writeFile): initialize retval
2552
2553         * InsetList.h: rename private variable list to list_
2554         * InsetList.[Ch]: adjust accordingly.
2555
2556 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2557
2558         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2559         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2560         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2561         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2562         * ParagraphParameters.C, LaTeXFeatures.C: replace
2563         "support/std_sstream.h" with <sstream>
2564
2565 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2566
2567         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2568         * lyxsocket.C (LyXServerSocket): ditto
2569         (serverCallback): ditto
2570
2571 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2572
2573         * LaTeXFeatures.C: check release date when loading jurabib.
2574
2575 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2576
2577         * lyxserver.C (startPipe): call register_socket_callback
2578         (endPipe): call unregister_socket_callback
2579
2580 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2581
2582         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2583         (LyXServerSocket): register the callback
2584         (LyXServerSocket): unregister the callback
2585         (fd): delete function
2586         (serverCallback): improve error checking and setup the callbacks.
2587         (dataCallback): change arg to fd.
2588         (writeln): new func (copied fro the client socket) used for server
2589         write to client.
2590         (LyXDataSocket): simplify
2591         (~LyXDataSocket): close ann unregiser callback
2592         (server): delete function
2593         (fd): delete function
2594         (readln): small changes, improve some std::string usage
2595         (writeln): constify a bit
2596
2597 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2598
2599         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2600         Qt frontend
2601
2602 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2603
2604         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2605         after it has been populated
2606
2607 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2608
2609         * text2.C (insertInset): move cursor when inserting inset.
2610
2611 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2612
2613         * kbmap.C (findbindings): a couple of new methods. returns a
2614         container of kb_sequence objects. The real work is done by the
2615         private recursive version
2616         (printbindings): uses findbindings to print out a bracketed list
2617         of bindings (renamed from findbinding).
2618
2619         * MenuBackend.C (binding): use kb_keymap::findbindings
2620
2621         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2622
2623 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2624
2625         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2626
2627 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2628
2629         * paragraph.C (isWord): return true on insets that report
2630         isLetter().
2631
2632         * text.C (getWord): use Paragraph::isWord to decide what is in a
2633         word and what is not; fix bug 1609.
2634
2635 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2636
2637         * tex-strings.C: add "none" to string_paperpackages[], fixes
2638         off-by-one-error in the paperpackage selection.
2639
2640         * lyxlex.[Ch]:
2641         * tex-strings.[Ch]: char const * string[n]
2642         -> char const * const string[]
2643
2644 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2645
2646         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2647         command, return early.
2648
2649 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2650
2651         * debug.h: add DEBUG to enum and fix size of ANY.
2652
2653         * debug.C: add support for Debug::DEBUG
2654         (showTags): cast errorTags.level to unsigned int
2655
2656         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2657         (redoCurrentBuffer): ditto
2658         (updateScrollbar): ditto
2659         * cursor.C (dispatch): ditto
2660         * text2.C (setLayout): ditto
2661         (setFont): ditto
2662         (updateCounters): ditto
2663         (editXY): ditto
2664         (deleteEmptyParagraphMechanism): ditto
2665
2666 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2667
2668         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2669         annotations to cleanup the Makefile slightly.
2670
2671 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2672
2673         * lyxrc.C: do not set user_email to a default value but use empty
2674         instead. The entry used to be translated, which does not work
2675         since at the point where lyxrc is constructed there is no
2676         translation service available
2677
2678         * messages.C (getLocaleDir): remove and use directly
2679         lyx_localedir() instead
2680
2681 2004-06-02  Angus Leeming  <leeming@lyx.org>
2682
2683         Fix crash caused by dereferencing null pointer 'exportdata' in
2684         OutputParams by creating a new ExportData variable on the heap,
2685         storing it in a boost::shared_ptr.
2686         The crash was triggered when generating an Instant Preview
2687         of an external inset.
2688
2689         * Makefile.am: add outputparams.C
2690
2691         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2692         (c-tor): allocate memory to it.
2693
2694         * exporter.C (c-tor): associated changes.
2695
2696 2004-06-01  Angus Leeming  <leeming@lyx.org>
2697
2698         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2699         contains data before calling isInset(0). (Bug 1513.)
2700
2701 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2702
2703         * exporter.C (checkOverwrite): new method
2704         * exporter.C (copyFile): new method
2705         * exporter.C (Export): copy referenced files to the document dir
2706         * exporter.[Ch]: new class ExportedFile
2707         * exporter.[Ch]: new class ExportData. Contains currently the
2708         names of referenced external files
2709         * outputparams.h: add exportdata member.
2710
2711 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2712
2713         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2714         version.C-tmp
2715
2716 2004-05-19  Angus Leeming  <leeming@lyx.org>
2717
2718         * LaTeXFeatures.C:
2719         * ToolbarBackend.C:
2720         * bufferparams.C:
2721         * lyxfunc.C: small changes due to the introduction of namespace
2722         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2723
2724 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2725
2726         * text3.C (dispatch): supress update when only moving the cursor
2727         * cursor.C (selHandle): remove commented code
2728
2729 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2730
2731         * paragraph.C (startTeXParParams): correct column count
2732         * CutAndPaste.C (pasteSelection): remove const_cast
2733         * output_docbook.C (docbookParagraphs): remove const_cast
2734         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2735         const_cast and return ParagraphList::const_iterator
2736         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2737         * output_plaintext.C (writeFileAscii): remove const_cast
2738         * paragraph.[Ch] (simpleTeXOnePar): make const
2739         * paragraph_funcs.C (outerPar): use const iterators
2740         * paragraph_pimpl.C (validate): use const iterators
2741         * text.C (setHeightOfRow): use const iterators
2742
2743 2004-05-17  Angus Leeming  <leeming@lyx.org>
2744
2745         * lfuns.h:
2746         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2747
2748         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2749         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2750         if the citation engine has changed.
2751
2752 2004-05-14  José Matos  <jamatos@lyx.org>
2753
2754         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2755         if the textclass does not provide it. Have it different for sgml and
2756         xml.
2757         support the language of document.
2758         * output_docbook.C (docbookParagraphs):
2759         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2760         first anchor as the id of the paragraph, remove special case code.
2761         * sgml.C (escapeChar): escape only < & >.
2762
2763 2004-05-14  Angus Leeming  <leeming@lyx.org>
2764
2765         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2766         dependencies on src/frontends/controllers/biblio.h. Define a
2767         CiteEngine_enum wrapper class to enable the enum to be forward
2768         declared.
2769
2770 2004-05-12  Angus Leeming  <leeming@lyx.org>
2771
2772         * buffer.C: up LYX_FORMAT to 234.
2773         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2774         use_numerical_citations with a single biblio::CiteEngine cite_engine
2775         variable.
2776         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2777
2778 2004-05-13  José Matos  <jamatos@lyx.org>
2779
2780         * converter.h:
2781         * converter.C (Converter, readFlags): add xml member.
2782         * outputparams.h: add XML flavor.
2783         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2784
2785 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2786
2787         * lyxfunc.C (dispatch):
2788         (getStatus): fix handling of LFUN_SEQUENCE
2789
2790 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2791
2792         * debug.C (showLevel): do not forget the end-of-line marker
2793
2794 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2795
2796         * kbmap.C (read): do not stop parsing a bind file when an error
2797         occurs (bug 1575)
2798
2799 2004-04-29  Angus Leeming  <leeming@lyx.org>
2800
2801         * cursor.C:
2802         * factory.C:
2803         * pariterator.C:
2804         * text2.C: wrap a bunch of #warning statements
2805         inside #ifdef WITH_WARNINGS blocks.
2806
2807 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2808
2809         * buffer.C: increment format to 233.
2810
2811 2004-04-28  Angus Leeming  <leeming@lyx.org>
2812
2813         * BufferView_pimpl.C:
2814         * lyxfunc.C:
2815         * text3.C:
2816         s/updateToolbar()/updateToolbars()/
2817         s/Toolbar.h/Toolbars.h/
2818
2819 2004-04-28  Angus Leeming  <leeming@lyx.org>
2820
2821         * BufferView.[Ch] (c-tor):
2822         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2823         No longer passes these data to the WorkArea generator.
2824
2825 2004-04-28  Angus Leeming  <leeming@lyx.org>
2826
2827         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2828
2829 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2830
2831         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2832
2833 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2834
2835         * output_latex.C (TeXEnvironment): make sure that there is a line
2836         break before \end{foo} for the last paragraph of a document
2837         (TeXOnePar): if the paragraph is at the end of the document (or
2838         inset) and the language has to be reset, then make sure that the
2839         line break is _before_ the language command, not after (fixes bug
2840         1225); also make sure that the language reset command is the first
2841         thing after the paragraph (to ensure proper nesting of
2842         environments and thus fix bug 1404)
2843
2844 2004-04-21  John Levon  <levon@movementarian.org>
2845
2846         * ToolbarBackend.h:
2847         * ToolbarBackend.C: make "name" be a programmatic name
2848         and a gui_name field.
2849
2850         * lyxfunc.C: display the minibuffer on M-x
2851
2852 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2853
2854         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2855         (bug 1526)
2856
2857 2004-04-19  Angus Leeming  <leeming@lyx.org>
2858
2859         * BufferView_pimpl.C (setBuffer): changed preview interface.
2860
2861         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2862         possible values.
2863
2864 2004-04-19  John Levon  <levon@movementarian.org>
2865
2866         * BufferView_pimpl.C:
2867         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2868
2869 2004-04-05  Angus Leeming  <leeming@lyx.org>
2870
2871         * text.C (redoParagraphs): add call to updateCounters(), thereby
2872         fixing the missing "Figure #:" label from the caption of a
2873         figure float.
2874
2875 2004-04-13  Angus Leeming  <leeming@lyx.org>
2876
2877         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2878         cursor is clicked out of an inset.
2879
2880 2004-04-13  Angus Leeming  <leeming@lyx.org>
2881
2882         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2883         than an InsetOld one.
2884
2885 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2886
2887         * format.[Ch]: add editor to Format
2888         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2889         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2890
2891 2004-04-08  André Pönitz  <poenitz@gmx.net>
2892
2893         * metricsinfo.h: remove PainterInfo::width member
2894
2895 2004-04-08  Angus Leeming  <leeming@lyx.org>
2896
2897         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2898         "\providecommand" rather than "\newcommand", thereby preventing
2899         clashes with packages that define "\boldsymbol" themselves.
2900         Eg, beamer.
2901
2902 2004-04-08  Angus Leeming  <leeming@lyx.org>
2903
2904         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2905         thereby squashing an unnecessary warning.
2906
2907 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2908
2909         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2910         setBuffer()
2911
2912 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2913
2914         * BufferView.C (setCursor): call redoParagraph (some insets could
2915         have been opened)
2916         (putSelectionAt): remove the 'double update' trick
2917
2918         * BufferView_pimpl.C (fitCursor): call refreshPar
2919         (workAreaDispatch): remove an uneeded update call
2920         (dispatch): remove some manual update calls
2921
2922         * cursor.[Ch]: remove cached_y_, updatePos
2923         (selHandle): set noUpdate when appropriate
2924
2925         * lyxfunc.C (dispatch): track if we need an update
2926
2927         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2928
2929         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2930         (paintSelection): cheap optimization, do not call cursorX when not
2931         needed
2932         (paintPars): change signature
2933         (refreshPar): add
2934         (paintText): adjust
2935         (paintTextInset): adjust
2936
2937         * text.C: adjust
2938
2939 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2940
2941         * lengthcommon.C: compilation fix: remove explicit array size from
2942         unit_name[] and friends
2943
2944 2004-04-05  Angus Leeming  <leeming@lyx.org>
2945
2946         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2947
2948         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2949         present only for the preferences dialog.
2950         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2951
2952 2004-04-05  Angus Leeming  <leeming@lyx.org>
2953
2954         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2955         to enable the frontends to export changes to lyxrc correctly.
2956
2957         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2958
2959 2004-04-07  André Pönitz  <poenitz@gmx.net>
2960
2961         * cursor.[Ch] (selClear, adjust): remove math
2962
2963         * cursor_slice.C: more agressive assert
2964
2965         * lyxfunc.C:
2966         * BufferView_pimpl.C: rework mouse event dispatch
2967
2968         * dociterator.C:
2969         * paragraph.C:
2970         * text2.C:
2971         * text3.C: adjust
2972
2973 2004-04-05  André Pönitz  <poenitz@gmx.net>
2974
2975         * cursor.[Ch] (valign, halign...): remove unneeded functions
2976
2977 2004-04-05  Angus Leeming  <leeming@lyx.org>
2978
2979         * lyxlength.[Ch] (unit_name et al.): const-correct.
2980
2981 2004-04-05  Angus Leeming  <leeming@lyx.org>
2982
2983         * BufferView_pimpl.C:
2984         * buffer.C:
2985         * counters.C:
2986         * cursor.C:
2987         * lyxfunc.C
2988         * paragraph.C:
2989         * pariterator.C:
2990         * text.C:
2991         * text2.C:
2992         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2993
2994 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2995
2996         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2997
2998 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2999
3000         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3001         * BufferView_pimpl.[Ch] (getStatus)
3002         * BufferView.[Ch] (getStatus): add
3003         * lyxfunc.C (getStatus): move lfuns handled in
3004         BufferView::dispatch to te function above
3005         * Cursor.C (setSelection): set selection() = true
3006
3007 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3008
3009         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3010
3011 2004-03-31  Angus Leeming  <leeming@lyx.org>
3012
3013         * lyxfunc.C (dispatch): Fall through to the generic
3014         Dialogs::show("preamble").
3015
3016 2004-03-31  Angus Leeming  <leeming@lyx.org>
3017
3018         * lyxfunc.C (dispatch): Fall through to the generic
3019         Dialogs::show("spellchecker").
3020
3021 2004-03-31  Angus Leeming  <leeming@lyx.org>
3022
3023         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3024         preferences dialog.
3025
3026 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3027
3028         * BufferView.C
3029         * cursor.[Ch]
3030         * dociterator.[Ch]:
3031         * insetiterator.[Ch]:
3032         * lyxfind.C:
3033         * lyxfunc.C:
3034         * pariterator.[Ch]:
3035         * text2.C:
3036         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3037
3038 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3039
3040         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3041         insets where we are putting the cursor.
3042
3043 2004-03-31  Angus Leeming  <leeming@lyx.org>
3044
3045         * lfuns.h:
3046         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3047
3048         * lyxrc.[Ch] (read, write): overloaded member functions taking
3049         a std::[io]stream arguments.
3050
3051         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3052
3053 2004-03-31  Angus Leeming  <leeming@lyx.org>
3054
3055         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3056         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3057
3058         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3059         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3060
3061 2004-03-31  Angus Leeming  <leeming@lyx.org>
3062
3063         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3064         the LFUN_ALL_INSETS_TOGGLE code.
3065
3066 2004-03-30  Angus Leeming  <leeming@lyx.org>
3067
3068         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3069         has died. Fall through to the generic Dialogs::show("document").
3070
3071 2004-03-30  Angus Leeming  <leeming@lyx.org>
3072
3073         * lfuns.h:
3074         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3075         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3076
3077         * lyxfunc.C (getStatus, dispatch): define the actions for these
3078         lfuns. Little more than a cut and pste job from ControlDocument.C
3079
3080         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3081
3082 2004-03-30  Angus Leeming  <leeming@lyx.org>
3083
3084         * lfuns.h:
3085         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3086         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3087
3088         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3089         open/closed state of ollapsable insets. Usage:
3090
3091         all-inset-toggle <state> <name>, where
3092         <state> == "open" || "closed" || "toggle" and
3093         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3094
3095         * lyxtext.h, text2.C (toggleInset): removed.
3096
3097         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3098         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3099         now passes LFUN_INSET_TOGGLE to the found inset.
3100
3101         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3102         is now invoked as "all-insets-toggle toggle branch".
3103
3104 2004-03-30  Angus Leeming  <leeming@lyx.org>
3105
3106         * dociterator.C:
3107         * insetiterator.C:
3108         * pariterator.[Ch]: added/corrected header blurb.
3109
3110 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3111
3112         * dociterator.[Ch]: add an inset_ member
3113         (backwardPos): implemented
3114         (backwardPos, forwardPos): use inset_ when the stack is empty.
3115         (doc_iterator_begin, doc_iterator_end): implemented
3116         * pariterator.[Ch]: adjust, add begin, end
3117         * insetiterator.[Ch]: adjust, add begin, end
3118         * cursor.C:
3119         * document.C:
3120         * BufferView.C:
3121         * BufferView_pimpl.C:
3122         * CutAndPaste.C: adjust
3123
3124 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3125
3126         * buffer.C: increment file format to 232.
3127         * LaTeXFeatures.C: add bibtopic package.
3128         * bufferparams.[Ch]: param \use_bibtopic.
3129
3130         * lyxrc.[Ch]: add lyxrc bibtex_command
3131         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3132
3133         * buffer.C: increment file format to 231.
3134
3135 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3136
3137         * dociterator.C: implement forwardPar
3138         * iterators.[Ch]: remove, replaced by
3139         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3140         * BufferView.C:
3141         * BufferView_pimpl.C:
3142         * CutAndPaste.C:
3143         * buffer.C:
3144         * bufferview_funcs.C:
3145         * cursor.C:
3146         * lyxfind.C
3147         * lyxfunc.C
3148         * paragraph_funcs.C
3149         * toc.C:
3150         * Makefile.am: adjust
3151
3152 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3153
3154         * CutAndPaste.C (pasteSelection): fix 2 crashes
3155         (eraseSelection): fix a crash
3156         * paragraph_funcs.C: remove a warning
3157
3158 2004-03-28  Angus Leeming  <leeming@lyx.org>
3159
3160         * lfuns.h:
3161         * LyXAction.C (init): new LFUN_PRINT.
3162
3163         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3164
3165 2004-03-27  Angus Leeming  <leeming@lyx.org>
3166
3167         * lfuns.h:
3168         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3169
3170         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3171
3172 2004-03-27  Angus Leeming  <leeming@lyx.org>
3173
3174         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3175         insetlist always contains non-null pointers to insets.
3176
3177 2004-03-26  Angus Leeming  <leeming@lyx.org>
3178
3179         * src/BufferView_pimpl.C:
3180         * src/CutAndPaste.C:
3181         * src/buffer.C:
3182         * src/iterators.C:
3183         * src/output_plaintext.C:
3184         * src/outputparams.h:
3185         * src/paragraph_funcs.C:
3186         * src/rowpainter.C:
3187         * src/text.C:
3188         * src/text2.C:
3189         * src/frontends/controllers/ControlErrorList.C:
3190         * src/frontends/gtk/FileDialogPrivate.C:
3191         * src/frontends/gtk/GPainter.C:
3192         * src/frontends/gtk/GToolbar.C:
3193         * src/frontends/qt2/QRef.C:
3194         * src/mathed/math_scriptinset.C: squash compiler warnings.
3195
3196 2004-03-26  Angus Leeming  <leeming@lyx.org>
3197
3198         * ispell.C (LaunchIspell::start):
3199         * lyx_cb.C (AutoSaveBuffer::start):
3200         invoke run(DontWait) rather than runNonBlocking().
3201
3202 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3203
3204         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3205
3206 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3207
3208         * kbsequence.C (print): adjust
3209
3210         * kbmap.C (printKeySym): rename and change signature
3211         (printKey): use LyXKeySym::print()
3212
3213 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3214
3215         * undo.C: add using std::advance to compile for stlport
3216
3217 2004-03-24  Angus Leeming  <leeming@lyx.org>
3218
3219         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3220         it leads to a crash when no buffer is present.
3221
3222 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3223             Martin Vermeer  <martin.vermeer@hut.fi>
3224
3225         * lyxfunc.C (dispatch):
3226         * bufferparams.C (readToken): use the new LColor::setColor
3227
3228         * LColor.[Ch] (setColor): new version that takes two strings as
3229         argument and creates a new color entry if necessary
3230
3231 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3232
3233         * buffer.C (makeLaTeXFile): if the main latex file that is
3234         processed is usually a subdocument of some master, then pretend
3235         for a while that it is actually the master
3236
3237 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3238
3239         * buffer.C (getLabelList):
3240         (getBibkeyList): use getMasterBuffer()
3241         (getMasterBuffer): new method. Returns the main document in the
3242         case where one is using included documents.
3243
3244 2004-03-25  André Pönitz  <poenitz@gmx.net>
3245
3246         * Makefile.am:
3247         * iterators.[Ch]:
3248         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3249
3250         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3251
3252         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3253         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3254
3255         * ParameterStruct.h: merge with ParagraphParameters
3256
3257         * lyxtext.h: remove LyXText::parOffset() and getPar()
3258
3259         * text3.C: Remove all 'manual' update calls. We do now one per user
3260         interaction which is completely sufficient.
3261
3262         * Bidi.C:
3263         * BufferView.[Ch]:
3264         * BufferView_pimpl.C:
3265         * FontIterator.[Ch]:
3266         * MenuBackend.C:
3267         * ParagraphParameters.[Ch]:
3268         * buffer.C:
3269         * buffer.h:
3270         * bufferlist.C:
3271         * cursor.[Ch]:
3272         * cursor_slice.[Ch]:
3273         * dociterator.[Ch]:
3274         * errorlist.[Ch]:
3275         * factory.C:
3276         * lfuns.h:
3277         * lyxfind.C:
3278         * lyxfunc.C:
3279         * output_docbook.[Ch]:
3280         * output_latex.[Ch]:
3281         * output_linuxdoc.[Ch]:
3282         * output_plaintext.[Ch]:
3283         * paragraph.[Ch]:
3284         * paragraph_funcs.[Ch]:
3285         * paragraph_pimpl.[Ch]:
3286         * rowpainter.C:
3287         * tabular.[Ch]:
3288         * text.C:
3289         * text2.C:
3290         * toc.C:
3291         * undo.[Ch]: adjust
3292
3293         * frontends/controllers/ControlDocument.C:
3294         * frontends/controllers/ControlErrorList.C:
3295         * frontends/controllers/ControlSpellchecker.C:
3296         * insets/inset.C:
3297         * insets/inset.h:
3298         * insets/insetbase.h:
3299         * insets/insetbibitem.C:
3300         * insets/insetbox.C:
3301         * insets/insetbranch.C:
3302         * insets/insetcaption.C:
3303         * insets/insetcharstyle.C:
3304         * insets/insetcharstyle.h:
3305         * insets/insetcollapsable.C:
3306         * insets/insetcollapsable.h:
3307         * insets/insetert.C:
3308         * insets/insetfloat.C:
3309         * insets/insetfoot.C:
3310         * insets/insetmarginal.C:
3311         * insets/insetnote.C:
3312         * insets/insetoptarg.C:
3313         * insets/insettabular.C:
3314         * insets/insettext.C:
3315         * insets/insettext.h:
3316         * insets/insetwrap.C:
3317         * mathed/math_mboxinset.C:
3318         * mathed/math_nestinset.C:
3319         * mathed/math_scriptinset.C:
3320         * mathed/math_scriptinset.h:
3321         * support/types.h:
3322
3323 2004-03-24  Angus Leeming  <leeming@lyx.org>
3324
3325         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3326         deal with any child processes that have finished but are waiting to
3327         communicate this fact to the rest of LyX.
3328
3329 2004-03-24  Angus Leeming  <leeming@lyx.org>
3330
3331         64-bit compile fixes.
3332
3333         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3334         (c-tor): pass lyx::pos_types rather than ints.
3335
3336         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3337         lyx::pos_type.
3338
3339         * text.C (Delete): compile fix.
3340         (getPar): ensure that function declaration is the same as that in
3341         the header file.
3342
3343 2004-03-23  Angus Leeming  <leeming@lyx.org>
3344
3345         * ispell.C (LaunchIspell):
3346         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3347         a boost::shred_ptr rather than a std::auto_ptr.
3348
3349 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3350
3351         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3352         handle LFUN_FILE_INSERT_*
3353
3354         * lyxrc.C (setDefaults, getDescription, output, read):
3355         * lyxrc.h: remove ps_command
3356
3357 2004-03-22  Angus Leeming  <leeming@lyx.org>
3358
3359         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3360         Ensure that error_handler is processed once only and that all data
3361         is saved before attempting to output any warning messages.
3362
3363         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3364
3365 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3366
3367         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3368
3369 2004-03-19  André Pönitz  <poenitz@gmx.net>
3370
3371         * cursor.[Ch] (reset): take main text inset as argument
3372
3373         * BufferView: adjust
3374         * BufferView_pimpl.C: adjust
3375
3376         * paragraph.[Ch]: fix completely broken operator=()
3377
3378 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3379
3380         * LColor.C (getFromLyXName): make sure that the color name is used
3381         as lowercase.
3382
3383 2004-03-17  Angus Leeming  <leeming@lyx.org>
3384
3385         * lfuns.h:
3386         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3387
3388         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3389         dialog and to kill a forked process.
3390
3391 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3392
3393         * text2.C (setCursorFromCoordinates): fix font problem
3394
3395 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3396
3397         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3398         bogus "rebuild cursor" code
3399
3400 2004-03-11  André Pönitz  <poenitz@gmx.net>
3401
3402         * buffer.[Ch]: use InsetText instead of LyXText as container for
3403         the main lyx text.
3404
3405         * dociterator.[Ch]: drop the BufferView * member which is not needed
3406         anymore after the change to buffer.C
3407
3408         * paragraph_funcs.C:
3409         * text.C:
3410         * text2.C:
3411         * BufferView.[Ch]:
3412         * BufferView_pimpl.[Ch]:
3413         * cursor.[Ch]:
3414         * cursor_slice.[Ch]: adjust
3415
3416         * text3.C: fix bug in mathDispatch
3417
3418 2004-03-08  André Pönitz  <poenitz@gmx.net>
3419
3420         * undo.[Ch]: use 'StableDocumentIterator' as base for
3421         the Undo struct.
3422
3423 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3424
3425         * LaTeXFeatures.C:
3426         * bufferparams.[Ch]: add jurabib support and param.
3427
3428         * LaTeX.C: add FIXME/comment.
3429
3430 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3431
3432         * buffer.C: increment file format to 230.
3433
3434 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3435
3436         * cursor.C (dispatch): avoid infinite loops
3437
3438 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3439
3440         * rowpainter.C (paintSelection): fix x coordinates
3441
3442 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3443
3444         * text.C (rowBreakPoint): fix breaking before displayed insets
3445
3446 2004-03-01  André Pönitz  <poenitz@gmx.net>
3447
3448         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3449
3450         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3451
3452         * Makefile.am:
3453         * BufferView.C:
3454         * BufferView_pimpl.C:
3455         * buffer.C:
3456         * lyxfind.C:
3457         * lyxfunc.C:
3458         * text.C:
3459         * text2.C:
3460         * text3.C: adjust
3461
3462 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3463
3464         * lyxtext.h:
3465         * text.C:
3466         * text2.C:
3467         * rowpainter.C:
3468         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3469         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3470
3471 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3472
3473         * Bidi.[Ch] (computeTables): const correctness
3474         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3475         fill_hfill, fill_label_hfill and x from Row
3476         * lyxtext.h: prepareToPrint returns a RowMetrics
3477         * rowPainter.C: adjust
3478         * text.C (prepareToPrint): use width, not textWidth. adjust
3479         (redoParagraphInternal, cursorX): adjust
3480         * text2.C (getColumnNearX): adjust
3481         (init): put a default value to the top LyXText::width
3482
3483 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3484
3485         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3486
3487 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3488
3489         * lyxtext.h: add FontIterator class
3490
3491         * text.C (FontIterator, operator*, operator->, operator++): add
3492         (rowBreakPoint, setRowWidth): adjust (fixing a
3493         rebreaking bug)
3494
3495 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3496
3497         * BufferView_pimpl.C (workAreaDispatch): allow also
3498         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3499
3500 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3501
3502         * text.C (rowBreakPoint): fix a bug showing with very large insets
3503
3504 2004-02-25  André Pönitz  <poenitz@gmx.net>
3505
3506         * text3.C:
3507         * cursor.[Ch]: move some mathed specific code to mathed
3508
3509 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3510
3511         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3512         use_tempdir in preferences
3513         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3514         tempfile creation
3515         * lyx_main.C: ensure that tempdir is valid
3516         * lyxlex.h: correct typo
3517         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3518         * paragraph.[Ch] (isMultiLingual): make const
3519         * cursor.[Ch] (openable): make const
3520
3521 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3522
3523         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3524
3525 2004-02-20  André Pönitz  <poenitz@gmx.net>
3526
3527         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3528
3529         * cursor.[Ch]: prepare for localized getStatus()
3530
3531         * lyxtext.h:
3532         * tabular.C:
3533         * text.C:
3534         * text2.C:
3535         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3536
3537 2004-02-20  André Pönitz  <poenitz@gmx.net>
3538
3539         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3540
3541 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3542
3543         * text2.C (setCursorFromCoordinates): switch to absolute coords
3544         (cursorUp): adjust
3545         (cursorDown): adjust
3546         * text3.C (dispatch): adjust
3547
3548 2004-02-16  André Pönitz  <poenitz@gmx.net>
3549
3550         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3551           insets/ChangeLog)
3552
3553         * cursor_slice.[Ch]: remove unneeded acessor function
3554
3555         * lyxtext.h: rename rtl() to isRTL()
3556
3557         * rowpainter.C:
3558         * tabular.C:
3559         * text.C:
3560         * text2.C:
3561         * text3.C: adjust
3562
3563 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3564
3565         * rowpainter.C (paintSelection): coord fix
3566
3567 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3568
3569         * Spacing.C: compile fix
3570
3571 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3572
3573         * cursor.C (dispatch): restore current_ before returning
3574
3575 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3576
3577         * text2.C (cursorUp, cursorDown): fix coords
3578         (moveUp): fix crash
3579
3580 2004-02-12  André Pönitz  <poenitz@gmx.net>
3581
3582         * lyxtext.h:
3583         * text.C:
3584         * text2.C:
3585         * text3.C: add LCursor & parameter to most cursor movement functions
3586           remove usage of LyXText::cursorRow() and cursorPar()
3587
3588         * cursor.[Ch]: add textRow() needed members
3589
3590         * BufferView.C:
3591         * BufferView_pimpl.C:
3592         * paragraph.[Ch]:
3593         * BufferView.C:
3594         * BufferView_pimpl.C: adjust
3595
3596 2004-02-11  André Pönitz  <poenitz@gmx.net>
3597
3598         * lyxfunc.C:
3599         * BufferView.[Ch]:
3600         * BufferView_pimpl.C: shift undo/redo handling
3601
3602         * cursor.[Ch]: fix mathed crash
3603
3604         * lyxfind.C:
3605         * lyxtext.h: move selectionAsText to LCursor
3606
3607         * output_latex.C:
3608         * paragraph.C:
3609         * text.C:
3610         * text2.C:
3611         * text3.C: adjust
3612
3613         * rowpainter.C: fix excessive drawing
3614
3615 2004-02-06  André Pönitz  <poenitz@gmx.net>
3616
3617         * BufferView.[Ch]:
3618         * BufferView_pimpl.[Ch]:
3619         * text3.C: move some text specific LFUN handling
3620
3621 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3622
3623         * text3.C (checkInsetHit): adjust coords
3624         * text2.C (getColumnNearX): adjust coords
3625         (edit): adjust coords
3626         * text.C (getRowNearY): add two asserts
3627
3628 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3629
3630         * converter.C:
3631         * format.C: add using std::distance to compile on gcc 2.95/stlport
3632
3633 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3634
3635         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3636
3637 2004-02-04  André Pönitz  <poenitz@gmx.net>
3638
3639         * BufferView.[Ch] (insertInset):
3640         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3641
3642         * text2.C:
3643         * text3.C: adjust
3644
3645 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3646
3647         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3648         on the default clause of the switch
3649         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3650         wasn't catched by LCursor::dispatch
3651
3652 2004-02-03  André Pönitz  <poenitz@gmx.net>
3653
3654         * BufferView.C:
3655         * cursor.[Ch]: some additional asserts
3656
3657         * undo.[Ch]: remove LyXText dependency in interface
3658
3659         * lyxfunc.C: adjust
3660
3661         * lyxtext.h (firstPar, lastPar): remove dead functions
3662
3663         * text.C:
3664         * text2.C:
3665         * text3.C:
3666         * paragraph.[Ch]: adjust
3667
3668 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3669
3670         * lyxfind.C (find): fix argument order in call to ::find
3671
3672 2004-02-02  André Pönitz  <poenitz@gmx.net>
3673
3674         * cursor.[Ch]: remove direct access to anchor
3675
3676         * text.C: remove findText() hack
3677
3678 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3679
3680         * iterators.[Ch] (lockPath): remove in favour of...
3681         * BufferView.[Ch] (setCursor): this addition
3682         * BufferView.C (putSelectionAt): adjust
3683         * undo.C (performUndoOrRedo): adjust
3684         * lyxfunc.C (dispatch): adjust
3685
3686 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3687
3688         * iterators.C (lockPath): add a missing slice
3689         * undo.C (performUndoOrRedo): remove redundant positioning code
3690
3691 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3692
3693         * vc-backend.C (scanMaster): ";" -> ';'
3694
3695 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3696
3697         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3698         std::binary_function
3699
3700         * lyxtextclass.C (compare_name): rename to...
3701         (LayoutNamesEqual): ...this
3702
3703         * lyxlex_pimpl.C (compare_tags): inherit from
3704         std::binary_function, put back into anon namespace
3705
3706         * lyxfind.C (MatchString): inherig from std::binary_function
3707         (findChange): use empty() istead of !size()
3708
3709         * format.C (FormatNamesEqual): new functor
3710         (getFormat): use it
3711         (getNumber): use it
3712         (add): use it
3713         (erase): use it
3714         (setViewer): use it
3715
3716         * converter.C (compare_Converter): rename to...
3717         (ConverterEqual): ...this, and fixup a bit.
3718         (getConverter): use it, and make function const
3719         (getNumber): use it, and make function const
3720         (add): use it
3721         (erase): use it:
3722
3723         * bufferlist.C: add using boost::bind
3724
3725         * MenuBackend.C (MenuNamesEqual): new functor
3726         (hasMenu): use it, and make function const
3727         (hasSubmenu): use nested bind to get rid of compare_memfun.
3728
3729 2004-01-30  André Pönitz  <poenitz@gmx.net>
3730
3731         * BufferView_pimpl.C:
3732         * cursor.C:
3733         * cursor.h:
3734         * cursor_slice.[Ch]:
3735         * lyxfunc.C:
3736         * lyxtext.h:
3737         * paragraph_funcs.C:
3738         * paragraph_funcs.h:
3739         * rowpainter.C:
3740         * text.C:
3741         * text2.C:
3742         * text3.C: move some of the edit(x,y) handling to the insets
3743         some coordinate changes.
3744
3745 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3746
3747         * text.C: add using statements for std::advance and std::distance
3748
3749         * paragraph.C: add using statement for std::distance
3750
3751         * lyxfind.C: add using statement for std::advance
3752
3753         * cursor.C (region): remove std:: from swap
3754         (openable): use nucleus in stead of operator->
3755
3756         * BufferView.C: add using statements for std::distance and std::swap
3757
3758 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3759
3760         * iterators.C: Remove the pimple, move the needed structures to
3761         the header file. Create accessor for the positions stack.
3762         (asPosIterator): remove function
3763
3764         * PosIterator.C (PosIterator): move constructors to top of file
3765         (PosIterator): reimplement the constructor taking a ParIterator in
3766         terms of setFrom.
3767         (setFrom): new function
3768         (operator!=): inline it
3769
3770 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3771
3772         * lyxfind.C (replaceAll): use std::advance
3773
3774         * iterators.h: inherit from std::iterator.
3775
3776         * PosIterator.C (advance, distance): remove
3777         * PosIterator.h: interit from std::iterator.
3778
3779 2004-01-26  André Pönitz  <poenitz@gmx.net>
3780
3781         * BufferView.[Ch]:
3782         * BufferView_pimpl.[Ch]:
3783         * InsetList.[Ch]:
3784         * PosIterator.[Ch]:
3785         * buffer.h:
3786         * bufferview_funcs.C:
3787         * cursor.[Ch]:
3788         * cursor_slice.h:
3789         * factory.[Ch]:
3790         * iterators.[Ch]:
3791         * lyxfind.C:
3792         * lyxfunc.C:
3793         * lyxtext.h:
3794         * output_docbook.C:
3795         * output_latex.C:
3796         * output_linuxdoc.C:
3797         * output_plaintext.C:
3798         * paragraph.[Ch]:
3799         * paragraph_funcs.[Ch]:
3800         * paragraph_pimpl.[Ch]:
3801         * rowpainter.C:
3802         * tabular.C:
3803         * tabular.h:
3804         * text.C:
3805         * text2.C:
3806         * text3.C: more IU:  dumps most of the rest of the mathcursor
3807     implementation into cursor.[Ch]; "globalize" a bit of it.
3808
3809 2004-01-25  Angus Leeming  <leeming@lyx.org>
3810
3811         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3812
3813 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3814
3815         * LaTeXFeatures.h: add nice_ and nice() const
3816         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3817
3818 2004-01-20  André Pönitz  <poenitz@gmx.net>
3819
3820         * BufferView.[Ch]:
3821         * BufferView_pimpl.C:
3822         * PosIterator.C:
3823         * bufferview_funcs.C:
3824         * cursor.[Ch]:
3825         * cursor_slice.[Ch]:
3826         * factory.C:
3827         * iterators.C:
3828         * lyx_cb.C:
3829         * lyxfind.C:
3830         * lyxfunc.C:
3831         * lyxtext.h:
3832         * rowpainter.C:
3833         * text.C:
3834         * text2.C:
3835         * text3.C:
3836         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3837           LCursor and mathcursor parts to LCursor and InsetBase.
3838
3839 2004-01-15  André Pönitz  <poenitz@gmx.net>
3840
3841         * cursor_slice.[Ch]: add a few covienience functions
3842
3843         * funcrequest.[Ch]: remove BufferView * member
3844
3845         * BufferView_pimpl.C:
3846         * cursor.C:
3847         * factory.[Ch]:
3848         * lyxfind.[Ch]:
3849         * lyxfunc.C:
3850         * lyxtext.h:
3851         * text3.C:
3852         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3853
3854 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3855
3856         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3857         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3858
3859 2004-01-13  André Pönitz  <poenitz@gmx.net>
3860
3861         * textcursor.[Ch]:
3862         * lyxtext.h: hide cursor and selection anchor behind accessor function
3863
3864         * BufferView.C:
3865         * BufferView_pimpl.[Ch]:
3866         * PosIterator.C:
3867         * bufferview_funcs.C:
3868         * cursor.h:
3869         * lyxfind.C:
3870         * lyxfunc.C:
3871         * text.C:
3872         * text2.C:
3873         * text3.C:
3874         * undo.C: adjust
3875
3876         * cursor.h:
3877         * cursor_slice.[Ch]: some integer type changes for inset unification
3878
3879         * lyxcursor.[hC]: remove, it's CursorSlice now.
3880
3881         * Makefile.am:
3882         * BufferView_pimpl.[Ch]:
3883         * bufferview_funcs.C:
3884         * cursor_slice.C:
3885         * lyxtext.h:
3886         * text.C:
3887         * text2.C:
3888         * text3.C:
3889         * textcursor.[Ch]: adjust
3890
3891 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3892
3893         * text2.C (undoSpan): add and use
3894         * text.C (breakParagraph): use undoSpan (fix bug 578)
3895         * lyxtext.h: adjust
3896
3897 2004-01-08  Angus Leeming  <leeming@lyx.org>
3898
3899         * BufferView_pimpl.C (MenuInsertLyXFile):
3900         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3901         * lyxfunc.C (menuNew, open, doImport):
3902         FileFilterList change to the FileDialog open and save functions.
3903
3904 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3905
3906         * ShareContainer.h: make isEqual and isUnique adaptable
3907
3908         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3909
3910 2004-01-07  Angus Leeming  <leeming@lyx.org>
3911
3912         * LyXAction.C:
3913         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3914
3915         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3916
3917         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3918         functions replacing find, replace and replaceAll.
3919
3920         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3921         LFUN_WORDFIND(FORWARD|BACKWARD).
3922
3923 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3924
3925         * text.C (breakParagraph): remove an outdated #warning
3926
3927 2004-01-07  André Pönitz  <poenitz@gmx.net>
3928
3929         * lyxfind.C: somewhat clearer logic
3930
3931         * text.C: prevent crash in cursorX on unitialized row cache
3932
3933 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3934
3935         * lyxcursor.[Ch] (operator>): add
3936         * textcursor.C (selStart, selEnd): use std::min and std::max
3937
3938 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3939
3940         * Chktex.C: include boost/format.hpp
3941
3942 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3943
3944         * InsetList.C: replace functor MathcIt with adaptable functor
3945         InsetTablePosLess
3946         (insetIterator): modify accordingly
3947
3948         * BranchList.h: move the BranchNamesEqual functor here from...
3949         * BranchList.C: ... to here
3950
3951         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3952         SameName and match.
3953         (add): replace a finding loop with std::find_if.
3954
3955 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3956
3957         * output_docbook.C: moving LatexParam functionality into
3958         .layout files
3959
3960 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3961
3962         * buffer.C: increment format to 229.
3963
3964 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3965
3966         * LaTeXFeatures.C:
3967         * lyx_sty.[Ch]: remove minipageindent_def
3968
3969         * LyXAction.C:
3970         * factory.C:
3971         * lfuns.h:
3972         * lyxfunc.C:
3973         * text3.C: remove LFUN_INSET_MINIPAGE
3974
3975 2003-12-28  Angus Leeming  <leeming@lyx.org>
3976
3977         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3978
3979 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3980
3981         * text2.C (setParagraph): fix off-by-one crash
3982
3983 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3984
3985         * output_docbook.C: header stuff for AGU
3986
3987 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3988
3989         * text2.C (redoCursor): remove
3990         * text.C:
3991         * text3.C:
3992         * BufferView_pimpl.C: remove calls to redoCursor and
3993         setCursor(cursor.par(), cursor.pos()) all around
3994
3995 2003-12-15  Angus Leeming  <leeming@lyx.org>
3996
3997         * buffer.C: up the format to 228.
3998
3999 2003-12-15  André Pönitz  <poenitz@gmx.net>
4000
4001         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4002         slices
4003
4004         * Makefile.am:
4005
4006         * BufferView_pimpl.C:
4007         * cursor.[Ch]:
4008         * lyxcursor.[Ch]:
4009         * rowpainter.[Ch]:
4010         * lyxtext.h:
4011         * text.C:
4012         * text2.C:
4013         * text3.C: adjust
4014
4015 2003-12-15  Angus Leeming  <leeming@lyx.org>
4016
4017         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4018         than getFromGUIName to manipulate the color.
4019
4020 2003-12-14  Angus Leeming  <leeming@lyx.org>
4021
4022         * BranchList.[Ch]: minimize the API.
4023         (Branch::getBranch, getColor): now return a 'const &'.
4024         (Branch::setSelected) now returns a bool set to true if the
4025         selection status changes.
4026         (BranchList::clear, size, getColor, setColor, setSelected,
4027         allBranches, allSelected, separator): removed.
4028         (BranchList::find): new functions, returning the Branch with
4029         the given name.
4030         (BranchList::add, remove): return a bool indicating that
4031         the operation was successful.
4032
4033         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4034         new InsetBranch::isBranchSlected member function.
4035
4036         * LColor.[Ch]: mimimize the API.
4037         (fill): renamed as addColor and made private.
4038         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4039         versions of these functions taking a string arg have been removed.
4040
4041         * bufferparams.C (readToken):
4042         * lyxfunc.C (dispatch):
4043         * lyxrc.C (read): changes due to the altered BranchList and
4044         LColor APIs.
4045
4046         * factory.C (createInset, readInset): changes due to altered
4047         InsetBranch c-tor.
4048
4049 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4050
4051         * factory.C:
4052         * lyxfunc.C: remove insetminipage. "minipage-insert"
4053         now produces a frameless minipage box inset.
4054
4055 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4056
4057         * textcursor.[Ch] (selStart,selEnd): add new methods
4058         remove selection::start, end, use LyXCursor::operator<
4059         * lyxcursor.[Ch] (operator<): add
4060         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4061         * BufferView.[Ch] (unsetXSel): add
4062         * text2.C (clearSelection): use unsetXSel,adjust
4063         * text.C: adjust
4064         * text3.C: adjust
4065         * rowpainter.C: adjust
4066         * bufferview_funcs.C (put_selection_at): adjust
4067
4068 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4069
4070         * BufferView_pimpl.C: small coord. correction
4071
4072 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4073
4074         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4075         dragging over the splash screen.
4076
4077 2003-12-11  Angus Leeming  <leeming@lyx.org>
4078
4079         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4080         as it is now handled in LyXText::dispatch.
4081
4082         * text3.C (doInsertInset): remove a level of nesting.
4083
4084 2003-12-11  Angus Leeming  <leeming@lyx.org>
4085
4086         * factory.C (createInset): changes due to the changed interface to
4087         InsetCommandMailer::string2params.
4088
4089 2003-12-10  Angus Leeming  <leeming@lyx.org>
4090
4091         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4092         'dialog-show-new-inset <inset name>'
4093
4094 2003-12-10  Angus Leeming  <leeming@lyx.org>
4095
4096         * buffer.C: up the format to 227.
4097
4098         * factory.C: the box inset is now identified simply by 'Box'.
4099
4100 2003-12-10  Angus Leeming  <leeming@lyx.org>
4101
4102         * buffer.C: up the format to 226.
4103
4104         * factory.C: the note inset is now identified simply by 'Note'.
4105
4106 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4107
4108         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4109         when a pit is enough. Standarize a couple of loops.
4110
4111 2003-12-05  Angus Leeming  <leeming@lyx.org>
4112
4113         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4114         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4115         data to the re-worked "log" dialog.
4116
4117 2003-12-03  André Pönitz  <poenitz@gmx.net>
4118
4119         * PosIterator.C:
4120         * iterators.C:
4121         * lyxtext.h:
4122         * output_latex.C:
4123         * paragraph_funcs.C:
4124         * text.C:
4125         * text2.C: use Inset::getText instead of Inset::getParagraph
4126
4127 2003-12-03  André Pönitz  <poenitz@gmx.net>
4128
4129         * buffer.[Ch]:
4130         * lyxtext.h:
4131         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4132         InsetText::read() as LyXText::read()
4133
4134 2003-12-02  Angus Leeming  <leeming@lyx.org>
4135
4136         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4137         type. Add a comment in the implementation that the function uses
4138         the stream's bad() function rather than fail() as the std::streams
4139         would do.
4140
4141 2003-12-02  André Pönitz  <poenitz@gmx.net>
4142
4143         * lyxlex.[Ch]: make interface more similar to std::stream
4144
4145         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4146
4147 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4148
4149         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4150
4151 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4152
4153         * vspace.[Ch]: remove VSpace::NONE
4154
4155 2003-12-01  André Pönitz  <poenitz@gmx.net>
4156
4157         * buffer.[Ch]:
4158         * lyxtext.h: move ParagraphList member to LyXText
4159         rename LyXText::ownerParagraphs to LyXText::paragraph
4160
4161         * CutAndPaste.C:
4162         * bufferview_funcs.C:
4163         * iterators.[Ch]:
4164         * lyx_cb.C:
4165         * paragraph.C:
4166         * rowpainter.C:
4167         * tabular.C:
4168         * text.C:
4169         * text2.C:
4170         * text3.C: adjust
4171
4172         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4173
4174         * undo.C: fix cursor positioning
4175
4176 2003-12-01  John Levon  <levon@movementarian.org>
4177
4178         * BufferView_pimpl.C: fix a crash on exit with
4179         a buffer open
4180
4181 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4182
4183         * BranchList.C: fix setSelected() method.
4184
4185 2003-11-28  André Pönitz  <poenitz@gmx.net>
4186
4187         * ParagraphParameters.[Ch]:
4188         * ParameterStruct.h: remove space above/below from Paragraph to
4189          InsetVSpace
4190
4191         * BufferView_pimpl.C:
4192         * factory.C:
4193         * lyxfunc.C:
4194         * lyxtext.h:
4195         * output_latex.C:
4196         * paragraph.C:
4197         * paragraph_funcs.C:
4198         * rowpainter.[Ch]:
4199         * text.C:
4200         * text2.C:
4201         * text3.C: adjust
4202
4203 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4204
4205         * factory.C: Syntax change for CharStyles
4206
4207 2003-11-28  André Pönitz  <poenitz@gmx.net>
4208
4209         * BufferView.[Ch]:
4210         * BufferView.[Ch]:
4211         * buffer.[Ch]:
4212         * buffer.[Ch]: move LyXText member
4213
4214 2003-11-28  André Pönitz  <poenitz@gmx.net>
4215
4216         * BufferView.[Ch]: make LyXText * text a private member
4217
4218         * BufferView_pimpl.C:
4219         * cursor.C:
4220         * iterators.C:
4221         * lyx_cb.C:
4222         * lyxfind.C:
4223         * lyxtext.h:
4224         * rowpainter.[Ch]:
4225         * text.C:
4226         * text2.C:
4227         * undo.C: adjust
4228
4229         * output_plaintext.C: cleanup
4230
4231 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4232
4233         * buffer.C:
4234         * lyxtextclass.[Ch]: parametrize SGML document header
4235
4236 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4237
4238         * converter.[Ch]:
4239         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4240         getFlavor().
4241
4242 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4243
4244         * text2.C (setFont): rework using PosIterator (no more recursive)
4245         (setCharFont): no more needed
4246         (setLayout): no more selection cursors fiddling (done by redoCursor)
4247         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4248         destroy remaining ones)
4249
4250 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4251
4252         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4253         * lyxtext.h: ditto
4254         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4255         selection cursors
4256         * lyxfunc.C: adjust
4257         * text3.C: adjust + re-allow multi par depth changes
4258         * textcursor.C: simplify a bit
4259
4260 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4261
4262         * src/buffer.C:
4263         * src/lyxlayout.C:
4264         * src/lyxlayout.h:
4265         * src/lyxtext.h:
4266         * src/output_docbook.C:
4267         * src/output_latex.C:
4268         * src/paragraph.C:
4269         * src/paragraph.h:
4270         * src/sgml.C:
4271         * src/sgml.h:
4272         * src/text2.C: Introducing a number of tags parametrizing various
4273         XML formats that we may want to support
4274
4275 2003-11-25  André Pönitz  <poenitz@gmx.net>
4276
4277         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4278
4279         * lyxtext.h (leftMargin/rightMargin): simplify interface
4280
4281         * rowpainter.C:
4282         * text.C:
4283         * text2.C:
4284         * text3.C: adjust
4285
4286 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4287
4288         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4289         master file to any child files. Fixes bug 546.
4290
4291 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4292
4293         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4294
4295 2003-11-24  André Pönitz  <poenitz@gmx.net>
4296
4297         * rowpainter.C: simplification
4298
4299         * text2.C (updateCounters): remove call to redoParagraph on
4300         changed labels as this is far too expensive.
4301
4302 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4303
4304         * converter.C (convert): fix a crash: this function gets
4305         called with buffer == 0 from importer code.
4306
4307 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4308
4309         * text3.C (cursorPrevious): make sure that we do not compare
4310         iterators form different containers.
4311         (cursorNext): ditto
4312
4313         * rowpainter.C (paintSelection): make sure that we do not compare
4314         iterators from different containers.
4315
4316         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4317         iterators from different ParagraphList containers.
4318         [NEXT] ditto
4319
4320         * text2.C (LyXText): change order of initialization slightly
4321         (operator=): new function. copy all variables except cache_par_
4322         (moveUp): make sure that we do not compare iterators from
4323         different ParagraphList constainers.
4324         (moveDown): ditto
4325
4326         * text.C (firstPar): new function
4327         (lastPar): new function
4328         (endPar): new function
4329
4330         * lyxtext.h: move things around and group public functions, public
4331         variables, private functions, private variables
4332
4333 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4334
4335         * factory.C: change call to InsetERT constructor to avoid
4336         additional invocation of method status
4337         * text2.C (toggleInset): remove redundant update() call
4338         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4339         instead of a Bufferview pointer
4340
4341 2003-11-21  André Pönitz  <poenitz@gmx.net>
4342
4343         * rowpainter.C: simplification
4344
4345 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4346
4347         * text3.C (dispatch): make possible to extend a word/row selection
4348         with the mouse
4349
4350 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4351
4352         * lyxtext.h: x0_,y0_ -> xo_,yo_
4353         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4354         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4355         * rowpainter.C (paintRows): paint full paragraphs
4356
4357 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4358
4359         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4360         screen coordinates)
4361
4362 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4363
4364         * lyxtext.h: add x0_, y0_
4365         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4366         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4367
4368 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4369
4370         * text2.C (setCursorIntern): move the x_target update here *
4371         * text3.C: change some bv() to true/false in calls to
4372         cursorUp/Down/Right/Left
4373         * cursor.C: use helper function.
4374
4375 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4376
4377         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4378         * paragraph_funcs.[Ch]: correct comment
4379         * rowpainter.C: do not paint selections away from bv->cursor()
4380         Fix a long standing selection painting bug.
4381         * text3.C: generalize mouse-selection code to LyXTexts other that
4382         top one
4383         * textcursor.C: do not use y coords if we can use par offsets
4384
4385 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4386
4387         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4388         cursor position after e.g. inset insert)
4389
4390 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4391
4392         * lyxfind.C (replace): adjust to locking removal + some
4393         code simplification
4394
4395 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4396
4397         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4398         of the path
4399
4400 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4401
4402         * lyxlayout.[Ch]:
4403         * output_docbook.C: XML sanitation: new layout
4404         parameters InnerTag and CommandDepth
4405
4406 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4407
4408         * BufferView_pimpl.C:
4409         * factory.C:
4410         * text3.C: Fix the insertion and modification of button-style
4411         insets
4412
4413 2003-11-13  André Pönitz  <poenitz@gmx.net>
4414
4415         * InsetList.[Ch]: remove deleteLyXText
4416
4417         * paragraph.[Ch]: cache beginOfBody position
4418
4419         * Bidi.C:
4420         * text.C:
4421         * text2.C:
4422         * text3.C: remove superfluous update() calls
4423
4424         * vspace.C: cleanup
4425
4426 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4427
4428         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4429         * BufferView.C (fitLockedInsetCursor): remove
4430         * cursor.[Ch] (getDim): add
4431         * text.C (getRowNearY): add faster version
4432         * text3.C: remove some update calls
4433
4434 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4435
4436         * LaTeXFeatures.C:
4437         * LyXAction.C:
4438         * MenuBackend.C:
4439         * MenuBackend.h:
4440         * dispatchresult.h:
4441         * factory.C:
4442         * lfuns.h:
4443         * lyxfunc.C:
4444         * lyxtextclass.C:
4445         * lyxtextclass.h:
4446         * text3.C: The Character Style /XML short element patch.
4447
4448 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4449
4450         * text3.C:
4451         * factory.C: Small step to solving 'unable to insert some insets'
4452         problem
4453
4454 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4455
4456         * cursor.[Ch] (updatePos): new function for updating the y
4457         position of the tip inset
4458         * bufferview_funcs.C (put_selection_at):
4459         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4460
4461 2003-11-11  André Pönitz  <poenitz@gmx.net>
4462
4463         * text.C: remove big comment on invalid Paragraph pointers as it is
4464         not valid anymore
4465
4466 2003-11-11  André Pönitz  <poenitz@gmx.net>
4467
4468         * text_funcs.[Ch]: merge with ...
4469
4470         * text.C: ... this
4471
4472         * lyxtext.h:
4473         * text2.C:
4474         * text3.C: adjust
4475
4476         * Makefile.am: remove text_funcs.[Ch]
4477
4478 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4479
4480         * cursor.C (getPos): return absolute cached y coord
4481
4482         * BufferView_pimpl.C (fitCursor): new simplistic code
4483         (workAreaDispatch): add a fitCursor call
4484
4485 2003-11-10  André Pönitz  <poenitz@gmx.net>
4486
4487         * BufferView.[Ch]:
4488         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4489
4490 2003-11-10  André Pönitz  <poenitz@gmx.net>
4491
4492         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4493         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4494         indicate that the cursor needs to leave an inset
4495
4496         * lyxtext.h: remove inset locking
4497
4498         * cursor.[Ch]: re-implement functionality provided by inset locking
4499
4500         * BufferView.[Ch]:
4501         * BufferView_pimpl.[Ch]:
4502         * LyXAction.C:
4503         * bufferview_funcs.[Ch]:
4504         * factory.C:
4505         * funcrequest.[Ch]:
4506         * iterators.C:
4507         * lyx_cb.C:
4508         * lyxfind.C:
4509         * lyxfunc.C:
4510         * text.C:
4511         * text2.C:
4512         * text3.C:
4513         * undo.C: adjust
4514
4515 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4516
4517         * PosIterator.[Ch]: replace the stack with a vector, add inset
4518         accesor
4519         * iterators.[C]: adjust
4520
4521 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4522
4523         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4524         replaced
4525         * paragraph_funcs.C (readParToken): put the correct id in the
4526         error item, not the id of the top paragraph
4527
4528 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4529
4530         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4531         * bufferview_funcs.C (put_selection_at): use the above
4532
4533 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4534
4535         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4536
4537 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4538
4539         * output_linuxdoc.h:
4540         * output_plaintext.h:
4541         * output.h:
4542         * output_docbook.h: add #include statements
4543
4544 2003-11-05  José Matos  <jamatos@lyx.org>
4545
4546         * output_docbook.[Ch]:
4547         * output_latex.[Ch]:
4548         * output_linuxdoc.[Ch]:
4549         * output_plaintext.[Ch]: New files for output formats.
4550         * output.[Ch]: New file for helper functions.
4551
4552         * buffer.[Ch]:
4553         * paragraph_funcs.[Ch]: output functions moved to new files.
4554
4555         * outputparams.h: rename of latexrunparams.h
4556
4557         * LaTeX.[Ch]:
4558         * buffer.[Ch]:
4559         * bufferlist.[Ch]:
4560         * converter.[Ch]:
4561         * exporter.C:
4562         * paragraph.[Ch]:
4563         * paragraph_funcs.[Ch]:
4564         * paragraph_pimpl.[Ch]:
4565         * tabular.[Ch]: rename ascii to plaintext
4566         and LatexRunParams to OutputParams.
4567
4568 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4569
4570         * iterators.[Ch] (text): require bv argument
4571         * undo.C (recordUndo):
4572         * lyxfunc.C (dispatch):
4573         * bufferview_funcs.C (put_selection_at): adjust
4574
4575 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4576
4577         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4578
4579 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4580
4581         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4582         nestings
4583
4584 2003-11-04  André Pönitz  <poenitz@gmx.net>
4585
4586         * cursor.[Ch]: restructure
4587
4588         * BufferView.[Ch]:
4589         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4590
4591         * iterators.[Ch] (asCursor): remove
4592
4593         * lfuns.h: remove LFUN_INSET_EDIT
4594
4595         * lyxfunc.C:
4596         * tabular.C:
4597         * text.C:
4598         * text2.C:
4599         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4600
4601 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4602
4603         * lyxfind.[Ch]: complete overhaul
4604         * BufferView_pimpl.C:
4605         * lyxfunc.C: adjust
4606         * paragraph.[Ch] (insert): add
4607
4608 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4609
4610         * BufferView.[Ch]:
4611         * lyxtext.h:
4612         * text.C: remove dead spellcheck code
4613
4614 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4615
4616         * dispatchresult.h: add a val setter
4617
4618         * cursor.C (dispatch): use a tempvar for data_[i]
4619
4620 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4621
4622         * PosIterator.[Ch]: compile fix
4623
4624 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4625
4626         * text.C (cursorPar): deactivate the cursor cache
4627
4628 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4629
4630         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4631
4632 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4633
4634         * text3.C (dispatch): adjust for new DisptchResult semantics.
4635
4636         * lyxfunc.C (dispatch): handle update when return from
4637         Cursor::dispatch, adjust for new DispatchResult semantics.
4638
4639         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4640         DispatchResult(true) mean to not update. Add class functions for
4641         setting dispatched and update, as well as reading.
4642
4643         * cursor.C (dispatch): don't handle update here
4644
4645 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4646
4647         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4648         * trans_mgr.C: adjust
4649
4650         * paragraph_funcs.C (readParToken): exception safety
4651
4652         * lyxvc.h: store the vcs pointer in a scoped_ptr
4653         * lyxvc.C: adjust
4654
4655         * lyxsocket.C (serverCallback): exception safety
4656
4657         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4658
4659         * ispell.C (clone): make it return a auto_ptr
4660
4661         * factory.C (createInset): exception safety
4662         (readInset): exception safety
4663
4664         * bufferlist.C (newBuffer): exception safety
4665
4666         * Thesaurus.C (Thesaurus): use initialization for aik_
4667
4668         * MenuBackend.C (expandToc): exception safety.
4669
4670 2003-11-03  André Pönitz  <poenitz@gmx.net>
4671
4672         * buffer.C:
4673         * buffer.h:
4674         * bufferview_funcs.C: remove getInsetFromId()
4675
4676         * lyxcursor.[Ch]:
4677         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4678
4679         * lyxfunc.C:
4680         * text2.C:
4681         * text3.C: adjust
4682
4683 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4684
4685         * PosIterator.C (distance, advance): new
4686         * bufferview_funcs.[Ch] (put_selection_at): new
4687         * iterators.[Ch] (lockPath): new
4688
4689 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4690
4691         * iterators.[Ch] (asPosIterator): added
4692         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4693         * PosIterator.[Ch]: added
4694
4695 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4696
4697         * text3.C:
4698         * lyxfunc.C:
4699         * cursor.C (dispatch):
4700         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4701
4702         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4703         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4704         contructor, add a class function dispatched. Remove operator>=
4705
4706 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4707
4708         * debug.C: only use the default constructor for debugstream
4709         (lyxerr) here.
4710
4711         * main.C (main): include debug.h and setup the lyxerr streambuf
4712         here.
4713
4714 2003-10-31  José Matos  <jamatos@lyx.org>
4715
4716         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4717
4718         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4719         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4720         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4721         * paragraph_pimpl.C (simpleTeXSpecialC):
4722         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4723         add LatexRunParams argument.
4724
4725         * exporter.C (Export): change call accordingly.
4726
4727         * latexrunparams.h: add new member to take care of the other backends.
4728 2003-10-30  José Matos  <jamatos@lyx.org>
4729
4730         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4731         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4732         factorise code for paragraph output.
4733         * buffer.[Ch]:
4734         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4735         move functions.
4736
4737 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4738
4739         * text3.C (dispatch):
4740         * lyxfunc.C (dispatch):
4741         * cursor.C (dispatch):
4742         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4743
4744         * dispatchresult.h: make the dispatch_result_t ctor explicit
4745
4746 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4747
4748         * sgml.[Ch]:
4749         * buffer.C: small refactoring of docbook stuff
4750
4751 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4752
4753         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4754         meaning.
4755
4756 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4757
4758         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4759         operator dispatch_result_t, and operators for == != and >=
4760
4761         * cursor.C (dispatch): adjust for operator dispatch_result_t
4762         removal. comment out call to update
4763
4764         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4765
4766 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4767
4768         * text3.C:
4769         * text2.C:
4770         * text.C:
4771         * lyxtext.h:
4772         * lyxfunc.C:
4773         * cursor.C:
4774         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4775         (dispatch):
4776
4777         * dispatchresult.h: new file, DispatchResult broken out of
4778         insets/insetbase.h
4779
4780         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4781
4782 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4783
4784         * text.C (rowBreakPoint): put a hack inside #if 0
4785
4786 2003-10-28  André Pönitz  <poenitz@gmx.net>
4787
4788         * lyxtext.h:
4789         * metricsinfo.C:
4790         * paragraph_funcs.C:
4791         * rowpainter.C:
4792         * text.C:
4793         * text2.C: general cleanup (lots of small stuff)
4794
4795 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4796
4797         * text2.C (cursorEnd): simple fix to the "end key goes to one
4798         before the end on last row" bug
4799
4800 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4801
4802         * text.C (backspace): fix the "zombie characters"
4803
4804 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4805
4806         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4807
4808 2003-10-27  André Pönitz  <poenitz@gmx.net>
4809
4810         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4811
4812         * factory.C: handle new InsetPagebreak, InsetLine
4813
4814         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4815         and move handling into new InsetPagebreak, InsetLine
4816
4817         * BufferView_pimpl.C:
4818         * LyXAction.C:
4819         * ParagraphParameters.C:
4820         * ParameterStruct.h:
4821         * lyxfunc.C:
4822         * lyxtext.h:
4823         * paragraph.C:
4824         * paragraph.h:
4825         * paragraph_funcs.C:
4826         * paragraph_pimpl.C:
4827         * rowpainter.C:
4828         * text.C:
4829         * text2.C:
4830         * text3.C: adjust
4831
4832 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4833
4834         * text.C:
4835         * lyxrow_funcs.[Ch]:
4836         * Bidi.C:
4837         * paragraph.C:
4838         * lyxtext.h:
4839         * rowpainter.C:
4840         * text2.C:
4841         * text3.C: remove lastPos uses in favour of Row::endpos
4842
4843 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4844
4845         * undo.C (performUndoOrRedo): fix two crashes by setting a
4846         cursor by hand and reordering some calls. Use bv->lockInset instead
4847         of inset->edit because the latter loses cursor information
4848
4849 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4850
4851         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4852         by Martin
4853         (rowBreakPoint): fix width. change point to point + 1.
4854         Add a missing check.
4855
4856 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4857
4858         * MenuBackend.C:
4859         * lyxfunc.C: fix (at least partly) the problems
4860         with the Nav menu and headers inside branch insets
4861         reported by Kayvan
4862
4863 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4864
4865         * paragraph.C (getChar): add strong asserts
4866
4867         * lyxrow_funcs.C (lastPos): remove hideous hack
4868
4869         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4870         (fill): adjust to that (avoid an infinite loop)
4871
4872 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4873
4874         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4875
4876 2003-10-23  André Pönitz  <poenitz@gmx.net>
4877
4878         * RowList_fwd.h: change list<> to vector<> to gain speed
4879         after suggestion from Alfredo
4880
4881 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4882
4883         * lyxtext.h: move the bidi stuff from here...
4884         * text.C: and here
4885         * text2.C: and here
4886         * Bidi.[Ch]: ... to here
4887
4888 2003-10-23  André Pönitz  <poenitz@gmx.net>
4889
4890         * lyxtext.h:
4891         * text.C (isLastRow, isFirstRow): new functions
4892
4893         * paragraph.h: new width cache member
4894
4895         * rowpainter.C: replace RowList::iterator with Row & where possible
4896
4897         * lyxfunc.C: replace several view()->text with a single call
4898
4899         * toc.C: fix 'unused' warning
4900
4901 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4902
4903         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4904         when woring with stream::pos_type
4905         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4906
4907 2003-10-22  André Pönitz  <poenitz@gmx.net>
4908
4909         * lyxtext.h:
4910         * text.C: use Row & instead of RowList::iterator
4911
4912         * lyxrow.h: rename end() to endpos()
4913
4914         * rowpainter.C:
4915         * text.C:
4916         * text2.C: adjust
4917
4918 2003-10-22  Angus Leeming  <leeming@lyx.org>
4919
4920         * buffer.[Ch] (fully_loaded): new member function, returning true
4921         only when the file has been loaded fully.
4922         Used to prevent the premature generation of previews and by the
4923         citation inset to prevent computation of the natbib-style label.
4924
4925         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4926         templates are all set up.
4927
4928         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4929
4930 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4931
4932         * text.C: fixed an "oops" in the "is a bit silly"
4933         bug fix
4934
4935 2003-10-21  André Pönitz  <poenitz@gmx.net>
4936
4937         * FuncStatus.[Ch]: small stuff, whitespace
4938
4939         * lyxfont.[Ch]: operator<<() for debug reasons
4940
4941         * lyxfunc.C:
4942         * lyxrow_funcs.C:
4943         * lyxtext.h: whitespace, spelling
4944
4945         * paragraph.C: naming of variables
4946
4947         * text.C:
4948         * text2.C: small stuff
4949
4950
4951 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4952
4953         * text.C: (1) finish off the inset display() work;
4954         (2) fix the "is a bit silly" bug (accessing char
4955         past end of par).
4956
4957 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4958
4959         * text.C: re-introduce display() for insets, fixing the
4960         various bugs (stretch of line above, math inset
4961         positioning, ...)
4962
4963 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4964
4965         * text.C (rightMargin): remove spurious semicolon
4966
4967         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4968         1415)
4969
4970 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4971
4972         * text3.C: fix one crash due to wrong cursor def
4973
4974 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4975
4976         * vc-backend.C (scanMaster): make the regex static
4977
4978         * LaTeX.C (scanAuxFile): make the regexs static
4979
4980         * text3.C (doInsertInset, dispatch, dispatch):
4981         * text2.C (cursorUp, cursorDown):
4982         * text.C (selectNextWordToSpellcheck):
4983         * BufferView_pimpl.C (dispatch):
4984         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4985
4986 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4987
4988         * lyxsocket.C: include <cerrno>
4989
4990 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4991
4992         * lyxfunc.C (dispatch): remove textcache stuff
4993
4994         * bufferlist.C (release): remove textcache stuff
4995         (closeAll): ditto
4996
4997         * TextCache.C: delete file
4998         * TextCache.h: delete file
4999
5000         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5001
5002         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5003         delete of the bv_->text.
5004         (resizeCurrentBuffer): remove texcache stuff
5005         (workAreaResize): ditto
5006
5007 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5008
5009         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5010         action.
5011
5012 2003-10-16  André Pönitz  <poenitz@gmx.net>
5013
5014         * lyxrow.[Ch]:
5015         * paragraph.h:
5016         * rowpainter.C:
5017         * text.C:
5018         * text2.C:
5019         * text3.C: speed up by storing y positions per paragraph plus per-row
5020         offset instead of having a 'full' y position in the row.
5021
5022 2003-10-15  André Pönitz  <poenitz@gmx.net>
5023
5024         * iterators.[Ch]:
5025         * iterators.[Ch]:
5026         * undo.[Ch]: make undo aware of inner insets
5027
5028 2003-10-14  Angus Leeming  <leeming@lyx.org>
5029
5030         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5031         static member functions LyX::ref() and LyX::cref.
5032         (lastfiles): new accessor functions for the new lastfiles_ member var.
5033         (addLyXView, views_): add a new LyXView to the list of views_.
5034         (updateInset): loop over all LyXViews to call their own updateInset
5035         member function, returning a pointer to the Buffer owning the inset.
5036
5037         * BufferView_pimpl.C (loadLyXFile):
5038         * MenuBackend.C (expandLastfiles):
5039         * bufferlist.C (MenuWrite, QuitLyX):
5040         lastfiles is no longer a global variable.
5041         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5042
5043         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5044         static function. Access through LyX::cref().emergencyCleanup().
5045
5046 2003-10-14  André Pönitz  <poenitz@gmx.net>
5047
5048         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5049
5050         * undo.[Ch]: restoring part of 'undo in insets'
5051
5052         * Makefile.am:
5053         * undo_funcs.[Ch]: merge with undo.[Ch]
5054
5055         * tabular.C: small cleansing stuff
5056
5057 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5058
5059         * paragraph_funcs.C (readParToken): report unknown insets as error
5060         boxes. Use the outer paragraph as location (also for unknown
5061         tokens).
5062
5063         * factory.C (readInset): do not abort on reading an unknown inset.
5064         Eat it and return 0.
5065
5066 2003-10-13  Angus Leeming  <leeming@lyx.org>
5067
5068         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5069
5070         * lyxrc.C: displayTranslator is now a function,
5071         declared in GraphicsTypes.h.
5072
5073 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5074
5075         * format.C: new placeholder $$a to pass the socket address.
5076
5077         * bufferlist.[Ch]: new function getBufferFromTmp.
5078
5079         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5080           files in the temporary dir.
5081
5082 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5083
5084         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5085
5086         * Makefile.am: add lyxsocket.[Ch].
5087
5088         * lyx_main.C (error_handler): handle SIGPIPE.
5089
5090 2003-10-13  André Pönitz  <poenitz@gmx.net>
5091
5092         * BufferView_pimpl.C:
5093         * lyxtext.h:
5094         * text.C:
5095         * text2.C:
5096         * text3.C:
5097         * undo_funcs.[Ch]: use paroffset_type instead of
5098           ParagraphList::iterators to prevent multiple conversion
5099           (and get a more robust interface)
5100
5101 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5102
5103         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5104         * lyxtext.h: ditto
5105         * text3.C (dispatch): ditto
5106
5107 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5108
5109         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5110         move the onlyfile, use onlyfile instead of foundfile in a couple
5111         of places.
5112
5113         * DepTable.C (update): flush the error stream a bit more
5114
5115 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5116
5117         * lyxserver.C (callback): adjust
5118
5119         * lyxfunc.C (getStatus): add a missing brace in commented code
5120         (ensureBufferClean): reindent
5121         (dispatch): delete version taking a string
5122
5123 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5124
5125         * LaTeX.C (deplog): move found file handlig from here...
5126         (handleFoundFile): .. to new function here.
5127         (deplog): make sure to discover several files mentioned on the
5128         same log line.
5129
5130 2003-10-10  André Pönitz  <poenitz@gmx.net>
5131
5132         * lyxfunc.C:
5133         * lyxtext.h:
5134         * tabular.C:
5135         * text.C:
5136         * text2.C:
5137         * text3.C: fix some of the tabular crashes
5138
5139 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5140
5141         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5142
5143         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5144
5145 2003-10-09  André Pönitz  <poenitz@gmx.net>
5146
5147         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5148
5149         * BufferView.C:
5150         * BufferView_pimpl.C:
5151         * bufferview_funcs.C:
5152         * lyx_cb.C:
5153         * lyxcursor.C:
5154         * lyxfind.C:
5155         * lyxfunc.C:
5156         * lyxtext.h:
5157         * text.C:
5158         * text2.C:
5159         * text3.C:
5160         * text_funcs.[Ch]:
5161         * textcursor.[Ch]:
5162         * undo_funcs.C: adjust
5163
5164 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5165
5166         * text2.C (incrementItemDepth): new function, use a backtracking
5167         algorithm to discover the correct item depth.
5168         (resetEnumCounterIfNeeded): new function, use a backtracking
5169         algorithm to discover if counter reset is needed.
5170         (setCounter): use them. Simplify a bit. Add different labels for
5171         different item depths for itemize.
5172
5173         * paragraph.C (Paragraph): remove initialization of enumdepth
5174         (operator=): ditto
5175
5176         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5177         enumerate and itemize. Change the type of itemdepth to signed char.
5178
5179 2003-10-08  André Pönitz  <poenitz@gmx.net>
5180
5181         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5182           thing assignable.
5183         * text.C:
5184         * text2.C: adjust
5185
5186         * tabular.[Ch]: fix crash after 'row-insert'
5187
5188 2003-10-08  Angus Leeming  <leeming@lyx.org>
5189
5190         Fix doxygen warnings.
5191
5192         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5193         Remove CutAndPaste:: prefix from header file declaration.
5194
5195         * LColor.h (fill): remove LColor:: prefix from declaration.
5196
5197         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5198         use lyx::depth_type rather than Paragraph::depth_type so that
5199         header file and .C file match.
5200
5201         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5202
5203         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5204         * aspell.C: \file aspell_local.C -> \file aspell.C
5205         * gettext.C: \file gettext.C -> \file src/gettext.C
5206         * gettext.h: \file gettext.h -> \file src/gettext.h
5207         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5208         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5209         * text.C: \file text.C -> \file src/text.C
5210
5211         * toc.C: move comment so that doxygen is not confused.
5212
5213 2003-10-07  Angus Leeming  <leeming@lyx.org>
5214
5215         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5216
5217 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5218
5219         * aspell.C:
5220         * aspell_local.h: add forgotten std::string's.
5221
5222 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5223
5224         * LaTeXFeatures.C:
5225         * LyXAction.C:
5226         * factory.C:
5227         * lfuns.h:
5228         * lyxfunc.C:
5229         * text3.C: The Box patch. Fancybox support, minipage, parbox
5230
5231 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5232
5233         * CutAndPaste.h:
5234         * DepTable.h:
5235         * FloatList.h:
5236         * LaTeXFeatures.h:
5237         * ParagraphParameters.h:
5238         * TextCache.h:
5239         * Thesaurus.h:
5240         * bufferlist.h:
5241         * exporter.h:
5242         * importer.h:
5243         * lastfiles.h:
5244         * lyxfind.h:
5245         * lyxfont.h:
5246         * lyxlex.h:
5247         * lyxtextclasslist.h:
5248         * messages.h:
5249         * paragraph.h:
5250         * paragraph_pimpl.C:
5251         * textcursor.h: add <string> and other small fixes to make Lars'
5252         std::string patch compile with STLport.
5253
5254 2003-10-06  Angus Leeming  <leeming@lyx.org>
5255
5256         * LColor.h: Add missing #include <string>.
5257
5258 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5259
5260         * All most all file in all subdirs: Make <string> be the prefered
5261         way of getting to std::string, add using declarations.
5262
5263 2003-10-06  André Pönitz  <poenitz@gmx.net>
5264
5265         * metricsinfo.C: initialize LyXFont before changing attribute.
5266         (fixes the 'math in \emph is upright' bug)
5267
5268 2003-10-06  André Pönitz  <poenitz@gmx.net>
5269
5270         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5271
5272 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5273
5274         * graph.C:
5275         * paragraph_pimpl.C: Small fixes to build using STLport
5276
5277 2003-10-02  André Pönitz  <poenitz@gmx.net>
5278
5279         * lyxfunc.C:
5280         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5281
5282 2003-10-01  André Pönitz  <poenitz@gmx.net>
5283
5284         * factory.C: assert early
5285
5286 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5287
5288         * lyx_main.C: remove the global debug object
5289
5290         * debug.h: adjust for new debugstream
5291
5292         * debug.C: adjust for new debugstream and keep the global debug
5293         object here.
5294
5295 2003-09-22  Angus Leeming  <leeming@lyx.org>
5296
5297         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5298         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5299         an incomplete class LyXFont.
5300
5301 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5302
5303         * factory.C: bug fix in branches
5304
5305 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5306
5307         * lyxfunc.C (processKeySym): adjust
5308         (dispatch): adjust
5309         (dispatch): change arg name from ev to func, adjust
5310         (sendDispatchMessage): ditto
5311
5312         * lyx_main.C (defaultKeyBindings): adjust keybindings
5313         (deadKeyBindings): ditto
5314
5315         * kbsequence.C (addkey): return a FuncRequest
5316
5317         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5318
5319         * kbmap.C (bind): take a FuncRequest as arg, adjust
5320         (read): adjust
5321         (lookup): adjust
5322         (defkey): change to take a FuncRequest as arg, adjust
5323         (findbinding): take a FuncRequest as arg, adjust.
5324
5325         * funcrequest.h (operator=): added
5326
5327         * funcrequest.C (FuncRequest): default kb_action changed from
5328         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5329
5330         * buffer.C (dispatch): simplify
5331         (dispatch): adjust to take a FuncRequest as arg, adjust
5332
5333         * boost.C (assertion_failed): change assertion message slightly
5334
5335         * ToolbarBackend.C (read): simplify
5336
5337         * MenuBackend.C (binding): adjust call to findbinding, add a
5338         message if no binding is found.
5339         (read): simplify
5340         (expandToc): correct by adding a empty FuncRequest
5341
5342         * LyXAction.C: include <boost/assert.hpp>
5343         (isPseudoAction): delete function
5344         (LookupFunc): change name to...
5345         (lookupFunc): this. change return type to FuncRequest.
5346         (getActionName): take kb_action as arg, simplify
5347         (funcHasFlag): add an assert, simplify.
5348
5349 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5350
5351         * toc.C (action): return a FuncRequest, simplify
5352
5353         * lyxfunc.C (processKeySym): adjust
5354         (getStatus): delete version that takes an int.
5355         (getStatus): adjust
5356         (dispatch): delete version that takes action as int
5357         (dispatch): adjust
5358         (sendDispatchMessage): simplify and adjust
5359
5360         * funcrequest.C (getArg): take unsigned int as arg
5361
5362         * ToolbarBackend.C (read): adjust
5363         (add): delete version that takes func as a string.
5364         (getIton): take a FuncRequest as arg
5365
5366         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5367         action.
5368
5369         * MenuBackend.C (MenuItem): add a new construct that only takes a
5370         Kind, simplify the constructor use for submenus.
5371         (add): adjust
5372         (expandLastfiles): adjust
5373         (expandDocuments): adjust
5374         (expandFormats): adjust
5375         (expandFloatListInsert): adjust
5376         (expandFloatInsert): adjust
5377         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5378
5379         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5380         Remove class variables lyx_pseudo_map and lyx_arg_map
5381
5382         * LyXAction.C (searchActionArg): delete function
5383         (getPseudoAction): delete function
5384         (retrieveActionArg): delete function
5385         (LookupFunc): make it return kb_action, simplify.
5386         (getActionName): simplify
5387
5388         * factory.C (createInset): fix new bug
5389
5390 2003-09-19  Angus Leeming  <leeming@lyx.org>
5391
5392         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5393         masterFilename_ parameter in the include inset.
5394
5395         * factory.C (createInset): changes due to the changes to InsetInclude.
5396
5397 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5398
5399         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5400
5401 2003-09-18  Angus Leeming  <leeming@lyx.org>
5402
5403         * buffer.C:
5404         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5405         Inset::fillWithBibKeys.
5406         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5407
5408 2003-09-18  Angus Leeming  <leeming@lyx.org>
5409
5410         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5411         variables.
5412         (ctor): pass and store a 'Buffer const &'
5413         (buffer): new member function.
5414
5415         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5416         '*this' to the LaTeXFeatures ctor.
5417
5418 2003-09-18  Angus Leeming  <leeming@lyx.org>
5419
5420         * LColor.h:
5421         * lyxfont.C:
5422         * lyxfont.h:
5423         * lyxtext.h:
5424         * text.C: rename EnumLColor as LColor_color.
5425
5426 2003-09-18  Angus Leeming  <leeming@lyx.org>
5427
5428         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5429         remove #include "insets/insetbase.h" from cursor.h.
5430
5431 2003-09-18  Angus Leeming  <leeming@lyx.org>
5432
5433         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5434         InsetOld_code to remove #include "inset.h".
5435
5436         * iterators.C: add #include "insets/inset.h"
5437
5438 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5439
5440         * BufferView.C: remove more locking stuff that apparently doesn't
5441         do anything sensible.
5442
5443 2003-09-16  André Pönitz  <poenitz@gmx.net>
5444
5445         * paragraph.[Ch]:
5446         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5447           performance boost.
5448
5449 2003-09-16  Angus Leeming  <leeming@lyx.org>
5450
5451         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5452
5453         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5454         arg/return type.
5455
5456         * paragraph.h: remove #include "lyxfont.h". Forward declare
5457         LyXFont_size.
5458
5459 2003-09-16  Angus Leeming  <leeming@lyx.org>
5460
5461         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5462         of support/textutils.h.
5463         (isWord): move the contents of support/textutils.h's IsWordChar here.
5464
5465         * buffer.C:
5466         * lyxfind.C:
5467         * rowpainter.C:
5468         * text.C:
5469         * text2.C: add #include "paragraph.h".
5470
5471         * rowpainter.C:
5472         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5473
5474 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5475
5476         * main.C:
5477         * lyx_main.C:
5478         * lyx_cb.C:
5479         * buffer.C:
5480         * LaTeX.C: use namespace alias for lyx::support::os
5481
5482 2003-09-16  Angus Leeming  <leeming@lyx.org>
5483
5484         * bufferparams.C:
5485         * bufferview_funcs.C:
5486         * factory.C:
5487         * lyxfunc.C:
5488         * paragraph_pimpl.C:
5489         * rowpainter.C:
5490         * text.C: add #include "LColor.h".
5491
5492 2003-09-16  Angus Leeming  <leeming@lyx.org>
5493
5494         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5495         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5496         return LyXFont &.
5497         Store the FontBits::color variable as an int rather than as an
5498         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5499         file.
5500
5501         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5502         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5503         string calls together.
5504
5505         * lyxrc.C: add #include "LColor.h".
5506
5507 2003-09-15  Angus Leeming  <leeming@lyx.org>
5508
5509         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5510         a cow_ptr.
5511
5512 2003-09-15  Angus Leeming  <leeming@lyx.org>
5513
5514         * LColor.h: add an EnumLColor wrapper for LColor::color.
5515
5516         * lyxfont.[Ch] (color, setColor, realColor):
5517         * lyxtext.h, text.C (backgroundColor):
5518         pass EnumLColor args to/from the functions, rather than LColor::color
5519         ones.
5520
5521         * lyxfont.h:
5522         * lyxtext.h: forward declare EnumLColor.
5523
5524         * lyx_main.C: add #include "LColor.h".
5525
5526 2003-09-15  Angus Leeming  <leeming@lyx.org>
5527
5528         * .cvsignore: add lyx-gtk.
5529
5530 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5531
5532         * Chktex.C
5533         * LaTeX.C
5534         * LaTeXFeatures.C
5535         * ParagraphParameters.C
5536         * Spacing.C
5537         * buffer.C
5538         * bufferparams.C
5539         * bufferview_funcs.C
5540         * chset.C
5541         * counters.C
5542         * funcrequest.C
5543         * lyxfont.C
5544         * lyxgluelength.C
5545         * lyxlength.C
5546         * paragraph.C
5547         * paragraph_funcs.C
5548         * text3.C
5549         * vc-backend.C: remove usage of STRCONV
5550
5551 2003-09-15  Angus Leeming  <leeming@lyx.org>
5552
5553         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5554         explicitly define the color passed to the painter.
5555
5556 2003-09-15  Angus Leeming  <leeming@lyx.org>
5557
5558         * bufferparams.C (BufferParams): reorder member initializers to avoid
5559         compiler warning.
5560
5561 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5562
5563         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5564         * text.C (updateRowPositions): remove an unusual nop
5565
5566 2003-09-12  André Pönitz  <poenitz@gmx.net>
5567
5568         * BufferView_pimpl.C:
5569         * Bullet.C:
5570         * layout.h:
5571         * lyxfunc.C:
5572         * lyxlayout.[Ch]:
5573         * lyxtextclass.C:
5574         * rowpainter.C:
5575         * text.C:
5576         * text2.C:
5577         * Counters.[Ch]: finish the 'automatic counters' job
5578
5579 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5580
5581         * aspell.C: include <boost/assert.cpp> (compile fix)
5582
5583 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5584
5585         * boost.C (assertion_failed): use lyx::support::abort instead of
5586         assert.
5587
5588 2003-09-10  Angus Leeming  <leeming@lyx.org>
5589
5590         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5591         with their _fwd progeny.
5592
5593 2003-09-09  Angus Leeming  <leeming@lyx.org>
5594
5595         134 files throughtout the source tree: replace 'using namespace abc;'
5596         directives with the appropriate 'using abc::xyz;' declarations.
5597
5598 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5599
5600         * boost.C (emergencyCleanup): moved here from LAssert.c
5601         (assertion_failed): new function, called by BOOST_ASSERT
5602
5603         * several files: change Assert to BOOST_ASSERT
5604
5605 2003-09-09  Angus Leeming  <leeming@lyx.org>
5606
5607         * buffer.[Ch]: Add an Impl class and move Buffer's member
5608         variables into it. As a result move several header files out of
5609         buffer.h.
5610
5611         Add header files to lots of .C files all over the tree as a result.
5612
5613 2003-09-09  Angus Leeming  <leeming@lyx.org>
5614
5615         * buffer.[Ch]: make Buffer's member variables private. Add
5616         accessor functions.
5617
5618         Lots of changes all over the tree as a result.
5619
5620 2003-09-08  Angus Leeming  <leeming@lyx.org>
5621
5622         * graph.C: #include <config.h>.
5623
5624 2003-09-08  Angus Leeming  <leeming@lyx.org>
5625
5626         * BranchList.C:
5627         * BufferView.C:
5628         * BufferView_pimpl.C:
5629         * CutAndPaste.C:
5630         * DepTable.C:
5631         * LaTeX.C:
5632         * LaTeXFeatures.C:
5633         * LyXAction.C:
5634         * MenuBackend.C:
5635         * TextCache.C:
5636         * aspell.C:
5637         * buffer.C:
5638         * bufferlist.C:
5639         * changes.C:
5640         * chset.C:
5641         * converter.C:
5642         * counters.C:
5643         * debug.C:
5644         * graph.C:
5645         * ispell.C:
5646         * lyx_cb.C:
5647         * lyxfind.C:
5648         * lyxfunc.C:
5649         * lyxlex_pimpl.C:
5650         * lyxrc.C:
5651         * lyxrow.C:
5652         * paragraph.C:
5653         * rowpainter.C:
5654         * texrow.C:
5655         * text.C:
5656         * text2.C:
5657         * toc.C: remove redundant using directives.
5658
5659 2003-09-07  Angus Leeming  <leeming@lyx.org>
5660
5661         * LaTeXFeatures.h: remove #include "support/types.h".
5662         * ToolbarBackend.h: remove #include <algorithm>.
5663         * changes.h: remove #include <ctime>.
5664         * debug.h: remove #include <iosfwd>.
5665         * graph.h: remove #include "support/std_string.h".
5666         * lyx_main.h: remove #include <csignal>.
5667         * lyxlex_pimpl.h: remove #include <fstream>.
5668         * sgml.h: remove #include <algorithm>, <utility>.
5669         * toc.h: remove #include "support/std_ostream.h".
5670         Add #include <iosfwd>.
5671
5672 2003-09-07  Angus Leeming  <leeming@lyx.org>
5673
5674         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5675
5676         * converter.h: forward declare LatexRunParams.
5677         * encoding.h: remove #include "lyxrc.h".
5678         * lyxtext.h: remove #include "LColor.h".
5679         * lyxtextclass.h: remove #include "support/types.h".
5680         * trans.h: remove #include "tex-accent.h".
5681         * trans_mgr.h: remove #include "tex-accent.h".
5682         * insets/inset.h: remove #include "support/types.h", <vector>.
5683         * insets/insetcollapsable.h: remove #include "LColor.h".
5684         * insets/insetinclude.h: remove #include "dimension.h".
5685         * insets/insetlatexaccent.h: remove #include "dimension.h".
5686         * insets/insetoptarg.h:: remove #include "insettext.h".
5687         * insets/insettext.h: remove #include "dimension.h",
5688         <boost/shared_ptr.hpp>
5689
5690         * insets/renderers.h: add #include "dimension.h".
5691         * insets/updatableinset.h: add #include "support/types.h".
5692
5693         * many .C files: Associated changes.
5694
5695 2003-09-06  Angus Leeming  <leeming@lyx.org>
5696
5697         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5698         one, inside testInvariant.
5699
5700         * PrinterParams.C: new file.
5701         * PrinterParams.[Ch]: move the function bodies out of line.
5702
5703 2003-09-06  Angus Leeming  <leeming@lyx.org>
5704
5705         * ParagraphParameters.h: forward declare ParameterStruct rather than
5706         including its header file.
5707         (depth): moved out-of-line.
5708
5709 2003-09-06  Angus Leeming  <leeming@lyx.org>
5710
5711         * BufferView_pimpl.h:
5712         * kbmap.h:
5713         * kbsequence.h:
5714         * lyxfunc.h: forward declare LyXKeySym rather than
5715         #include "frontends/LyXKeySym.h".
5716
5717         * BufferView_pimpl.C:
5718         * kbmap.C:
5719         * kbsequence.C:
5720         * lyxfunc.C: associated changes.
5721
5722 2003-09-06  Angus Leeming  <leeming@lyx.org>
5723
5724         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5725         As a result, can remove the #include "insets/inset.h" from BufferView.h
5726
5727 2003-09-06  Angus Leeming  <leeming@lyx.org>
5728
5729         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5730         As a result, can remove the #include "insets/inset.h" from BufferView.h
5731
5732 2003-09-06  Angus Leeming  <leeming@lyx.org>
5733
5734         * buffer_funcs.C:
5735         * buffer.h:
5736         * bufferlist.C:
5737         * BufferView.C:
5738         * bufferview_funcs.C:
5739         * BufferView_pimpl.C:
5740         * CutAndPaste.C:
5741         * lyx_cb.C:
5742         * lyxfunc.C:
5743         * paragraph.h:
5744         * ParagraphParameters.C:
5745         * tabular.C:
5746         * text3.C:
5747         * toc.C:
5748         * undo_funcs.C:
5749         * frontends/controllers/ControlDocument.C:
5750         * insets/insetcaption.C: rearrange the #includes into some sort of
5751         coherent order.
5752
5753         * buffer.h: remove #includes ErrorList.h, undo.h
5754
5755 2003-09-06  Angus Leeming  <leeming@lyx.org>
5756
5757         * support/types.h: add a 'depth_type' typedef, used to store the
5758         nesting depth of a paragraph.
5759
5760         * paragraph.h:
5761         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5762         defining explicitly.
5763
5764         * buffer.h:
5765         * paragraph_funcs.h:
5766         * ParagraphParameters.h:
5767         * sgml.h: use lyx::depth_type rather than Paragraph or
5768         ParameterStruct's depth_type.
5769
5770         * buffer.h
5771         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5772
5773         * BufferView.C:
5774         * BufferView_pimpl.C:
5775         * CutAndPaste.C:
5776         * ParagraphParameters.C:
5777         * buffer_funcs.C:
5778         * bufferlist.C:
5779         * bufferview_funcs.C:
5780         * lyx_cb.C:
5781         * lyxfunc.C:
5782         * tabular.C:
5783         * text3.C:
5784         * toc.C:
5785         * undo_funcs.C:
5786         * frontends/LyXView.C:
5787         * frontends/controllers/ControlDocument.C:
5788         * frontends/controllers/ControlErrorList.C:
5789         * insets/insetbibitem.C:
5790         * insets/insetbranch.C:
5791         * insets/insetcaption.C:
5792         * insets/insetcollapsable.C:
5793         * insets/insetenv.C:
5794         * insets/insetert.C:
5795         * insets/insetfloat.C:
5796         * insets/insetfoot.C:
5797         * insets/insetfootlike.C:
5798         * insets/insetnewline.C:
5799         * insets/insetquotes.C:
5800         * insets/insettabular.C:
5801         * insets/insettext.C:
5802         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5803
5804         * frontends/controllers/ControlChanges.C: #include "changes.h".
5805
5806 2003-09-06  Angus Leeming  <leeming@lyx.org>
5807
5808         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5809         than #including paragraph.h.
5810
5811         * ParagraphList.h:
5812         * RowList.h: deleted. Superfluous.
5813
5814         * CutAndPaste.h:
5815         * iterators.h:
5816         * lyxcursor.h:
5817         * lyxtext.h:
5818         * text_funcs.h:
5819         * undo.h:
5820         * undo_funcs.h:
5821         * insets/inset.h:
5822         * insets/insettext.h: use ParagraphList_fwd.h rather than
5823         ParagraphList.h.
5824
5825         * paragraph.h: don't forward declare ParagraphList.
5826
5827         * buffer.h:
5828         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5829         rather than ParagraphList.h. paragraph.h is still needed for the
5830         Paragraph::depth_type parameters.
5831
5832         * textcursor.h: enable it to compile stand-alone in light of the
5833         above changes.
5834
5835         * bufferview_funcs.C:
5836         * iterators.C:
5837         * lyxfunc.C:
5838         * lyxrow_funcs.C:
5839         * paragraph.C:
5840         * rowpainter.C:
5841         * text.C:
5842         * text2.C:
5843         * text3.C:
5844         * text_funcs.C:
5845         * textcursor.C:
5846         * undo.C:
5847         * frontends/controllers/ControlParagraph.C:
5848         * frontends/controllers/ControlTabular.C:
5849         * insets/insetmarginal.C:
5850         * insets/insetminipage.C:
5851         * insets/insetnote.C:
5852         * insets/insetoptarg.C: add header files needed to compile again.
5853
5854 2003-09-06  Angus Leeming  <leeming@lyx.org>
5855
5856         * RowList_fwd.h: new file, forward-declaring Row rather than
5857         #including lyxrow.h.
5858
5859         * lyxrow_funcs.h:
5860         * lyxtext.h:
5861         * paragraph.h:
5862         * insets/insettext.h: use it instead of RowList.h
5863
5864         * bufferview_funcs.C:
5865         * lyxfunc.C:
5866         * lyxrow_funcs.C:
5867         * paragraph.C:
5868         * rowpainter.C:
5869         * text.C:
5870         * text2.C:
5871         * text3.C: #include "RowList.h".
5872
5873 2003-09-05  Angus Leeming  <leeming@lyx.org>
5874
5875         * factory.C (createInset):
5876         * vspace.C (c-tor): replace sscanf call with an istringstream.
5877         * ispell.C: re-add missing HP/UX headers.
5878         * lyxserver.C: re-add missing  os2 headers.
5879
5880 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5881
5882         * BranchList.C:
5883         * graph.C:
5884         * ispell.C:
5885         * lastfiles.C:
5886         * lyx_cb.C:
5887         * lyxserver.C:
5888         * texrow.C:
5889         * text3.C: re-add missing system headers, needed for 2.95.2.
5890
5891 2003-09-05  Angus Leeming  <leeming@lyx.org>
5892
5893         Changes most place everywhere due to the removal of using directives
5894         from support/std_sstream.h.
5895
5896 2003-09-05  Angus Leeming  <leeming@lyx.org>
5897
5898         Replace LString.h with support/std_string.h,
5899         Lsstream.h with support/std_sstream.h,
5900         support/LIstream.h with support/std_istream.h,
5901         support/LOstream.h with support/std_ostream.h.
5902
5903         Changes resulting throughout the tree.
5904
5905 2003-09-05  Angus Leeming  <leeming@lyx.org>
5906
5907         * sgml.h: ensure that the header file can be compiled stand-alone.
5908         * *.C: strip out redundant #includes. (320 in total.)
5909
5910 2003-09-04  Angus Leeming  <leeming@lyx.org>
5911
5912         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5913         here (from getPackages).
5914
5915         * debug.[Ch]: add a new EXTERNAL tag.
5916
5917 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5918
5919         * text2.C (cursorEnd): simplify
5920         (setCursor): adjust
5921         (getColumnNearX): adjust
5922
5923         * text.C (computeBidiTables): adjust
5924         (fill): adjust
5925
5926         * rowpainter.C (paintChars): adjust
5927         (paintSelection): adjust
5928         (paintChangeBar): adjust
5929         (paintText): adjust
5930
5931         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5932         lastPos instead.
5933         (numberOfSeparators): adjust
5934
5935 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5936
5937         * LyXAction.C:
5938         * box.[Ch]:
5939         * lfuns.h:
5940         * lyxfunc.C:
5941         * text3.C: Restricts the mouse click functionality
5942         of insets like bibtex, include, toc and floatlist to the visible
5943         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5944         up the dialogs. Cursor has to be in front of the inset (i.e.
5945         start of row) for this to function.
5946
5947 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5948
5949         * bufferview_funcs.C (currentState): output row information
5950
5951 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5952
5953         * bufferview_funcs.C (currentState): output paragraph position
5954
5955 2003-09-04  Angus Leeming  <leeming@lyx.org>
5956
5957         * FloatList.h: move out #include "Floating.h".
5958         * LaTeX.h: move out #include "DepTable.h".
5959         * LyXAction.h: move out #include "funcrequest.h".
5960         * buffer.h: move out #include "author.h", "iterators.h".
5961         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5962         * lyx_main.h: move out #include "errorlist.h".
5963         * lyxfunc.h: move out #include "FuncStatus.h".
5964         * lyxtext: move out #include "lyxcursor.h".
5965         * paragraph_pimpl.h: move out #include "counters.h".
5966
5967 2003-09-03  Angus Leeming  <leeming@lyx.org>
5968
5969         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5970         preamble_snippets list, enabling us to add snippets to the preamble
5971         only if the snippet was not there already.
5972
5973 2003-09-04  Angus Leeming  <leeming@lyx.org>
5974
5975         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5976
5977 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5978
5979         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5980         update
5981
5982 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5983
5984         * BranchList.C: point fix, earlier forgotten
5985
5986 2003-09-02  Angus Leeming  <leeming@lyx.org>
5987
5988         * box.C (contains): renamed from 'contained' after a fantastic
5989         amount of hot air.
5990
5991 2003-09-02  John Levon  <levon@movementarian.org>
5992
5993         * BufferView.C:
5994         * lyxcursor.h:
5995         * lyxcursor.C:
5996         * lyxfunc.C:
5997         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5998
5999 2003-09-02  John Levon  <levon@movementarian.org>
6000
6001         * text2.C: simplification of cursorEnd(), including partial
6002         fix for bug 1376
6003
6004 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6005
6006         * buffer.C (readFile): add a space
6007
6008 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6009
6010         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6011
6012 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6013
6014         * buffer.C (readFile): new function, take a filename and a
6015         ParagraphList::iterator
6016         (readFile): adjust
6017         (readFile): adjust, make it private. don't use setStream, make
6018         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6019         always contain the filename.
6020
6021         * BufferView.C (insertLyXFile): simplify and make it work for
6022         gzipped files.
6023
6024 2003-08-30  John Levon  <levon@movementarian.org>
6025
6026         * Makefile.am: fix dist (from Kayvan)
6027
6028 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6029
6030         * most files: change to use const Buffer refs
6031
6032 2003-08-27  André Pönitz  <poenitz@gmx.net>
6033
6034         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6035         on top of ownerPar().
6036
6037 2003-08-27  John Levon  <levon@movementarian.org>
6038
6039         * funcrequest.C: properly initialise POD members
6040
6041 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6042
6043         * lyxtext.h (top_y): move top_y from here
6044         * text.C:
6045         * text2.C:
6046         * text3.C:
6047         * BufferView.[Ch]:
6048         * BufferView_pimpl.[Ch]: to here
6049         * frontends/screen.C:
6050         * insets/insettabular.C:
6051         * insets/insettext.C: adjust
6052         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6053
6054 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6055
6056         * BufferView.[Ch]:
6057         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6058
6059 2003-08-26  André Pönitz  <poenitz@gmx.net>
6060
6061         * paragraph_func.[Ch] (outerPar): new function
6062
6063         * paragraph.C:
6064         * paragraph_funcs.C:
6065         * paragraph_funcs.h:
6066         * paragraph_pimpl.C:
6067         * text2.C: remove Inset::par_owner
6068
6069 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6070
6071         * lyxrow_funcs.C:
6072         * lyxtext.h:
6073         * text.C:
6074         * text2.C: eliminates the needFullRow/display() stuff
6075         altogether, putting the logic in metrics/draw in the insets.
6076
6077 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6078
6079         * text2.C (redoParagraphInternal, redoParagraphs):
6080         * text.C (redoParagraph): add a call to updateRowPositions at the
6081         end of each 'metrics-like' call. Remove all others.
6082         (getRow): remove the 'y-computing' version.
6083         (getRowNearY): do not compute nor return the real y. Solve the
6084         'y < 0' problem and simplify.
6085
6086 2003-08-22  Angus Leeming  <leeming@lyx.org>
6087
6088         * *.[Ch]: clean-up of licence and author blurbs.
6089         Also move config.h out of a few .h files and into a few .C files.
6090
6091 2003-08-22  André Pönitz  <poenitz@gmx.net>
6092
6093         * lyxrow.[Ch]: add x_ and *fill_ members
6094
6095         * lyxtext.h:
6096         * text.C:
6097         * rowpainter.C:
6098         * text2.C: adjust/remove prepareToPrint() calls
6099
6100 2003-08-22  André Pönitz  <poenitz@gmx.net>
6101
6102         * lyxrow.[Ch]: add  end_ member
6103
6104         * lyxrow_funcs.C: use LyXRow::end_
6105
6106         * lyxtext.h (singleWidth): add LyXFont parameter
6107
6108         * rowpainter.C:
6109         * text2.C: adjust LyXText::singleWidth() calls
6110
6111         * text.C (redoParagraph): simplify row breaking logic
6112
6113
6114 2003-08-19  André Pönitz  <poenitz@gmx.net>
6115
6116         * funcrequest.C: initialize button_ member
6117
6118         * text3.C:
6119         * rowpainter.[Ch]: interface consolidation
6120
6121 2003-08-18  André Pönitz  <poenitz@gmx.net>
6122
6123         * BufferView.C:
6124         * BufferView_pimpl.C:
6125         * lyxfind.C:
6126         * paragraph_funcs.C:
6127         * rowpainter.C:
6128         * text3.C: remove LyXScreen::draw() and fitCursor calls
6129
6130         * BranchList.h: remove spurious semicolons
6131
6132         * MenuBackend.C: fix branchlist related crash
6133
6134 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6135
6136         * BranchList.[Ch]:
6137         * InsetList.[Ch]:
6138         * LColor.[Ch]:
6139         * LyXAction.C:
6140         * Makefile.am:
6141         * MenuBackend.[Ch]:
6142         * bufferparams.[Ch]:
6143         * factory.C:
6144         * lfuns.h:
6145         * lyxfunc.C:
6146         * text3.C: implements the 'branch inset'
6147         idea. This allows the output of various versions of a document
6148         from a single source version, selectively outputing or suppressing
6149         output of parts of the text.
6150         This implementation contains a 'branch list editor' in a separate
6151         tab of the document settings dialog. Branches are user definable
6152         and have a "display colour" to distinguish them on-screen.
6153
6154         ColorHandler was somewhat cleaned up.
6155         (1) make possible a dynamically growing LColor list by allowing
6156         the graphic context cache to grow along (vector);
6157         (2) eliminate an IMHO unnecessary step in colour allocation.
6158
6159 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6160
6161         * BufferView_pimpl.C: compile fix
6162
6163 2003-08-15  André Pönitz  <poenitz@gmx.net>
6164
6165         * rowpainter.C: remove extra metrics calls
6166
6167         * lyxtext.h: merge the two constructors into a single one,
6168           pass reference to owner's par list
6169
6170         * BufferView_pimpl.C:
6171         * text.C:
6172         * text2.C: adjust
6173
6174 2003-08-15  André Pönitz  <poenitz@gmx.net>
6175
6176         * lyxrow_funcs.[Ch]:
6177         * lyxtext.h:
6178         * paragraph.h:
6179         * paragraph_funcs.C:
6180         * rowpainter.C:
6181         * text.C:
6182         * text2.C:
6183         * text3.C:
6184         * text_funcs.C: split LyXText::rowlist_ into individual
6185         Paragraph::rows_ chunks
6186
6187         * BufferView.[Ch]:
6188         * BufferView_pimpl.[Ch]:
6189         * lyxfind.C:
6190         * lyxtext.h:
6191         * text3.C: remove toggleSelection()
6192
6193 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6194
6195         * bufferlist.C: beautify two alerts (shorter text of buttons)
6196         * buffer.C: Remove redundant ' ' from message
6197         * tabular.h:
6198         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6199         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6200         rename VALIGN_CENTER to VALIGN_MIDDLE
6201
6202 2003-08-11  André Pönitz  <poenitz@gmx.net>
6203
6204         * lyxtext.h (getPar):
6205         * text.C: new function
6206
6207 2003-08-11  André Pönitz  <poenitz@gmx.net>
6208
6209         * Makefile.am:
6210         * tracer.[Ch]: remove unneeded files
6211
6212         * InsetList.[Ch]: remove resizeInsetsLyXText()
6213
6214         * lyxtext.h:
6215         * text.C:
6216         * text2.C:
6217         * text3.C: merge insertParagraphs() and appendParagraph()
6218         remove breakAgain(), update()
6219
6220         * BufferView_pimpl.[Ch]:
6221         * bufferview_funcs.[Ch]:
6222         * lyxfunc.C:
6223         * paragraph.[Ch]:
6224         * rowpainter.C:
6225         * tabular.C: adjust after text & InsetList changes.
6226
6227 2003-08-08  André Pönitz  <poenitz@gmx.net>
6228
6229         * text.C (insertChar, backspace): replace rowlist fiddling
6230         with rebreak of full par
6231
6232         * lyxtext.h:
6233         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6234         checkParagraph, updateInset): removed
6235
6236 2003-08-07  André Pönitz  <poenitz@gmx.net>
6237
6238         * paragraph.C:
6239         * text3.C: merge some LFUN handlers, remove dead code
6240
6241 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6242
6243         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6244
6245 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6246
6247         * text2.C (DEPM): fix part of bug 1255 and 1256
6248
6249 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6250
6251         * BufferView_pimpl.C (workAreaDispatch): change to use
6252         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6253         that are no mouse related.
6254
6255 2003-08-05  André Pönitz  <poenitz@gmx.net>
6256
6257         * BufferView.[Ch]:
6258         * BufferView_pimpl.[Ch]:
6259         * bufferview_funcs.C:
6260         * text2.C:
6261         * text3.C: rip out "deep update"
6262
6263         * textcursor.[Ch] (last_sel_cursor): remove unused member
6264
6265 2003-08-04  André Pönitz  <poenitz@gmx.net>
6266
6267         * BufferView.[Ch]:
6268         * BufferView_pimpl.[Ch]:
6269         * ParagraphParameters.C:
6270         * bufferview_funcs.C:
6271         * lyx_cb.C:
6272         * lyxfind.C:
6273         * lyxfunc.C:
6274         * text.C:
6275         * text2.C:
6276         * text3.C: replace "complicated" BufferView::update(...) calls with
6277         simpler ones.
6278
6279         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6280
6281 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6282
6283         * Makefile.am (lyx_SOURCES): add paper.h
6284
6285 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6286
6287         * Makefile.am: move things around so that both lyx-qt and
6288         lyx-xforms can be built (according to --with-frontend). Then lyx
6289         is a symbolic link to lyx-[firstfrontend]
6290
6291 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6292
6293         * Always use std::endl with lyxerr
6294
6295 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6296
6297         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6298
6299 2003-08-01  André Pönitz  <poenitz@gmx.net>
6300
6301         * BufferView.[Ch]:
6302         * BufferView_pimpl.[Ch]:
6303         * lyxfunc.C:
6304         * text3.C: merge BufferView::repaint() and BufferView::update()
6305
6306 2003-08-01  José Matos  <jamatos@lyx.org>
6307
6308         * buffer.[Ch]: file_format is no longer a buffer data element.
6309
6310 2003-08-01  André Pönitz  <poenitz@gmx.net>
6311
6312         * BufferView.C:
6313         * lyxtext.h:
6314         * text.C:
6315         * text2.C: make redoParagraph more independent of current cursor
6316
6317         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6318         * text.C:
6319         * text2.C: remove unneeded members
6320
6321 2003-07-30  André Pönitz  <poenitz@gmx.net>
6322
6323         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6324
6325         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6326           create a single function...
6327
6328         * paragraph_funcs.C (moveItem): ... here.
6329
6330         * text.C:
6331           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6332
6333 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6334
6335         * LColor.[Ch]: Add comment and greyedout logical colors.
6336
6337 2003-07-30  André Pönitz  <poenitz@gmx.net>
6338
6339         * tabular.C: don't use Assert too heavily. This crashes where it
6340           shouldn't
6341
6342 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6343
6344         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6345         is disabled (bug 1232)
6346
6347 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6348
6349         * factory.C: limited 'arg' scope
6350
6351 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6352
6353         * factory.C: fixed Note submenu issues
6354
6355 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6356
6357         * factory.C: submenu for Note/Comment/Greyedout
6358
6359 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6360
6361         * lyx_main.C (LyX):
6362         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6363
6364 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6365
6366         * LaTeXFeatures.C:
6367         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6368         greyedout. Patch provided by Jürgen Spitzmüller.
6369
6370 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6371
6372         * kbmap.C (read): fix error message when reading bind files
6373
6374 2003-07-29  Angus Leeming  <leeming@lyx.org>
6375
6376         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6377         certainly does not do what it purports to do. I am doing it, and
6378         us, a favour by killing it.
6379
6380 2003-07-28  José Matos  <jamatos@lyx.org>
6381
6382         * buffer.C (readBody, do_writeFile):
6383         * paragraph.C(readParagraph): \end_document replaces \the_end.
6384
6385 2003-07-29  André Pönitz  <poenitz@gmx.net>
6386
6387         * BufferView.[Ch]:
6388         * BufferView_pimpl.[Ch]:
6389         * lyxfunc.C:
6390         * text2.C:
6391         * text3.C:
6392         * textcursor.[Ch]: remove toggleToggle & Co
6393
6394 2003-07-28  José Matos  <jamatos@fep.up.pt>
6395
6396         * buffer.C (readParagraph):
6397         * params_func (readParToken, readParagraph):
6398         * paragraph.C (write): \layout -> \begin_layout.
6399
6400 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6401
6402         * lyxlex_pimpl.C (setFile): clean up slightly.
6403
6404         * bufferparams.h: add compressed var
6405
6406         * buffer_funcs.C (readFile): adjust for LyXLex change
6407         (newFile): ditto + simplify
6408
6409         * buffer.C (writeFile): handle writing of compressed files
6410
6411         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6412         Check if the file is compressed and set a bufferparm if so.
6413
6414         * Makefile.am (lyx_LDADD): remove explicit -lz
6415
6416 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6417
6418         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6419         makeDocBookFile): put the real LyX version in the first line of
6420         the file
6421
6422         * version.h:
6423         * version.C.in: remove lyx_docversion
6424
6425         * tabular.C (write_attribute): add a template-based version to
6426         write enums properly
6427
6428 2003-07-28  André Pönitz  <poenitz@gmx.net>
6429
6430         * lyxtext.h:
6431         * text.C:
6432         * text2.C:
6433         * text3.C: use doubles again for x-coordinates. They are needed.
6434
6435 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6436
6437         * messages.C (getLocaleDir): use lyx_localedir()
6438
6439         * lyxlex_pimpl.C (setFile): compress stuff
6440
6441         * buffer.C (writeFile): add some compression stuff
6442         (do_writeFile): new func, dont call expliti close... will this
6443         breake anything?
6444
6445         * Makefile.am (lyx_LDADD): add -lz
6446
6447 2003-07-28  José Matos  <jamatos@fep.up.pt>
6448
6449         * buffer.C: increment file format.
6450         * paragraph_funcs (readParagraph, readParToken):
6451         * paragraph.C (readParagraph): add \end_layout.
6452
6453 2003-07-27  Angus Leeming  <leeming@lyx.org>
6454
6455         * Makefile.am: remove special casing for configure-time setting of
6456         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6457
6458         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6459         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6460
6461 2003-07-26  André Pönitz  <poenitz@gmx.net>
6462
6463         * paragraph_func.[Ch]:
6464         * paragraph.C (realizeFont): inline it whereever it is used
6465
6466         * rowpainter.C:
6467         * text.C:
6468         * text2.C:
6469         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6470
6471
6472 2003-07-26  André Pönitz  <poenitz@gmx.net>
6473
6474         *       lyxtext.h:
6475         * text.C:
6476         * text2.C: get rid of LyXText::need_break_row
6477
6478 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6479
6480         * toc.[Ch]: put namespace toc inside namespace lyx
6481
6482         * MenuBackend.C (expandToc2): adjust for lyx::toc
6483         (expandToc): ditto
6484
6485         * lyxfunc.C (dispatch): adjust for lyx::find
6486
6487         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6488         lyx::find instead. Reorganize a bit.
6489         (LyXReplace): rename to replace
6490         (LyXFind): rename to find
6491
6492         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6493         (dispatch): ditto
6494
6495 2003-07-26  André Pönitz  <poenitz@gmx.net>
6496
6497         * text.C (setHeightOfRow): restrict scope of temporary variable
6498
6499         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6500           code (never has been used?)
6501
6502 2003-07-27  Asger Alstrup  <alstrup@local>
6503
6504         * text.C (fill): Optimise algorithm to exploit that we can reuse
6505         the LyXFont for many characters.
6506         (setHeightOfRow): Same thing.
6507         (rowBreakPoint): Same thing.
6508
6509 2003-07-26  Asger Alstrup  <alstrup@local>
6510
6511         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6512
6513         * text.C (singleWidth): Spurious font copying in hot-spot
6514         singleWidth avoided. Reorder tests for arabic for efficiency.
6515
6516         * text.C (fill): handle empty paragraphs better.
6517
6518 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6519
6520         * ispell.C:
6521         * encoding.h: add includes
6522
6523         * lyxrc.C: remove reading of bind files
6524
6525         * lyx_main.C (init): setup bindings and menus only if we have a
6526         gui.
6527
6528         * kbmap.C (read): new method. Do the actual reading of bind
6529         files.
6530
6531         * converter.C (dvipdfm_options):
6532         * bufferparams.C:
6533         * lyxrc.C (read):
6534         (output): adapt PAPER_* enums.
6535
6536         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6537
6538         * bufferparams.h: remove paper-related enums from there
6539
6540         * paper.h: New file. A trivial header file to hold paper-related
6541         enums. It should later expand to contain many paper-related
6542         horrors access.
6543
6544         * lyxrc.C: declare extern displayTranslator
6545
6546 2003-07-27  José Matos  <jamatos@fep.up.pt>
6547
6548         * tabular.[Ch] (linuxdoc): add support for tables and figures
6549         (linuxdoc).
6550
6551 2003-07-27  José Matos  <jamatos@fep.up.pt>
6552
6553         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6554         consistency in both functions.
6555         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6556
6557 2003-07-26  Asger Alstrup  <alstrup@local>
6558
6559         * rowpainter.C (paintRows): Change algorithm to work directly on
6560         the insets rather than asking every character in the document
6561         whether its an inset.
6562
6563 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6564
6565         * buffer.C (openFileWrite): factorize some code
6566
6567 2003-07-26  Angus Leeming  <leeming@lyx.org>
6568
6569         * lyx_cb.C:
6570         * lyx_main.[Ch]: replace occurances of system_tempdir with
6571         os::getTmpDir().
6572
6573 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6574
6575         * rename Inset to InsetOld
6576
6577 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6578
6579         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6580         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6581         which I think is a bit clearer. EDIT is gone, since it was
6582         premature optimisation, and broken for mathed anyway.
6583         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6584         with cursor positioning in insets as well (math insets still do not
6585         work, but that's a different story anyway.) It mysteriously
6586         crashes sometimes with undo in the first paragraph, but I'm fairly
6587         confident that this is a compiler bug.
6588
6589 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6590
6591         * paragraph.C (Paragraph): adjust for new clone return type
6592         (operator==): ditto
6593         (copyIntoMinibuffer): ditto
6594
6595 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6596
6597         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6598         by not having a special case, and always doing a full rebreak of
6599         the document after undo.
6600
6601 2003-07-23  Angus Leeming  <leeming@lyx.org>
6602
6603         * factory.C (createInset): InsetExternal::setParams now takes a
6604         Buffer const * arg.
6605
6606 2003-07-23  Angus Leeming  <leeming@lyx.org>
6607
6608         * factory.C (createInset): changed interface to the external and
6609         graphics mailers' string2params functions.
6610
6611 2003-07-23  Angus Leeming  <leeming@lyx.org>
6612
6613         * factory.C (createInset): pass a
6614         Buffer const * parameter to InsetExternalMailer's string2params.
6615
6616 2003-07-22  John Levon  <levon@movementarian.org>
6617
6618         * Thesaurus.h: include the right aiksaurus header
6619
6620 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6621
6622         * MenuBackend.C (expand): check menu shortcuts unconditionally
6623
6624 2003-07-21  Angus Leeming  <leeming@lyx.org>
6625
6626         * factory.C (createInset): pass a
6627         buffer_path parameter to InsetGraphicsMailer's string2params.
6628
6629 2003-07-21  Angus Leeming  <leeming@lyx.org>
6630
6631         * BufferView_pimpl.C (buffer):
6632         * buffer.C (d-tor):
6633         * lyx_main.C (LyX):
6634         * lyxfunc.C (dispatch):
6635         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6636         rather than the grfx shortcut.
6637
6638 2003-07-21  André Pönitz  <poenitz@gmx.net>
6639
6640         * rowpainter.C: remove unused variables
6641
6642         * tabular_funcs.C:
6643         * tabular_funcs.h: move to tabular.C
6644         * Makefile.am: adjust
6645
6646         * tabular.[Ch]: basic optical cleaning
6647
6648         * author.h: pass references, not values
6649
6650 2003-07-18  André Pönitz  <poenitz@gmx.net>
6651
6652         * lyxtext.h:
6653         * metricsinfo.C:
6654         * metricsinfo.h:
6655         * rowpainter.C:
6656         * text.C:
6657         * text2.C:
6658         * text3.C: two-phase drawing for InsetText and InsetTabular
6659         some float -> int changes.
6660
6661 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6662
6663         * lyx_main.C: fix the fix
6664
6665 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6666
6667         * lyx_main.C: fix a crash in batch mode if no files specified
6668         * converter.C: ws
6669
6670 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6671
6672         * format.[Ch] (papersize): moved to BufferParams
6673         * converter.[Ch] (dvips_options): moved to BufferParams
6674         (dvipdfm_options): moved to anon namespace
6675         * bufferparams.[Ch]: added above functions.
6676
6677 2003-07-17  André Pönitz  <poenitz@gmx.net>
6678
6679         * lyxtext.h:
6680         * rowpainter.C:
6681         * text2.C: don't call inset->update() anymore
6682
6683         * metricsinfo.[Ch]: add convenience constructor
6684
6685 2003-07-16  André Pönitz  <poenitz@gmx.net>
6686
6687         * lyxcursor.[Ch]:
6688         * lyxfunc.[Ch]:
6689         * text.C:
6690         * text2.C: replace the LyXCursor::irow_ member with
6691          on-demand computation of the value
6692
6693 2003-07-16  John Levon  <levon@movementarian.org>
6694
6695         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6696
6697 2003-07-15  André Pönitz  <poenitz@gmx.net>
6698
6699         * text.C:
6700         * text2.C: remove no more needed refresh_row
6701
6702 2003-07-15  André Pönitz  <poenitz@gmx.net>
6703
6704         * lyxtext.h:
6705         * rowpainter.C:
6706         * text2.C:
6707         * text3.C: refresh_status tristate -> need_update bool
6708
6709 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6710
6711         * lyxtext.h (init): remove reinit argument (act as if always true)
6712         * text2.C: adjust to that
6713
6714 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6715
6716         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6717         * text3.C: use it to delete selections in some cases
6718         (bugs 441, 673, 702, 954).
6719
6720 2003-07-14  André Pönitz  <poenitz@gmx.net>
6721
6722         * rowpainter.[Ch]: reduce interface
6723
6724 2003-07-14  André Pönitz  <poenitz@gmx.net>
6725
6726         * BufferView_pimpl.C:
6727         * text2.C: adjust after removing unused BufferView * argument
6728
6729 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6730
6731         * text2.C (init): fix a crash fired on resize
6732
6733 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6734
6735         * buffer.[Ch]: added new closing signal
6736         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6737         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6738         BufferView::Pimpl via the closing the signal
6739
6740 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6741
6742         * buffer.[Ch]: take out all bv-related from buffer
6743         * BufferView.C:
6744         * BufferView_pimpl.[Ch]: connect to new signals
6745         * CutAndPaste.C: removed useless asserts
6746         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6747         * lyxvc.[Ch]:
6748         * vc-backend.[Ch]:
6749         * lyxfunc.C: moved view-related funciontality from vc here
6750         * paragraph.C: removed outdated comments
6751         * text.C: ws
6752
6753 2003-07-10  André Pönitz  <poenitz@gmx.net>
6754
6755         * BufferView_pimpl.C:
6756         * tabular.h:
6757         * tabular_funcs.C:
6758         * text.C:
6759         * text2.C: remove InsetText::InnerCache, clean up consequences
6760
6761 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6762
6763         * ispell.C: fix two typos in error messages
6764
6765 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6766
6767         * Extend Note inset to other forms of annotation like Comment
6768         and Greyedout. Right button click gives dialog.
6769
6770         Files modified or added (+):
6771
6772         * insetnote.[Ch]
6773         * FormNote.[Ch]      +
6774         * ControlNote.[Ch]   +
6775         * form_note.fd       +
6776         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6777         frontends/controllers
6778         * xforms/Dialogs.C
6779         * factory.C
6780
6781 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6782
6783         * aspell.C: add missing namespace lyx::support
6784
6785 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6786
6787         * BufferView.[Ch] (newFile): Add
6788         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6789         * LaTeX.[Ch] (message): added this signal and use it
6790         * buffer.[Ch] (busy, message): added these signals and use them
6791         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6792         * converter.C:
6793         * exporter.C:
6794         * format.C:
6795         * importer.C: use buffer signals instead of direct bv calling
6796         * lyx_cb.[Ch] (ShowMessage): removed
6797         * lyx_main.C:
6798         * lyxfunc.C:
6799         * paragraph_funcs.C:
6800         * text2.C: use buffer signals
6801
6802 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6803
6804         * introduce namespace lyx::graphics
6805
6806 2003-07-02  André Pönitz  <poenitz@gmx.net>
6807
6808         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6809
6810 2003-07-01  André Pönitz  <poenitz@gmx.net>
6811
6812         * text.C:
6813         * text2.C:
6814         * text3.C:
6815         * text_funcs.[Ch]:
6816         * textcursor.h:
6817         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6818           text*.C to text_func.C
6819
6820 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6821
6822         * introduce namespace lyx::support
6823
6824 2003-06-30  André Pönitz  <poenitz@gmx.net>
6825
6826         * Chktex.C:
6827         * funcrequest.C:
6828         * lyxtext.h:
6829         * text.C: re-enable --with-included-string
6830
6831 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6832
6833         * textcursor.C: add <config.h>
6834
6835         * text.C (getWord): remove const from word_location arg
6836
6837         * lyxvc.C (getLogFile): fix const type order
6838
6839         * lyxtext.h: remove const from word_location arg, add arg name
6840
6841         * lyxlayout.h: currect type on labeltype.
6842
6843         * importer.C: correct \file
6844
6845         * converter.C (intToFormat): use std:: on ret val, ws changes
6846
6847         * bufferlist.h: correct \file
6848
6849         * buffer.C (makeLinuxDocFile): fix const type order
6850         (makeDocBookFile): ditto
6851         (fillWithBibKeys): use std:: on stdlib args.
6852
6853         * CutAndPaste.C: fix authors.
6854         (availableSelections): use std:: on return vector
6855
6856 2003-06-27  André Pönitz  <poenitz@gmx.net>
6857
6858         * BufferView_pimpl.C:
6859         * bufferview_funcs.C:
6860         * lyxcursor.C:
6861         * lyxcursor.h:
6862         * lyxfunc.C:
6863         * lyxtext.h:
6864         * rowpainter.C:
6865         * text.C:
6866         * text2.C:
6867         * text3.C: remove LyXCursor::row_ member
6868
6869         * lyxtext.h:
6870         * text.C: rename fullRebreak() to partialRebreak() and implement
6871           a fullRebreak() that really bereks fully
6872
6873         * textcursor.h: new struct for cursor-related data
6874
6875 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6876
6877         * lyx_main.C (LyX): get full path of document loaded on the
6878         command line
6879
6880 2003-06-26  André Pönitz  <poenitz@gmx.net>
6881
6882         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6883           remove unused/broken operator>,<,>=.
6884
6885         *       text.C: remove only use of broken operator<= in an Assert().
6886
6887 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6888
6889         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6890         moved errorlist_.clear to showErrorList
6891
6892 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6893
6894         * converter.C (scanLog, runLaTeX):
6895         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6896         move the bv->showErrorList call to the callers
6897         * lyxfunc.C: i.e. here...
6898         * text2.C: and here
6899         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6900         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6901         namespace, the second to...
6902         * buffer_funcs (BufferFormat, parseErrors): added
6903         * errorlist.C (ErrorList(TeXErrors const &)): removed
6904
6905 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6906
6907         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6908
6909 2003-06-24  "Garst R. Reese" <reese@isn.net>
6910
6911         * debug.C: fix typo
6912
6913 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6914
6915         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6916
6917         * version.C.in: change docversion to 1.4
6918
6919 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6920
6921         * buffer.C: fix a bug just introduced
6922
6923 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6924
6925         * buffer.[Ch]: added the parseError signal and use it, removed
6926         sgmlError
6927         * BufferView.[Ch] (addError): moved to ...
6928         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6929         to the Buffer::parseError signal to catch (guess what) parse errors
6930         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6931
6932 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6933
6934         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6935         ability to create a buffer and to return an existing one from
6936         the list. Moved these functions to...
6937         * buffer_funcs.[Ch]: added
6938         * BufferView.[Ch] (loadLyXFile): added
6939         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6940         job removed from bufferlist::loadLyXFile.
6941         * buffer.C (setReadOnly): make it work without view
6942         (i.e added an if (users))
6943
6944 2003-06-19  Angus Leeming  <leeming@lyx.org>
6945
6946         * lfuns.h:
6947         * LyXAction.C (init):
6948         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6949         with LFUN_DIALOG_SHOW <name> <data>.
6950
6951 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6952
6953         * CutAndPaste.C (availableSelections): small compilation fix for
6954         ancient (gcc 2.9x) compilers
6955
6956 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6957
6958         * text3.C (cursorNext): add tmp var
6959
6960         * text2.C (updateCounters): for function calling out of for clause
6961         (replaceSelectionWithString): ditto
6962         (insertStringAsParagraphs): ditto
6963         (getColumnNearX): add tmp var
6964         (setCursorFromCoordinates): add tmp var
6965         (cursorDownParagraph): add tmp var
6966         (deleteEmptyParagraphMechanism): add tmp var
6967
6968         * text.C (insertChar): add tmp var
6969
6970         * rowpainter.C (paintDepthBar): add tmp var
6971
6972         * CutAndPaste.C (availableSelections): potentially check all
6973         paragraphs in a cut to fill the shown strings.
6974
6975 2003-06-18  André Pönitz  <poenitz@gmx.net>
6976
6977         * kbmap.[Ch]: use vector<> instead of list<>
6978
6979 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6980
6981         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6982         pasteSelection with index
6983
6984         * text2.C (pasteSelection): modify, call pasteSelection with index
6985
6986         * paragraph.C (asString): reimplement version with no interval to
6987         call the one with interval.
6988
6989         * lyxtext.h: add index arg to pasteSelection
6990
6991         * MenuBackend.C (MenuItem): handle PasteRecent
6992         (Menu::read::Menutags): add md_pasterecent
6993         (read): handle it
6994         (expandPasteRecent): new function
6995         (expand): use it
6996
6997         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6998
6999         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7000         the limited stack
7001         (availableSelections): new function
7002
7003 2003-06-17  Angus Leeming  <leeming@lyx.org>
7004
7005         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7006
7007 2003-06-17  Angus Leeming  <leeming@lyx.org>
7008
7009         * lfuns.h:
7010         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7011
7012         * lyxfunc.C (dispatch): invoke it.
7013
7014 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7015
7016         * iterators.C (operator++, ParPosition): reintroduce some
7017         const_cast for the benefit of older compilers.
7018
7019 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7020
7021         * text3.C (dispatch): do not modify clipboard when doing
7022         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7023         LFUN_DELETE_SKIP on a selection selection
7024
7025 2003-06-16  André Pönitz  <poenitz@gmx.net>
7026
7027         * BufferView.C:
7028         * buffer.C:
7029         * buffer.h:
7030         * paragraph.C:
7031         * tabular.[Ch]: IU of clone() and getLabelList();
7032
7033 2003-06-13  André Pönitz  <poenitz@gmx.net>
7034
7035         * tabular.h: compactification
7036
7037 2003-06-12  André Pönitz  <poenitz@gmx.net>
7038
7039         * tabular.C:
7040         * tabular.h:
7041         * tabular_funcs.h: some renaming plus whitespace
7042
7043 2003-06-12  André Pönitz  <poenitz@gmx.net>
7044
7045         * BufferView.C:
7046         * BufferView_pimpl.C:
7047         * CutAndPaste.C:
7048         * buffer.C:
7049         * iterators.[Ch]:
7050         * lyxfunc.C:
7051         * text.C:
7052         * toc.C: Return a Paragraph & for ParIterator::operator*()
7053
7054 2003-06-11  John Levon  <levon@movementarian.org>
7055
7056         * lyx_main.C:
7057         * ToolbarBackend.h:
7058         * ToolbarBackend.C: add "Toolbars" section and
7059         put the flags there
7060
7061 2003-06-10  Angus Leeming  <leeming@lyx.org>
7062
7063         * lfuns.h:
7064         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7065
7066         * lyxfunc.C (dispatch): invoke it.
7067
7068 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7069
7070         * main.C: protect <ios> with HAVE_IOS
7071         (main): protect sync_with_stdio with HAVE_IOS
7072
7073 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7074
7075         * text2.C (cutSelection): adjust
7076         (pasteSelection): adjust
7077
7078         * messages.C: handle get of empty string
7079
7080         * main.C (main): use sync_with_stdio(false)
7081
7082         * lyxfunc.C (dispatch): adjust
7083
7084         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7085         (WriteAs): remove unneeded BufferView arg.
7086
7087         * bufferparams.h: use correct types on papersize, papersize2 and
7088         paperpackage.
7089
7090         * bufferparams.C (readToken): adjust for type
7091         (writeLaTeX): add missing cases to switch.
7092
7093         * bufferlist.C (quitWriteBuffer): adjust
7094         (close): adjust
7095
7096         * buffer.C (asciiParagraph): remove some commented code.
7097
7098         * CutAndPaste.C: remove current_view extern variable.
7099         (cutSelection): add BufferParams arg.
7100         (eraseSelection): add BufferParams arg.
7101         (pasteSelection): add Buffer const & arg
7102
7103 2003-06-07  John Levon  <levon@movementarian.org>
7104
7105         * buffer.C:
7106         * paragraph_funcs.C:
7107         * paragraph_pimpl.C:
7108         * text.C:
7109         * text2.C:
7110         * paragraph.h:
7111         * paragraph.C: allow InsetERT to freely space lines,
7112         and some consolidation of code
7113
7114 2003-06-06  José Matos  <jamatos@fep.up.pt>
7115
7116         * buffer.C (makeDocBookFile): fix bug #821
7117
7118 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7119
7120         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7121
7122 2003-06-04  Angus Leeming  <leeming@lyx.org>
7123
7124         * buffer.C: bump format to 224.
7125
7126 2003-06-05  André Pönitz  <poenitz@gmx.net>
7127
7128         * text2.C (redoParagraphs): remove two const_cast<>
7129
7130 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7131
7132         * ParagraphList.h: remove last remnants of NO_STD_LIST
7133
7134 2003-06-03  Angus Leeming  <leeming@lyx.org>
7135
7136         * factory.C (createInset): small change to the way InsetExternal's params
7137         are set.
7138
7139 2003-06-04  André Pönitz  <poenitz@gmx.net>
7140
7141         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7142
7143         * paragraph_pimpl.h:
7144         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7145
7146         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7147
7148         * undo_funcs.C: make some simple cases of undo work again
7149
7150 2003-06-03  John Levon  <levon@movementarian.org>
7151
7152         * ispell.C: HPUX doesn't have sys/select.h
7153         (from Albert Chin)
7154
7155 2003-06-03  John Levon  <levon@movementarian.org>
7156
7157         * CutAndPaste.C: update tabular and include inset
7158         buffer references
7159
7160         * buffer.h:
7161         * paragraph.h:
7162         * paragraph.C: remove owningBuffer(), don't pass Buffer
7163         to clone()
7164
7165         * factory.C: insetGraphicsParams changed
7166
7167 2003-06-02  John Levon  <levon@movementarian.org>
7168
7169         * LyXAction.C:
7170         * factory.C:
7171         * lfuns.h:
7172         * lyxfunc.C:
7173         * text3.C: remove insetparent
7174
7175 2003-06-02  John Levon  <levon@movementarian.org>
7176
7177         * buffer.h:
7178         * buffer.C: fix inset_iterator.end(), move out of line
7179         (bug 1149)
7180
7181 2003-06-01  John Levon  <levon@movementarian.org>
7182
7183         * text3.C: use a proper cut/paste when doing inset
7184         insert (from Jürgen Spitzmüller)
7185
7186 2003-06-01  John Levon  <levon@movementarian.org>
7187
7188         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7189
7190 2003-05-30  André Pönitz  <poenitz@gmx.net>
7191
7192         * rowpainter.C: unify second drawing phase
7193
7194 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7195
7196         * trans_mgr.C: remove one case of current_view
7197
7198         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7199
7200         * paragraph_funcs.h: remove paragraph.h include
7201
7202         * paragraph.h: delete NO_STD_LIST stuff
7203
7204         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7205
7206         * buffer.h: remove paragraph.h include
7207
7208         * ParagraphList.C: delete file
7209
7210         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7211
7212         * toc.C (getTocList): adjust
7213
7214         * paragraph_pimpl.C (validate): adjust
7215
7216         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7217
7218         * paragraph.C (Paragraph): adjust
7219         (getPositionOfInset): use const_iterator, adjust
7220         (bibitem): use const_iterator, adjust
7221         (setInsetOwner): adjust
7222
7223         * iterators.C (operator++): adjust
7224
7225         * InsetList.[Ch]: Replace selfmade iterator with standard
7226         vector::iterator also introduce const_iterator. Remove getPos,
7227         getInset and setInset from InsetTable. Adjust accordingly.
7228
7229         * BufferView.C (lockInset): adjust
7230         (ChangeInsets): adjust
7231
7232         * tabular.[Ch]: delete commented same_id functions
7233
7234 2003-05-28  John Levon  <levon@movementarian.org>
7235
7236         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7237
7238 2003-05-28  André Pönitz  <poenitz@gmx.net>
7239
7240         * metricsinfo.[Ch]: remove 'fullredraw' member
7241
7242 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7243
7244         * lyxtextclass.C (operator): remove caching.
7245
7246 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7247
7248         * text3.C: adjust
7249
7250         * text2.C (cursorBottom): adjust
7251         (setCounter): use ParagraphList::find, adjust
7252
7253         * text.C (workWidth): use ParagraphList::find, adjust
7254
7255         * lyxcursor.C (LyXCursor): adjust
7256
7257         * buffer.C (inset_iterator): adjust
7258
7259         * ParagraphList.h: make iterator(value_type) private, make
7260         ParagraphList a friend of iterator.
7261
7262         * ParagraphList.C (find): new function
7263
7264         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7265
7266 2003-05-27  André Pönitz  <poenitz@gmx.net>
7267
7268         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7269
7270 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7271
7272         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7273
7274 2003-05-26  John Levon  <levon@movementarian.org>
7275
7276         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7277
7278 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7279
7280         * remove same_id from function signatures, adjust.
7281
7282 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7283
7284         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7285
7286         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7287
7288         * paragraph.C (Paragraph): get rid of same_ids parameter
7289
7290         * ParagraphList.C (insert): adjust
7291         (push_back): adjust
7292
7293 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7294
7295         * paragraph_funcs.C (breakParagraph): adjust
7296         (breakParagraphConservative): adjust
7297
7298         * buffer.C (readParagraph): adjust
7299
7300         * ParagraphList.C (insert): take a reference instead of a pointer
7301         (insert): adjust
7302
7303         * paragraph.[Ch] (id): new function
7304
7305         * bufferlist.C (newFile): adjust
7306
7307         * ParagraphList.C (ParagraphList): adjust
7308         (assign): adjust
7309         (push_back): take a reference instead of a pointer.
7310
7311         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7312
7313         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7314         instead.
7315
7316         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7317         set else use old code.
7318
7319         * ParagraphList.C: remove all NO_NEXT code and only compile this
7320         code of NO_STD_LIST is set.
7321
7322 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7323
7324         * BufferView_pimpl.C:
7325         * TextCache.C:
7326         * TextCache.h:
7327         * bufferlist.C:
7328         * errorlist.h:
7329         * format.C:
7330         * format.h:
7331         * graph.C:
7332         * lyxfunc.C:
7333         * lyxrc.C:
7334         * graphics/GraphicsConverter.C:
7335         * graphics/PreviewLoader.C: header adjustment
7336
7337 2003-05-23  Angus Leeming  <leeming@lyx.org>
7338
7339         * LaTeXFeatures.[Ch] (useBabel): new method.
7340         * bufferparams.C (writeLaTeX): use it.
7341
7342 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7343
7344         * ParagraphList.h (set): remove unused function.
7345
7346 2003-05-23  André Pönitz  <poenitz@gmx.net>
7347
7348         * BufferView.C:
7349         * BufferView_pimpl.C:
7350         * buffer.C:
7351         * buffer.h:
7352         * lyxfunc.C:
7353         * undo_funcs.C: setUndo reworked
7354
7355         * iterators.[Ch]: add access to topmost ParagraphList
7356
7357         * lyxtext.[Ch] (workWidth): add a const
7358
7359 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7360
7361         * texrow.[Ch] (increasePos): remove function
7362         * exporter.C (export): removed unused var and outdated comment
7363
7364 2003-05-23  Angus Leeming  <leeming@lyx.org>
7365
7366         * latexrunparams.h: rename fragile as moving_arg.
7367         * paragraph.C (simpleTeXOnePar): ditto.
7368         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7369
7370 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7371
7372         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7373         (createUndo): ditto
7374         (textUndoOrRedo): comment out a currently unused var.
7375
7376         * paragraph.h (NO_NEXT): enable NO_NEXT
7377
7378         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7379
7380         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7381
7382         * exporter.C (Export): adjust for removeAutoInsets removal.
7383
7384         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7385
7386         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7387
7388         * BufferView.[Ch] (removeAutoInsets): delete function
7389
7390 2003-05-22  Angus Leeming  <leeming@lyx.org>
7391
7392         * latexrunparams.h: add a free_spacing variable.
7393
7394         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7395         to pass moving_arg, as the data is stored in runparams.fragile.
7396
7397         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7398         to Inset::latexOptional or to simpleTeXOnePar.
7399
7400         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7401         free_spacing arg to Inset::latexOptional.
7402
7403         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7404         free_spacing arg.
7405
7406 2003-05-22  Angus Leeming  <leeming@lyx.org>
7407
7408         * latexrunparams.h: add fragile and use_babel variables.
7409
7410         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7411         * buffer.C (makeLaTeXFile): store this returned value in
7412         runparams.use_babel, thus passing it to the inset::latex methods.
7413
7414         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7415         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7416
7417         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7418         longer has a fragile arg, as it is stored in runparams.fragile.
7419
7420         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7421         moving_arg parameter as the data is stored in runparams.fragile.
7422
7423         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7424         a fragile parameter as the data is stored in runparams.fragile.
7425
7426 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7427
7428         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7429
7430 2003-05-22  Angus Leeming  <leeming@lyx.org>
7431
7432         * latexrunparams.h: add a 'bool nice' which defaults to false.
7433
7434         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7435         now encapsulated within runparams.
7436
7437         * bufferlist.C (updateIncludedTeXfiles):
7438         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7439
7440 2003-05-22  Angus Leeming  <leeming@lyx.org>
7441
7442         * latexrunparams.h: new file containing struct LatexRunParams.
7443         * Makefile.am: add new file.
7444
7445         * LaTeX.[Ch] (c-tor, run):
7446         * buffer.[Ch] (makeLaTeXFile):
7447         * bufferlist.[Ch] (updateIncludedTeXfiles):
7448         * converter.C (convert, scanLog):
7449         * converter.[Ch] (runLaTeX):
7450         * exporter.C (Export):
7451         * paragraph.[Ch] (simpleTeXOnePar):
7452         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7453         * paragraph_funcs.[Ch] (latexParagraphs):
7454         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7455         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7456         pass around a LatexRunParams parameter.
7457
7458 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7459
7460         * paragraph.[Ch]: remove unused constructor
7461
7462         * ParagraphList.C (erase): new function, taking two iterators
7463
7464 2003-05-22  André Pönitz  <poenitz@gmx.net>
7465
7466         * undo_funcs.C: remove duplicated code
7467
7468         * iterator.[Ch]: operator=
7469
7470 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7471
7472         * tabular.C (SetMultiColumn): ws changes
7473
7474         * rowpainter.C (paintFirst): get rid of a ->previous
7475
7476         * lyx_cb.C (getPossibleLabel): parlist simplification
7477
7478         * BufferView.C (ChangeInsets): simplify slightly.
7479
7480 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7481
7482         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7483         * lfuns.h: new LFUN_SPACE
7484         * lyxfunc.C: protected space has a new lfun
7485         * paragraph_funcs.C: read new space insets
7486         * text3.C:
7487         * factory.C: handle new space insets
7488
7489 2003-05-22  André Pönitz  <poenitz@gmx.net>
7490
7491         * BufferView.C:
7492         * BufferView_pimpl.C:
7493         * buffer.[Ch]:
7494         * lyxfunc.C:
7495         * undo_funcs.C: return a ParIterator from getParFromID.
7496
7497         * iterators.[Ch]: add two const's
7498
7499 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7500
7501         * toc.C (getTocList): adjust
7502
7503         * iterators.[Ch]: rework for parlist
7504
7505         * buffer.C (par_iterator_begin): adjust
7506         (par_iterator_end): adjust
7507
7508         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7509
7510         * BufferView.C (removeAutoInsets): adjust
7511         (ChangeInsets): adjust
7512
7513 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7514
7515         * text.C (top_y): fix bug 1110
7516
7517 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7518
7519         * errorlist.[Ch]: added
7520         * buffer.C:
7521         * BufferView.[Ch]:
7522         * BufferView_pimpl.C:
7523         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7524         instead
7525
7526 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7527
7528         * Makefile.am: ensure that lyx is relinked upon changes to the
7529         various "convenience" libs.
7530
7531 2003-05-20  Angus Leeming  <leeming@lyx.org>
7532
7533         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7534         files are compiled in alphabetical order again.
7535
7536         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7537
7538 2003-05-19  Angus Leeming  <leeming@lyx.org>
7539
7540         * gettext.[Ch]: remove "char const * _(char const *)".
7541
7542 2003-05-19  André Pönitz  <poenitz@gmx.net>
7543
7544         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7545
7546         * Makefile.am:
7547         * BufferView.C:
7548         * DepTable.h:
7549         * LaTeXFeatures.C:
7550         * buffer.C:
7551         * lyxfont.C:
7552         * lyxlex.h:
7553         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7554
7555 2003-05-19  André Pönitz  <poenitz@gmx.net>
7556
7557         * buffer.C:
7558         * lyxlayout.[Ch]:
7559         * lyxtextclass.[Ch]:
7560         * paragraph.C:
7561         * paragraph_funcs.[Ch]:
7562         * text2.C:
7563         * text3.C: more insetenv work
7564
7565 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7566
7567         * ParagraphParameters.C (params2string): small bug fixed
7568
7569 2003-05-16  André Pönitz  <poenitz@gmx.net>
7570
7571         * debug.C:
7572         * bufferview_funcs.C: patch from Kornel Benko to prevent
7573           crash when _(...) is called twice in a statement
7574
7575 2003-05-16  André Pönitz  <poenitz@gmx.net>
7576
7577         * BufferView.C:
7578         * lyxfunc.C:
7579         * text.C:
7580         * text2.C:
7581         * text3.C:
7582         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7583
7584 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7585
7586         * lyx_main.C (init): remove spurious static_cast
7587
7588 2003-05-14  André Pönitz  <poenitz@gmx.net>
7589
7590         * BufferView.C: fix format string
7591
7592 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7593
7594         * BufferView.[Ch] (insertErrors): removed
7595         * BufferView.[Ch] (showErrorList): added
7596         * buffer.C (runChkTeX):
7597         * converter.C (scanLog): call showErrorList instead of inserterrors
7598
7599 2003-05-13  André Pönitz  <poenitz@gmx.net>
7600
7601         * BufferView_pimpl.C:
7602         * buffer.C:
7603         * bufferview_func.C:
7604         * MenuBackend.C:
7605         * lyxfunc.C:
7606         * lyxrc.C:
7607         * tex-accent.C:
7608         * text3.C:
7609         * toc.C:
7610         * tabular_funcs.h: tostr() from its own header
7611
7612         * ParagraphParameters.C:
7613         * ToolbarBackend.C:
7614         * bufferparams.C:
7615         * format.C:
7616         * lyxlex_pimpl.C:
7617         * text3.C: STRCONV()
7618
7619 2003-05-12  André Pönitz  <poenitz@gmx.net>
7620
7621         * BufferView.C:
7622         * BufferView_pimpl.C:
7623         * CutAndPaste.C:
7624         * LaTeX.C:
7625         * LaTeXFeatures.C:
7626         * ParagraphParameters.C:
7627         * buffer.C:
7628         * bufferlist.C:
7629         * bufferparams.C:
7630         * bufferview_funcs.C:
7631         * converter.C:
7632         * counters.C:
7633         * debug.C:
7634         * exporter.C:
7635         * format.C:
7636         * importer.C:
7637         * lyx_cb.C:
7638         * lyx_main.C:
7639         * lyxfont.C:
7640         * lyxfunc.C:
7641         * lyxvc.C:
7642         * paragraph.C:
7643         * paragraph_funcs.C:
7644         * tabular.C:
7645         * tabular_funcs.C:
7646         * text2.C:
7647         * text3.C:  boost::format -> bformat  all over the place
7648
7649
7650 2003-05-09  André Pönitz  <poenitz@gmx.net>
7651
7652         * LColor.[Ch]: Pimpl the #include <map> away
7653
7654 2003-05-09  John Levon  <levon@movementarian.org>
7655
7656         * bufferlist.C: never remove emergency saves
7657
7658 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7659
7660         * Makefile.am: better lib building
7661
7662 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7663
7664         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7665         instead.
7666         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7667         (simpleTeXSpecialChars): adjust
7668         (simpleTeXSpecialChars): adjust
7669         * paragraph.C (simpleTeXOnePar): adjust
7670         * buffer.C (makeLaTeXFile): adjust
7671
7672         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7673
7674         * text2.C (changeDepth): parlist cleanup
7675         (getColumnNearX): ditto
7676
7677         * rowpainter.C (getLabelFont): parlist cleanup
7678
7679         * bufferlist.C (newFile): parlist cleanup
7680
7681         * CutAndPaste.C (eraseSelection): parlist cleanup
7682
7683         * BufferView_pimpl.C (trackChanges): parlist cleanup
7684         (dispatch): ditto
7685
7686         * BufferView.C (lockInset): parlist cleanup.
7687         (ChangeInsets): ditto
7688
7689 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7690
7691         * CutAndPaste.h: Update file header.
7692
7693         * CutAndPaste.C: Update file header.
7694         Store the parts cut out of the Document in a limited_stack.
7695         (copySelection): adjust
7696         (pasteSelection): new function, takes the index in the limited stack.
7697         (nrOfParagraphs): adjust
7698         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7699         simplify error inset insertion.
7700         (checkPastePossible): adjust
7701
7702 2003-05-06  John Levon  <levon@movementarian.org>
7703
7704         * text2.C: don't cast wrap inset to float
7705
7706 2003-05-05  André Pönitz  <poenitz@gmx.net>
7707
7708         * iterator.C:
7709         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7710
7711         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7712           few naked Paragraph *.
7713
7714 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7715
7716         * bufferparams.C: Output warning if a document with missing
7717         TeX document class is loaded
7718         * exporter.C: Disable TeX exports if the document class is missing
7719         * lyxtextclass.C:
7720         * lyxtextclass.h:
7721         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7722         isTeXClassAvailable()
7723
7724 2003-05-03  John Levon  <levon@movementarian.org>
7725
7726         * BufferView.h:
7727         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7728         explicit cursor show/hide
7729
7730         * BufferView_pimpl.h:
7731         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7732         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7733
7734         * lyxfunc.C: hide cursor before dispatching.
7735
7736         * lyx_cb.C:
7737         * lyxfind.C:
7738         * text.C:
7739         * text3.C: remove explicit cursor hides
7740
7741 2003-05-02  André Pönitz  <poenitz@gmx.net>
7742
7743         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7744
7745         * undo_funcs.C:
7746         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7747           linked lists
7748
7749         * text2.C: tiny whitespace
7750
7751 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7752
7753         * undo_funcs.C: almost only ws changes.
7754
7755         * ParagraphList.C (splice): just return if pl is empty.
7756
7757 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7758
7759         * ParagraphList.C (splice): new function.
7760
7761         * CutAndPaste.C (pasteSelection): use it
7762
7763 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7764
7765         * CutAndPaste.C (pasteSelection): remove the last next and
7766         previous from this file.
7767
7768 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7769
7770         * CutAndPaste.C (pasteSelection): more clean up, user proper
7771         ParagraphList functions for pasteing.
7772
7773         * ParagraphList.C (insert): new function, three arg insert
7774
7775 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7776
7777         * ParagraphList.C (insert): new function, three arg insert
7778
7779         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7780         not on paragraphs.
7781
7782 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7783
7784         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7785
7786 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7787
7788         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7789
7790 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7791
7792         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7793         (copySelection): clean up a bit.
7794         (pasteSelection): use make_pair
7795
7796         * ParagraphList.C (ParagraphList): implement copy constructor
7797         (operator=): implement, base on copy constructor.
7798         (assign): new func
7799
7800         * paragraph.C (erase): return a bool
7801
7802         * paragraph_pimpl.C (erasePos): remove function, move contents...
7803         (erase): ... here. Return a bool.
7804         (erase): call erase instead of erasePos.
7805
7806 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7807
7808         * ParagraphList.h: define PitPosPair
7809         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7810         ParagraphList, fix a bug on pasting multiple pars
7811         * text2.C: change interface to C&P
7812
7813 2003-04-30  André Pönitz  <poenitz@gmx.net>
7814
7815         * undo_func.C: revert part of yesterday's patch 2
7816
7817 2003-04-30  John Levon  <levon@movementarian.org>
7818
7819         * LColor.C: s/tabular/table/
7820
7821 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7822
7823         * text3.C (dispatch): do not convert iterator -> pointer
7824         * undo_funcs.C (setCursorParUndo): ditto
7825         * text_funcs.C (transposeChars): ditto
7826
7827         * text2.C (setLayout): ws changes only
7828
7829         * text.C (breakParagraph): do not convert iterator -> pointer
7830         (insertChar): ditto
7831         (acceptChange): ditto
7832         (rejectChange): ditto
7833         (changeCase): ditto
7834         (Delete): ditto
7835         (backspace): ditto
7836
7837         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7838         pointer
7839
7840 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7841
7842         * text3.C (gotoInset): YABG (yet another bad getChar)
7843
7844 2003-04-29  André Pönitz  <poenitz@gmx.net>
7845
7846         * paragraph.h: make operator= private unimplemented as long as
7847           it is unusable
7848
7849         * ParagraphList.C: whitespace
7850
7851         * paragraph.[Ch]:
7852         * paragraph_pimpl.[Ch]:
7853         * paragraph_funcs.C:
7854         * CutAndPaste.C:
7855         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7856
7857         * text2.C:
7858           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7859
7860 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7861
7862         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7863         * paragraph.[Ch] (erase):
7864         * paragraph_pimpl.[Ch] (erase): change return type and value
7865         * text2.C (cutSelection): some rework
7866
7867 2003-04-28  John Levon  <levon@movementarian.org>
7868
7869         * bufferlist.C: changes for unsaved changes dialog
7870
7871 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7872
7873         * bufferlist.C (newFile): set language (messages_) for new
7874         documents also.
7875
7876         * buffer.C (readFile): ws changes only.
7877
7878 2003-04-28  André Pönitz  <poenitz@gmx.net>
7879
7880         * undo_funcs.C:
7881         * lyxfunc.C:
7882         * buffer.[Ch]:
7883         * BufferView_pimpl.C:
7884         * BufferView.C: getParFromID related ParagraphList::iterator changes
7885
7886 2003-04-28  André Pönitz  <poenitz@gmx.net>
7887
7888         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7889           Changes
7890
7891 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7892
7893         * messages.C: remove one more localedir class variable.
7894
7895 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7896
7897         * messages.C (getLocaleDir): singleton generation function
7898         (Pimpl): use it.
7899         (Messages): add a default constructor.
7900
7901         * main.C (main): do not setup localedir here, do not call
7902         gettext_init.
7903
7904         * gettext.C (_): use it.
7905         (gettext_init): delete funciton
7906
7907 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7908
7909         * gettext.C (getLyXMessages): new singleton generating function.
7910
7911         * buffer.C (updateDocLang): adjust
7912
7913         * Makefile.am (messages.o): add target
7914         (main.o): remove target
7915
7916 2003-04-27  John Levon  <levon@movementarian.org>
7917
7918         * bufferlist.C:
7919         * lyx_cb.C:
7920         * lyxfunc.C:
7921         * lyxvc.C: specify cancel button in Alert::prompt
7922
7923 2003-04-26  John Levon  <levon@movementarian.org>
7924
7925         * text3.C:
7926         * lyxfunc.C:
7927         * lfuns.h:
7928         * LyXAction.C: add LFUN_INSET_SETTINGS
7929
7930         * lyxfunc.C: don't enable tabular-feature when there's
7931         just any locking inset
7932
7933 2003-04-26  John Levon  <levon@movementarian.org>
7934
7935         * bufferlist.C: re-add Cancel to buffer close question
7936
7937         * lyxfunc.C: fix import UI a bit
7938
7939 2003-04-25  John Levon  <levon@movementarian.org>
7940
7941         * gettext.C: remove the broken asserts for now
7942
7943 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7944
7945         * messages.C: make case where setlocale cannot comply work better.
7946
7947         * buffer.C (updateDocLang): new function
7948         (changeLanguage): use it
7949         (readFile): use it
7950
7951         * text2.C (setCounter): use B_ a bit.
7952
7953         * lyxlayout.C (Read): be sure to trim the label strings.
7954
7955         * messages.C (Messages): fix typo in comment
7956
7957         * buffer.C (readFile): set message_ after file is loaded.
7958         (makeDocBookFile): remove double return
7959         (changeLanguage): reset message_ upon language change.
7960         (B_): new func, use this to get translated buffer strings.
7961
7962         * main.C: add myself and Jean Marc as authors.
7963
7964 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7965
7966         * messages.[hC]: pimplify Messages, and three different pimpls to be
7967         used in different circumstances.
7968
7969         * gettext.[Ch]: change for use with new message code.
7970
7971 2003-04-24 André Pönitz <poenitz@gmx.net>
7972
7973         * factory.C: support for eqref
7974
7975 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7976
7977         * messages.[Ch]: add missing char
7978
7979         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7980
7981         * messages.[Ch]: New files
7982
7983 2003-04-18  John Levon  <levon@movementarian.org>
7984
7985         * BufferView.h:
7986         * BufferView.C:
7987         * BufferView_pimpl.C:
7988         * lfuns.h:
7989         * LyXAction.C:
7990         * lyxtext.h:
7991         * text2.C: remove layout-copy/paste (bug 778)
7992
7993 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7994
7995         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7996
7997 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7998
7999         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8000         if they succeed. Act accordingly.
8001
8002 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8003
8004         * text2.C (setCharFont): adjust
8005         (setCounter): adjust
8006         (insertStringAsLines): adjust
8007
8008         * text.C (leftMargin): adjust
8009         (setHeightOfRow): adjust
8010
8011         * rowpainter.C (paintFirst): adjust
8012         (paintLast): adjust
8013
8014         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8015         (outerHook): ditto
8016         (isFirstInSequence): ditto
8017         (getEndLabel): ditto
8018         (outerFont): adjust
8019
8020         * paragraph.C (getParLanguage): comment out some hard stuff.
8021
8022         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8023         (sgmlError): ditto
8024         (simpleDocBookOnePar): ditto
8025         (makeDocBookFile): use ParagraphList::iterator
8026
8027         * CutAndPaste.C (pasteSelection): adjust
8028
8029 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8030
8031         * text2.C (getFont): adjust
8032         (getLayoutFont): adjust
8033         (getLabelFont): adjust
8034
8035         * paragraph_funcs.C (TeXOnePar): adjust
8036
8037         * buffer.C (simpleLinuxDocOnePar): adjust
8038         (simpleDocBookOnePar): adjust
8039
8040         * CutAndPaste.C (pasteSelection): adjust
8041
8042         * BufferView.C (getEncoding): adjust
8043
8044         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8045
8046 2003-04-16  John Levon  <levon@movementarian.org>
8047
8048         * lyxfind.C: use parlist stuff for search/changes
8049
8050 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8051
8052         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8053
8054         * text2.C (deleteEmptyParagraphMechanism): adjust
8055
8056         * text2.[Ch] (ownerParagraph): delete func (both of them
8057
8058 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8059
8060         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8061
8062 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8063
8064         * ParagraphList.C: prepare for NO_NEXT
8065
8066 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8067
8068         * text2.C (getFont): adjust
8069         (getLayoutFont): adjust
8070         (getLabelFont): adjust
8071
8072         * paragraph.C (getFont): adjust
8073         (getLabelFont): adjust
8074         (getLayoutFont): adjust
8075
8076         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8077
8078 2003-04-15  John Levon  <levon@movementarian.org>
8079
8080         From Angus Leeming
8081
8082         * lyx_main.C: handle Include in .ui files
8083
8084 2003-04-15  John Levon  <levon@movementarian.org>
8085
8086         * MenuBackend.C: make the doc files length shorter
8087
8088         * ToolbarBackend.h:
8089         * ToolbarBackend.C: handle toolbar placement flags,
8090         Minibuffer
8091
8092 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8093
8094         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8095         adjust
8096
8097         * paragraph_funcs.C (TeXOnePar): adjust
8098
8099         * paragraph.C (getLabelFont): add outerfont arg, adjust
8100         (getLayoutFont): ditto
8101         (simpleTeXOnePar): adjust
8102
8103         * paragraph_pimpl.C (realizeFont): delete func
8104
8105 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8106
8107         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8108         row argument, constify cur argument.
8109
8110 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8111
8112         * text2.C (getFont): adjust
8113         (getLayoutFont): adjust
8114         (getLabelFont): adjust
8115
8116         * paragraph_funcs.C (TeXOnePar): adjust
8117         (outerFont): new func...
8118         (realizeFont): ...moved out from here, changed this to facilitate
8119         transition
8120
8121         * paragraph.C (getFont): take outerfont as arg, adjust
8122         (simpleTeXOnePar): add outerfont arg, adjust
8123
8124         * buffer.C (simpleLinuxDocOnePar): adjust
8125         (simpleDocBookOnePar): adjust
8126
8127         * CutAndPaste.C (pasteSelection): adjust
8128
8129         * BufferView.C (getEncoding): adjust
8130
8131 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8132
8133         * text2.C (setCharFont): adjust
8134         (setCounter): adjust
8135
8136         * text.C (leftMargin): adjust
8137         (setHeightOfRow): adjust
8138
8139         * rowpainter.C (paintFirst): adjust
8140         (paintLast): adjust
8141
8142         * paragraph_pimpl.C (realizeFont): adjust
8143
8144         * paragraph.C (isFirstInSequence): move from here...
8145         * paragraph_funcs.C (isFirstInSequence): ...to here
8146
8147         * paragraph.C (outerHook): move from here...
8148         * paragraph_funcs.C (outerHook): ...to here
8149
8150         * paragraph.C (depthHook): move from here...
8151         * paragraph_funcs.C (depthHook): ...to here
8152
8153         * paragraph.C (getEndLabel): move from here...
8154         * paragraph_funcs.C (getEndLabel): ...to here
8155
8156         * text2.C (realizeFont): move from here...
8157         * paragraph_funcs.C (realizeFont): ...to here
8158
8159 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8160
8161         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8162
8163 2003-04-14  Angus Leeming  <leeming@lyx.org>
8164
8165         * LColor.[Ch]: scrap LColor mathcursor.
8166
8167 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8168
8169         * lyxlex.[Ch] (text): delete function
8170         * trans.C (Load): adjust
8171         * paragraph_funcs.C (readParToken): adjust
8172
8173 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8174
8175         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8176         vector<char> instead of a char[].
8177
8178         * lyxlex_pimpl.C (getString): adjust
8179         (next): adjust
8180         (lex): use getString
8181         (eatLine): adjust
8182         (nextToken): adjust
8183
8184         * lyxlex.C (text): use pimpl_->getString()
8185         (getBool): ditto
8186         (findToken): ditto
8187
8188 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8189
8190         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8191         (makeFontEntriesLayoutSpecific): temp var for par.size()
8192         (setLayout): temp var for ownerParagraphs().end()
8193         (fullRebreak): temp var for rows().end()
8194         (selectionAsString): temp var for boost::next(startpit), realize
8195         that the while really is a regular for loop.
8196         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8197         setCursor in one place.
8198         (setParagraph): temp vr for ownerParagraphs().end()
8199         (updateCounters): make the while loop a for loop
8200         (cutSelection): temp var for ownerParagraphs().end()
8201         (updateInset): make the do {} while() a regular for loop
8202         (getCursorX): use temp vars
8203         (setCurrentFont): use temp vars
8204         (getColumnNearX): use temp vars
8205
8206 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8207
8208         * text.C (transformChar): use temp var for getChar
8209         (computeBidiTables): use temp var for row->par()
8210         (fill): move temp vars for row->par() and pit->layout() earlier in
8211         the function.
8212         (labelFill): use temp var for row->par()
8213         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8214         asc and desc, realize that pit never changes and that firstpit is
8215         just a duplicate and not needed. Exchange rit->par() with pit in a
8216         lot of places.
8217         (breakAgain): use a temp var for boost::next(rit)
8218         (breakAgainOneRow): ditto
8219         (breakParagraph): use a temp var for rows().begin()
8220         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8221         (cursorRightOneWord): use temp var for cursor.par() and
8222         cursor.pos(), remove usage of tmpcursor.
8223         (cursorLeftOneWord): use temp var for cursor.par() and
8224         cursor.pos() only set cur at end of function.
8225
8226 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8227
8228         * text.C, text2.C: exchange all usage of Paragraph::next with
8229         boost::next(ParagraphList::iterator)
8230
8231         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8232
8233         * text2.C (cursorTop): simplify implementation
8234         (cursorBottom): ditto
8235         (setParagraph): use ParagraphList::iterator
8236         (setCurrentFont): adjust
8237         (getColumnNearX): adjust
8238         (cursorRight): adjust
8239         (cursorLeft): remove usage of Paragraph::previous
8240         (cursorUpParagraph): ditto
8241         (deleteEmptyParagraphMechanism): slight cleanup
8242
8243         * text.C (isBoundary): take a Paragraph const & instead of a
8244         pointer as arg.
8245         (addressBreakPoint): ditto
8246         (leftMargin): remove usage of Paragraph::previous.
8247         (setHeightOfRow): ditto
8248         (cursorLeftOneWord): ditto
8249         (selectNextWordToSpellcheck): ditto
8250         (Delete): ditto
8251         (backspace): ditto
8252         (breakParagraph): remove one usage of Paragraph::next
8253         (redoParagraph): ditto
8254         (acceptChange): ditto
8255         (insertChar): adjust
8256         (rowBreakPoint): adjust
8257
8258         * bufferview_funcs.C (toggleAndShow): adjust
8259
8260 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8261
8262         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8263         methods to access it.
8264         * lyxtext.h:
8265         * text.C: Added updateRowPositions to compute all row positions.
8266         Make top_y and getRowNearY() to use the cached y position
8267
8268 2003-04-11  John Levon  <levon@movementarian.org>
8269
8270         * text.C (rowBreakPoint): reintroduce the labelEnd
8271         checks, code copied from the row fill stuff. Deep voodoo.
8272
8273         * text.C (fill): add a comment and debugging for the
8274         next poor soul.
8275
8276 2003-04-11  John Levon  <levon@movementarian.org>
8277
8278         * text.C: make sure fullrow insets get wrapped to the next line,
8279         even when they're in a manual label
8280
8281 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8282
8283         * text2.C (insertParagraph): make it take ParagraphList::iterator
8284         as arg.
8285         (setLayout): make it return ParagraphList::iterator
8286         (redoParagraphs): ditto
8287         (setCounter): ditto
8288         (checkParagraph): ditto
8289
8290         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8291
8292         * text2.C: adjust several funcs.
8293         (realizeFont): take a ParagraphList::iterator as arg.
8294         (getLayoutFont): ditto
8295         (getLabelFont): ditto
8296         (setCharFont): ditto
8297
8298         * text.C: adjust several funcs.
8299
8300 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8301
8302         * text.C (selectNextWordToSpellcheck): don't accidentally
8303         skip insets
8304
8305 2003-04-10  John Levon  <levon@movementarian.org>
8306
8307         * ToolbarBackend.C (getIcon): special handling for
8308         LFUN_MATH_DELIM
8309
8310 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8311
8312         * text2.C (cursorRight): a getChar assert fixed
8313
8314 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8315
8316         * text2.C (getFont): change to take a ParagraphList::iterator
8317         instead of Paragraph*
8318         Adjust several functions.
8319
8320         * text.C (transformChar): change to take a ParagraphList::iterator
8321         instead of Paragraph*
8322         (singleWidth): ditto
8323         Adjust several functions.
8324
8325         * rowpainter.C: adjust several functions
8326         * rowpainter.h:store a ParagraphList::iterator and not a
8327         Paragraph&.
8328
8329
8330 2003-04-09  John Levon  <levon@movementarian.org>
8331
8332         * lyxfunc.C:
8333         * lfuns.h:
8334         * LyXAction.h:
8335         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8336         and the "help" bits as well
8337
8338 2003-04-09  John Levon  <levon@movementarian.org>
8339
8340         * ToolbarBackend.h:
8341         * ToolbarBackend.C: allow multiple toolbars
8342
8343 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8344
8345         * undo_funcs.C (setCursorParUndo): adjust
8346
8347         * text_funcs.C (transposeChars): adjust
8348
8349         * text3.C (gotoNextInset): adjust
8350         (dispatch): adjust
8351
8352         * text2.C (setLayout): adjust
8353         (changeDepth): adjust
8354         (setFont): adjust
8355         (redoParagraphs): adjust
8356         (selectionAsString): adjust
8357         (setParagraph): adjust
8358         (insertInset): adjust
8359         (cutSelection): adjust
8360         (copySelection): adjust
8361         (pasteSelection): adjust
8362         (insertStringAsLines): adjust
8363         (updateInset): adjust
8364         (setCursor): change to take a ParagraphList::iterator parameter
8365         (setCursorIntern): change to take a ParagraphList::iterator parameter
8366         (setCurrentFont): adjust
8367         (cursorLeft): adjust
8368         (cursorRight): adjust
8369         (deleteEmptyParagraphMechanism): adjust
8370
8371         * text.C (breakParagraph): adjust
8372         (insertChar): adjust
8373         (acceptChange): adjust
8374         (rejectChange): adjust
8375         (selectNextWordToSpellcheck): adjust
8376         (changeCase): adjust
8377         (Delete): adjust
8378         (backspace): adjust
8379
8380         * lyxfind.C (SearchForward): adjust
8381         (SearchBackward): adjust
8382         (nextChange): adjust
8383
8384         * lyxcursor.C (par): adjust
8385
8386         * lyxcursor.h: store a ParagraphList::iterator instead of a
8387         Paragraph*
8388
8389         * lyx_cb.C (getPossibleLabel): adjust
8390
8391         * bufferview_funcs.C (toggleAndShow): adjust
8392
8393         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8394         (dispatch): adjust
8395
8396         * BufferView.C (removeAutoInsets): adjust
8397         (lockedInsetStoreUndo): adjust
8398
8399 2003-04-09  John Levon  <levon@movementarian.org>
8400
8401         * ToolbarBackend.C: try icon without argument
8402         if with argument fails
8403
8404 2003-04-08  John Levon  <levon@movementarian.org>
8405
8406         * ToolbarBackend.h:
8407         * ToolbarBackend.C: add getIcon(), handle tooltip,
8408         and change from "Icon" to "Item".
8409
8410 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8411
8412         * BufferView.C (lockInset): another bad getchar crunched
8413
8414 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8415
8416         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8417         again)
8418
8419 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8420
8421         * lyxfind.C (searchForward, searchBackwards): bug 782
8422
8423 2003-04-07  John Levon  <levon@movementarian.org>
8424
8425         * paragraph.C: remove dead comment
8426
8427         * text.C: remove troublesome depth-fiddling code
8428         in leftMargin() and rightMargin() (bug 1017)
8429
8430         * text.C: fix breaking of rows in nested lists
8431         (bug 1004)
8432
8433         * text2.C (updateCounters): fix up depth values
8434         (bug 1013)
8435
8436 2003-04-07  John Levon  <levon@movementarian.org>
8437
8438         * BufferView_pimpl.C: clear message when doc finishes resizing,
8439         and after a mouse event
8440
8441         * lyxfunc.C: clear message after exiting inset
8442
8443 2003-04-07  John Levon  <levon@movementarian.org>
8444
8445         * bufferview_funcs.C: show math status not outside
8446         status in the statusbar
8447
8448 2003-04-07  John Levon  <levon@movementarian.org>
8449
8450         * lyxfunc.C: note status changed after a depth change
8451
8452 2003-04-04  Angus Leeming  <leeming@lyx.org>
8453
8454         * LaTeX.h: move AuxInfo operator==, != out of line.
8455         Remove LaTeX virtual destructor; nothing derives from it.
8456         Move operator()() out of public area and rename it startscript().
8457         Change protected for private.
8458
8459 2003-04-04  Angus Leeming  <leeming@lyx.org>
8460
8461         * lyxfunc.C:
8462         * text2.C: remove unneeded #includes.
8463
8464 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8465
8466         * text2.C (dEPM): fix the heigth of the next row
8467
8468 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8469
8470         * text.C: squashed an invalid getChar requester + some ws changes
8471
8472 2003-04-03  John Levon  <levon@movementarian.org>
8473
8474         * bufferview_funcs.h:
8475         * bufferview_funcs.C:
8476         * lyxfunc.C:
8477         * lyxtext.h:
8478         * text2.C: make getStatus work for the env depth lfuns
8479
8480 2003-04-03  John Levon  <levon@movementarian.org>
8481
8482         * bufferview_funcs.h:
8483         * bufferview_funcs.C:
8484         * lyxfunc.C:
8485         * lyxtext.h:
8486         * text2.C: parlistize decDepth(), by merging it with incDepth()
8487
8488 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8489
8490         * lyxrow.h: store a ParagraphList::iterator instead of a
8491         Paragraph* and adjust other class functions to suit.
8492
8493         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8494         above.
8495
8496 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8497
8498         * text2.C (setCursor): do not anchor to cursor row for the time being
8499
8500 2003-04-02  John Levon  <levon@movementarian.org>
8501
8502         * LyXAction.C:
8503         * lfuns.h:
8504         * lyx_main.C:
8505         * lyxtext.h:
8506         * text.C:
8507         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8508
8509 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8510
8511         * paragraph.h: make ParagraphList and ParagraphList::iterator
8512         friends of Paragraph.
8513
8514         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8515
8516         * ParagraphList.C: Use the private next_ and previous_ from
8517         Paragraph.
8518
8519 2003-04-01  John Levon  <levon@movementarian.org>
8520
8521         * ToolbarBackend.h:
8522         * ToolbarBackend.C:
8523         * Makefile.am: rename, remove defaults gunk
8524
8525         * MenuBackend.h:
8526         * MenuBackend.C: remove defaults gunk
8527
8528         * Languages.h:
8529         * Languages.C: remove defaults gunk
8530
8531         * lyx_main.h:
8532         * lyx_main.C: error out if files couldn't be found.
8533
8534 2003-04-02  John Levon  <levon@movementarian.org>
8535
8536         * text2.C: make incDepth() use parlist
8537
8538 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8539
8540         * undo_funcs.C (firstUndoParagraph): adjust
8541
8542         * text3.C (gotoInset): adjust
8543         (dispatch): adjust, and rewrite loop.
8544
8545         * text2.C (init): adjust, and rewrite loop.
8546         (redoParagraphs): adjust
8547         (updateInset): adjust, and rewrite loop.
8548         (deleteEmptyParagraphMechanism): adjust
8549
8550         * tabular.C (LyXTabular): adjust
8551         (SetMultiColumn): adjust
8552         (TeXRow): adjust
8553
8554         * lyxtext.[Ch] (ownerParagraph): delete function
8555         (ownerParagraphs): new function returns a ParagraphList.
8556
8557         * BufferView.C (removeAutoInsets): adjust
8558         (insertErrors): adjust
8559         (setCursorFromRow): adjust
8560
8561 2003-04-01  Angus Leeming  <leeming@lyx.org>
8562
8563         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8564         in the frontends.
8565
8566 2003-04-02  John Levon  <levon@movementarian.org>
8567
8568         * lyxtext.h:
8569         * text.C:
8570         * Makefile.am:
8571         * text_funcs.h:
8572         * text_funcs.C: make transposeChars a free function
8573
8574         * lyxrow_funcs.C: remove wrong comment
8575
8576 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8577
8578         * lyxtext.h: adjust
8579         * rowpainter.C: adjust
8580         * text.C: adjust
8581         * text2.C: adjust
8582         * text3.C: adjust
8583
8584         * lyxrow_funcs. [Ch]: new files
8585
8586         * lyxrow.[Ch]: remove next and previous pointers
8587         (next,previous): remove accessor functions
8588         (isParEnd): move to lyxrow_funcs
8589         (lastPos): move to lyxrow_funcs
8590         (nextRowIsAllInset): move to lyxrow_funcs
8591         (lastPrintablePos): move to lyxrow_funcs
8592         (numberOfSeparators): move to lyxrow_funcs
8593         (numberOfHfills): move to lyxrow_funcs
8594         (numberOfLabelHfills): move to lyxrow_funcs
8595         (hfillExpansion): move to lyxrow_funcs
8596
8597         * lyxfunc.C: adjust
8598
8599         * bufferview_funcs.C (toggleAndShow): adjust
8600
8601         * RowList.h: Remove class RowList from file leave just a
8602         std::list<Row>.
8603
8604         * RowList.C: delete file
8605
8606         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8607         and lyxrow_funcs.h
8608
8609 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8610
8611         * text3.C (cursorPrevious): adjust
8612         (cursorNext): adjust
8613         (dispatch): adjust
8614
8615         * text2.C (redoHeightOfParagraph): adjust
8616         (redoDrawingOfParagraph): adjust
8617         (setCursor): adjust
8618
8619         * text.C (breakParagraph): adjust
8620         (insertChar): adjust
8621         (backspace): adjust
8622
8623         * rowpainter.C (RowPainter): adjust
8624         (leftMargin): simplify and adjust
8625         (most rowpainter functions): adjust.
8626
8627         * rowpainter.h: store the row as RowList::iterator not as Row*
8628
8629         * lyxcursor.C (row): taka RowList::iterator as arg
8630         (irow): ditto
8631
8632         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8633         of Row*.
8634
8635 2003-04-01  Angus Leeming  <leeming@lyx.org>
8636
8637         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8638         stuff like bool Bool.
8639
8640 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8641
8642         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8643         rewrite a loop
8644
8645 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8646
8647         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8648         RowList::iterator.
8649
8650         * lyxtext.h (rows): drop one version and leve a const variant that
8651         returns a RowList::iterator.
8652
8653 2003-03-31  Angus Leeming  <leeming@lyx.org>
8654
8655         * text.C (fill): ensure that the signature is the same as that in the
8656         header file.
8657
8658 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8659
8660         * text2.C (redoParagraphs): adjust
8661         (updateCounters): adjust
8662         (checkParagraph): adjust
8663         (getColumnNearX): adjust and reformat a bit.
8664
8665         * text.C (top_y): adjust
8666         (workWidth): adjust
8667         (leftMargin): adjust
8668         (prepareToPrint): adjust
8669         (getRow): adjust
8670         (getRowNearY): adjust
8671
8672         * lyxtext.h: make rowlist_ mutable.
8673
8674         * RowList.h: add const_iterator
8675         * RowList.C: adjust for RowList::const_iterator.
8676
8677         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8678         adjust.
8679
8680 2003-03-31  John Levon  <levon@movementarian.org>
8681
8682         * lyxrc.h:
8683         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8684
8685         * lyx_main.C: set default fonts from using lyx_gui funcs
8686
8687         * exporter.C: pdf_mode moved from lyxrc
8688
8689         * lyx_cb.C:
8690         * lyxfunc.C: changes from above
8691
8692 2003-03-31  John Levon  <levon@movementarian.org>
8693
8694         * lyx_main.C: fix to the last fix
8695
8696 2003-03-31  John Levon  <levon@movementarian.org>
8697
8698         * bufferlist.C: "Load original" -> "Load Original"
8699
8700         * converter.C:
8701         * exporter.C:
8702         * importer.C:
8703         * lyx_main.C:
8704         * format.C: more Alert cleanups
8705
8706 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8707
8708         * text2.C (removeParagraph): make it take a RowList::iterator as
8709         arg, adjust.
8710         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8711         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8712
8713         * text.C (anchor_row): make it take a RowList::iterator as arg,
8714         adjust.
8715         (computeBidiTables): make it take a const reference to Row instead
8716         of Row pointer, adjust.
8717         (leftMargin): make it take a RowList::iterator as arg, adjust.
8718         (rowBreakPoint): adjust
8719         (breakAgainOneRow): make it take a RowList::iterator as arg,
8720         adjust.
8721         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8722
8723         * bufferview_funcs.C (toggleAndShow): adjust
8724
8725 2003-03-30  John Levon  <levon@movementarian.org>
8726
8727         * Makefile.am:
8728         * BoostFormat.h:
8729         * boost-inst.C: moved to support
8730
8731         * several files: changes as a result
8732
8733 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8734
8735         * text2.C (LyXText): adjust.
8736         (init): adjust
8737         (removeRow): make it take a RowList::iterator as arg, adjust.
8738         (fullRebreak): adjust
8739         (deleteEmptyParagraphMechanism): adjust
8740         (clearPaint): adjust
8741         (postPaint): adjust
8742
8743         * text.C (top_y): adjust
8744         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8745         (breakAgain): make it take a RowList::iterator as arg, adjust.
8746         (breakParagraph): adjust
8747         (insertChar): adjust
8748         (backspace): adjust
8749
8750         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8751         need_break_row, and refresh_row.
8752
8753         * text3.C (dispatch): adjust
8754
8755         * text2.C (checkParagraph): adjust
8756         (setCursor): adjust
8757         (setCursorFromCoordinates): adjust
8758
8759         * text.C (top_y): adjust
8760         (workWidth): adjust
8761         (getRow): make it return a RowList::iterator, adjust
8762         (getRowNearY): make it return a RowList::iterator, adjust
8763
8764         * text2.C (init): adjust
8765         (insertRow): remove function
8766         (insertParagraph): adjust
8767         (redoParagraphs): adjust
8768         (fullRebreak): adjust
8769         (updateCounters): adjust
8770
8771         * text.C (top_y): rewrite to use RowList iterators.
8772         (top_y): adjust
8773         (setHeightOfRow): rewrite to sue RowList iterators.
8774         (appendParagraph): adjust
8775         (breakAgain): adjust
8776         (breakAgainOneRow): adjust
8777         (breakParagraph): adjust
8778         (getRow): adjust
8779         (getRowNearY): adjust, and remove commented code.
8780
8781         * lyxtext.h (firstRow): delete function
8782         (lastRow): delete function
8783         (rows): new function (const and non-const versions.)
8784         (insertRow): delete function
8785
8786         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8787
8788 2003-03-29  John Levon  <levon@movementarian.org>
8789
8790         * BufferView_pimpl.C: always update scrollbar top
8791         because pasting text when we're anchored could mean we
8792         miss an update altogether
8793
8794 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8795
8796         * text2.C (init): use rowlist_.end() and not 0.
8797         (insertRow): change to take a RowList::iterator as arg, adjust
8798         for this.
8799         (insertParagraph): change to take a RowList::iterator as arg,
8800         adjust for this.
8801         (redoParagraphs): remove some debug msgs.
8802
8803         * text.C (appendParagraph): change to take a RowList::iterator
8804         arg, adjust for this.
8805         (breakAgain): add an assert
8806         (breakAgainOneRow): ditto
8807
8808 2003-03-29  John Levon  <levon@movementarian.org>
8809
8810         * text2.C: do not clear selection after inc/decDepth
8811         (bug 550)
8812
8813 2003-03-29  John Levon  <levon@movementarian.org>
8814
8815         * BufferView.C:
8816         * buffer.C: fix broken strerrors according to Lars
8817
8818 2003-03-29  John Levon  <levon@movementarian.org>
8819
8820         * converters.C: more Alert cleanups
8821
8822 2003-03-29  John Levon  <levon@movementarian.org>
8823
8824         * bufferview_funcs.C: remove pointless Alert
8825
8826         * buffer.C: fix confusing error message when
8827         a template is chmoded 000
8828
8829 2003-03-29  John Levon  <levon@movementarian.org>
8830
8831         * BufferView.C:
8832         * BufferView.h:
8833         * BufferView_pimpl.C: Alert fixes
8834
8835         * Makefile.am:
8836         * tabular.C:
8837         * tabular-old.C: remove unused table compat reading
8838
8839 2003-03-29  John Levon  <levon@movementarian.org>
8840
8841         * BufferView.C:
8842         * buffer.C:
8843         * lyx_cb.h:
8844         * lyx_cb.C: more Alert cleanups
8845
8846         * lyxfunc.C: don't allow chktex if not latex document
8847
8848 2003-03-29  John Levon  <levon@movementarian.org>
8849
8850         * lyx_cb.C:
8851         * BufferView.C:
8852         * buffer.C: warnings pushed down from support/,
8853         kill err_alert
8854
8855 2003-03-29  John Levon  <levon@movementarian.org>
8856
8857         * lyxfunc.C: safety check for C-r (revert)
8858
8859 2003-03-29  John Levon  <levon@movementarian.org>
8860
8861         * bufferlist.h:
8862         * bufferlist.C: several UI fixes using Alert::prompt.
8863         Fix the pointless looping quit code. Fix stupid revert
8864         behaviour (bug 938)
8865
8866         * lyxvc.h:
8867         * lyxvc.C:
8868         * lyx_cb.C: use Alert::prompt
8869
8870         * lyx_main.C: remove a silly question
8871
8872         * lyxfunc.C: remove a couple of silly questions,
8873         use Alert::prompt
8874
8875 2003-03-28  John Levon  <levon@movementarian.org>
8876
8877         * text2.C: fix bug 974 (End on empty par)
8878
8879 2003-03-28  John Levon  <levon@movementarian.org>
8880
8881         * BufferView_pimpl.C:
8882         * LyXAction.C:
8883         * lfuns.h: remove do-nothing math greek lfuns
8884
8885 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8886
8887         * lyxgluelength.h (isValidGlueLength): add default arg on
8888         parameter 2. Remove default arg from friend in class.
8889
8890         * lyxlength.h (isValidLength): add default arg on parameter 2.
8891         Remove default arg from friend in class.
8892
8893         * text2.C (LyXText): adjust, initialize refresh_row.
8894         (init): adjust
8895         (removeRow): adjust
8896         (insertRow): adjust
8897         (insertParagraph): adjst
8898         (redoParagraphs): adjust
8899         (fullRebreak): adjust
8900         (updateCounters): adjust
8901         (deleteEmptyParagraphMechanism): first attempt at fixing a
8902         crashing bug.
8903
8904         * text.C (top_y): adjust
8905         (setHeightOfRow): adjust
8906         (getRow): adjust
8907         (getRowNearY): adjust
8908
8909         * lyxtext.h: include RowList.h
8910         (~LyXText): not needed anymore, deleted.
8911         (firstRow): modify for RowList
8912         (lastRow): new function
8913         Delete firstrow and lastrow class variables, add a Rowlist
8914         rowlist_ class variable.
8915
8916         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8917         paragraph is empty.
8918
8919         * RowList.C (insert): fix case where it == begin().
8920
8921 2003-03-26  Angus Leeming  <leeming@lyx.org>
8922
8923         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8924         the thesaurus dialog.
8925
8926 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8927
8928         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8929
8930         * RowList.[Ch]: new files
8931
8932         * ParagraphList.C (erase): handle the case where it == begin
8933         correctly.
8934
8935 2003-03-25  John Levon  <levon@movementarian.org>
8936
8937         * Makefile.am:
8938         * aspell_local.h:
8939         * aspell.C: add new aspell support
8940
8941         * lyxrc.h:
8942         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8943         have it accessible.
8944
8945 2003-03-25  Angus Leeming  <leeming@lyx.org>
8946
8947         * lfuns.h:
8948         * LyXAction.C (init): new LFUN_INSET_INSERT.
8949
8950         * BufferView_pimpl.C (dispatch): split out part of the
8951         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8952
8953         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8954         LFUN_INSET_APPLY.
8955
8956 2003-03-25  Angus Leeming  <leeming@lyx.org>
8957
8958         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8959
8960 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8961
8962         * text2.C:
8963         * text3.C: remove useless row->height(0)
8964
8965 2003-03-25  John Levon  <levon@movementarian.org>
8966
8967         * lyxtext.h:
8968         * text2.C:
8969         * text3.C: rename the refreshing stuff to better names
8970
8971 2003-03-24  John Levon  <levon@movementarian.org>
8972
8973         * BufferView_pimpl.h:
8974         * BufferView_pimpl.C: update layout choice on a mouse
8975         press/release
8976
8977 2003-03-23  John Levon  <levon@movementarian.org>
8978
8979         * Makefile.am: fix commandtags.h reference
8980
8981 2003-03-22  John Levon  <levon@movementarian.org>
8982
8983         * BufferView_pimpl.C:
8984         * lyxtext.h:
8985         * rowpainter.C:
8986         * rowpainter.h:
8987         * text.C:
8988         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8989
8990 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8991
8992         * lyxtext.h:
8993         * text.C: take the rtl methods out of line
8994
8995 2003-03-21 André Pönitz <poenitz@gmx.net>
8996
8997         * metricsinfo.[Ch]: new files containing structures to be passed around
8998         during the two-phase-drawing...
8999
9000 2003-03-21 André Pönitz <poenitz@gmx.net>
9001
9002         * lyxtextclass.C: read 'environment' tag.
9003
9004 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9005
9006         * text2.C (removeRow): fix bug 964
9007
9008 2003-03-20  John Levon  <levon@movementarian.org>
9009
9010         * rowpainter.C:
9011         * text.C:
9012         * text2.C: paint cleanups. Inset::update() dropped font
9013         parameter
9014
9015 2003-03-19  John Levon  <levon@movementarian.org>
9016
9017         * lyxfunc.C: only fitcursor/markDirty if available()
9018
9019 2003-03-19  John Levon  <levon@movementarian.org>
9020
9021         * commandtags.h: rename to ...
9022
9023         * lfuns.h: ... this, and renumber / cleanup
9024
9025 2003-03-19  John Levon  <levon@movementarian.org>
9026
9027         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9028         fit the cursor after an lfun
9029
9030         * BufferView.h:
9031         * BufferView.C:
9032         * BufferView_pimpl.h:
9033         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9034
9035         * LyXAction.C: layout-character should have ReadOnly
9036
9037         * ParagraphParameters.C:
9038         * buffer.C:
9039         * bufferview_funcs.C:
9040         * lyx_cb.C:
9041         * lyxfind.C:
9042         * lyxtext.h:
9043         * text.C:
9044         * text2.C:
9045         * text3.C:
9046         * undo_funcs.C: changes from above
9047
9048 2003-03-18  John Levon  <levon@movementarian.org>
9049
9050         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9051         remove it from update()
9052
9053         * lyxfunc.C: update layout choice after an lfun
9054
9055         * text3.C: remove extra updateLayoutChoice()s
9056
9057 2003-03-18  John Levon  <levon@movementarian.org>
9058
9059         * text.C: top_y change means full repaint, fix
9060         a drawing bug with cursor movement
9061
9062 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9063
9064         * lyxtext.h:
9065         * text.C:
9066         * text2.C: anchor row on setCursor
9067
9068 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9069
9070         * lyxtext.h: remove almost all mutable keywords
9071         * text.C:
9072         * text2.C:
9073         * text3.C: remove const keywords accordingly
9074
9075 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9076
9077         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9078         anon namespace
9079         (TeXEnvironment): ditto
9080         (TeXOnePar): ditto
9081
9082 2003-03-17  John Levon  <levon@movementarian.org>
9083
9084         * text.C (rowBreakPoint): remove attempt to fix displayed
9085         math insets inside a manual label
9086
9087 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9088
9089         * lyxtext.h: remove BufferView* as first arg from almost all class
9090         functions.
9091         * other files: adjust.
9092
9093 2003-03-17  John Levon  <levon@movementarian.org>
9094
9095         * lyxtext.h:
9096         * undo_funcs.C:
9097         * text2.C: more paint cleanups
9098
9099         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9100
9101         * rowpainter.h:
9102         * rowpainter.C: remove "smart" background painting code
9103
9104 2003-03-16  John Levon  <levon@movementarian.org>
9105
9106         * lyxtext.h:
9107         * text.C:
9108         * text2.C:
9109         * text3.C: add helper functions for setting refresh_row/y
9110
9111 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9112
9113         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9114         newline inset which *can* get inserted in the pass_thru layouts.
9115         This is primarily for literate documents.
9116
9117 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9118
9119         * buffer.C: increment LYX_FORMAT to 223
9120
9121 2003-03-14 André Pönitz <poenitz@gmx.net>
9122
9123         * textclass.h: prepare for environment handling, ws changes
9124         * lyxlayout.C: read latexheader and latexfooter tags
9125
9126 2003-03-14  John Levon  <levon@movementarian.org>
9127
9128         * text2.C: rewrite ::status() a bit
9129
9130 2003-03-13  John Levon  <levon@movementarian.org>
9131
9132         * lyxtext.h: add some docs
9133
9134 2003-03-13  John Levon  <levon@movementarian.org>
9135
9136         * lyxtext.h:
9137         * text.C:
9138         * text2.C:
9139         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9140
9141 2003-03-13  John Levon  <levon@movementarian.org>
9142
9143         * text3.C: fix appendix redrawing
9144
9145 2003-03-13  John Levon  <levon@movementarian.org>
9146
9147         * text.C (setHeightOfRow):
9148         * rowpainter.h:
9149         * rowpainter.C: make appendix mark have the text
9150           "Appendix" so the user knows what it is
9151
9152         * LColor.h:
9153         * LColor.C: s/appendixline/appendix/ from above
9154
9155 2003-03-13  John Levon  <levon@movementarian.org>
9156
9157         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9158
9159         * text.C: fix a getChar(pos) bug properly
9160
9161 2003-03-13  Angus Leeming  <leeming@lyx.org>
9162
9163         * commandtags.h:
9164         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9165         Probably only temporary. Let's see how things pan out.
9166
9167         * BufferView.C (unlockInset):
9168         * BufferView_pimpl.C (fitCursor):
9169         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9170
9171         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9172         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9173
9174         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9175         new functions that convert ParagraphParameters to and from a string.
9176
9177         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9178         BufferView::Pimpl's dispatch.
9179         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9180
9181 2003-03-13 André Pönitz <poenitz@gmx.net>
9182
9183         * lyxfunc.C:
9184         * text3.C:
9185         * factory.C: make it aware of InsetEnv
9186
9187 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9188
9189         * text2.C (setCursor): never ask for one past last
9190         (setCursor): add some debugging messages.
9191
9192         * text.C (singleWidth): never ask for one past last
9193         (singleWidth): ditto
9194         (leftMargin): ditto
9195         (rightMargin): ditto
9196         (rowBreakPoint): ditto
9197         (setHeightOfRow): ditto
9198         (prepareToPrint): ditto
9199
9200         * rowpainter.C (paintBackground): never ask for one past last
9201         (paintText): never ask for one past last
9202
9203         * paragraph_pimpl.C (getChar): make the assert stricter, never
9204         allow the one past last pos to be taken
9205
9206         * paragraph.C (getChar): ws changes only
9207
9208         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9209         (numberOfSeparators): ditto
9210         (numberOfHfills): ditto
9211
9212 2003-03-12  John Levon  <levon@movementarian.org>
9213
9214         * author.h:
9215         * author.C:
9216         * bufferparams.h:
9217         * bufferparams.C:
9218         * paragraph_funcs.C: fix per-buffer authorlists
9219
9220 2003-03-12  John Levon  <levon@movementarian.org>
9221
9222         * text.C: fix newline in right address
9223
9224 2003-03-12  Angus Leeming  <leeming@lyx.org>
9225
9226         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9227         duplicate those in LyXFunc::dispatch.
9228
9229         * commandtags.h:
9230         * LyXAction.C:
9231         * ToolbarDefaults.C:
9232         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9233         Add LFUN_FONTFREE_UPDATE.
9234
9235         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9236         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9237
9238         * bufferview_func.[Ch]: several new functions to facilliate
9239         transfer of data to and from the character dialog.
9240
9241 2003-03-12  John Levon  <levon@movementarian.org>
9242
9243         * buffer.C:
9244         * paragraph.h:
9245         * paragraph.C:
9246         * paragraph_funcs.C:
9247         * paragraph_pimpl.C:
9248         * sgml.C:
9249         * tabular.C:
9250         * text.C:
9251         * text3.C: remove META_NEWLINE in favour of an inset
9252
9253         * rowpainter.h:
9254         * rowpainter.C: remove paintNewline (done by inset)
9255
9256 2003-03-12  John Levon  <levon@movementarian.org>
9257
9258         * paragraph_pimpl.C: complain about bad getChar()s
9259         for a while at least
9260
9261 2003-03-12  John Levon  <levon@movementarian.org>
9262
9263         * buffer.h:
9264         * buffer.C: move paragraph read into a separate function,
9265         a little renaming to reflect that.
9266
9267         * bufferparams.h:
9268         * bufferparams.C: remove the author_ids map, not necessary now
9269
9270         * factory.h:
9271         * factory.C: moved Buffer::readInset to here
9272
9273         * paragraph_funcs.h:
9274         * paragraph_funcs.C: readParagraph free function moved from
9275         buffer.C
9276
9277         * tabular.C: name change
9278
9279 2003-03-12  John Levon  <levon@movementarian.org>
9280
9281         * buffer.C:
9282         * ParagraphParameters.C: move par params input to
9283         a read() method
9284
9285         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9286         behave like a normal read from the stream wrt reading
9287         a line vs. a \\token
9288
9289 2003-03-12  John Levon  <levon@movementarian.org>
9290
9291         * paragraph.C:
9292         * ParagraphParameters.h:
9293         * ParagraphParameters.C: move output code to a
9294         ::write() method
9295
9296 2003-03-12  John Levon  <levon@movementarian.org>
9297
9298         * BufferView.C (insertLyXFile):
9299         * buffer.h:
9300         * buffer.C:
9301         * tabular.C: use a parlist iterator for creating the
9302           document.
9303
9304 2003-03-12  John Levon  <levon@movementarian.org>
9305
9306         * buffer.C: make current_change static local not
9307           static file-scope
9308
9309 2003-03-12  John Levon  <levon@movementarian.org>
9310
9311         * buffer.C: fix insertStringAsLines for change tracking
9312
9313 2003-03-12  John Levon  <levon@movementarian.org>
9314
9315         * BufferView.C:
9316         * tabular.C:
9317         * buffer.h:
9318         * buffer.C:
9319         * bufferparams.h:
9320         * bufferparams.C: move author list into params. Rename some
9321           functions. Move the header reading into a separate token
9322           loop. Move the header token reading into BufferParams.
9323
9324 2003-03-12  John Levon  <levon@movementarian.org>
9325
9326         * changes.C: put debug inside lyxerr.debugging() checks
9327
9328 2003-03-11 André Pönitz <poenitz@gmx.net>
9329
9330         * factory.C: make it aware of InsetHFill
9331
9332 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9333
9334         * buffer.C (latexParagraphs): move function from here...
9335         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9336         args.
9337
9338 2003-03-10  Angus Leeming  <leeming@lyx.org>
9339
9340         * LyXAction.C (init): fix bug in poplating array with multiple entries
9341         with the same LFUN (spotted by JMarc).
9342
9343 2003-03-10  John Levon  <levon@movementarian.org>
9344
9345         * text.C:
9346         * text2.C: move getColumnNearX() near its
9347         only call site
9348
9349 2003-03-10  John Levon  <levon@movementarian.org>
9350
9351         * text.C: fix break before a minipage
9352
9353 2003-03-10  John Levon  <levon@movementarian.org>
9354
9355         * text.C: fix the last commit
9356
9357 2003-03-09  John Levon  <levon@movementarian.org>
9358
9359         * lyxtext.h:
9360         * text.C:
9361         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9362         bug 365 (don't break before insets unless needed). Don't
9363         return a value > last under any circumstances.
9364
9365 2003-03-09  Angus Leeming  <leeming@lyx.org>
9366
9367         * BufferView_pimpl.C (trackChanges, dispatch): call
9368         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9369
9370 2003-03-09  Angus Leeming  <leeming@lyx.org>
9371
9372         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9373         than Dialogs::showAboutlyx().
9374
9375 2003-03-09  Angus Leeming  <leeming@lyx.org>
9376
9377         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9378         than Dialogs::showTabularCreate().
9379
9380 2003-03-09  John Levon  <levon@movementarian.org>
9381
9382         * lyxtext.h:
9383         * text.C:
9384         * text2.C: 3rd arg to nextBreakPoint was always the same.
9385           Use references.
9386
9387 2003-03-08  John Levon  <levon@movementarian.org>
9388
9389         * lyxrow.C:
9390         * paragraph.C:
9391         * paragraph.h:
9392         * rowpainter.C:
9393         * text.C:
9394         * text2.C: Remove the "main" bit from the "main body"
9395           notion.
9396
9397 2003-03-08  John Levon  <levon@movementarian.org>
9398
9399         * text.C (leftMargin): The left margin of an empty
9400         manual label paragraph should not include the label width
9401         string length.
9402
9403         * text.C (prepareToPrint): don't attempt to measure hfills
9404         for empty manual label paragraphs - the answer should be 0
9405
9406 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9407
9408         * CutAndPaste.C: remove commented code and reindent.
9409
9410 2003-03-08  John Levon  <levon@movementarian.org>
9411
9412         * lyxfunc.h:
9413         * lyxfunc.C: move reloadBuffer()
9414
9415         * BufferView.h:
9416         * BufferView.C: to here
9417
9418         * lyxvc.C: add comment
9419
9420         * vc-backend.h:
9421         * vc-backend.C: call bv->reload() to avoid
9422           getStatus() check on MENURELOAD
9423
9424 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9425
9426         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9427         to an old format .dep file.
9428
9429 2003-03-07  Angus Leeming  <leeming@lyx.org>
9430
9431         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9432         when the LFUN_MOUSE_RELEASE should have been handled by
9433         inset->localDispatch.
9434
9435 2003-03-07  Angus Leeming  <leeming@lyx.org>
9436
9437         * BufferView_pimpl.C (dispatch):
9438         * LyXAction.C (init):
9439         * ToolbarDefaults.C (init):
9440         * commandtags.h:
9441         * lyxfunc.C (getStatus):
9442         remove LFUN_INSET_GRAPHICS.
9443
9444         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9445
9446 2003-03-07  Angus Leeming  <leeming@lyx.org>
9447
9448         * commandtags.h:
9449         * LyXAction.C (init):
9450         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9451
9452         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9453
9454         * commandtags.h:
9455         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9456
9457         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9458         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9459
9460 2003-03-07  Angus Leeming  <leeming@lyx.org>
9461
9462         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9463         remove "ert".
9464
9465 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9466
9467         * ParagraphList.C (front): new function
9468         (back): implement
9469
9470 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9471
9472         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9473         and top_row_offset_. removed var first_y.
9474         * text.C (top_y):
9475         * text2.C (LyXText, removeRow):
9476         * text3.C:
9477         * BufferView_pimpl.C:
9478         use these methods instead of using first_y
9479
9480 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9481
9482         * text2.C (pasteSelection): adjust for checkPastePossible
9483
9484         * CutAndPaste.C: remove Paragraph * buf and replace with
9485         ParagraphList paragraphs.
9486         (DeleteBuffer): delete
9487         (cutSelection): change the tc type to textclass_type
9488         (copySelection): change the tc type to textclass_type
9489         (copySelection): adjust for ParagraphList
9490         (pasteSelection): change the tc type to textclass_type
9491         (pasteSelection): adjust for Paragraphlist
9492         (nrOfParagraphs): simplify for ParagraphList
9493         (checkPastePossible): simplify for ParagraphList
9494         (checkPastePossible): remove unused arg
9495
9496         * ParagraphList.C (insert): handle the case where there are no
9497         paragraphs yet.
9498
9499         * CutAndPaste.h: make CutAndPaste a namespace.
9500
9501         * text3.C (dispatch): adjust
9502
9503         * text.C (breakParagraph): add a ParagraphList as arg
9504
9505         * paragraph_funcs.C (breakParagraph): change to take a
9506         BufferParams and a ParagraphList as args.
9507         (breakParagraphConservative): ditto
9508         (mergeParagraph): ditto
9509         (TeXDeeper): add a ParagraphList arg
9510         (TeXEnvironment): ditto
9511         (TeXOnePar): ditto
9512
9513         * buffer.C (readLyXformat2): adjust
9514         (insertStringAsLines): adjust
9515         (latexParagraphs): adjust
9516
9517         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9518         (cutSelection): adjust
9519         (pasteSelection): adjust
9520
9521         * BufferView_pimpl.C (insertInset): adjust
9522
9523 2003-03-05  Angus Leeming  <leeming@lyx.org>
9524
9525         * commandtags.h:
9526         * LyXAction.C (init):
9527         * BufferView_pimpl.C (dispatch):
9528         * lyxfunc.C (getStatus):
9529         remove LFUN_CHILD_INSERT.
9530
9531         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9532
9533 2003-03-05  Angus Leeming  <leeming@lyx.org>
9534
9535         * commandtags.h:
9536         * LyXAction.C (init):
9537         * src/factory.C (createInset):
9538         * lyxfunc.C (getStatus):
9539         * text3.C (dispatch):
9540         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9541
9542         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9543
9544 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9545
9546         * ParagraphList.C (insert): handle insert right before end()
9547         (erase): fix cases where it can be first or last paragraph.
9548
9549 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9550
9551         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9552         Paragraph::next and Paragraph::previous
9553         (TeXOnePar): ditto
9554
9555         * text.C (breakParagraph): adjust
9556
9557         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9558         BufferParams& as arg.
9559         (breakParagraph): use ParagraphList::insert
9560         (breakParagraphConservative): take a Buffer* instead of a
9561         BufferParams& as arg.
9562         (breakParagraphConservative): use ParagraphList::insert.
9563
9564         * buffer.C (insertStringAsLines): un-const it
9565         (insertStringAsLines): adjust
9566
9567         * ParagraphList.C (insert): new function
9568
9569         * CutAndPaste.C (pasteSelection): adjust
9570
9571         * text.C (backspace): adjust
9572
9573         * tabular.C (SetMultiColumn): adjust
9574
9575         * CutAndPaste.C (cutSelection): adjust
9576         (pasteSelection): adjust
9577
9578         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9579         Buffer const * as arg
9580
9581         * ParagraphList.C (erase): new function
9582         * paragraph_funcs.C (mergeParagraph): use it
9583         (mergeParagraph): make it take a Buffer* instead of a
9584         BufferParams* as arg
9585
9586         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9587         as arg
9588         (breakParagraphConservative): ditto
9589
9590         * paragraph.h: remove the breakParagraph friend
9591
9592         * paragraph.C (eraseIntern): new function
9593         (setChange): new function
9594
9595         * paragraph_funcs.C (mergeParagraph): make it take a
9596         ParagraphList::iterator instead of a Paragraph *, adjust
9597         accordingly.
9598
9599         * paragraph.h: move an #endif so that the change tracking stuff
9600         also works in the NO_NEXT case.
9601
9602 2003-03-04  Angus Leeming  <leeming@lyx.org>
9603
9604         * commandtags.h:
9605         * LyXAction.C: new LFUN_INSET_MODIFY.
9606
9607         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9608         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9609
9610 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9611
9612         * several files: ws changes only
9613
9614         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9615         (TeXEnvironment): ditto
9616         (TeXDeeper): ditto
9617
9618         * buffer.C (makeLaTeXFile): adjust
9619         (latexParagraphs): make it take ParagraphList::iterator as args
9620
9621 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9622
9623         * buffer.C (latexParagraphs): adjust
9624
9625         * paragraph.C (TeXOnePar): move function...
9626         (optArgInset): move function...
9627         (TeXEnvironment): move function...
9628         * paragraph_pimpl.C (TeXDeeper): move function...
9629         * paragraph_funcs.C: ...here
9630
9631         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9632
9633 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9634
9635         * buffer.C (readInset): remove compability code for old Figure and
9636         InsetInfo insets
9637
9638 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9639
9640         * buffer.C: ws changes
9641         (readInset):
9642
9643         * BufferView_pimpl.C: ditto
9644         * author.C: ditto
9645         * buffer.h: ditto
9646         * bufferlist.h: ditto
9647         * changes.h: ditto
9648         * lyxfunc.C: ditto
9649
9650 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9651
9652         * converter.[Ch]: split into itself +
9653         * graph.[Ch]
9654         * format.[Ch]
9655         * Makefile.am: += graph.[Ch] + format.[Ch]
9656         * MenuBackend.C
9657         * buffer.C
9658         * exporter.C
9659         * importer.C
9660         * lyx_main.C
9661         * lyxfunc.C
9662         * lyxrc.C: added #include "format.h"
9663
9664 2003-02-27  Angus Leeming  <leeming@lyx.org>
9665
9666         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9667           a label.
9668
9669         * factory.C (createInset): add "label" to the factory.
9670
9671         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9672           string and do no more.
9673
9674 2003-02-27  Angus Leeming  <leeming@lyx.org>
9675
9676         * commandtags.h:
9677         * LyXAction.C (init):
9678         * factory.C (createInset):
9679         * BufferView_pimpl.C (dispatch):
9680           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9681
9682         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9683
9684         * lyxfunc.C (dispatch):
9685         * text3.C (dispatch): pass name to params2string.
9686
9687 2003-02-26  Angus Leeming  <leeming@lyx.org>
9688
9689         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9690           blocks together.
9691           Rearrange the ~includes. Strip out the unnecessary ones.
9692
9693         * factory.C (createInset): reformat.
9694           create new insets for the various LFUN_XYZ_APPLY lfuns.
9695
9696 2003-02-26  John Levon  <levon@movementarian.org>
9697
9698         * lyxrow.h:
9699         * lyxrow.C: add isParStart,isParEnd helpers
9700
9701         * paragraph.h: make isInserted/DeletedText take refs
9702
9703         * paragraph_funcs.h:
9704         * paragraph_funcs.C: remove #if 0'd code
9705
9706         * lyxtext.h:
9707         * text3.C:
9708         * text2.C:
9709         * text.C: use lyxrow helpers above.
9710           Move draw and paint routines to RowPainter.
9711           Make several methods use refs not pointers.
9712           Make backgroundColor() const.
9713           Add markChangeInDraw(), isInInset().
9714           Merge changeRegionCase into changeCase.
9715           Make workWidth() shouldn't-happen code into an Assert.
9716
9717         * rowpainter.h:
9718         * rowpainter.C: new class for painting a row.
9719
9720         * vspace.h:
9721         * vspace.C: make inPixels take a ref
9722
9723 2003-02-26  Angus Leeming  <leeming@lyx.org>
9724
9725         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9726         LFUN_REF_APPLY.
9727
9728 2003-02-25  John Levon  <levon@movementarian.org>
9729
9730         * ispell.C: give the forked command a more accurate name
9731
9732 2003-02-22  John Levon  <levon@movementarian.org>
9733
9734         * toc.h:
9735         * toc.C: make TocItem store an id not a Paragraph *
9736           (bug #913)
9737
9738 2003-02-21  Angus Leeming  <leeming@lyx.org>
9739
9740         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9741           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9742           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9743           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9744           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9745           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9746
9747         * BufferView_pimpl.C (dispatch):
9748         * LyXAction.C (init):
9749         * factory.C (createInset):
9750         * lyxfunc.C (getStatus, dispatch):
9751         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9752
9753 2003-02-21  Angus Leeming  <leeming@lyx.org>
9754
9755         * BufferView_pimpl.C (MenuInsertLyXFile):
9756         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9757         * lyxfunc.C (menuNew, open, doImport):
9758           no longer pass a LyXView & to fileDlg.
9759
9760 2003-02-21  Angus Leeming  <leeming@lyx.org>
9761
9762         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9763         * LyXAction.C: change, BIBKEY to BIBITEM.
9764         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9765         Change InsetBibKey to InsetBibitem.
9766         Change BIBKEY_CODE to BIBITEM_CODE.
9767         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9768         * factory.C: replace insetbib.h with insetbibitem.h.
9769         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9770         * paragraph.C: replace insetbib.h with insetbibitem.h.
9771         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9772         Change bibkey() to bibitem().
9773         * text.C: remove insetbib.h.
9774         * text2.C: replace insetbib.h with insetbibitem.h.
9775         change bibkey() to bibitem().
9776         * text3.C: remove insetbib.h.
9777         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9778
9779 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9780
9781         * lyxrc.C (output): enclose user email in quotes (in case there are
9782         several words)
9783
9784 2003-02-18  John Levon  <levon@movementarian.org>
9785
9786         * buffer.h: add std::
9787
9788 2003-02-17  John Levon  <levon@movementarian.org>
9789
9790         * SpellBase.h:
9791         * ispell.h:
9792         * ispell.C:
9793         * pspell.h:
9794         * pspell.C: reworking. Especially in ispell, a large
9795           number of clean ups and bug fixes.
9796
9797         * lyxfunc.C: fix revert to behave sensibly
9798
9799 2003-02-17 André Pönitz <poenitz@gmx.net>
9800
9801         * LyXAction.C:
9802         * commandtags.h: new LFUN_INSERT_BIBKEY
9803
9804         * layout.h:
9805         * lyxlayout.C:
9806         * buffer.C:
9807         * factory.C:
9808         * text.C:
9809         * text2.C:
9810         * text3.C:
9811         * paragraph.[Ch]:
9812         * paragraph_func.C: remove special bibkey handling
9813
9814 2003-02-17  John Levon  <levon@movementarian.org>
9815
9816         * text.C (Delete): fix case where delete at the end of
9817           the very first paragraph would not merge the pars
9818
9819 2003-02-17  John Levon  <levon@movementarian.org>
9820
9821         * lyxrow.C: fix lastPrintablePos()
9822
9823 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9824
9825         * bufferparams.C (writeLaTeX): add a std:here
9826
9827         * buffer.C: and remove a using directive there
9828
9829 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9830
9831         * buffer.C (makeLaTeXFile): move the code that generates the
9832           preamble...
9833
9834         * bufferparams.C (writeLaTeX): ... in this new method
9835
9836         * LaTeXFeatures.C (getEncodingSet): make const
9837           (getLanguages): make const
9838
9839         * MenuBackend.C (binding): returns the binding associated to this
9840           action
9841           (add): sets the status of each item by calling getStatus. Adds
9842           some intelligence.
9843           (read): add support for OptSubMenu
9844           (expand): remove extra separator at the end of expanded menu
9845
9846 2003-02-15  John Levon  <levon@movementarian.org>
9847
9848         * BufferView.C:
9849         * BufferView_pimpl.C:
9850         * bufferlist.h:
9851         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9852           inset code that had no actual effect. Remove unneeded status
9853           code.
9854
9855 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9856
9857         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9858           in preamble
9859
9860 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9861
9862         * text.C (drawLengthMarker): also draw an arrow marker for
9863           symbolic lengths (medskip...)
9864
9865 2003-02-14  John Levon  <levon@movementarian.org>
9866
9867         * tabular.h:
9868         * tabular.C: better method names
9869
9870 2003-02-14  John Levon  <levon@movementarian.org>
9871
9872         * BufferView_pimpl.C:
9873         * bufferlist.C:
9874         * buffer.C:
9875         * converter.C:
9876         * lyx_cb.C:
9877         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9878           it's a more accurate name. Remove some pointless uses.
9879
9880 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9881
9882         * text2.C (LyXText): change order of initilizers to shut off
9883           warnings
9884
9885 2003-02-14  John Levon  <levon@movementarian.org>
9886
9887         * buffer.C: use ParIterator for getParFromID()
9888
9889         * paragraph.h:
9890         * paragraph.C:
9891         * paragraph_pimpl.h:
9892         * paragraph_pimpl.C: remove unused getParFromID()
9893
9894 2003-02-14  John Levon  <levon@movementarian.org>
9895
9896         * buffer.C: remove some very old #if 0'd parse code
9897
9898 2003-02-13  John Levon  <levon@movementarian.org>
9899
9900         * text.h:
9901         * text.C:
9902         * text2.C: move hfillExpansion(), numberOfSeparators(),
9903           rowLast(), rowLastPrintable(), numberofHfills(),
9904           numberOfLabelHfills() ...
9905
9906         * lyxrow.h:
9907         * lyxrow.C: ... to member functions here.
9908
9909         * paragraph.h:
9910         * paragraph.C:
9911         * lyxtext.h:
9912         * text.C: remove LyXText::beginningOfMainBody(), and call
9913           p->beginningOfMainBody() directly. Move the check for
9914           LABEL_MANUAL into the latter.
9915
9916         * text.h:
9917         * text.C:
9918         * text2.C:
9919         * vspace.C:
9920         * BufferView.h:
9921         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9922
9923         * text.h:
9924         * text.C:
9925         * text2.C:
9926         * text3.C:
9927         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9928           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9929
9930 2003-02-13  John Levon  <levon@movementarian.org>
9931
9932         * CutAndPaste.C: remove debug
9933
9934 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9935
9936         * paragraph.C (asString): remove two unused variables
9937
9938         * lyxtextclass.C (readTitleType):
9939           (Read):
9940           (LyXTextClass): handle new members titletype_ and titlename_
9941
9942         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9943
9944 2003-02-09  John Levon  <levon@movementarian.org>
9945
9946         * buffer.h:
9947         * buffer.C: replace hand-coded list with a map for the dep clean
9948
9949 2003-02-08  John Levon  <levon@movementarian.org>
9950
9951         * LaTeX.C: consolidate code into showRunMessage() helper
9952
9953 2003-02-08  John Levon  <levon@movementarian.org>
9954
9955         * lyxfind.C:
9956         * lyxtext.h:
9957         * text2.C:
9958         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9959           and pass the size in explicitly
9960
9961         * BufferView_pimpl.h:
9962         * BufferView_pimpl.C:
9963         * BufferView.h:
9964         * BufferView.C: add getCurrentChange()
9965
9966         * BufferView_pimpl.h:
9967         * BufferView_pimpl.C: handle change lfuns
9968
9969         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9970           for changes. Mark pasted paragraphs as new.
9971
9972         * support/lyxtime.h:
9973         * support/lyxtime.C:
9974         * DepTable.C: abstract time_t as lyx::time_type
9975
9976         * LColor.h:
9977         * LColor.C: add colours for new text, deleted text, changebars
9978
9979         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9980           package use "usenames" option.
9981
9982         * commandtags.h:
9983         * lyxfunc.C:
9984         * LyXAction.C: add change lfuns
9985
9986         * Makefile.am:
9987         * author.h:
9988         * author.C: author handling
9989
9990         * buffer.h:
9991         * buffer.C: add a per-buffer author list, with first entry as
9992           current author. Handle new .lyx tokens for change tracking. Output
9993           author list to .lyx file. Output dvipost stuff to .tex preamble.
9994           Bump lyx format to 222.
9995
9996         * bufferlist.h:
9997         * bufferlist.C: add setCurrentAuthor() to reset current author details
9998           in all buffers.
9999
10000         * bufferparams.h:
10001         * bufferparams.C: add param for tracking
10002
10003         * bufferview_funcs.C: output change info in minibuffer
10004
10005         * Makefile.am:
10006         * changes.h:
10007         * changes.C: add change-tracking structure
10008
10009         * debug.h:
10010         * debug.C: add CHANGES debug flag
10011
10012         * lyxfind.h:
10013         * lyxfind.C: add code for finding the next change piece
10014
10015         * lyxrc.h:
10016         * lyxrc.C: add user_name and user_email
10017
10018         * lyxrow.h:
10019         * lyxrow.C: add a metric for the top of the text line
10020
10021         * lyxtext.h:
10022         * text.C: implement accept/rejectChange()
10023
10024         * lyxtext.h:
10025         * text.C: paint changebars. Paint new/deleted text in the chosen
10026         colours. Strike through deleted text.
10027
10028         * paragraph.h:
10029         * paragraph.C:
10030         * paragraph_pimpl.h:
10031         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10032           in the current change to the insert functions. Rework erase to
10033           mark text as deleted, adding an eraseIntern() and a range-based
10034           erase(). Implement per-paragraph change lookup and
10035           accept/reject.
10036
10037         * paragraph_funcs.C: Fixup paste for change tracking.
10038
10039         * tabular.C: mark added row/columns as new.
10040
10041         * text.C: fix rowLast() to never return -1. Don't allow
10042           spellchecking of deleted text. Track transpose changes. Don't
10043           allow paragraph break or merge where appropriate.
10044
10045         * text2.C: leave cursor at end of selection after a cut.
10046
10047 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10048
10049         * text.C (getLengthMarkerHeight):
10050         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10051         visible on screen too.
10052
10053 2003-02-07  John Levon  <levon@movementarian.org>
10054
10055         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10056
10057 2003-02-05  Angus Leeming  <leeming@lyx.org>
10058
10059         * lyxserver.C (read_ready): revert my patch of 11 September last year
10060         as it sends PC cpu through the roof. Presumably this means that
10061         the lyxserver will no longer run on an Alpha...
10062
10063 2003-01-30  Angus Leeming  <leeming@lyx.org>
10064
10065         * factory.C (createInset): create an InsetCommandParam of type "index"
10066         and use it to 'do the right thing'.
10067
10068         * text2.C (getStringToIndex): ensure that cursor position is always
10069         reset to the reset_cursor position.
10070
10071 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10072
10073         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10074         disabled.
10075
10076 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10077
10078         * bufferview.C:
10079         * lyxcb.C:
10080         * lyxfunc.C: Output messages with identical spelling, punctuation,
10081         and spaces
10082
10083 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10084
10085         * MenuBackend.C (expandFormats): List only viewable export formats
10086         in "View" menu
10087
10088         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10089         message
10090
10091         * lyxfunc.C (getStatus): Make sure that formats other than
10092         "fax" can also be disabled
10093
10094 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10095
10096         * text3.C (dispatch): put the lfuns that insert insets in 3
10097         groups, and call doInsertInset with appropriate arguments.
10098         (doInsertInset): new function, that creates an inset and inserts
10099         it according to some boolean parameters.
10100
10101 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10102
10103         * buffer.C (readFile): remember to pass on 'par' when calling
10104         readFile recursively.
10105
10106 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10107
10108         * MenuBackend.C (expandFormats): add "..." to import formats.
10109
10110 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10111
10112         * paragraph.C (asString): Remove XForms RTL hacks.
10113
10114 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10115         * buffer.C: fix typo
10116
10117 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10118
10119         * Makefile.am (LIBS): delete var
10120         (lyx_LDADD): add @LIBS@ here instead.
10121
10122 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10123
10124         * Clarify the meaning of "wheel mouse jump"
10125
10126 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10127
10128         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10129         tabular in a float
10130
10131 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10132
10133         * importer.C (Loaders): do not preallocate 3 elements in the
10134         vector, since one ends up with 6 elements otherwise
10135
10136 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10137
10138         * DepTable.C (write): write the file name as last element of the
10139         .dep file (because it may contain spaces)
10140         (read): read info in the right order
10141
10142 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10143
10144         * paragraph_pimpl.C (simpleTeXBlanks):
10145         (simpleTeXSpecialChars):
10146         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10147
10148         * tabular.C (latex): add some missing case statements. Reindent.
10149
10150         * MenuBackend.C (expandToc): remove unused variable.
10151
10152 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10153
10154         * LColor.C:
10155         * LaTeX.C:
10156         * LyXAction.C:
10157         * MenuBackend.C:
10158         * buffer.C:
10159         * exporter.C:
10160         * lyxfunc.C:
10161         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10162         and the like.
10163
10164 2003-01-05  John Levon  <levon@movementarian.org>
10165
10166         * BufferView.h:
10167         * BufferView.C: add getEncoding()
10168
10169         * kbsequence.h:
10170         * kbsequence.C: do not store last keypress
10171
10172         * lyxfunc.h:
10173         * lyxfunc.C: store last keypress here instead. Pass encoding
10174           to getISOEncoded()
10175
10176 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10177
10178         * lyx_main.C (init): remove annoying error message when following
10179         symbolic links (bug #780)
10180
10181 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10182
10183         * text.C (insertChar):
10184         * lyxrc.C (getDescription): remove extra spaces
10185
10186 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10187
10188         * lyxrc.C (getDescription): remove extra spaces
10189
10190 2002-12-20  John Levon  <levon@movementarian.org>
10191
10192         * text3.C: hack fix for page up/down across tall rows
10193
10194 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10195
10196         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10197         not been invoked
10198
10199 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10200
10201         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10202         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10203         thesaurus is not compiled in
10204
10205 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10206
10207         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10208
10209 2002-12-16  Angus Leeming  <leeming@lyx.org>
10210
10211         * lyxrc.[Ch]:
10212         * lyx_main.C (init): remove override_x_deadkeys stuff.
10213
10214 2002-12-12  John Levon  <levon@movementarian.org>
10215
10216         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10217           insert. Only remove shift modifier under strict
10218           circumstances.
10219
10220 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10221
10222         * MenuBackend.C (expandToc): fix crash.
10223
10224 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10225
10226         * MenuBackend.C (expandToc): gettext on float names.
10227
10228 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10229
10230         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10231         implement bool empty() [bug 490]
10232
10233 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10234
10235         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10236
10237 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10238
10239         * several files: ws changes
10240
10241 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10242
10243         * text2.C (setCounter): clean up a bit, use boost.format.
10244         (updateCounters): initialize par upon declaration.
10245
10246         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10247         if the layout exists. We do not just store the layout any more.
10248         (SwitchLayoutsBetweenClasses): use boost.format
10249
10250 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10251
10252         * converter.C (convert): if from and to files are the same, use a
10253         temporary files as intermediary
10254
10255 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10256
10257         * commandtags.h:
10258         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10259
10260 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10261
10262         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10263
10264 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10265
10266         * tabular.C (asciiPrintCell): use string(size, char) instead of
10267         explicit loop.
10268
10269         * sgml.C (openTag): fix order of arguments to string constructor
10270         (closeTag): ditto
10271
10272         * lyxfunc.C (dispatch): use boost.format
10273
10274         * lots of files: change "c" -> 'c'
10275
10276 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10277
10278         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10279
10280 2002-11-25  Angus Leeming  <leeming@lyx.org>
10281
10282         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10283
10284         * lyx_main.C (init): compile fix.
10285
10286 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10287
10288         * lyx_cb.C (start): boost.formatify
10289         do not include <iostream>
10290
10291         * lengthcommon.C: ws only
10292
10293         * boost-inst.C,BoostFormat.h: add more explict instantations
10294
10295 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10296
10297         * lots of files: handle USE_BOOST_FORMAT
10298
10299 2002-11-21  John Levon  <levon@movementarian.org>
10300
10301         * pspell.C: fix compile
10302
10303 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10304
10305         * lyxfunc.C (dispatch): use boost::format
10306         (open): ditto
10307         (doImport): ditto
10308
10309         * lyxfont.C (stateText): use boost::format
10310
10311         * lyx_main.C (LyX): use boost::format
10312         (init): ditto
10313         (queryUserLyXDir): ditto
10314         (readRcFile): ditto
10315         (parse_dbg): ditto
10316         (typedef boost::function): use the recommened syntax.
10317
10318         * importer.C (Import): use boost::format
10319
10320         * debug.C (showLevel): use boost::format
10321
10322         * converter.C (view): use boost::format
10323         (convert): ditto
10324         (move): ditto
10325         (scanLog): ditto
10326
10327         * bufferview_funcs.C (currentState): use boost::format
10328
10329         * bufferlist.C (emergencyWrite): use boost::format
10330
10331         * buffer.C (readLyXformat2): use boost::format
10332         (parseSingleLyXformat2Token): ditto
10333
10334         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10335
10336         * LaTeX.C (run): use boost::format
10337
10338         * Chktex.C (scanLogFile): use boost::format
10339
10340         * BufferView_pimpl.C (savePosition): use boost::format
10341         (restorePosition): ditto
10342         (MenuInsertLyXFile): ditto
10343
10344         * BoostFormat.h: help file for explicit instation.
10345
10346 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10347
10348         * tabular.C (latex): Support for block alignment in fixed width
10349         columns.
10350
10351 2002-11-17  John Levon  <levon@movementarian.org>
10352
10353         * BufferView_pimpl.C:
10354         * lyx_cb.C:
10355         * lyxfunc.C: split filedialog into open/save
10356
10357 2002-11-08  Juergen Vigna  <jug@sad.it>
10358
10359         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10360         by my last patch (hopefully).
10361
10362 2002-11-08  John Levon  <levon@movementarian.org>
10363
10364         * iterators.h:
10365         * iterators.C:
10366         * buffer.h:
10367         * buffer.C:
10368         * paragraph.h:
10369         * paragraph.C:
10370         * toc.h:
10371         * toc.C: ParConstIterator, and use it (from Lars)
10372
10373 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10374
10375         * lyxtextclass.[Ch]: revise and add doxygen comments
10376
10377 2002-11-07  John Levon  <levon@movementarian.org>
10378
10379         * text.C: fix progress value for spellchecker
10380
10381         * toc.C: fix navigate menu for insetwrap inside minipage
10382
10383         * paragraph_funcs.C: added FIXME for suspect code
10384
10385 2002-11-07  John Levon  <levon@movementarian.org>
10386
10387         * BufferView_pimpl.C: fix redrawing of insets
10388           on buffer switch
10389
10390 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10391
10392         * text2.C (updateCounters): fix bug 668
10393
10394 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10395
10396         * text3.C (dispatch): Do not make the buffer dirty when moving the
10397         cursor.
10398
10399 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10400
10401         * vc-backend.C: STRCONV
10402         (scanMaster): ditto
10403
10404         * text2.C (setCounter): STRCONV
10405
10406         * paragraph.C (asString): STRCONV
10407
10408         * lyxlength.C (asString): STRCONV
10409         (asLatexString): ditto
10410
10411         * lyxgluelength.C (asString): STRCONV
10412         (asLatexString): ditto
10413
10414         * lyxfunc.C (dispatch): STRCONV
10415         (open): ditto
10416
10417         * lyxfont.C (stateText): STRCONV
10418
10419         * importer.C (Import): STRCONV
10420
10421         * counters.C (labelItem): STRCONV
10422         (numberLabel): ditto
10423         (numberLabel): remove unused ostringstream o
10424
10425         * chset.C: STRCONV
10426         (loadFile): ditto
10427
10428         * bufferview_funcs.C (currentState): STRCONV
10429
10430         * buffer.C (readFile): STRCONV
10431         (asciiParagraph): ditto
10432         (makeLaTeXFile): ditto
10433
10434         * Spacing.C (writeEnvirBegin): STRCONV
10435
10436         * LaTeXFeatures.C (getLanguages): STRCONV
10437         (getPackages): ditto
10438         (getMacros): ditto
10439         (getBabelOptions): ditto
10440         (getTClassPreamble): ditto
10441         (getLyXSGMLEntities): ditto
10442         (getIncludedFiles): ditto
10443
10444         * LaTeX.C: STRCONV
10445         (run): ditto
10446         (scanAuxFile): ditto
10447         (deplog): ditto
10448
10449         * LString.h: add the STRCONV macros
10450
10451         * BufferView_pimpl.C (savePosition): STRCONV
10452         (restorePosition): ditto
10453         (MenuInsertLyXFile): ditto
10454
10455         * vc-backend.C (scanMaster): change from submatch[...] to
10456         submatch.str(...)
10457
10458         * funcrequest.C: include config.h
10459
10460         * factory.C: include config.h
10461
10462         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10463
10464         * box.C: include config.h
10465
10466         * LaTeX.C (scanAuxFile): change from submatch[...] to
10467         submatch.str(...)
10468         (deplog): ditto
10469
10470 2002-10-25  Angus Leeming  <leeming@lyx.org>
10471
10472         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10473
10474         * ispell.[Ch] (setError): new method.
10475         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10476         Use setError() insetead of goto END.
10477
10478         * lyx_cb.C (AutoSave): move out child process into new class
10479         AutoSaveBuffer.
10480
10481 2002-10-30  John Levon  <levon@movementarian.org>
10482
10483         * text3.C: make start appendix undoable
10484
10485 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10486
10487         * lyxlength.C (inPixels): Fix returned value.
10488
10489         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10490         environment.
10491
10492 2002-10-24  Angus Leeming  <leeming@lyx.org>
10493
10494         * lyxgluelength.h: no need to forward declare BufferParams
10495         or BufferView, so don't.
10496
10497 2002-10-21  John Levon  <levon@movementarian.org>
10498
10499         * BufferView.C: menuUndo ->undo, redo
10500
10501         * BufferView.h: document, remove dead, make some methods private
10502
10503         * paragraph_funcs.h:
10504         * paragraph_funcs.C:
10505         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10506
10507         * buffer.h:
10508         * buffer.C:
10509         * sgml.h:
10510         * sgml.C: move sgml open/close tag into sgml.C
10511
10512         * bufferview_funcs.h: unused prototype
10513
10514         * lyxfunc.h:
10515         * lyxfunc.C: remove unused
10516
10517         * lyxtext.h:
10518         * text.C: remove unused
10519
10520 2002-10-21  John Levon  <levon@movementarian.org>
10521
10522         * BufferView.h:
10523         * BufferView.C:
10524         * BufferView_pimpl.h:
10525         * BufferView_pimpl.C: fix mouse wheel handling based on
10526           patch from Darren Freeman
10527
10528 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10529
10530         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10531
10532 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10533
10534         * lyxlength.C (inPixels): Fix hanfling of negative length.
10535         Fix LyXLength::MU case.
10536
10537 2002-10-16  John Levon  <levon@movementarian.org>
10538
10539         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10540
10541 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10542
10543         * converter.C (view): add support for $$i (file name) and $$p
10544         (file path) for the viewer command. If $$i is not specified, then
10545         it is appended to the command (for compatibility with old syntax)
10546
10547 2002-10-14  Juergen Vigna  <jug@sad.it>
10548
10549         * undo_funcs.C (textHandleUndo): alter the order in which the
10550         new undopar is added to the LyXText, as we have to set first
10551         the right prev/next and then add it as otherwise the rebuild of
10552         LyXText is not correct. Also reset the cursor to the right paragraph,
10553         with this IMO we could remove the hack in "redoParagraphs()".
10554
10555 2002-10-09  Angus Leeming  <leeming@lyx.org>
10556
10557         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10558         to turn off an optimisation if a new inset is to be inserted.
10559
10560 2002-10-11 André Pönitz <poenitz@gmx.net>
10561
10562         * lyxtext.h: make some functions public to allow access
10563         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10564
10565 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10566
10567         * text3.C (dispatch): when changing layout, avoid an infinite loop
10568         [bug #652]
10569
10570 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10571
10572         * lyxrc.C (read): treat a viewer or converter command of "none" as
10573         if it were empty.
10574
10575         * MenuBackend.C (expandFormats): for an update, also allow the
10576         formats that are not viewable
10577
10578         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10579         script if it is newer than the lyxrc.defaults in user directory
10580
10581 2002-10-07 André Pönitz <poenitz@gmx.net>
10582
10583         * text.C: Vitaly Lipatov's small i18n fix
10584
10585 2002-09-25  Angus Leeming  <leeming@lyx.org>
10586
10587         * ispell.h: doxygen fix.
10588
10589 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10590
10591         * buffer.h (readFile): Add a new argument to the method, to allow
10592         reading of old-format templates.
10593
10594 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10595
10596         * toc.C (getTocList): Get TOC from InsetWrap.
10597
10598 2002-09-16  John Levon  <levon@movementarian.org>
10599
10600         * lyxfunc.C: check tabular for cut/copy too
10601
10602 2002-09-12  John Levon  <levon@movementarian.org>
10603
10604         * LyXAction.C: tidy
10605
10606         * factory.h:
10607         * factory.C: add header
10608
10609         * paragraph_funcs.h:
10610         * paragraph_funcs.C: cleanup
10611
10612 2002-09-11  John Levon  <levon@movementarian.org>
10613
10614         * PrinterParams.h: odd/even default to true
10615
10616 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10617
10618         * PrinterParams.h: update printer parameters for new xforms dialog
10619
10620 2002-09-11  Angus Leeming  <leeming@lyx.org>
10621
10622         * lyxserver.C (read_ready): re-write to make it more transparent
10623         and to make it work in coherent fashion under Tru64 Unix.
10624
10625 2002-09-11  André Pönitz <poenitz@gmx.net>
10626
10627         * commandtags.h:
10628         * LyXAction.C:
10629         * text3.C: implement LFUN_WORDSEL
10630
10631 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10632
10633         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10634         make floatlist_ a boost::shared_ptr<FloatList>
10635
10636         * lyxtextclass.C: include FloatList.h
10637         (LyXTextClass): initialize floatlist_
10638         (TextClassTags): add TC_NOFLOAT
10639         (Read): match "nofloat" to TC_NOFLOAT and use it.
10640         (readFloat): modify call to floatlist_
10641         (floats): ditto
10642         (floats): ditto
10643
10644         * FloatList.[Ch] (FloatList): remove commented out float
10645         initialization.
10646         (erase): new function
10647
10648 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10649
10650         * MenuBackend.C (expandToc): fix crash when there is no document
10651         open
10652
10653 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10654
10655         * many files: Add insetwrap.
10656
10657 2002-09-09  John Levon  <levon@movementarian.org>
10658
10659         * text2.C: remove confusing and awkward depth wraparound
10660
10661 2002-09-09  John Levon  <levon@movementarian.org>
10662
10663         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10664
10665         * buffer.h:
10666         * buffer.C: remove getIncludeonlyList()
10667
10668         * paragraph.C:
10669         * lyxfunc.C: remove headers
10670
10671 2002-09-09  Juergen Vigna  <jug@sad.it>
10672
10673         * text.C (getColumnNearX): fix form Michael this is most
10674         probably a cut&paste bug.
10675
10676 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10677
10678         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10679
10680         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10681         references, ws changes.
10682
10683         * text2.C (init): update counters after init
10684         (insertParagraph): no need to set counter on idividual paragraphs.
10685         (setCounter): access the counters object in the textclass object
10686         on in the buffer object.
10687         (updateCounters): ditto
10688
10689         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10690         shared_ptr<Counters> to avoid loading counters.h in all
10691         compilation units.
10692         (LyXTextClass): initialize ctrs_
10693         (TextClassTags): add TC_COUNTER, and ...
10694         (Read): use it here.
10695         (CounterTags): new tags
10696         (readCounter): new function
10697         (counters): new funtion
10698         (defaultLayoutName): return a const reference
10699
10700         * counters.C (Counters): remove contructor
10701         (newCounter): remove a couple of unneeded statements.
10702         (newCounter): simplify a bit.
10703         (numberLabel): some small formatting changes.
10704
10705         * buffer.[Ch]: remove all traces of counters, move the Counters
10706         object to the LyXTextClass.
10707
10708 2002-09-06  Alain Castera  <castera@in2p3.fr>
10709
10710         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10711         package to set the horizontal alignment on fixed width columns.
10712
10713         * lyx_sty.C:
10714         * lyx_sty.h: added tabularnewline macro def.
10715
10716         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10717
10718 2002-09-06  John Levon  <levon@movementarian.org>
10719
10720         * LyXAction.C: tooltips for sub/superscript
10721
10722         * MenuBackend.C: a bit more verbose
10723
10724         * lyxfunc.C: tiny clean
10725
10726         * undo_funcs.C: document undo_frozen
10727
10728 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10729
10730         * counters.C (Counters): add missing algorithm counter.
10731
10732         * text2.C (setCounter): lookup the counter with layouts latexname
10733         instead of by section number.
10734         (setCounter): use a hackish way to lookup the correct enum
10735         counter.
10736         a float name->type change
10737         reset enum couners with counter name directly instead of depth value.
10738
10739         * counters.C (Counters): remove the push_backs, change to use the
10740         float type not the float name.
10741         (labelItem): remove unused string, float name->type change
10742
10743         * counters.h: don't include vector, loose the enums and sects vectors
10744
10745 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10746
10747         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10748         (Read): add float->TC_FLOAT to textclassTags
10749         (Read): and handle it in the switch
10750         (readFloat): new function
10751
10752         * FloatList.C (FloatList): comment out the hardcoded float
10753         definitions.
10754
10755         * lyxlayout.h: ws change.
10756
10757 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10758
10759         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10760
10761 2002-09-03  Angus Leeming  <leeming@lyx.org>
10762
10763         * BufferView_pimpl.h: qualified name is not allowed in member
10764         declaration: WorkArea & Pimpl::workarea() const;
10765
10766         * factory.C: added using std::endl directive.
10767
10768         * text3.C: added using std::find and std::vector directives.
10769
10770 2002-08-29  André Pönitz <poenitz@gmx.net>
10771
10772         * lyxtext.h:
10773         * text2.C: remove unused member number_of_rows
10774
10775         * Makefile.am:
10776         * BufferView2.C: remove file, move contents to...
10777         * BufferView.C: ... here
10778
10779         * BufferView_pimpl.C:
10780         * factory.C: move more inset creation to factory
10781
10782         * vspace.C: avoid direct usage of LyXText, ws changes
10783
10784         * BufferView.[Ch]:
10785                 don't provide direct access to WorkArea, use two simple
10786                 acessors haveSelction() and workHeight() instead
10787
10788
10789 2002-08-29  John Levon  <levon@movementarian.org>
10790
10791         * BufferView_pimpl.C (dispatch): do not continue when
10792           no buffer
10793
10794 2002-08-28  André Pönitz <poenitz@gmx.net>
10795
10796         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10797
10798         * BufferView.h:
10799         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10800
10801 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10802
10803         * buffer.C: increment LYX_FORMAT to 221
10804
10805         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10806         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10807
10808         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10809
10810         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10811
10812 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10813
10814         * factory.C (createInset): use LyXTextClass::floats
10815
10816         * MenuBackend.C (expandFloatListInsert):
10817         (expandFloatInsert):
10818         (expandToc):
10819
10820         * text2.C (setCounter):
10821
10822         * LaTeXFeatures.C (useFloat):
10823         (getFloatDefinitions):
10824
10825         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10826
10827         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10828         floatlist_, with accessor floats().
10829
10830         * FloatList.h: remove global FloatList
10831
10832 2002-08-26  André Pönitz <poenitz@gmx.net>
10833
10834         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10835
10836         * BufferView.h:
10837         * BufferView2.C:
10838         * BufferView_pimpl.C:
10839         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10840
10841 2002-08-25  John Levon  <levon@movementarian.org>
10842
10843         * LyXAction.C: fix margin note description
10844
10845 2002-08-24  John Levon  <levon@movementarian.org>
10846
10847         * buffer.C:
10848         * bufferlist.C:
10849         * bufferview_funcs.C:
10850         * lyxfont.C:
10851         * undo_funcs.C: cleanups
10852
10853         * lyxfunc.C: disable CUT/COPY when no selection
10854
10855 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10856
10857         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10858         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10859
10860         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10861         Add backward compatibility to "mono", "gray" and "no".
10862
10863 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10864
10865         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10866         (and file_format >= 200).
10867
10868 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10869
10870         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10871
10872 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10873
10874         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10875
10876 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10877
10878         * BufferView_pimpl.C:
10879         * LyXAction.C:
10880         * buffer.C:
10881         * commandtags.h:
10882         * lyxfunc.C:
10883         * paragraph.[Ch]:
10884         * text2.C:
10885         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10886         inset and code to make it  work with the paragraph code. The inset
10887         can be anywhere in the paragraph, but will only do the expected
10888         thing in LaTeX if the layout file contains the parameter line
10889                         OptionalArgs    1
10890         (or more generally, a nonzero value) for that layout.
10891
10892 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10893
10894         * paragraph.h: remove the declaration of undefined counters class
10895         function.
10896
10897 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10898
10899         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10900         Dr. Richard Hawkins.
10901
10902 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10903
10904         * paragraph_funcs.h: remove some unneeded includes
10905
10906         * text.C (backspace): pasteParagraph now in global scipe
10907
10908         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10909         (pasteSelection): ditto
10910
10911         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10912         * paragraph_funcs.C (pasteParagraph): ... here
10913
10914 2002-08-20  André Pönitz <poenitz@gmx.net>
10915
10916         * commandtags.h: new LFUNs for swapping/copying table row/colums
10917
10918         * LyXAction.C:
10919         * lyxfunc.C: support for new lfuns
10920
10921 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10922
10923         * tabular.C:
10924         * buffer.[Ch]: remove NO_COMPABILITY stuff
10925
10926 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10927
10928         * boost.C (throw_exception): new file, with helper function for
10929         boost compiled without exceptions.
10930
10931         * paragraph.h:
10932         * lyxlength.C:
10933         * buffer.C:
10934         * ParameterStruct.h:
10935         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10936
10937         * bufferlist.C (emergencyWriteAll): use boost bind
10938
10939         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10940
10941         * text.C: include paragraph_funcs.h
10942         (breakParagraph): breakParagraph is now in global scope
10943
10944         * paragraph_funcs.[Ch]: new files
10945
10946         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10947         global scope
10948
10949         * buffer.C: include paragraph_funcs.h
10950         (insertStringAsLines): breakParagraph is now in global scope
10951
10952         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10953         paragraph_funcs.C
10954
10955         * CutAndPaste.C: include paragraph_funcs.h
10956         (cutSelection): breakParagraphConservative is now in global scope
10957         (pasteSelection): ditto
10958
10959         * buffer.h: declare oprator== and operator!= for
10960         Buffer::inset_iterator
10961
10962         * bufferlist.C (emergencyWrite): don't use fmt(...)
10963
10964         * text3.C: add using std::endl
10965
10966         * BufferView.C (moveCursorUpdate): remove default arg
10967
10968 2002-08-20  André Pönitz <poenitz@gmx.net>
10969
10970         * buffer.[Ch]: move inline functions to .C
10971
10972         * BufferView2.C:
10973         * BufferView_pimpl.C:
10974         * text.C:
10975         * buffer.[Ch]: use improved inset_iterator
10976
10977         * buffer.C:
10978         * paragraph.[Ch]: write one paragraph at a time
10979
10980 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10981
10982         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10983         style if style is not specified.
10984
10985 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10986
10987         * text2.C (setCounter): when searching for right label for a
10988         caption, make sure to recurse to parent insets (so that a caption
10989         in a minipage in a figure float works) (bug #568)
10990
10991 2002-08-20  André Pönitz <poenitz@gmx.net>
10992
10993         * text3.C: new file for LyXText::dispatch() and helpers
10994
10995         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10996
10997         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10998
10999 2002-08-19  André Pönitz <poenitz@gmx.net>
11000
11001         * lyxtext.h:
11002         * text.C: new LyXText::dispatch()
11003
11004         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11005
11006 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11007
11008         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11009
11010         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11011         Hebrew text.
11012
11013 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11014
11015         * Makefile.am: use $(variables) instead of @substitutions@
11016
11017 2002-08-15  André Pönitz <poenitz@gmx.net>
11018
11019         * lyxfunc.C:
11020         * BufferView_pimpl.C: streamlining mathed <-> outer world
11021         interaction
11022
11023         * commandtags.h:
11024         * LyXAction.C: remove unused LFUN_MATH
11025
11026 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11027
11028         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11029
11030 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11031
11032         * paragraph.C (Paragraph): reformat a bit
11033         (cutIntoMinibuffer): use builtin InsetList function instad of
11034         doing it manually.
11035         (getInset): ditto
11036
11037         * buffer.C: include boost/bind.hpp, add using std::for_each
11038         (writeFileAscii): use ParagraphList iterators
11039         (validate): use for_each for validate traversal of paragraphs
11040         (getBibkeyList): use ParagraphList iterators
11041         (resizeInsets): use for_each to resizeInsetsLyXText for all
11042         paragraphs.
11043         (getParFromID): use ParagraphList iterators
11044
11045         * BufferView2.C (lockInset): use paragraph list and iterators
11046
11047 2002-08-14  John Levon  <levon@movementarian.org>
11048
11049         * lyxserver.C: remove spurious xforms include
11050
11051 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11052
11053         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11054
11055 2002-08-13  André Pönitz <poenitz@gmx.net>
11056
11057         * LyXAction.[Ch]:
11058         * lyxfunc.C: further cleaning
11059
11060 2002-08-13  André Pönitz <poenitz@gmx.net>
11061
11062         * funcrequest.h: new constructor
11063
11064         * funcrequest.C: move stuff here from .h
11065
11066         * Makefile.am:
11067         * BufferView_pimpl.C:
11068         * LyXAction.C:
11069         * toc.C:
11070         * lyxfunc.C: subsequent changes
11071
11072         * lyxfunc.h: new view() member function
11073
11074         * lyxfunc.C: subsequent changes
11075
11076 2002-08-13  Angus Leeming  <leeming@lyx.org>
11077
11078         * BufferView2.C:
11079         * BufferView_pimpl.C:
11080         * buffer.C:
11081         * converter.C:
11082         * importer.C:
11083         * lyxfunc.C:
11084         * lyxvc.C:
11085         * toc.C:
11086         * vc-backend.C:
11087         changes due to the changed LyXView interface that now returns references
11088         to member variables not pointers.
11089
11090 2002-08-13  Angus Leeming  <leeming@lyx.org>
11091
11092         * WordLangTuple (word, lang_code): return references to strings,
11093         not strings.
11094
11095         * BufferView.h:
11096         * SpellBase.h:
11097         * lyxtext.h: forward-declare WordLangTuple.
11098
11099         * BufferView2.C:
11100         * ispell.C:
11101         * pspell.C:
11102         * text.C: #include "WordLangTuple.h".
11103
11104         * lyxtext.h:
11105         * text.C: (selectNextWordToSpellcheck): constify return type.
11106
11107 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11108
11109         * buffer.C:
11110         * buffer.h:
11111         * lyxtext.h:
11112         * paragraph.C:
11113         * paragraph_pimpl.h:
11114         * text.C:
11115         * text2.C:
11116         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11117         suggested by Angus.
11118         Made updateCounter always count from start of buffer, and removed
11119         second argument (par).
11120         Reverted floats number display to '#'. Perhaps I'll try again when the
11121         code base is sanitized a bit.
11122
11123 2002-08-12  Angus Leeming  <leeming@lyx.org>
11124
11125         * buffer.[Ch] (getLabelList): constify.
11126
11127 2002-08-07  André Pönitz <poenitz@gmx.net>
11128
11129         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11130
11131         * funcrequest.h: extension to keep mouse (x,y) position
11132
11133 2002-08-12  Juergen Vigna  <jug@sad.it>
11134
11135         * BufferView2.C (insertErrors): forbid undo when inserting error
11136         insets.
11137
11138         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11139
11140 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11141
11142         * ParagraphList.[Ch]: new files
11143
11144         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11145
11146         * BufferView2.C (lockInset): ParagraphList changes
11147         * toc.C: ditto
11148         * text2.C: ditto
11149         * bufferlist.C: ditto
11150         * buffer.h: ditto
11151         * buffer.C: ditto
11152
11153 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11154
11155         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11156         unused class variable counter_,
11157
11158         * paragraph.[Ch] (getFirstCounter): delete unused function
11159
11160         * counters.C: include LAssert.h
11161         (reset): add a new function with no arg, change other version to
11162         not have def. arg and to not allow empty arg.
11163
11164         * text2.C (setCounter): remove empty arg from call to Counters::reset
11165
11166 2002-08-11  John Levon  <levon@movementarian.org>
11167
11168         * Makefile.am: add WordLangTuple.h
11169
11170 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11171
11172         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11173         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11174
11175         * insets/insettext.C: InsetList changes
11176
11177         * graphics/GraphicsSupport.C (operator()): InsetList changes
11178
11179         * toc.C (getTocList): InsetList changes
11180
11181         * paragraph_pimpl.[Ch]: InsetList changes
11182
11183         * paragraph.[Ch]: InsetList changes
11184
11185         * buffer.C (inset_iterator): InsetList changes
11186         (setParagraph): ditto
11187         * buffer.h (inset_iterator): ditto
11188         * iterators.C (operator++): ditto
11189         * iterators.h: ditto
11190
11191         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11192
11193         * InsetList.[Ch]: new files, most InsetList handling moved out of
11194         paragraph.C.
11195
11196         * BufferView2.C (removeAutoInsets): InsetList changes
11197         (lockInset): ditto
11198         (ChangeInsets): ditto
11199
11200 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11201
11202         * paragraph_pimpl.h (empty): new function
11203
11204         * paragraph.[Ch] (empty): new function
11205
11206         * other files: use the new Paragraph::empty function
11207
11208 2002-08-09  John Levon  <levon@movementarian.org>
11209
11210         * lyxtext.h: remove unused refresh_height
11211
11212 2002-08-09  John Levon  <levon@movementarian.org>
11213
11214         * Makefile.am:
11215         * sgml.h:
11216         * sgml.C:
11217         * buffer.C:
11218         * paragraph.h:
11219         * paragraph.C: move sgml char escaping out of paragraph
11220
11221         * paragraph.h:
11222         * paragraph.C: remove id setter
11223
11224         * buffer.C:
11225         * paragraph.C:
11226         * paragraph_pimpl.C: remove dead tex_code_break_column
11227
11228         * bufferview_funcs.C: small cleanup
11229
11230         * lyxfunc.C: remove dead proto
11231
11232         * lyxtext.h: make some stuff private. Remove some dead stuff.
11233
11234         * lyxgluelength.C: make as[LyX]String() readable
11235
11236 2002-08-08  John Levon  <levon@movementarian.org>
11237
11238         * LyXAction.h:
11239         * LyXAction.C:
11240         * MenuBackend.C:
11241         * ToolbarDefaults.C:
11242         * lyxfunc.C:
11243         * lyxrc.C:
11244         * toc.C: lyxaction cleanup
11245
11246 2002-08-08  John Levon  <levon@movementarian.org>
11247
11248         * BufferView2.C: small cleanup
11249
11250         * lyxfind.h:
11251         * lyxfind.C: move unnecessary header into the .C
11252
11253 2002-08-08  John Levon  <levon@movementarian.org>
11254
11255         * funcrequest.h: just tedious nonsense
11256
11257         * lyx_main.h:
11258         * lyx_main.C: cleanups
11259
11260         * buffer.C:
11261         * vspace.C: remove dead header lyx_main.h
11262
11263 2002-08-07  Angus Leeming  <leeming@lyx.org>
11264
11265         * Paragraph.[Ch]:
11266         * paragraph_pimpl.h:
11267         Forward declare class Counters in paragraph.h by moving the ctrs member
11268         variable into Paragraph::Pimpl.
11269         (counters): new method, returning a reference to pimpl_->ctrs.
11270
11271         * text2.C: ensuing changes.
11272
11273 2002-08-07  John Levon  <levon@movementarian.org>
11274
11275         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11276
11277         * BufferView_pimpl.C: announce X selection on double/triple
11278           click
11279
11280         * lyx_main.C: use correct bool in batch dispatch
11281
11282         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11283
11284 2002-08-07  André Pönitz <poenitz@gmx.net>
11285
11286         * funcrequest.h: new class to wrap a kb_action and its argument
11287
11288         * BufferView.[Ch]:
11289         * BufferView_pimpl[Ch]:
11290         * LaTeX.C:
11291         * LyXAction.[Ch]:
11292         * lyxfunc.[Ch]:
11293         * lyxrc.C: subsequent changes
11294
11295
11296 2002-08-07  John Levon  <levon@movementarian.org>
11297
11298         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11299           document options change.
11300
11301 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11302
11303         * counters.[Ch]
11304         * text2.C
11305         * paragraph.[Ch]
11306         * makefile.am: move counters functionality over from
11307         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11308
11309 2002-08-06  John Levon  <levon@movementarian.org>
11310
11311         * WordLangTuple.h: new file for word + language code tuple
11312
11313         * SpellBase.h:
11314         * pspell.h:
11315         * pspell.C:
11316         * ispell.h:
11317         * ispell.C:
11318         * lyxtext.h:
11319         * text.C:
11320         * text2.C:
11321         * BufferView.h:
11322         * BufferView2.C: use WordLangTuple
11323
11324         * layout.h:
11325         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11326
11327 2002-08-06  John Levon  <levon@movementarian.org>
11328
11329         * lyx_main.C: fix cmdline batch handling
11330
11331 2002-08-06  André Pönitz <poenitz@gmx.net>
11332
11333         * lyxrc.C: set default for show_banner to true
11334
11335 2002-08-06  John Levon  <levon@movementarian.org>
11336
11337         * pspell.C: fix a crash, and allow new aspell to work
11338
11339 2002-08-06  John Levon  <levon@movementarian.org>
11340
11341         * lyxfunc.C:
11342         * kbmap.C: small cleanup
11343
11344         * vspace.h:
11345         * vspace.C: add const
11346
11347 2002-08-05  John Levon  <levon@movementarian.org>
11348
11349         * LyXAction.C: back to tabular-insert
11350
11351 2002-08-04  John Levon  <levon@movementarian.org>
11352
11353         * BufferView.h:
11354         * BufferView.C: cosmetic change
11355
11356         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11357
11358         * bufferlist.C:
11359         * buffer.h:
11360         * buffer.C:
11361         * lyxcb.h:
11362         * lyxcb.C:
11363         * lyxserver.C:
11364         * lyxvc.C:
11365         * vc-backend.C:
11366         * BufferView2.C: purge all "Lyx" not "LyX" strings
11367
11368         * lyxcursor.h:
11369         * lyxcursor.C: attempt to add some documentation
11370
11371         * lyxfunc.C:
11372         * commandtags.h:
11373         * LyXAction.C:
11374         * ToolbarDefaults.C:
11375         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11376           merge with LFUN_TABULAR_INSERT
11377
11378         * Makefile.am:
11379         * SpellBase.h:
11380         * ispell.h:
11381         * ispell.C:
11382         * pspell.h:
11383         * pspell.C: split up i/pspell implementations into separate
11384           files, many cleanups
11385
11386         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11387
11388         * text2.C: some cleanup
11389
11390         * lyxfunc.C: don't check for isp_command == "none" any more, it
11391           didn't make any sense
11392
11393 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11394
11395         * counters.[Ch]
11396         * text2.C
11397         * paragraph.[Ch]
11398         * makefile.am: move counters functionality over
11399         from text2.C/paragraph.[Ch] to counters.[Ch], and
11400         make proper C++.
11401 2002-08-02  John Levon  <levon@movementarian.org>
11402
11403         * buffer.C: s/lyxconvert/lyx2lyx/
11404
11405 2002-08-02  Angus Leeming  <leeming@lyx.org>
11406
11407         * lyxlex.C: revert John's change as it breaks reading of the user
11408         preamble.
11409
11410 2002-08-02  Angus Leeming  <leeming@lyx.org>
11411
11412         * importer.C (Import):
11413         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11414         changes due to LyXView::view() now returning a boost::shared_ptr.
11415
11416 2002-08-02  John Levon  <levon@movementarian.org>
11417
11418         * lyxlex.C: small cleanup
11419
11420 2002-08-02  John Levon  <levon@movementarian.org>
11421
11422         * text2.C (status): small cleanup, no logic change
11423
11424 2002-08-01  John Levon  <levon@movementarian.org>
11425
11426         * buffer.h:
11427         * buffer.C (writeFile): don't output alerts, caller
11428           handles this
11429
11430         * bufferlist.C:
11431         * lyx_cb.C: from above
11432
11433         * lyxfunc.C: allow to open non-existent files
11434
11435 2002-07-31  John Levon  <levon@movementarian.org>
11436
11437         * lyxserver.C: don't let incidental errors get
11438           in the way (errno)
11439
11440 2002-07-30  John Levon  <levon@movementarian.org>
11441
11442         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11443
11444 2002-07-30  John Levon  <levon@movementarian.org>
11445
11446         * lyxserver.h:
11447         * lyxserver.C: remove I/O callback too
11448
11449 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11450
11451         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11452         log.
11453
11454 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11455
11456         * many files: strip,frontStrip -> trim,ltrim,rtrim
11457
11458 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11459
11460         * PrinterParams.h: remove extern containsOnly, and include
11461         support/lstrings.h instead.
11462
11463         * LaTeX.C (scanAuxFile): modify because of strip changes
11464         (deplog): ditto
11465         * buffer.C (makeLaTeXFile): ditto
11466         * bufferparams.C (writeFile): ditt
11467         * lyxfont.C (stateText): ditto
11468         * lyxserver.C (read_ready): ditto
11469         * vc-backend.C (scanMaster): ditto
11470
11471         * BufferView_pimpl.h: ws changes
11472
11473         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11474
11475 2002-07-26  André Pönitz <poenitz@gmx.net>
11476
11477         * kb_sequence.C: remove unnedred usings
11478
11479 2002-07-26  Juergen Vigna  <jug@sad.it>
11480
11481         * lyxfind.C (LyXReplace): we have to check better if the returned
11482         text is not of theLockingInset()->getLockingInset().
11483
11484 2002-07-25  Juergen Vigna  <jug@sad.it>
11485
11486         * lyxfind.C (LyXReplace): don't replace if we don't get the
11487         right LyXText.
11488
11489         * undo_funcs.C (createUndo): remove debugging code.
11490
11491 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11492
11493         * buffer.C (parseSingleLyXformat2Token): Use default placement
11494         when reading old floats.
11495
11496         * FloatList.C (FloatList): Change the default placement of figure
11497         and tables to "tbp".
11498
11499 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11500
11501         * MenuBackend.C: using std::max
11502
11503 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11504
11505         * MenuBackend.C (expandToc):
11506         (expandToc2): code moved from xforms menu frontend. It is now
11507         generic and TOCs are transparent to menu frontends.
11508
11509 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11510
11511         * toc.C (getTocList): protect against buf=0
11512
11513         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11514         Menu as first parameter. Now, this calls itself recursively to
11515         expand a whole tree (this will be useful for TOC handling)
11516         (expandFloatInsert): remove 'wide' version of floats
11517
11518         * MenuBackend.h (submenuname): returns the name of the submenu.
11519         (submenu): returns the submenu itself, provided it has been
11520         created by MenuBackend::expand
11521
11522 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11523
11524         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11525         insets which have noFontChange == true. (bug #172)
11526
11527 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11528
11529         * BufferView_pimpl.C: add connection objects and use them...
11530         (Pimpl): here.
11531
11532 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11533
11534         * MenuBackend.C (expandLastfiles):
11535         (expandDocuments):
11536         (expandFormats):
11537         (expandFloatListInsert):
11538         (expandFloatInsert):
11539         (expand): split expand in parts
11540
11541 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11542
11543         * lyx_gui.C: use lyx_gui::exit()
11544
11545 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11546
11547         * LyXAction.C: show the failing pseudo action
11548
11549 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11550
11551         * buffer.C (readFile): Run the lyxconvert script in order to read
11552         old files.
11553
11554 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11555
11556         * LyXAction.C:
11557         * commandtags.h:
11558         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11559
11560 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11561
11562         * LyXAction.C:
11563         * commandtags.h:
11564         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11565
11566 2002-07-22  Herbert Voss  <voss@lyx.org>
11567
11568         * lengthcommon.C:
11569         * lyxlength.[Ch]: add support for the vertical lengths
11570
11571 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11572
11573         * toc.[Ch]: std:: fixes
11574
11575 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11576
11577         * lyxrc.C: do not include lyx_main.h
11578
11579         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11580         for layouts
11581
11582         * lyxrc.C:
11583         * encoding.C:
11584         * bufferlist.C:
11585         * BufferView2.C: include "lyxlex.h"
11586
11587         * tabular.h:
11588         * bufferparams.h: do not #include "lyxlex.h"
11589
11590         * lyxtextclasslist.C (Add): remove method
11591         (classlist): renamed to classlist_
11592
11593         * paragraph_pimpl.C:
11594         * paragraph.C:
11595         * text2.C:
11596         * CutAndPaste.C:
11597         * bufferview_funcs.C:
11598         * bufferlist.C:
11599         * text.C:
11600         * LaTeXFeatures.C:
11601         * buffer.C:
11602         * toc.C (getTocList): use BufferParams::getLyXTextClass
11603
11604         * toc.C (getTocList): use InsetFloat::addToToc
11605
11606         * toc.[Ch]: new files, containing helper functions to handle table
11607         of contents
11608
11609         * lyxfunc.C (dispatch): no need to remove spaces around command
11610         given as a string
11611         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11612         first command of the sequence; it is not very clever, but I do not
11613         have a better idea, actually
11614
11615         * LyXAction.C (LookupFunc): make sure to remove space at the
11616         beginning and end of the command
11617
11618 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11619
11620         * MenuBackend.C (getMenubar): new method: return the menubar of
11621         this menu set
11622         (read): treat differently reading of menu and menubar (in
11623         particular, the menubar has no name now)
11624         (Menu::menubar): remove
11625
11626         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11627         saving is finished
11628
11629 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11630
11631         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11632         a bibitem inset in a RTL paragraph.
11633
11634 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11635
11636         * paragraph_pimpl.C: constify
11637
11638         * BufferView_pimpl.C:
11639         * LaTeX.C:
11640         * lyxfunc.C: fix dispatch in a nicer way
11641
11642 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11643
11644         * lyxfunc.C (dispatch):
11645         * BufferView_pimpl.C:
11646         * BufferView_pimpl.h:
11647         * BufferView.C:
11648         * BufferView.h: rename Dispatch() to dispatch()
11649
11650         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11651
11652         * lyxlayout.C (Read): honor DependsOn tag
11653
11654         * lyxlayout.[Ch] (depends_on): new method
11655
11656         * version.C.in: update lyx_docversion
11657
11658         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11659
11660         * paragraph.C (validate): remove from here...
11661         * paragraph_pimpl.C (validate): ... and move here
11662         (isTextAt): make it const
11663
11664         * buffer.C (getLists): ws cleanup
11665
11666 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11667
11668         * language.C (read): Use iso8859-1 encoding in latex_lang
11669         (this prevents LyX from crashing when using iso10646-1 encoding).
11670
11671 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11672
11673         * text2.C (toggleInset): if cursor is inside an inset, close the
11674         inset and leave cursor _after_ it
11675
11676 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11677
11678         * lyxfunc.C: move minibuffer completion handling out of here
11679
11680 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11681
11682         * BufferView_pimpl.C:
11683         * LaTeX.C: fix dispatch calls
11684
11685 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11686
11687         * text.C (drawChars): Fix Arabic text rendering.
11688
11689 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11690
11691         * LyXAction.C:
11692         * commandtags.h:
11693         * lyxfunc.C: remove message-push/pop
11694
11695         * lyxserver.C:
11696         * lyxfunc.h:
11697         * lyxfunc.C: rationalise some code by removing verboseDispatch
11698           in favour of a bool argument to dispatch()
11699
11700 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11701
11702         * lyx_main.C (init): make sure to read symlinks as absolute paths
11703
11704 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11705
11706         * lyxfunc.h:
11707         * lyxfunc.C: no need for commandshortcut to be a member
11708
11709 2002-07-15  André Pönitz <poenitz@gmx.net>
11710
11711         * converter.C: add support for $$s (scripts from lib/scripts dir)
11712         * lyx_main.C: white space
11713
11714 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11715
11716         * bufferlist.C:
11717         * lyxrc.h:
11718         * lyxrc.C: remove second exit confirmation
11719
11720 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11721
11722         * BufferView.h:
11723         * BufferView.C:
11724         * BufferView2.C:
11725         * BufferView_pimpl.h:
11726         * BufferView_pimpl.C:
11727         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11728
11729 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11730
11731         * MenuBackend.C (expand): add numeric shortcuts to document menu
11732
11733         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11734
11735 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11736
11737         * lyxfont.C (setLyXFamily):
11738         (setLyXSeries):
11739         (setLyXShape):
11740         (setLyXSize):
11741         (setLyXMisc):
11742         (lyxRead):
11743         * debug.C (value):
11744         * buffer.C (asciiParagraph): use ascii_lowercase
11745
11746 2002-07-15  Mike Fabian  <mfabian@suse.de>
11747
11748         * lyxlex_pimpl.C (search_kw):
11749         * lyxlex.C (getLongString):
11750         * converter.h (operator<):
11751         * converter.C (operator<):
11752         * buffer.C (parseSingleLyXformat2Token):
11753         (asciiParagraph):
11754         * ToolbarDefaults.C (read):
11755         * MenuBackend.C (checkShortcuts):
11756         (read):
11757         * LColor.C (getFromGUIName):
11758         (getFromLyXName): use the compare_ascii_no_case instead of
11759         compare_no_case, because in turkish, 'i' is not the lowercase
11760         version of 'I', and thus turkish locale breaks parsing of tags.
11761
11762 2002-07-16  Angus Leeming  <leeming@lyx.org>
11763
11764         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11765         now takes a Buffer const & argument.
11766
11767 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11768
11769         * BufferView.C (resize): check there's a buffer to resize
11770
11771 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11772
11773         * lyxfunc.C: remove dead code
11774
11775         * lyxserver.h:
11776         * lyxserver.C: use lyx_guii::set_read_callback
11777
11778 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11779
11780         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11781         an inset in a RTL paragraph.
11782
11783 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11784
11785         * lyxfunc.C: repaint after a font size update
11786
11787 2002-07-15  André Pönitz <poenitz@gmx.net>
11788
11789         * lyxlength.C: inBP should be able to return negative values
11790
11791 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11792
11793         * lyxfunc.C: use lyx_gui::update_fonts()
11794
11795 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11796
11797         * lyxfunc.C: use lyx_gui::update_color()
11798
11799 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11800
11801         * bufferlist.C:
11802         * lyxfunc.h:
11803         * lyxfunc.C:
11804         * lyxrc.h:
11805         * lyxrc.C: remove file->new asks for name option, and let
11806           buffer-new take an argument
11807
11808 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11809
11810         * BufferView_pimpl.C: remove unneeded extra repaint()
11811
11812 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11813
11814         * LyXAction.C: allow command-sequence with NoBuffer
11815
11816         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11817
11818 2002-07-10  Angus Leeming  <leeming@lyx.org>
11819
11820         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11821
11822 2002-07-09  Angus Leeming  <leeming@lyx.org>
11823
11824         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11825
11826 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11827
11828         * lengthcommon.h: whitespace
11829
11830         * lyxfunc.C: update scrollbar after goto paragraph
11831
11832         * lyxtext.h: factor out page break drawing, and fix it so
11833           page break/added space paints as selected nicely
11834
11835 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11836
11837         * BufferView_pimpl.C: add FIXMEs, clean up a little
11838
11839 2002-07-09  André Pönitz <poenitz@gmx.net>
11840
11841         * lyxfont.[Ch]: support for wasy symbols
11842
11843 2002-07-08  André Pönitz <poenitz@gmx.net>
11844
11845         * BufferView_pimpl.C: apply John's patch for #93.
11846
11847 2002-07-05  Angus Leeming  <leeming@lyx.org>
11848
11849         * BufferView_pimpl.C (buffer): generate previews if desired.
11850
11851         * LColor.h: add "preview" to the color enum.
11852
11853         * LColor.C (LColor): add a corresponding entry to the items array.
11854
11855         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11856         with this buffer.
11857
11858 2002-07-05  Angus Leeming  <leeming@lyx.org>
11859
11860         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11861         The body of the code is now in the method that is passed an ostream &
11862         rather than a file name.
11863         Pass an additional only_preamble parameter, useful for the forthcoming
11864         preview stuff.
11865
11866 2002-07-03  André Pönitz <poenitz@gmx.net>
11867
11868         * lyxfunc.C: simplify getStatus() a bit for math stuff
11869
11870 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11871
11872         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11873
11874 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11875
11876         * text.C (changeRegionCase): do not change case of all the
11877         document when region ends at paragraph end (bug #461)
11878
11879 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11880
11881         * paragraph.C (startTeXParParams):
11882         (endTeXParParams): add \protect when necessary
11883
11884 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11885
11886         * BufferView_pimpl.C (workAreaExpose): remove warning
11887
11888 2002-06-27  Angus Leeming  <leeming@lyx.org>
11889
11890         * Makefile.am: add lyxlayout_ptr_fwd.h.
11891
11892 2002-06-26  André Pönitz <poenitz@gmx.net>
11893
11894         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11895
11896 2002-06-25  Angus Leeming  <leeming@lyx.org>
11897
11898         * lyxfunc.C (dispatch): Comment out the call to
11899         grfx::GCache::changeDisplay. The method no longer exists now that the
11900         pixmap generation part of the graphics loader has been moved into
11901         InsetGraphics.
11902
11903 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11904
11905         * text2.C: layout as layout
11906
11907         * text.C: layout as layout
11908
11909         * tabular.C (OldFormatRead): layout as layout
11910
11911         * paragraph_pimpl.C (TeXDeeper): layout as layout
11912         (realizeFont): layout as layout
11913
11914         * paragraph.C (writeFile): layout as layout
11915         (validate): layout as layout
11916         (getFont): layout as layout
11917         (getLabelFont): layout as layout
11918         (getLayoutFont): layout as layout
11919         (breakParagraph): layout as layout
11920         (stripLeadingSpaces): layout as layout
11921         (getEndLabel): layout as layout
11922         (getMaxDepthAfter): layout as layout
11923         (applyLayout): layout as layout
11924         (TeXOnePar): layout as layout
11925         (simpleTeXOnePar): layout as layout
11926         (TeXEnvironment): layout as layout
11927         (layout): layout as layout
11928         (layout): layout as layout
11929
11930         * lyxtextclass.C (compare_name): new functor to work with
11931         shared_ptr, layout as layout
11932         (Read): layout as layout
11933         (hasLayout): layout as layout
11934         (operator): layout as layout
11935         (delete_layout): layout as layout
11936         (defaultLayout): layout as layout
11937
11938         * lyxlayout_ptr_fwd.h: new file
11939
11940         * lyxlayout.C (Read): layout as layout
11941
11942         * lyx_cb.C (MenuInsertLabel): layout as layout
11943
11944         * bufferlist.C (newFile): layout as layout
11945
11946         * buffer.C (readLyXformat2): layout as layout
11947         (parseSingleLyXformat2Token): layout as layout
11948         (insertStringAsLines): layout as layout
11949         (asciiParagraph): layout as layout
11950         (latexParagraphs): layout as layout
11951         (makeLinuxDocFile): layout as layout
11952         (simpleLinuxDocOnePar): layout as layout
11953         (makeDocBookFile): layout as layout
11954         (simpleDocBookOnePar): layout as layout
11955         (getLists): layout as layout
11956
11957         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11958
11959         * CutAndPaste.C (cutSelection): layout as layout
11960         (pasteSelection): layout as layout
11961         (SwitchLayoutsBetweenClasses): layout as layout
11962
11963         * BufferView_pimpl.C (Dispatch): layout as layout
11964         (smartQuote): layout as layout
11965
11966         * BufferView2.C (unlockInset): layout as layout
11967
11968 2002-06-24  André Pönitz <poenitz@gmx.net>
11969
11970         * lyxfunc.C: fix #487
11971
11972 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11973
11974         * lyxrc.h:
11975         * lyxrc.C:
11976         * lyxfunc.C: remove display_shortcuts, show_banner
11977
11978 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11979
11980         * Buffer_pimpl.C: oops, update on resize
11981
11982 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11983
11984         * buffer.C:
11985         * converter.C:
11986         * exporter.C:
11987         * lyxfunc.C:
11988         * BufferView.h:
11989         * BufferView.C: use repaint()
11990
11991         * BufferView_pimpl.h:
11992         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11993           as it's a clearer description. Remove superfluous
11994           redraws.
11995
11996 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11997
11998         * text.C: fix bug 488. Not ideal, but getting
11999           getWord() to work properly for the insets that
12000           matter is more difficult ...
12001
12002 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12003
12004         * BufferView_pimpl.C:
12005         * LyXAction.C:
12006         * commandtags.h:
12007         * lyxfunc.C: remove the six million index lyxfuncs to just
12008           one, and DTRT (bug 458)
12009
12010 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12011
12012         * BufferView.h:
12013         * BufferView.C:
12014         * BufferView_pimpl.h:
12015         * BufferView_pimpl.C: clean up resize() stuff,
12016           and unnecessary updateScreen()s
12017
12018 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12019
12020         * BufferView.h:
12021         * BufferView.C:
12022         * BufferView_pimpl.h:
12023         * BufferView_pimpl.C:
12024         * lyxfind.h:
12025         * lyxfind.C:
12026         * minibuffer.C: remove focus management of workarea,
12027           not needed. Use screen's greyOut()
12028
12029 2002-06-17  Herbert Voss  <voss@lyx.org>
12030
12031         * converter.C: (convert) do not post a message, when converting
12032         fails, let the calling function decide what to do in this case
12033
12034 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12035
12036         * lyxfunc.C: tidy up a little
12037
12038 2002-06-16    <alstrup@diku.dk>
12039
12040         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12041         Got rid of FORMS_H_LOCATION include. Now we are
12042         GUII.
12043
12044 2002-06-15  LyX Development team  <lyx@rilke>
12045
12046         * buffer.[Ch] (sgmlOpenTag):
12047         (sgmlCloseTag): Added support for avoiding pernicious mixed
12048         content. Return number of lines written.
12049
12050         (makeLinuxDocFile):
12051         (makeDocBookFile): Fixed calls to sgml*Tag.
12052         Simple white space clean.
12053
12054         (simpleDocBookOnePar): Simple white space clean.
12055
12056         * tabular.[Ch] (docBook): Renamed to docbook and got another
12057         argument to related with the pernicious mixed content.
12058
12059         (docbookRow): Fixed calls for docbook inset method.
12060
12061 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12062
12063         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12064         so it's X11 independent.
12065
12066         * kb*.[Ch]: ditto.
12067
12068         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12069
12070 2002-06-15  Lyx Development team  <lyx@electronia>
12071
12072         * intl.h: Renamed getTrans to getTransManager.
12073
12074 2002-06-14  Angus Leeming  <leeming@lyx.org>
12075
12076         * Makefile.am: nuke forgotten stl_string_fwd.h.
12077
12078 2002-06-12  Angus Leeming  <leeming@lyx.org>
12079
12080         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12081
12082 2002-06-13  Angus Leeming  <leeming@lyx.org>
12083
12084         * LaTeX.C:
12085         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12086
12087 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12088
12089         * kbmap.C (getiso): add support for cyrillic and greek
12090
12091 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12092
12093         * BufferView.h:
12094         * BufferView.C:
12095         * BufferView_pimpl.h:
12096         * BufferView_pimpl.C: move bogus scrolling logic
12097           to xforms
12098
12099 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12100
12101         * lyxfunc.C:
12102         * BufferView_pimpl.C: view->resize() change
12103
12104 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12105
12106         * BufferView_pimpl.C: topCursorVisible
12107           prototype change
12108
12109 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12110
12111         * Makefile.am:
12112         * lyx_gui.h:
12113         * lyx_gui.C: move to frontends/
12114
12115         * main.C:
12116         * lyx_main.h:
12117         * lyx_main.C: changes from above
12118
12119 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12120
12121         * intl.C:
12122         * intl.h:
12123         * kbmap.C:
12124         * kbsequence.C:
12125         * lyx_cb.C:
12126         * lyx_main.C: minor tidy
12127
12128 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12129
12130         * BufferView_pimpl.h:
12131         * BufferView_pimpl.C:
12132         * BufferView.h:
12133         * BufferView.C: make painter() const,
12134           remove dead code
12135
12136         * BufferView2.C: use screen() accessor
12137
12138         * lyx_main.h:
12139         * lyx_main.C: some minor cleanup
12140
12141 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12142
12143         * BufferView_pimpl.h:
12144         * BufferView_pimpl.C: remove enter/leaveView,
12145           use workHeight()
12146
12147 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12148
12149         * BufferView.h:
12150         * BufferView.C:
12151         * BufferView2.C:
12152         * BufferView_pimpl.h:
12153         * BufferView_pimpl.C: only construct screen once,
12154           rename
12155
12156         * lyxrc.C: remove pointless comment
12157
12158 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12159
12160         * BufferView.h:
12161         * BufferView.C: remove active() and belowMouse()
12162
12163         * BufferView_pimpl.h:
12164         * BufferView_pimpl.C: use workarea() not workarea_,
12165           and make it use a scoped_ptr instead
12166
12167 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12168
12169         * lyx_gui.C: add debug message on BadWindow
12170
12171 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12172
12173         * sp_spell.C: fdopen is not part of the C++ standard.
12174
12175         * paragraph.C (InsetIterator): use >= instead of ==
12176
12177 2002-06-07  Angus Leeming  <leeming@lyx.org>
12178
12179         Fixes needed to compile with Compaq cxx 6.5.
12180         * BufferView_pimpl.C:
12181         * DepTable.C:
12182         * buffer.C:
12183         * converter.C:
12184         * encoding.C:
12185         * lyx_gui.C:
12186         * lyx_main.C:
12187         * lyxtextclasslist.C:
12188         * minibuffer.C:
12189         * sp_spell.C:
12190         * tabular_funcs.C:
12191         * vc-backend.C:
12192         all c-library variables have been moved into namespace std. Wrap
12193         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12194
12195         * lyxlength.C:
12196         * tabular-old.C:
12197         * tabular.C:
12198         Add a using std::abs declaration.
12199
12200         * kbmap.h (modifier_pair):
12201         * paragraph.h (InsetTable, InsetList):
12202         * lyxfont.h (FontBits):
12203         type definition made public.
12204
12205         * bufferlist.C (emergencyWriteAll): the compiler complains that
12206         there is more than one possible lyx::class_fun template to choose from.
12207         I re-named the void specialisation as lyx::void_class_fun.
12208
12209         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12210
12211         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12212         the compiler is is unable to find tostr in write_attribute.
12213
12214 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12215
12216         * buffer.C (sgmlError): hide #warning
12217
12218 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12219
12220         * xtl/*: get rid of xtl, which is not in use anyway
12221
12222         * LyXAction.C (init):
12223         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12224         were unimplemented xtl experimentation
12225
12226 2002-06-04  André Pönitz <poenitz@gmx.net>
12227
12228         * lyxfunc.C: disable array operation on simple formulae
12229
12230 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12231
12232         * converter.C: constify a bit
12233
12234 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12235
12236         * lyx_gui.C: check xforms version correctly
12237
12238 2002-04-30  Herbert Voss  <voss@lyx.org>
12239
12240         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12241         "keep" option
12242
12243 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12244
12245         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12246           attempt to register it with a VCS)
12247
12248 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12249
12250         * lyx_main.C (init): honor variables LYX_DIR_13x and
12251         LYX_USERDIR_13x
12252
12253 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12254
12255         * buffer.h:
12256         * buffer.C:
12257         * lyx_main.C: fix a crash on bad command line,
12258           and give a useful exit status on error
12259
12260         * lyxfunc.C (doImport): allow -i lyx to work
12261
12262 2002-03-30  André Pönitz <poenitz@gmx.net>
12263
12264         * lyxfunc.C: mathed font changes
12265
12266 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12267
12268         * LaTeX.C:
12269         * importer.h:
12270         * importer.C:
12271         * lyx_sty.h:
12272         * lyx_sty.C:
12273         * lyxlex.C:
12274         * lyxrow.h:
12275         * lyxtext.h:
12276         * paragraph.h:
12277         * paragraph.C:
12278         * texrow.h:
12279         * texrow.C:
12280         * text.C:
12281         * trans_mgr.h: srcdocs, and some minor cleanups
12282
12283 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12284
12285         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12286         call getFont all the time)
12287
12288 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12289
12290         * switch from SigC signals to boost::signals
12291
12292 2002-05-29  André Pönitz <poenitz@gmx.net>
12293
12294         * paragraph_pimpl.C (getChar): don't call size() too often...
12295
12296 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12297
12298         * paragraph_pimpl.C (insertChar): do not try to update tables when
12299         appending (pos == size())
12300
12301         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12302         in order to reduce drastically the number of comparisons needed to
12303         parse a large document
12304
12305 2002-05-29  André Pönitz <poenitz@gmx.net>
12306
12307         * text.C:
12308         * text2.C:
12309         * lyxtextclass.C:
12310         * sp_pspell.h:
12311         * textclasslist.[Ch]:
12312         * sp_ispell.h: whitespace change
12313
12314 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12315
12316         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12317         lyxaction directly now.
12318
12319 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12320
12321         * trans.C:
12322         * lyxfont.C:
12323         * lyxvc.C: remove unused headers
12324
12325 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12326
12327         * Makefile.am:
12328         * buffer.h:
12329         * undostack.h:
12330         * undostack.C:
12331         * undo_funcs.h:
12332         * undo_funcs.C: some cleanups. Use shared_ptr
12333           and a template for the undo stacks.
12334
12335 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12336
12337         * BufferView_pimpl.h:
12338         * BufferView_pimpl.C:
12339         * kbmap.h:
12340         * kbmap.C:
12341         * kbsequence.h:
12342         * kbsequence.C:
12343         * lyxfunc.h:
12344         * lyxfunc.C:
12345         * text2.C: use key_state/mouse_state
12346
12347 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12348
12349         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12350         and LSubstring
12351
12352         * chset.C: change include order
12353         (loadFile): use boost regex and get rid of LRegex and LSubstring
12354
12355         * Makefile.am (BOOST_LIBS): new variable
12356         (lyx_LDADD): use it
12357
12358         * LaTeX.C: change include order.
12359         (scanAuxFile): use boost regex and get rid of LRegex and
12360         LSubstring
12361         (deplog): ditto
12362
12363 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12364
12365         * ColorHandler.h:
12366         * ColorHandler.C:
12367         * FontInfo.h:
12368         * FontInfo.C: moved to frontends/xforms/
12369
12370         * FontLoader.h:
12371         * FontLoader.C: moved into frontends for GUIIzation
12372
12373         * Makefile.am:
12374         * lyx_gui.C:
12375         * lyxfont.C:
12376         * lyxfunc.C: changes from above
12377
12378 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12379
12380         * LColor.C: remove spurious X include
12381
12382         * BufferView_pimpl.C:
12383         * Makefile.am:
12384         * font.h:
12385         * font.C:
12386         * text.C:
12387         * text2.C: move font metrics to frontends/
12388
12389 2002-05-24  Juergen Vigna  <jug@sad.it>
12390
12391         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12392         setting the undo_cursor.
12393
12394         * ParagraphParameters.h: include local includes first.
12395
12396 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12397
12398         * BufferView_pimpl.C:
12399         * BufferView_pimpl.h:
12400         * Makefile.am:
12401         * WorkArea.h:
12402         * WorkArea.C:
12403         * screen.C: move WorkArea into frontends/
12404
12405         * lyxscreen.h:
12406         * screen.C:
12407         * text.C:
12408         * BufferView.C:
12409         * BufferView2.C: move LyXScreen into frontends/
12410
12411         * lyxlookup.h:
12412         * lyxlookup.C:
12413         * lyx_gui.C: move lyxlookup into frontends/xforms/
12414
12415 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12416
12417         * BufferView2.C:
12418         * BufferView_pimpl.C:
12419         * FontLoader.C:
12420         * LyXView.h:
12421         * LyXView.C:
12422         * Makefile.am:
12423         * WorkArea.C:
12424         * XFormsView.h:
12425         * XFormsView.C:
12426         * buffer.C:
12427         * bufferlist.C:
12428         * bufferview_funcs.C:
12429         * converter.C:
12430         * importer.C:
12431         * lyx_cb.C:
12432         * lyx_gui.C:
12433         * lyx_main.C:
12434         * lyx_find.C:
12435         * lyxfunc.C:
12436         * lyxvc.C:
12437         * minibuffer.C:
12438         * text.C:
12439         * text2.C:
12440         * trans.C:
12441         * vc-backend.C: move LyX/XFormsView into frontends/
12442
12443 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12444
12445         * Makefile.am:
12446         * PainterBase.C:
12447         * PainterBase.h:
12448         * Painter.C:
12449         * Painter.h:
12450         * WorkArea.C:
12451         * WorkArea.h:
12452         * screen.C:
12453         * tabular.C:
12454         * text.C:
12455         * text2.C: move Painter to frontends/
12456
12457 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12458
12459         * buffer.C: comment out some some code that depend upon lyx_format
12460         < 220
12461
12462         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12463         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12464
12465         * buffer.h (NO_COMPABILITY): turn off compability
12466
12467         * ColorHandler.C: include scoped_array.hpp
12468
12469         * font.C: Use more specific smart_ptr header.
12470         * Painter.C: ditto
12471         * gettext.C: ditto
12472         * ShareContainer.h: ditto
12473         * lyx_main.h: ditto
12474         * kbmap.h: ditto
12475         * FontInfo.h: ditto
12476         * BufferView_pimpl.h: ditto
12477         * ColorHandler.h: ditto
12478
12479         * kbmap.C (defkey): change call to shared_ptr::reset
12480
12481 2002-05-21  Juergen Vigna  <jug@sad.it>
12482
12483         * buffer.C (insertErtContents): fix to insert ert asis if it is
12484         non empty. Skip it completely if it contains only whitespaces.
12485
12486 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12487
12488         * BufferView_pimpl.C:
12489         * BufferView2.C: clear selection on paste (bug 393)
12490
12491 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12492
12493         * DepTable.C: include ctime
12494
12495 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12496
12497         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12498
12499 2002-05-14  Juergen Vigna  <jug@sad.it>
12500
12501         * text.C (breakParagraph): fixed function to honor the keepempty
12502         layout in the right maner and also to permit the right breaking
12503         algorithm on empty or non empyt keepempty paragraphs.
12504
12505         * paragraph.C (breakParagraph): we have to check also if the par
12506         is really empty (!size()) for isempty otherwise we do the wrong
12507         paragraph break.
12508
12509 2002-05-10  Juergen Vigna  <jug@sad.it>
12510
12511         * buffer.[Ch] : The following are only changes to the ert
12512         compatibility read reading old LaTeX layout and font stuff and
12513         convert it to ERTInsets.
12514
12515         * buffer.h: added isErtInset().
12516
12517         * buffer.C (struct ErtComp): add a fromlayout bool to check
12518         if we're inside a LaTeX layout.
12519         (isErtInset): new helper function.
12520         (insertErtContents): look for other ert insets before this one
12521         and insert the contents there, so that we don't have subsequent
12522         ERT insets with nothing between them. This way we create only one
12523         inset with multiple paragraphs. Also check if we don't insert only
12524         spaces ' ' as they are ignored anyway afterwards in the .tex file
12525         so if we have only spaces we will ignore this latex part in the
12526         new file.
12527         (parseSingleLyXformat2Token \\layout): better compatibility when
12528         reading layout-latex stuff.
12529         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12530         language tag.
12531         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12532         stuff after reading the inset only get the information back from
12533         the stack.
12534
12535 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12536
12537         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12538
12539         * LaTeXFeatures.C (getBabelOptions): New method.
12540
12541 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12542
12543         * BufferView_pimpl.C (Dispatch): work around missing argument for
12544         'layout'
12545
12546 2002-05-08  Juergen Vigna  <jug@sad.it>
12547
12548         * text.C (leftMargin): handle paragraph leftindent.
12549
12550         * paragraph.C (writeFile): write the new \\leftindent tag.
12551         (validate): handle leftindent code.
12552         (TeXEnvironment): handle paragraphleftindent code again.
12553
12554         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12555
12556         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12557         for paragrap_extra indent code and new token \\leftindent.
12558         (latexParagraphs): handle the leftindent as environment.
12559
12560         * ParameterStruct.h: added leftindent support.
12561
12562         * ParagraphParameters.C (leftIndent): added support functions for
12563         the paragraph left indent.
12564
12565         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12566         more appropriate.
12567
12568 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12569
12570         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12571         inside insetERT.
12572
12573         * text.C (computeBidiTables): No bidi in insetERT.
12574
12575         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12576         in RTL documents.
12577
12578 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12579
12580         * version.C.in: pre 5
12581
12582 2002-05-02  José Matos  <jamatos@fep.up.pt>
12583         * buffer.C (makeDocBookFile): white space changes, add newline to
12584         command styles.
12585         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12586
12587         * tabular.C (docBook): fix typo.
12588
12589 2002-05-03  Juergen Vigna  <jug@sad.it>
12590
12591         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12592         change in LyXText as we can not be sure it was not freed.
12593         (drawOneRow): remove unused code.
12594
12595         * text.C (drawInset): redo the calculation of the need_break_row as
12596         it could have a row which was already freed.
12597         (draw): look at the return value of drawInset and return false if
12598         it also returned false.
12599         (paintRowText): look at the return value of draw and return false if
12600         it also returned false.
12601
12602         * lyxtext.h: added bool return type to drawInset() and draw() so that
12603         if we have a change in the row so that the rowbreak has to be redone
12604         we abort drawing as it will be called again.
12605
12606 2002-05-02  Juergen Vigna  <jug@sad.it>
12607
12608         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12609         a change in the maintext also if we're inside an inset.
12610         (Dispatch): set the cursor again after a break line and after the
12611         screen has been updated as it could be we're in a different row.
12612
12613         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12614         to set the cursor behind the pargraph with > size().
12615         (setCursor): check also for the same paragraph when checking where
12616         to put the cursor if we have a NFR inset.
12617
12618         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12619         parts of layout read further up as it still was in the wrong
12620         position.
12621
12622 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12623
12624         * screen.C (drawFromTo): change sine fullRebreak always return
12625         true.
12626
12627         * buffer.C (parseSingleLyXformat2Token): reindent some
12628
12629         * BufferView_pimpl.C (update): change since fullRebreak always
12630         return true.
12631         (Dispatch): git rid of the last hardcoded "Standard"s.
12632
12633 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12634
12635         * text2.[Ch] (fullRebreak): make it return void now that we always
12636         returned true.
12637
12638 2002-04-30  Juergen Vigna  <jug@sad.it>
12639
12640         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12641         ert compatibility check for "latex" layout.
12642
12643 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12644
12645         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12646         minipages: use col% instead of p%, and also use the current font.
12647         (makeLaTeXFile): Fix use babel condition.
12648         (parseSingleLyXformat2Token): Correct font when reading old floats.
12649
12650 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12651
12652         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12653         inserting list of floats.
12654
12655 2002-04-25  Herbert Voss  <voss@lyx.org>
12656
12657         * MenuBackend.C (expand): don't add the graphics extensions to the
12658         export menu
12659
12660 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12661
12662         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12663         non-existing layout, do not complain if it was the default layout
12664         of the original class (bug #342)
12665
12666 2002-04-24  Juergen Vigna  <jug@sad.it>
12667
12668         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12669         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12670
12671 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12672
12673         * buffer.C (getBibkeyList): If using \bibliography, return the
12674         option field with the reference itself. Enables us to provide natbib
12675         support when using \bibliography.
12676
12677 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12678
12679         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12680
12681         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12682         natbib is provided by the LaTeX class.
12683
12684 2002-04-23  Juergen Vigna  <jug@sad.it>
12685
12686         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12687         Wakeup functions.
12688
12689         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12690
12691 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12692
12693         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12694
12695         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12696         ensuremath around textordmasculine, textordfeminine and
12697         textdegree.
12698
12699 2002-04-19  Juergen Vigna  <jug@sad.it>
12700
12701         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12702         reinitializing the buffer otherwise row-dimensions may be wrong.
12703         (update): reset also the selection cursors if they do exits otherwise
12704         their x/y positions may be wrong.
12705
12706         * text2.C (cursorDown): don't enter the inset if we came from a row
12707         above and are one row over the inset.
12708
12709         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12710         really leaving an inset.
12711
12712 2002-04-18  Juergen Vigna  <jug@sad.it>
12713
12714         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12715         of the selected paragraph does not have the selected layout also if
12716         the last one had!
12717
12718         * text2.C (setLayout): fixed bug which did not change last selected
12719         paragraph.
12720
12721         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12722         changed the read and substituted \\end_float with \\end_inset!
12723
12724         * BufferView_pimpl.C (cursorPrevious):
12725         (cursorNext): fixed to make it work with rows heigher than the work
12726         area without moving the cursor only the draw of the row.
12727         (workAreaMotionNotify): fix jumping over high rows.
12728
12729 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12730
12731         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12732         Ressler.
12733
12734 2002-04-16  Juergen Vigna  <jug@sad.it>
12735
12736         * text2.C (setCursor): set also the irow().
12737         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12738         (cursorUp):
12739         (cursorDown): support for locking an inset if the x_fix value goes
12740         inside it. That way I can transverse insets too with cursor up/down.
12741
12742         * lyxrow.h: added irow helper function same as other (i) functions.
12743
12744         * BufferView_pimpl.C (cursorPrevious):
12745         (cursorNext): fixed for insets!
12746
12747 2002-04-15  Juergen Vigna  <jug@sad.it>
12748
12749         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12750         position otherwise it is wrong in some cases.
12751
12752         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12753         inside the inset before the call.
12754
12755 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12756
12757         * buffer.[Ch] (getBibkeyList): make it const.
12758
12759 2002-04-12  Juergen Vigna  <jug@sad.it>
12760
12761         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12762
12763         * text2.C (getCursorX): new helper function
12764         (setCursor): compute also ix_
12765         (setCursorFromCoordinates): set also ix.
12766
12767         * lyxcursor.h: added ix_ and helper functions.
12768
12769         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12770
12771         * buffer.C (insertStringAsLines): dont break paragraph if the this
12772         paragraph is inside an inset which does not permit it!
12773
12774         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12775         also with no chars on this paragraph.
12776         (paintRowText): only paint stuff if it's inside the workarea!
12777
12778         * paragraph.C (breakParagraph): honor keepempty flag and break the
12779         paragraph always below not above.
12780
12781         * BufferView2.C (unlockInset): update the paragraph layout on inset
12782         unlock as we changed paragraph in such a case.
12783
12784         * lyxfind.C (LyXFind): clear the former selection if not found!
12785
12786         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12787         again called in insertChar().
12788
12789         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12790         an inset which uses the whole row!
12791         (rightMargin): ditto.
12792         (insertChar): force a rebreak if we inserted an inset!
12793
12794 2002-03-28  Herbert Voss  <voss@lyx.org>
12795
12796         * lyxlength.[Ch]: add inBP() to get the right PS-point
12797         units (BigPoint). With inPixels we have rounding errors
12798
12799 2002-04-11  Juergen Vigna  <jug@sad.it>
12800
12801         * text2.C (setCursorFromCoordinates): set iy to the right value.
12802         (setCursor): add check if row->previous exists!
12803
12804         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12805         an old float_type as this was the case in the old code!
12806
12807         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12808
12809         * BufferView2.C (showLockedInsetCursor): use iy
12810         (fitLockedInsetCursor): ditto
12811
12812         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12813         locked insets as there we have the right value now.
12814
12815         * lyxcursor.C: added iy_ variable and iy functions to set to the
12816         baseline of cursor-y of the locked inset.
12817
12818         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12819         (setCursor): fixed for insets which need a full row.
12820
12821         * text.C (rowLastPrintable): don't ignore the last space when before
12822         an inset which needs a full row.
12823         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12824         as last character of a row when before a inset which needs a full row.
12825
12826 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12827
12828         * version.C.in: update date
12829
12830         * text2.C (fullRebreak): try to always return true and see what
12831         happens...
12832
12833 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12834
12835         * MenuBackend.C (expand): use Floating::listName
12836
12837         * FloatList.C (FloatList): add listName argument to the built-in
12838         floats
12839
12840         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12841         text associated with the float.
12842
12843 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12844
12845         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12846
12847 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12848
12849         * ShareContainer.h: add a couple of missing typenames.
12850
12851 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12852
12853         * lyxrc.C (getDescription): use _() correctly rather than N_().
12854
12855 2002-03-28  Herbert Voss  <voss@lyx.org>
12856
12857         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12858         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12859
12860 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12861
12862         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12863         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12864
12865 2002-03-29  Juergen Vigna  <jug@sad.it>
12866
12867         * lyxfunc.C (dispatch): add a missing fitCursor call.
12868
12869         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12870         it was scrolled by a cursor move, so return the bool status.
12871
12872         * BufferView.C (fitCursor): return the bool flag also to the outside
12873         world as this is needed.
12874
12875         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12876
12877         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12878         call the edit() as it is not needed (and wrong) IMO.
12879         (workAreaButtonPress): set the screen_first variable before evt.
12880         unlock the inset as this may change screen_first and then we have
12881         a wrong y position for the click!
12882
12883 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12884
12885         * MenuBackend.C (expand): another translation that I missed
12886
12887 2002-03-28  Juergen Vigna  <jug@sad.it>
12888
12889         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12890
12891         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12892
12893 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12894
12895         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12896
12897         * MenuBackend.C (expand): fix export/view/update when there is no
12898         document open.
12899
12900 2002-03-27  Herbert Voss  <voss@lyx.org>
12901
12902         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12903         and text%
12904
12905 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12906
12907         * bufferview_funcs.C (currentState): only show paragraph number
12908         for is DEVEL_VERSION is set.
12909
12910         * lyxfunc.C (dispatch): put warning in INFO channel
12911
12912         * MenuBackend.C (expand): translate the name of floats
12913
12914         * FloatList.C (FloatList): mark the float names for translation
12915
12916         * converter.C (convert): use LibScriptSearch
12917
12918 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12919
12920         * MenuBackend.C (defaults): fix default menu (we might as well get
12921         rid of it...)
12922
12923 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12924
12925         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12926         directory.
12927
12928 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12929
12930         * lyxvc.C: reorder includes.
12931
12932 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12933
12934         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12935           properly
12936
12937 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12938
12939         * CutAndPaste.C: change layouts earlier on paste
12940           to avoid crashing when calling getFont()
12941
12942 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12943
12944         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12945         irritating #error.
12946
12947 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12948
12949         * WorkArea.C: remove 'Pending' debug message.
12950
12951         * most files: ws cleanup
12952
12953         * buffer.[Ch]: ws changes
12954
12955         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12956
12957 2002-03-21  Juergen Vigna  <jug@sad.it>
12958
12959         * tabular.C (SetMultiColumn): collapse also the contents of the
12960         cells and set the last border right. Added a Buffer const * param.
12961
12962 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12963
12964         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12965         linking or not.
12966
12967 2002-03-19  Juergen Vigna  <jug@sad.it>
12968
12969         * text2.C (clearSelection): reset also xsel_cache.
12970
12971         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12972         where it needs to be called (John tells us to do so too :)
12973         (selectionLost): reset sel_cache.
12974
12975         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12976
12977 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12978
12979         * text2.C (setCursorIntern): put debuging code in INSETS channel
12980
12981 2002-03-19  André Pönitz <poenitz@gmx.net>
12982
12983         * lyxfunc.C: tiny whitespace change
12984
12985 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12986
12987         * ToolbarDefaults.C (init):
12988         * LyXAction.C (init):
12989         * commandtags.h:
12990         * BufferView_pimpl.C (Dispatch):
12991         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12992
12993 2002-03-19  Allan Rae  <rae@lyx.org>
12994
12995         * exporter.C (Export): removeAutoInsets before doing anything else.
12996         While I've just introduced a dependency on BufferView this really is
12997         the best place to clean the buffer otherwise you need to cleanup in
12998         a dozen places before calling export or cleanup in a dozen functions
12999         that export calls.
13000
13001         * converter.C (runLaTeX):
13002         (scanLog): Better handling of removeAutoInsets and screen updates.
13003
13004         * lyxfunc.C (dispatch): small whitespace changes
13005
13006 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13007
13008         * WorkArea.C (C_WorkAreaEvent): return a value.
13009         (event_cb): return 1 if we handled the event, 0 otherwise.
13010
13011         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13012
13013 2002-03-18  Juergen Vigna  <jug@sad.it>
13014
13015         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13016         (GetAdditionalWidth): ditto.
13017         (RightLine): ditto.
13018         (LeftLine): ditto.
13019
13020         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13021         inset if we're there actually (probably not used right now but this
13022         is the direction to go for unifying code).
13023         (paste): disable code to clear the selection.
13024
13025         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13026         inside an InsetText and move the check further up as it is in the
13027         wrong place.
13028
13029         * text2.C (pasteSelection): set a selection over the pasted text.
13030
13031 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13032
13033         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13034         and libgraphics to build on Cygwin.
13035
13036 2002-03-15  Juergen Vigna  <jug@sad.it>
13037
13038         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13039         inserting an Inset into the paragraph. I know this is not the best
13040         fix but we already use current_view in CutAndPaste so we will remove
13041         all of it's using at the same time.
13042
13043         * buffer.C (sgmlError): deactivated function till it is rewritten in
13044         the right mode, now it can create problems.
13045
13046         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13047         before accessing it.
13048
13049 2002-03-14  Juergen Vigna  <jug@sad.it>
13050
13051         * undo_funcs.C (textHandleUndo): do the right thing when updating
13052         the inset after the undo/redo.
13053
13054         * text2.C (setCursor): just some testcode for #44 not ready yet.
13055
13056         * undo_funcs.C (textHandleUndo): set the next() and previous()
13057         pointers of the paragraph to 0 before deleting otherwise we have
13058         problems with the Paragraph::[destructor].
13059
13060         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13061         on a paragraph insertion.
13062
13063 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13064
13065         * buffer.C (asciiParagraph): use += operator for char append to
13066         string.
13067
13068         * paragraph.C (getFontSettings): compare >= not just >
13069         (highestFontInRange): ditto
13070         (setFont): ditto
13071
13072 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13073
13074         * paragraph.C: change several algorithm to be more appripriate for
13075         the problem domain. This is lookip in FontList and in the InsetList.
13076
13077 2002-03-13  André Pönitz <poenitz@gmx.net>
13078
13079         * commandtags.h:
13080         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13081
13082 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13083
13084         * commandtags.h:
13085         * LyXAction.C:
13086         * lyxfunc.C:
13087         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13088
13089 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13090
13091         * Painter.C (display): anon helper function, adjust code for this
13092         change.
13093         (pixmap): remove function.
13094
13095         * Painter.h: remove private display variable.
13096
13097         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13098
13099 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13100
13101         * WorkArea.[Ch]: remove figinset_canvas cruft.
13102
13103 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13104
13105         * lyxtextclass.C (operator): add one item cache optimization.
13106
13107         * bufferlist.h: doxy changes
13108
13109         * bufferlist.C: ws changes
13110
13111         * DepTable.[Ch] (ext_exist): place const in the right spot.
13112
13113         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13114         call resizeInsets.
13115         (workAreaExpose): call resizeInsets when the with BufferView changes.
13116         (Dispatch): adjust for protectedBlank removal
13117         (specialChar): call updateInset if the insert went ok.
13118
13119         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13120         specialChar instead.
13121
13122         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13123
13124         * BufferView.h: doxy change
13125
13126         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13127
13128         * lyxtextclass.C (operator[]): remove non-const version
13129         (defaultLayout): remove non-const version
13130
13131 2002-03-12  Juergen Vigna  <jug@sad.it>
13132
13133         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13134         did resize the LyXText too.
13135
13136         * buffer.C (readLyXformat2): set layout information on newly allocated
13137         paragraphs.
13138
13139         * tabular.C (OldFormatRead): set layout information on the paragraph.
13140
13141 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13142
13143         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13144
13145 2002-03-11  Juergen Vigna  <jug@sad.it>
13146
13147         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13148         plainly wrong.
13149         (resizeCurrentBuffer): force also the insets to resize themselfes.
13150         (moveCursorUpdate): fixed up for InsetText.
13151
13152 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13153
13154         * commandtags.h:
13155         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13156         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13157         value of Dialogs::tooltipsEnabled().
13158         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13159
13160 2002-03-08  Juergen Vigna  <jug@sad.it>
13161
13162         * BufferView_pimpl.C (updateInset): update inset inside inset also
13163         if it isn't inside theLockingInset().
13164
13165 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13166
13167         * buffer.C (asciiParagraph): redo some of the word and line length
13168         handling.
13169         (getLists): look for Caption instead of caption.
13170
13171 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13172
13173         * buffer.C (Buffer): initialize niceFile to true
13174         (makeLaTeXFile):
13175         (makeLinuxDocFile):
13176         (makeDocBookFile): make sure niceFile is true on exit
13177
13178 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13179
13180         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13181
13182 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13183
13184         * LyXSendto.C: remove.
13185         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13186         * lyx_gui.C: remove now-redundant comment.
13187         * ColorHandler.h: remove forward declaration of class WorkArea.
13188         * lyxfunc.C: remove #include "WorkArea.h".
13189
13190 2002-03-07  Juergen Vigna  <jug@sad.it>
13191
13192         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13193         got moved away with the DEPM and also set the inset_owner always
13194         right which before could have been omitted.
13195
13196 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13197
13198         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13199         wanted layout is not found.
13200
13201 2002-03-07  Juergen Vigna  <jug@sad.it>
13202
13203         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13204
13205 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13206
13207         * paragraph.C (breakParagraph): use default layout not layout of
13208         prev paragraph.
13209         (Paragraph): clear ParagraphParameters.
13210
13211 2002-03-06  Juergen Vigna  <jug@sad.it>
13212
13213         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13214         otherwise it would not be a valid lenght. Fixed a special case in
13215         the minipage compatibility read where we end the document with a
13216         minipage.
13217
13218         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13219         was set as it could be 0 for InsetTexts first entry.
13220
13221 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13222
13223         * paragraph.C (writeFile): if layout is empty write out
13224         defaultLayoutName().
13225
13226         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13227         file without named layout we set layout to defaultLayoutName().
13228
13229 2002-03-06  Juergen Vigna  <jug@sad.it>
13230
13231         * CutAndPaste.C (copySelection): set layout for new paragraph.
13232
13233         * text.C (prepareToPrint): leave ERT inset left aligned
13234         (leftMargin): don't indent paragraphs inside ERT insets
13235
13236 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13237
13238         * paragraph.C (breakParagraph): dont call clear do the work manually
13239
13240         * paragraph.[Ch] (clear): remove function
13241
13242 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13243
13244         * paragraph.C (Paragraph): dont call clear, the work has already
13245         been done.
13246
13247         * lyxtextclass.C (operator): assert if n is empty
13248
13249         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13250         work manually instead.
13251
13252 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13253
13254         * BufferView_pimpl.C: protect selectionLost against text == 0
13255
13256 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13257
13258         * text.C (breakParagraph): fix a setting layout to '0' problem.
13259
13260 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13261
13262         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13263         final location of file, for the included files, and graphics.
13264
13265 2002-03-05  Juergen Vigna  <jug@sad.it>
13266
13267         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13268
13269 2002-03-04  Juergen Vigna  <jug@sad.it>
13270
13271         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13272
13273         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13274         last column of multicolumn cells.
13275         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13276
13277 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13278
13279         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13280         file if it doesn't go to a temporary file.
13281
13282         * buffer.C (sgmlOpenTag):
13283         (sgmlCloseTag):  remove extra newline insertion.
13284
13285 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13286
13287         * text.C (getRowNearY): comment out debug msg
13288
13289 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13290
13291         * text2.C: first -> first_y
13292
13293         * text.C (getRowNearY): add some attemts at a possible
13294         optimization, not working.
13295
13296         * tabular.[Ch]: add BufferParams to several function so that newly
13297         created paragraph can be initialized to he default layotu for the
13298         buffers textclass.
13299
13300         * tabular-old.C (ReadOld): add buf->params to call of Init
13301
13302         * screen.C: rename text->first to text->first_y
13303
13304         * paragraph.C (breakParagraph): always set layout in the broken
13305         paragraph
13306
13307         * lyxtextclass.C (Read): remove lowercase
13308         (hasLayout): ditto
13309         (operator): ditto
13310         (delete_layout): ditto
13311
13312         * lyxtext.h: rename first -> first_y
13313
13314         * lyxlayout.C (Read): remove lowercase
13315         (name): ditto
13316         (setName): ditto
13317         (obsoleted_by): ditto
13318
13319         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13320
13321         * buffer.C (insertErtContents): add params are to InsetERT
13322         (parseSingleLyXformat2Token): add code to check if a paragraphs
13323         layout really exist.
13324         (parseSingleLyXformat2Token): add params to several inset
13325         constructors
13326         (asciiParagraph): remove lowercase, do the layout comparisons with
13327         no_case
13328
13329         * BufferView_pimpl.C (cursorNext): first -> first_y
13330         (resizeCurrentBuffer): first -> first_y
13331         (updateScrollbar): first -> first_y
13332         (scrollCB): first -> first_y
13333         (workAreaMotionNotify): first -> first_y
13334         (workAreaButtonPress): first -> first_y
13335         (checkInsetHit): first -> first_y
13336         (cursorPrevious): first -> first_y
13337         (cursorNext): first -> first_y
13338         (Dispatch): add buffer_->params to severl inset contructors
13339
13340 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13341
13342         * lyxlayout.C (Read): remove some debug info that I forgot.
13343
13344         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13345         clean up the code slightly.
13346         (makeLinuxDocFile): ditto
13347         (makeDocBookFile): ditto
13348
13349         * text2.C: layout as string
13350
13351         * text.C: layout as string
13352
13353         * paragraph_pimpl.C: layout as string
13354
13355         * paragraph.[Ch]: layout as string
13356
13357         * lyxtextclasslist.[Ch]: layout as string
13358
13359         * lyxtextclass.[Ch]: layout as string
13360
13361         * lyxtext.h: layout as string
13362
13363         * lyxlayout.[Ch]: layout as string
13364
13365         * lyx_cb.C: layout as string
13366
13367         * bufferview_funcs.C: layout as string
13368
13369         * bufferparams.C: layout as string
13370
13371         * buffer.C: layout as string
13372
13373         * LyXView.[Ch]: layout as string
13374
13375         * LaTeXFeatures.[Ch]: layout as string
13376
13377         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13378
13379         * BufferView_pimpl.C: change current_layout to string, remove
13380         lyx::layout_type.
13381         (Dispatch):
13382         (smartQuote):
13383         (insertInset):
13384         (workAreaButtonRelease): layout as string
13385
13386         * BufferView2.C (unlockInset): adjust
13387
13388         * vspace.C (asLatexCommand): use an explict temp variable.
13389
13390 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13391
13392         * Makefile.am: use FRONTEND_*
13393
13394 2002-03-01  Juergen Vigna  <jug@sad.it>
13395
13396         * tabular.C (SetWidthOfMulticolCell): changed to something better
13397         I hope but still work in progress.
13398         (recalculateMulticolumnsOfColumn): renamed function from
13399         recalculateMulticolCells as it is more appropriate now.
13400         (SetWidthOfCell): calculate multicols better.
13401
13402 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13403
13404         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13405
13406         * lyxfunc.C (processKeySym): print sequence also if it is
13407         `deleted' (complete)
13408
13409         * kbsequence.C (print): print sequence even if it is deleted
13410         (complete would be a better word, actually).
13411
13412         * lyxfunc.C (dispatch): print complete options after a prefix key
13413
13414         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13415
13416 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13417
13418         * text2.C (setCharFont): eliminate setCharFont code duplication.
13419
13420 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13421
13422         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13423         LFUN_TABULAR_FEATURE (bug #177)
13424
13425 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13426
13427         * Makefile.am: remove figure.h
13428
13429 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13430
13431         * Bufferview_pimpl.C:
13432         * CutAndPasteC:
13433         * LaTeX.C:
13434         * LyXSendto.C:
13435         * buffer.C:
13436         * bufferlist.C:
13437         * converter.C:
13438         * language.C:
13439         * lyxfunc.C:
13440         * lyxvc.C:
13441         * paragraph.C:
13442         * text.C:
13443         * text2.C: remove #include "lyx_gui_misc.h".
13444
13445         * LaTeX.C: added #include <cstdio>
13446
13447 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13448
13449         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13450         that the paragraph following this one can have.
13451
13452         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13453
13454         * vspace.C (asLatexCommand): fix bogus gcc warning
13455
13456         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13457
13458 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13459
13460         * text2.C (setLayout): get rid of redundant code
13461
13462 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13463
13464         * text2.C (incDepth): make sure depth cannot be increased beyond
13465         reasonable values.
13466
13467 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13468
13469         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13470         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13471
13472         * PainterBase.h (image):
13473         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13474         a LyXImage const *.
13475
13476 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13477
13478         * BufferView.C:
13479         * BufferView.h:
13480         * BufferView_pimpl.C:
13481         * BufferView_pimpl.h:
13482         * LaTeXFeatures.C:
13483         * LyXAction.C:
13484         * LyXView.C:
13485         * Makefile.am:
13486         * UpdateList.h:
13487         * UpdateList.C:
13488         * buffer.C:
13489         * figure.h:
13490         * figureForm.C:
13491         * figureForm.h:
13492         * figure_form.C:
13493         * figure_form.h:
13494         * lyx_cb.C:
13495         * lyx_gui.C:
13496         * lyx_gui_misc.C:
13497         * lyxfunc.C:
13498         * sp_base.h:
13499         * sp_ispell.h:
13500         * sp_pspell.h:
13501         * sp_spell.C: remove fig inset, and the crap house of
13502           cards that follows it
13503
13504 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13505
13506         * Makefile.am:
13507         * lyxserver.C:
13508         * os2_defines.h:
13509         * os2_errortable.h:
13510         * nt_defines.h: move .h into support/
13511
13512         * vms_defines.h: remove
13513
13514         * WorkArea.C: add space in debug output
13515
13516         * text2.C:
13517         * paragraph.C:
13518         * buffer.C: add WITH_WARNINGS
13519
13520         * vc-backend.h:
13521         * vc-backend.C:
13522         * bufferlist.C: s/retrive/retrieve/, add docs
13523
13524         * vspace.h:
13525         * vspace.C:
13526         * kbmap.h:
13527         * lyxlength.h:
13528         * lyxgluelength.h:
13529         * length_common.h:
13530         * chset.h:
13531         * chset.C: add docs
13532
13533         * lyxgui.C: add ID to X error handler
13534
13535         * lyxtestclass.c: fix typo
13536
13537 2002-02-26  Juergen Vigna  <jug@sad.it>
13538
13539         * tabular_funcs.C (write_attribute): changed so that some default
13540         attributes are not written at all.
13541         (getTokenValue): set default values before trying to read the
13542         value so we have the return value always set as default if we don't
13543         find the token we search for.
13544
13545         * tabular.C (Write): write bools as bools not as strings!
13546
13547 2002-02-22  Juergen Vigna  <jug@sad.it>
13548
13549         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13550         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13551
13552         * text.C (leftMargin): don't add an indent for paragraphs inside
13553         tabular cells (fix #208).
13554
13555 2002-02-21  José Matos  <jamatos@fep.up.pt>
13556
13557         * tabular.C (docBook): fixed support for long tables.
13558
13559 2002-02-20  Juergen Vigna  <jug@sad.it>
13560
13561         * text2.C (getFont): get the drawing font of the Inset if this
13562         paragraph is inside an inset (only important for InsetERT for now).
13563
13564         * buffer.C (insertErtContents): use new lanugage params in ERT
13565         constructor.
13566
13567         * CutAndPaste.C: commenting out seemingly uneeded code.
13568
13569 2002-02-19  Allan Rae  <rae@lyx.org>
13570
13571         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13572         Iterators might be simple to use but they also get invalidated.
13573         (removeAutoInsets): renamed saved cursor tracking variables and added
13574         some comments to clarify what everything does.
13575
13576 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13577
13578         * Chktex.C:
13579         * LaTeX.C:
13580         * LyXSendto.C:
13581         * converter.C:
13582         * lyx_cb.C:
13583         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13584         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13585
13586         * lyxfunc.C:
13587         * vc-backend.h: remove #include "support/syscall.h"
13588
13589         * LaTeX.C:
13590         * LyXSendto.C:
13591         * converter.C: rearrange #includes in Lars' approved fashion.
13592
13593         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13594         forward declare class Timeout in the header file.
13595
13596         * XFormsView.C: changes due to the above.
13597
13598         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13599         similar to LyXView.
13600
13601         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13602         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13603
13604 2002-02-18  José Matos  <jamatos@fep.up.pt>
13605
13606         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13607         insets contents.
13608
13609 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13610
13611         * a lot of small ws changes
13612         * add a lot of using std::XXX
13613         * use std construcs some places where approp.
13614         * use some exisint stuff from lyxfunctional where approp.
13615         * Make file changes to use partial linking (lets test this now...)
13616
13617 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13618
13619         * Chktex.C:
13620         * buffer.C:
13621         remove #include "support/syscontr.h" as it's redundant. Always has been.
13622
13623         * Chktex.C:
13624         * LaTeX.C:
13625         * LyXSendto.C:
13626         * converter.C:
13627         * lyx_cb.C:
13628         * vc-backend.C:
13629         change Systemcalls::System to Systemcalls::Wait and
13630         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13631         No change of functionality, just reflects the stripped down Systemcalls
13632         class.
13633
13634 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13635
13636         * debug.[Ch]: add a GRAPHICS type to the enum.
13637
13638 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13639
13640         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13641
13642         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13643         there is an inset.
13644
13645 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13646
13647         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13648         match the changes below.
13649
13650         * text2.C (toggleInset): if there is not editable inset at cursor
13651         position, try to see if cursor is _inside_ a collapsable inset
13652         and close it.
13653
13654 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13655
13656         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13657         document menu has a nice checkbox
13658
13659 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13660
13661         * lyxlength.C (asLatexString): change PW to output as percent of
13662         \textwidth.
13663
13664         * lengthcommon.C: change '%' to 't%'
13665
13666         * lyxfunc.C (dispatch): a few comments from Martin
13667
13668 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13669
13670         * WorkArea.h:
13671         * WorkArea.C:
13672         * BufferView_pimpl.h:
13673         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13674           the X selection.
13675
13676 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13677
13678         * vspace.C (inPixels): fix compiler warning
13679
13680 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13681
13682         * lyxfunc.C (getStatus): fix status message for disabled commands.
13683
13684 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13685
13686         * BufferView_pimpl.C: fix crash on close buffer
13687         during selection (#227)
13688
13689 2002-01-27  Herbert Voss  <voss@lyx.org>
13690
13691         * buffer.C: link old Figure to new graphic inset
13692
13693 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13694
13695         * FontLoader.C (getFontinfo): Change the latex font names in order
13696         to match the names of type1inst.
13697
13698 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13699
13700         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13701
13702         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13703         (extchanged): ditto
13704         (ext_exist): ditto
13705         (remove_files_with_extension): ditto
13706         (remove_file): ditto
13707         (write): ditto
13708
13709         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13710         document is smaller than the work area height. Do not initialize
13711         static variables to 0.
13712
13713 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13714
13715         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13716
13717         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13718         LFUN_LAYOUT_PARAGRAPHS.
13719
13720         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13721         tabular. It is possible to provide a possible cell, which will
13722         typically be the actcell from the corresponding insettabular
13723
13724         * lyxfunc.C (getStatus): small cleanup; disable
13725         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13726         true
13727
13728 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13729
13730         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13731
13732         * paragraph.C (startTeXParParams):
13733         (endTeXParParams): new methods. The LaTeX code to
13734         start/end paragraph formatting
13735         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13736         empty (fixes bug #200)
13737
13738         * vspace.C (inPixels): adapt to the change below
13739         (inPixels): [later] more cleanups (remove unused variables)
13740
13741         * lyxlength.C (inPixels): change to use a width and a height as
13742         parameter.
13743
13744 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13745
13746         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13747         Replaced with \paperwidth
13748
13749         * DepTable.C (insert): add std:: qualifier
13750
13751 2002-01-18  Allan Rae  <rae@lyx.org>
13752
13753         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13754         updated also?
13755
13756         * text.C (drawInset): Turned out I didn't know enough about how
13757         rebreaking worked.  This fixes most of the redraw problems.  I see
13758         an occasional cursor trail when a line is broken now and the cursor
13759         placement can seem out by a few pixels also after a rebreak.
13760
13761 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13762
13763         * buffer.C (parseSingleLyXformat2Token): update because minipage
13764         width is now a LyXLength
13765
13766         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13767
13768         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13769         math insets
13770
13771 2002-01-17  Juergen Vigna  <jug@sad.it>
13772
13773         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13774
13775         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13776         is set correctly and the inset is updated correctly.
13777
13778 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13779
13780         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13781         the beginning of the loop.
13782
13783 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13784
13785         * lyxrc.C: improve help for use_scalable_fonts
13786
13787 2002-01-17  Allan Rae  <rae@lyx.org>
13788
13789         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13790
13791 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13792
13793         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13794         make sure to set their inset_owner to the right value (bug #171)
13795
13796 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13797
13798         * DepTable.h
13799         * DepTable.C: Implement mtime checking to reduce time spent doing
13800         CRCs.
13801
13802 2002-01-16  Juergen Vigna  <jug@sad.it>
13803
13804         * tabular.C (GetAdditionalHeight): one of error fixed.
13805
13806         * lyxrc.C (output): small fix in writing use_pspell.
13807
13808 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13809
13810         * sp_base.h: #include LString.h
13811
13812 2002-01-16  Allan Rae  <rae@lyx.org>
13813
13814         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13815         Can someone check this please?
13816
13817         * text.C (drawInset): It was possible that p.row would be removed by
13818         breakAgainOneRow upsetting a few other settings.  There may be another
13819         small tweak possible by setting need_break_row = 0 when p.row has been
13820         removed but I don't know enough about the logic here.
13821
13822 2002-01-15  Allan Rae  <rae@lyx.org>
13823
13824         * text.C (insertChar): removed conditional truism.
13825
13826         * BufferView2.C (removeAutoInsets): More tweaks.
13827         cur_par_prev could be a stray pointer.  Check for trailing empty line
13828         in case last line was cur_par and only had an error inset on it.
13829
13830 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13831
13832         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13833         absolute
13834
13835         * vc-backend.C (most methods):
13836         * exporter.C (Export):
13837         * converter.C (convert):
13838         (runLaTeX):
13839         * LyXSendto.C (SendtoApplyCB):
13840         * lyxfunc.C (dispatch):
13841         (menuNew):
13842         (open):
13843         (doImport):
13844         * lyx_cb.C (AutoSave):
13845         (InsertAsciiFile):
13846         * BufferView_pimpl.C (MenuInsertLyXFile):
13847         * buffer.C (runChktex): use Buffer::filePath().
13848
13849         * buffer.h: rename filename to filename_; rename filepath to
13850         filepath_ and make it private
13851         (filePath): new method
13852
13853         * buffer.C (writeFile): use fileName()
13854         (getLatexName):
13855
13856         * lyx_main.C (init): fix starting  of LyX when the binary is a
13857         link from so,ewhere else.
13858
13859         * minibuffer.C: include <cctype> for isprint
13860
13861 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13862
13863         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13864         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13865         name clash with InsetCollapsable's width function.
13866
13867 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13868
13869         * lastfiles.C: include <iterator>
13870
13871 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13872
13873         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13874         std::count.
13875
13876         * buffer.C (makeLaTeXFile): ditto.
13877         Also make loop operation more transparent.
13878
13879 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13880
13881         * ToolbarDefaults.C: remove trailing comma closing namespace.
13882
13883         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13884
13885         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13886         as in WorkArea.
13887
13888         * trans.C (Load): comment out unused variable, allowed.
13889
13890 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13891
13892         * minibuffer.[Ch] (append_char): new method to recieve input from the
13893         drop-down completion browser. If a key was pressed, then recieve this
13894         char and append it to the existing string.
13895         (peek_event): modify the positioning data passed to the completion
13896         browser so that it can be placed above the minibuffer rather than below.
13897 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13898
13899         * LyXAction.C (init): alloe error-next for readonly documents.
13900
13901         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13902         count.
13903
13904 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13905
13906         * bufferlist.C (readFile): create the buffer _after_ checking that
13907         the file exists.
13908
13909         * lyxfunc.C (verboseDispatch): fix handling of arguments
13910
13911         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13912
13913         * lyxrc.C: use string::erase() instead of initializing to "".
13914
13915
13916 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13917
13918         * BufferView_pimpl.h:
13919         * BufferView_pimpl.C:
13920         * WorkArea.h:
13921         * WorkArea.C:
13922         * text2.C: tell X when we have made a selection for copying
13923
13924 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13925
13926         * BufferView_pimpl.C (MenuInsertLyXFile):
13927         * lyxfunc.C (menuNew):
13928         (open):
13929         (doImport): add shortcuts to directory buttons
13930
13931         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13932         open a float)
13933
13934         * lyxfunc.C (setStatusMessage):
13935         (getStatusMessage): new methods
13936         (getStatus):use setStatusMessage instead of setErrorMessage
13937         (dispatch): when function is disabled, set error message here
13938         [instead of in getStatus previously]
13939
13940         * BufferView_pimpl.C (workAreaButtonRelease): update
13941         toolbar/menubar here too.
13942
13943 2002-01-13  Allan Rae  <rae@lyx.org>
13944
13945         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13946         Now seems indestructible.  Remaining task is to audit all other
13947         code affected by deleteEmptyParagraphMechanism.  One small quirk
13948         left is that an empty document with an error in the preamble can
13949         be made to report an error but no error box appears.  I don't know
13950         where it goes.
13951         (removeAutoInsets): Improved comments.
13952
13953 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13954
13955         * Thesaurus.h:
13956         * Thesaurus.C: update for Aiksaurus 0.14
13957
13958 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13959
13960         * text2.C (firstParagraph): removed member function, all uses
13961         replaces with ownerParagraph
13962         (redoParagraphs): here
13963         (updateInset): here
13964         (toggleAppendix): here
13965         * BufferView2.C (insertErrors): here
13966         (setCursorFromRow): here
13967
13968 2002-01-13  Allan Rae  <rae@lyx.org>
13969
13970         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13971         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13972         There is still a way to segfault this although you may have to do this
13973         multiple times: Have an InsetERT with an unknown command in it.
13974         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13975         <down-arrow>, <Enter> again, View->DVI, BANG!
13976
13977         * text2.C (setCursor):
13978         (deleteEmptyParagraphMechanism):
13979         * lyxtext.h (setCursor):
13980         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13981         Making use of the return value may help fix other bugs.
13982
13983 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13984
13985         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13986
13987         * LyXView.C (updateMenubar): call MenuBar::update here
13988         (updateToolbar): but not here
13989         (showState): do not update toolbar/menubar
13990
13991         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13992         should need to care about that.
13993
13994         * lyxfunc.C (verboseDispatch): simplify a bit
13995         (getStatus): have a version which takes a pseudoaction, and
13996         another which requires a (kb_action,string).
13997
13998         * LyXAction.C (retrieveActionArg): make it work also when action
13999         is not a pseudo-action.
14000         (getActionName): simplify a bit
14001         (helpText):
14002
14003 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14004
14005         * lyxfunc.C (verboseDispatch): new families of methods with
14006         several ways to specify a command and a bool to indicate whether
14007         the command name and shortcut should be displayed in minibuffer
14008         (eventually, we could extend that to a finer bitmask like
14009         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14010         (dispatch): the pristine dispatch command which just, well,
14011         dispatchs! Note it still sets its result to minibuffer; I'm not
14012         sure we want that.
14013
14014         * lyxfunc.h: remove setHintMessage
14015
14016         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14017
14018 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14019
14020         * BufferView_pimpl.C (specialChar): delete new inset if we have
14021         not been able to insert it.
14022
14023         * kbmap.C: revert to using int instead of kb_action, since all we
14024         are dealing with is pseudo-actions.
14025
14026         * LyXAction.C (searchActionArg): change to return int instead of
14027         kb_action, since the result is a pseudoaction.
14028
14029 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14030
14031         * buffer.C (insertErtContents): Fix (partially) the font bug.
14032
14033 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14034
14035         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14036         as the other one is broken on my machine!
14037
14038 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14039
14040         * commandtags.h:
14041         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14042
14043 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14044
14045         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14046         reflect their actual use. Provide compatibility code for older lyxrc
14047         files.
14048
14049         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14050         FL_NORMAL_STYLE.
14051         change names of popup font variables in line with the changes to lyxrc.C
14052
14053 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14054
14055         * buffer.C (asciiParagraph): avoid outputing a word twice after
14056         an inset.
14057
14058         * lyxrc.C (getDescription): document that document_path and
14059         template_path can be empty.
14060
14061 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14062
14063         * LaTeXFeatures.C (getMacros):
14064         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14065
14066         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14067
14068         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14069         getPackages.
14070         (getPackages): rename feature "floats" to "float". Use an array to
14071         iterate over 'simple' features (i.e. just a \usepackage). Add
14072         handling of "amsmath" (renamed from "amsstyle").
14073
14074 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14075
14076         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14077         features list.
14078
14079 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14080
14081         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14082         FuncStaus::FuncStatus & FuncStaus::some_method().
14083
14084 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14085
14086         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14087         of the func_satus stuff. Edited and massaged in various ways by
14088         JMarc.
14089
14090         * lyxfunc.C (getStatus): use FuncStatus
14091
14092 2002-01-08  Juergen Vigna  <jug@sad.it>
14093
14094         * text.C (nextBreakPoint): use function Inset::isChar().
14095
14096         * paragraph.C (TeXOnePar): use function
14097         Inset::forceDefaultParagraphs.
14098
14099         * buffer.C (latexParagraphs): use function
14100         Inset::forceDefaultParagraphs.
14101
14102 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14103
14104         * lyx_gui.C (init): set the style of the menu popups to
14105         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14106
14107 2002-01-07  Juergen Vigna  <jug@sad.it>
14108
14109         * text.C (setHeightOfRow): small fix
14110         (prepareToPrint): don't look at alignment if we don't have the place
14111         for doing it.
14112
14113 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14114
14115         * box.C: New file. Move the Box methods and functions out of box.h,
14116         following Lars' suggestion.
14117
14118 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14119
14120         * box.h: #include "support/LOstream.h", needed for inlined function.
14121
14122         * lyxtextclass.C:
14123         * lyxtextclasslist.C: added some using std declarations.
14124
14125 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14126
14127         * box.h: make signed dimensions to allow insets wider than
14128           the screen (bug #162)
14129
14130         * BufferView_pimpl.C: add some insetHit debug
14131
14132 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14133
14134         * vc-backend.C: add FIXME
14135
14136 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14137
14138         * lyxfunc.C (getStatus): enable code for showing math font status
14139         in toolbar/menu.
14140
14141 2002-01-07  Juergen Vigna  <jug@sad.it>
14142
14143         * text.C (nextBreakPoint): removed debug output not needed anymore.
14144
14145 2002-01-06  Juergen Vigna  <jug@sad.it>
14146
14147         * text.C (nextBreakPoint): fixed up this function we had this bug
14148         since ever but now hopefully we break row better.
14149         (insertChar): we have to check if an inset is the next char as it
14150         could now happen that a large inset is causing a break.
14151
14152 2002-01-05  Juergen Vigna  <jug@sad.it>
14153
14154         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14155         if it doesn't like to be drawed.
14156
14157 2002-01-04  Juergen Vigna  <jug@sad.it>
14158
14159         * BufferView2.C (lockInset): forgot to set a cursor.
14160
14161         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14162
14163 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14164
14165         * FormMathsPanel.C:
14166         * FormMathsPanel.h
14167         * MathsSymbols.C:
14168         * form_maths_panel.C:
14169         * form_maths_panel.h:
14170         * form_maths_panel.fd: implemented sub- and super- buttons in math
14171         panel.
14172
14173         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14174         (or ^ space) to be used as in TeX (req'd by Andr�.
14175
14176         * lyxfunc.C: Allow ^ and _ again to be used both as
14177         super/subscript (mathed) and as themselves (in text).
14178
14179 2002-01-03  Allan Rae  <rae@lyx.org>
14180
14181         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14182         "LyX" or the filename of the current buffer if it has one.  This is a
14183         modified form of John Levon's patch.
14184
14185         * XFormsView.C (setWindowTitle): also set icon title.
14186
14187         * LyXView.h (setWindowTitle): signature changed.
14188         * XFormsView.h (setWindowTitle): ditto.
14189
14190 2002-01-02  Juergen Vigna  <jug@sad.it>
14191
14192         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14193
14194 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14195
14196         * screen.C (topCursorVisible): introduce a temp var for
14197         text->cursor.row(), handle the case where this row is null. (kindo
14198         hachish)
14199
14200         * text2.C (setCursor): add a couple of asserts.
14201
14202         * paragraph.h (inset_iterator): add -> operator
14203
14204         * paragraph.[Ch] (autoDeleteInsets): remove member function
14205
14206         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14207         cursor pos correctly and handle inset deletion by itself.
14208         (insertErrors): move iterator declaration out of for expression
14209
14210         * lyxtextclass.C: add <algorithm>
14211
14212         * Makefile.am: added the new files to sources, removed layout.C
14213
14214         * layout.C: removed file
14215
14216         * layout.h: remove LYX_DUMMY_LAYOUT
14217
14218         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14219         layout.
14220
14221         * lyxlayout.[Ch]:
14222         * lyxtextclass.[Ch]:
14223         * lyxtextclasslist.[Ch]: new files
14224
14225         * include order changes to a lot of files, also changes because of
14226         the six new files.
14227
14228 2001-12-27  Juergen Vigna  <jug@sad.it>
14229
14230         * buffer.C (asciiParagraph): more fixes.
14231
14232         * tabular.C (ascii): make ascii export support export of only the
14233         data separated by a column-delimiter.
14234         (ascii): better support for ascii export.
14235
14236         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14237
14238 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14239
14240         * tabular_funcs.C: use a "using std::getline" instead of the
14241         previous fix from Angus (necessary for cxx + lyxstring)
14242
14243 2001-12-24  Juergen Vigna  <jug@sad.it>
14244
14245         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14246
14247         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14248         problems. First check a minipage also if we have some ert-contents
14249         (not only on par->size(), second set the right depth of the paragraph
14250         on the relink to the root-paragraph-list!
14251
14252         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14253         which then did not anymore update the main paragraphs on undo/redo!
14254
14255 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14256
14257         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14258         code. Support all font-changing funcs (even those which are not in
14259         menu currently). Support for reporting font settings in
14260         mathed (disabled until Andre provides a function on mathed's side).
14261
14262         * func_status.h (toggle): small helper function to set toggle
14263         state on a flag.
14264
14265 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14266
14267         * tabular_funcs.C: getline -> std::getline
14268
14269 2001-12-21  Juergen Vigna  <jug@sad.it>
14270
14271         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14272         accessed and could be 0 (I couldn't generate this but it seems
14273         Michael could!).
14274
14275 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14276
14277         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14278         * tabular_funcs.h: here and include iosfwd
14279
14280 2001-12-20  Juergen Vigna  <jug@sad.it>
14281
14282         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14283         inside inset but undo_par was.
14284
14285 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14286
14287         * Thesaurus.C: always include <config.h> in sources.
14288
14289         * Painter.h:
14290         * lyxlookup.h:
14291         * box.h: do not include <config.h> in header files
14292
14293         * text.C (paintLastRow): remove unused variable
14294
14295         * text.C (transformChar):
14296         (insertChar):
14297         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14298
14299         * Painter.C (text):
14300         * font.C (width): rewrite to use uppercase() instead of
14301         islower/toupper.
14302
14303         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14304
14305 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14306
14307         * lyxfind.C: clean up of find failure position change
14308
14309 2001-12-20  Juergen Vigna  <jug@sad.it>
14310
14311         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14312
14313         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14314         (TeXRow): added to LaTeX a single tabular row.
14315         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14316         (Latex): simplified and finally good LT-h/f support.
14317         (various_functions): just small adaptions for LT-h/f support.
14318
14319         * tabular_funcs.[hC]: added and moved here all not classfunctions
14320         of LyXTabular.
14321
14322 2001-12-19  Juergen Vigna  <jug@sad.it>
14323
14324         * tabular.[Ch]: better support for longtabular options (not finished
14325         yet!)
14326
14327 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14328
14329         * text.C (paintLastRow): use the label font instead of the font of
14330         the last character to compute the size of *_BOX. This makes more
14331         sense and avoids a crash with empty paragraphs.
14332         Use Painter::rectangle to draw EMPTY_BOX.
14333
14334 2001-12-19  Juergen Vigna  <jug@sad.it>
14335
14336         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14337         the paragraphs if the replaced paragraph is not the first one!
14338         Tried to delete not used paragraphs but does not work yet so for
14339         now it's inside #ifdef's and by default off!
14340
14341 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14342
14343         * MenuBackend.C: include "lyx_main.h" instead of declaring
14344         lastfiles (actually was declared as LastFiles* instead of a
14345         scoped_ptr).
14346
14347 2001-12-17  Juergen Vigna  <jug@sad.it>
14348
14349         * tabular.C (AppendColumn): applied John's fix
14350
14351 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14352
14353         * BufferView.h:
14354         * BufferView.C:
14355         * BufferView_pimpl.h:
14356         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14357
14358         * Makefile.am:
14359         * box.h: new start of class for above
14360
14361         * lyxfunc.C: ignore space-only minibuffer dispatches.
14362           Show the command name when it doesn't exist
14363
14364         * minibuffer.C: don't add empty lines to the history
14365
14366         * minibuffer.C: add a space on dropdown completion
14367
14368 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14369
14370         * text.C: fix line above/below drawing in insets
14371
14372 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14373
14374         * lyxlength.C (LyXLength): Initialize private variables.
14375
14376 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14377
14378         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14379         when inserting error insets.
14380
14381 2001-12-13  Juergen Vigna  <jug@sad.it>
14382
14383         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14384         actually sometimes the before-paragraph.
14385         (setUndo): don't clear the redostack if we're not actually undoing!
14386
14387 2001-12-06  Juergen Vigna  <jug@sad.it>
14388
14389         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14390         and fixed redoing of main paragraph, so we can use it now ;)
14391
14392         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14393
14394 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14395
14396         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14397         Juergen's request
14398
14399 2001-12-13  André Pönitz <poenitz@gmx.net>
14400
14401         * undostack.[Ch]:
14402         * undo_func.C: minor cleanup
14403
14404 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14405
14406         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14407         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14408         font in urw-fonts package which is marked as -urw-fontspecific and
14409         does not work (incidentally, changing the encoding in the
14410         fonts.dir of this package to -adobe-fontspecific fixes the
14411         problem).
14412
14413         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14414         is a crash when undoing first paragraph (Juergen, please take a
14415         look). THis does not mean the undo fix is wrong, just that it
14416         uncovers problems.
14417
14418         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14419         the (Paragraph*) version when needed instead of duplicating the
14420         code.
14421
14422         * text.C (workWidth): use Inset::parOwner to find out where the
14423         inset has been inserted. This is a huge performance gain for large
14424         documents with lots of insets. If Inset::parOwner is not set, fall
14425         back on the brute force method
14426
14427         * paragraph_pimpl.C (insertInset):
14428         * paragraph.C (Paragraph):
14429         (cutIntoMinibuffer): set parOwner of insets when
14430         inserting/removing them
14431
14432         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14433
14434 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14435
14436         * commandtags.h:
14437         * LyXAction.C:
14438         * lyx_main.C:
14439         * lyxfunc.C:
14440         * mathed/formulabase.C:
14441         * mathed/math_cursor.[Ch]:
14442         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14443
14444
14445 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14446
14447         * lyxlength.[Ch] (operator!=): new function
14448
14449 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14450
14451         * text.C (workWidth): use Inset::parOwner to find out where the
14452         inset has been inserted. This is a huge performance gain for large
14453         documents with lots of insets. If Inset::parOwner is not set, fall
14454         back on the brute force method
14455
14456         * paragraph_pimpl.C (insertInset):
14457         * paragraph.C (Paragraph):
14458         (cutIntoMinibuffer): set parOwner of insets when
14459         inserting/removing them
14460
14461         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14462
14463 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14464
14465         * tabular-old.C (getTokenValue):
14466         * tabular.C (getTokenValue):
14467         (write_attribute): new versions for LyXLength
14468         (everywhere): adjust the use of widths
14469
14470         * tabular.h: change the type of widths from string to LyXLength
14471
14472 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14473
14474         * paragraph.C: fixed missing line number count when exporting
14475         Environments to LaTeX file
14476
14477         * buffer.C: added informational message for checking line numbers.
14478
14479 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14480
14481         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14482         paragraph, do the 'double space' part, but not the 'empty
14483         paragraph' one.
14484
14485         * text.C (workWidth): small optimization
14486         (getLengthMarkerHeight): use minimal size for negative lengths.
14487
14488 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14489
14490         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14491
14492         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14493
14494 2001-12-11  André Pönitz <poenitz@gmx.net>
14495
14496         * FontLoader.C:
14497         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14498
14499 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14500
14501         * text2.C: keep selection on a setFont()
14502
14503 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14504
14505         * lyx_cb.C: another bv->text misuse, from insert label
14506
14507 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14508
14509         * kbsequence.h:
14510         * kbsequence.C: re-instate nmodifier mask
14511
14512 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14513
14514         * lyx_main.h: make lyxGUI private.
14515
14516 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14517
14518         * lyxfind.C: place the cursor correctly on failed search
14519
14520 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14521
14522         * text.C (getLengthMarkerHeight): for small heights, the arrows
14523         are not always on top/bottom of the text
14524         (drawLengthMarker): smaller arrows; take the left margin in
14525         account; draw also vfills.
14526         (paintFirstRow):
14527         (paintLastRow): remove special code for vfill and standard spaces,
14528         since everything is handled in drawLengthMarker now.
14529
14530 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14531
14532         * buffer.C (insertErtContents): try to handle font and language
14533         interaction a bit better.g
14534
14535         * ColorHandler.C (updateColor): change the hash to cover the whole
14536         LColor enum, ws cleanup
14537         (getGCLinepars): ditto
14538         (getGCLinepars): only lookup in the linecache once.
14539
14540 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14541
14542         * iterators.C (operator++): Make the iterator more robust
14543
14544         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14545         (John's patch)
14546         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14547
14548 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14549
14550         * lyxtext.h:
14551         * text.C: better added space drawing
14552
14553 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14554
14555         * LyXView.C:
14556         * BufferView2.C: fix layout combo update on inset unlock
14557
14558 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14559
14560         * Makefile.am: don't compile unused files
14561
14562 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14563
14564         * lyxfunc.C:
14565         * commandtags.h:
14566         * LyXAction.C: remove old LFUN_LAYOUTNO
14567
14568 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14569
14570         * paragraph_pimpl.h:
14571         * paragraph_pimpl.C: isTextAt() doesn't need font param
14572
14573 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14574
14575         * lyxlex.h:
14576         * lyxlex.C: little cleanup
14577
14578 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14579
14580         * BufferView_pimpl.C: fix insertAscii for insets
14581
14582 2001-12-05  Juergen Vigna  <jug@sad.it>
14583
14584         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14585         set the right font on the "multi" paragraph paste!
14586
14587 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14588
14589         * trans_decl.h:
14590         * trans_mgr.[Ch]:
14591         * trans.[Ch]:
14592         * lyxgluelength.C:
14593         * lyxlength.C: remove out-commented code.
14594
14595         * BufferView_pimpl:
14596         * CutAndPaste.C:
14597         * DepTable.C:
14598         * buffer.C:
14599         * chset.C:
14600         * lastfiles.C:
14601         * lyxlex.C:
14602         * lyxlex_pimpl.C:
14603         * lyxserver.C:
14604         * screen.C:
14605         * tabular-old.C:
14606         * tabular.C:
14607         * text.C:
14608         * trans_mgr.C:
14609         * vc-backend.C: change "while(" to "while ("
14610
14611         * lyxlength.[Ch]: add zero function to check if length is zero or
14612         not
14613         * lyxgluelength.C: use it
14614
14615 2001-12-05  Allan Rae  <rae@lyx.org>
14616
14617         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14618         Works for 2.95.3, from what I understand of Garst's reports this should
14619         work for other g++ versions.  We're screwed if the abs(int) definition
14620         changed between bugfix releases of gcc.
14621
14622 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14623
14624         * text.C: fix chapter label offset !
14625
14626 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14627
14628         * lyxtext.h:
14629         * text.C: fix hfill at end of line, clean up
14630
14631 2001-12-04  Juergen Vigna  <jug@sad.it>
14632
14633         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14634         that we force an update of the inset and it's owners if neccessary.
14635
14636 2001-12-03  Juergen Vigna  <jug@sad.it>
14637
14638         * text.C (rowLast): simplified code
14639
14640 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14641
14642         * lyxfunc.C: fix show options on timeout
14643
14644 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14645
14646         * screen.C (topCursorVisible): scroll half a page when the cursor
14647         reached top of bottom of screen
14648
14649 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14650
14651         * minibuffer.C: deactivate on loss of focus
14652
14653 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14654
14655         * vspace.[Ch] (operator!=): add operator.
14656
14657 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14658
14659         * BufferView_pimpl.C: refuse to open an inset when
14660         there's a selection.
14661
14662 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14663
14664         * BufferView_pimpl.C: allow to click on RHS of full row insets
14665
14666 2001-11-30  Juergen Vigna  <jug@sad.it>
14667
14668         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14669         insets for undo reasons.
14670
14671 2001-11-28  André Pönitz <poenitz@gmx.net>
14672
14673         * vspace.[Ch]: cosmetical changes
14674
14675 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14676
14677         * LyXAction.h:
14678         * LyXAction.C:
14679         * lyxfunc.h:
14680         * lyxfunc.C:
14681         * kbmap.h:
14682         * kbmap.C:
14683         * lyxrc.C:
14684         * kbsequence.h:
14685         * kbsequence.C: part re-write of old kb code
14686
14687         * Painter.C:
14688         * WorkArea.C: remove Lgb_bug_find_hack
14689
14690 2001-11-30  José Matos <jamatos@fep.up.pt>
14691
14692         * buffer.C (makeDocBookFile): add a comment to point a hack.
14693         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14694         Fixed a double write of labels.
14695
14696 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14697
14698         * LaTeX.C:
14699         * LaTeX.h Fixed bug in LaTeX class where it would not
14700         re-run latex if no depfiles were changed, but the .dvi was removed.
14701
14702 2001-11-28  André Pönitz <poenitz@gmx.net>
14703
14704         * all the files from the change on 2001/11/26:
14705         use lyx::layout_type instead of LyXTextClass::size_type
14706         use lyx::textclass_type instead of LyXTextClassList::size_type
14707
14708 2001-11-29  Juergen Vigna  <jug@sad.it>
14709
14710         * text.C: added support for paragraph::isFreeSpacing()
14711
14712         * buffer.C: same as above
14713
14714         * paragraph.h: inserted isFreeSpacing() function to enable
14715         FreeSpacing inside InsetERT.
14716
14717         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14718         of the paragraph's in the cut/copy buffer to 0!
14719
14720         * text2.C (removeRow): remove the assert as it can!
14721
14722         * lyxtext.h: added helper function firstRow returning firstrow and
14723         made firstrow private again.
14724
14725         * BufferView2.C (lockInset): don't relock if we're already locked!
14726
14727         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14728         the only paragraph.
14729         (removeRow): added Assert::(firstrow)
14730
14731         * debug.C: forgot to add INSETTEXT here.
14732
14733 2001-11-28  Juergen Vigna  <jug@sad.it>
14734
14735         * sp_spell.C (initialize): changed error text to more general
14736         spellchecker command use (not only ispell!)
14737
14738         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14739
14740         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14741
14742 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14743
14744         * vspace.C: initialise lyxgluelength on failure
14745
14746 2001-11-28  Allan Rae  <rae@lyx.org>
14747
14748         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14749         declaration & definition that looks like a function declaration.
14750
14751 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14752
14753         * BufferView2.C (copy):
14754         (copyEnvironment): do not clear the selection when doing a copy.
14755
14756         * text.C (paintFirstRow): compilation fix
14757
14758 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14759
14760         * tabular.C (Latex): correct line count when writing latex.
14761
14762 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14763
14764         * paragraph_pimpl.h:
14765         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14766           bug a bit
14767
14768 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14769
14770         * text.C:
14771         * LColor.h:
14772         * LColor.C: change vfillline->added_space
14773
14774         * text.C: add markers and text for added space
14775
14776         * vspace.C: fix comment
14777
14778 2001-11-28  André Pönitz <poenitz@gmx.net>
14779
14780         * paragraph.C: whitespace changes
14781         * all the other files from the change on 2001/11/26:
14782         change *::pos_type into lyx::pos_type
14783
14784 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14785
14786         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14787         language of the document when inserting error insets.
14788
14789 2001-11-26  André Pönitz <poenitz@gmx.net>
14790
14791         * BufferView_pimpl.[Ch]:
14792         *       CutAndPaste.C:
14793         * buffer.[Ch]:
14794         * lyxcursor.[Ch]:
14795         * lyxfind.C:
14796         * lyxfunc.C:
14797         * lyxrow.[Ch]:
14798         * paragraph.[Ch]:
14799         * paragraph_pimpl.[Ch]:
14800         * sp_spell.C:
14801         * text.C:
14802         * text2.C: reduce header dependencies, introduce type for positions
14803
14804 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14805
14806         * <various>: change to use Alert.h
14807
14808 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14809
14810         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14811         when encountering an unknown token.
14812         (readLyXformat2): Show an error message if there were unknown tokens.
14813
14814 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14815
14816         * BufferView2.C:
14817         * BufferView_pimpl.C:
14818         * buffer.C:
14819         * paragraph.h:
14820         * text.C:
14821         * text2.C: use par->isInset()
14822
14823 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14824
14825         * paragraph_pimpl.h:
14826         * paragraph_pimpl.C: cleanup
14827
14828 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14829
14830         * text2.C (removeRow):
14831         * text.C (setHeightOfRow): remove useless (and costly) call to
14832         getRow.
14833
14834 2001-11-20  Allan Rae  <rae@lyx.org>
14835
14836         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14837         Now need Inset*::checkInsertChar() to return true for appropriate
14838         cases so that the characters in the minibuffer will actually be
14839         inserted.
14840
14841 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14842
14843         * text.C: change the order of the includes.
14844         (workWidth): initialize it at once.
14845         (workWidth): make maxw unsigned
14846         (setHeightOfRow): remove unused variable (inset)
14847         (selectSelectedWord): remove unused variable (inset)
14848         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14849
14850 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14851
14852         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14853         server is not running.
14854         (openConnection):
14855         (closeConnection): add debug info when server is disabled.
14856
14857         * ColorHandler.C (getGCForeground): send debug message to GUI
14858         channel.
14859
14860         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14861
14862         * kbmap.C (bind): modify because return conventions of
14863         kb_sequence::parse have changed.
14864
14865         * kbsequence.C (parse): only ignore spaces and not any stupid
14866         control character. This avoids tests like s[i] <= ' ', which are
14867         guaranteed to fail with 8bit characters and signed chars.
14868         Change return code to string::npos when there have been no error
14869         (0 was a bad idea when error is at first character)
14870
14871 2001-11-14  José Matos  <jamatos@fep.up.pt>
14872
14873         * buffer.h:
14874         * buffer.C (simpleDocBookOnePar): removed unused argument.
14875
14876 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14877
14878         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14879         insets which are part of a word. Paragraph::isLetter takes care of
14880         that now. Use Paragraph::isInset to identify insets.
14881         (selectSelectedWord): do not test for hyphenation break.
14882
14883         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14884         that protected spaces are considered as spaces.
14885
14886         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14887         Inset::isLetter.
14888
14889 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14890
14891         * lyxserver.h:
14892         * lyxserver.C: fix it. and small cleanup.
14893
14894 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14895
14896         * BufferView_pimpl.C: use inline helpers
14897
14898         * LaTeXFeatures.h:
14899         * LaTeXFeatures.C: fix typos
14900
14901         * Spacing.h:
14902         * Spacing.C: move spacing_string into class
14903
14904         * ToolbarDefaults.C: move stuff into namespace anon
14905
14906         * layout.h: update enum
14907
14908         * lyxfunc.C: use better debug
14909
14910         * minibuffer.h: fix typo
14911
14912         * debug.h:
14913         * debug.C:
14914         * WorkArea.C: add and use Debug::WORKAREA
14915
14916         * lyxtext.h:
14917         * text.C:
14918         * text2.C: code re-organisation, inline helpers
14919
14920 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14921
14922         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14923         std::vector.empty().
14924
14925 2001-11-09  Allan Rae  <rae@lyx.org>
14926
14927         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14928         '\n's after tables.  Tabular and ERT inset work now makes this no
14929         longer necessary.
14930
14931 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14932
14933         * minibuffer.h:
14934         * minibuffer.C: fix crash, improve drop-down completion
14935
14936 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14937
14938         * lyxserver.h:
14939         * lyxserver.C: invalidate fd's when doing endPipe()
14940
14941 2001-11-08  José Matos  <jamatos@fep.up.pt>
14942
14943         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14944         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14945
14946         * paragraph.h:
14947         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14948
14949 2001-11-07  José Matos  <jamatos@fep.up.pt>
14950
14951         * buffer.h:
14952         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14953         const qualifier.
14954
14955         * buffer.C (sgmlOpenTag):
14956         * buffer.C (sgmlCloseTag): removed debug info.
14957
14958         * buffer.h (sgmlOpenTag):
14959         * buffer.h (sgmlCloseTag): made public.
14960
14961 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14962
14963         * buffer.C (saveParamsAsDefaults):
14964         * lyx_cb.C (MenuLayoutSave): remove
14965
14966         * LyXAction.C (init):
14967         * commandtags.h:
14968         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14969
14970 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14971
14972         * buffer.C (setPaperStuff): removed from here...
14973
14974         * bufferparams.C (setPaperStuff): ... and moved there.
14975
14976 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14977
14978         * minibuffer.h:
14979         * minibuffer.C:
14980         * XFormsView.C: add support for drop-down completion
14981
14982 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14983
14984         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14985         commands.
14986
14987 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14988
14989         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14990         disabled.
14991
14992 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14993
14994         * lyx_main.C: change ref to known bugs
14995
14996 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14997
14998         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14999         to work around older babel problems.
15000
15001 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15002
15003         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15004
15005 2001-10-24  Juergen Vigna  <jug@sad.it>
15006
15007         * tabular-old.C (ReadOld): below variable changes reflected.
15008
15009         * tabular.[Ch]: added ltType struct for longtable header/footer
15010         defines and changed all instances where they are used. Added
15011         future support for double top/bottom rows.
15012
15013 2001-10-24  José Matos  <jamatos@fep.up.pt>
15014
15015         * buffer.h (docbookHandleCaption):
15016         * buffer.C (docbookHandleCaption): removed unused function.
15017         (makeDocBookFile): moved docbook supported version to v4.1.
15018
15019 2001-10-24  José Matos  <jamatos@fep.up.pt>
15020
15021         * tabular.h:
15022         * tabular.C (docbookRow): new function to export docbook code of a row.
15023         (DocBook): now honors the longtable flags.
15024
15025 2001-10-23  José Matos  <jamatos@fep.up.pt>
15026
15027         * LaTeXFeatures.h:
15028         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15029         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15030
15031         * buffer.C (makeLinuxDocFile):
15032         (makeDocBookFile): reworked the preamble, more clean, and with
15033         support for lyx defined entities. Changed the document declaration
15034         to be more XML friendly.
15035
15036         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15037         if we need to output XML that should be done with a filter.
15038
15039 2001-10-22  Juergen Vigna  <jug@sad.it>
15040
15041         * sp_pspell.h (class PSpell): add alive function needed in the
15042         controller to see if the spellchecker could be started.
15043
15044 2001-10-22  Juergen Vigna  <jug@sad.it>
15045
15046         * buffer.C (insertStringAsLines): modify the font for inserting
15047         chars in certain conditions by calling checkInsertChar(font).
15048
15049 2001-10-19  Juergen Vigna  <jug@sad.it>
15050
15051         * text.C (workWidth): use getRow instead of wrong algorithm.
15052         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15053
15054 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15055
15056         * lyxserver.h:
15057         * lyxserver.C:
15058         * lyx_main.h:
15059         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15060
15061 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15062
15063         * text.C (workWidth): do not search for the exact row when
15064         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15065         optimization for big documents.
15066
15067 2001-10-18  Juergen Vigna  <jug@sad.it>
15068
15069         * text.C (workWidth): new function with added Inset * parameter.
15070
15071 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15072
15073         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15074
15075         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15076         change return type of getColumnNearX.
15077
15078
15079         * text.C (changeRegionCase): use uppercase/lowercase instead of
15080         toupper/tolower.
15081         (leftMargin):
15082         (rightMargin): simplify code by factoring out the uses of
15083         textclasslist.
15084         (labelFill):
15085         (numberOfHfills):
15086         (setHeightOfRow):
15087         (appendParagraph): use Paragraph::size_type
15088
15089 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15090
15091         * vspace.C (asLatexString): add a missing break
15092
15093 2001-10-15  Herbert Voss  <voss@perce.de>
15094
15095         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15096
15097 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15098
15099         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15100         is not available.
15101
15102 2001-10-10  André Pönitz <poenitz@gmx.net>
15103
15104         * lyxfunc.C: removed greek_kb_flag.
15105
15106 2001-10-10  Herbert Voss  <voss@perce.de>
15107
15108         * lyx_main.C: delete global string help_lyxdir.
15109
15110 2001-10-09  Herbert Voss  <voss@perce.de>
15111
15112         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15113
15114         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15115
15116         * lyx_main.C: added global string help_lyxdir.
15117
15118         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15119
15120 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15121
15122         * lyxrc.C (set_font_norm_type): support iso8859-4
15123
15124 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15125
15126         * LaTeX.C (deplog): add another regex for MikTeX
15127
15128 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15129
15130         * lyxrc.C (set_font_norm_type): support iso8859-3
15131
15132 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15133
15134         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15135
15136         * LaTeXFeatures.C: remove special case of french and index
15137
15138         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15139         before \begin{document}). This solves several incompatibilities.
15140
15141 2001-10-03  Garst Reese  <reese@isn.net>
15142
15143         * lyx_cb.C: change CheckTex error msg.
15144
15145 2001-10-03  José Matos  <jamatos@fep.up.pt>
15146
15147         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15148
15149 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15150
15151         * .cvsignore: update
15152
15153         * lyx_main.C (commandLineVersionInfo): use new style version info.
15154
15155         * buffer.C (writeFile):
15156         (makeLaTeXFile):
15157         (makeLinuxDocFile):
15158         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15159
15160         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15161
15162         * version.h: update to use stuff in version.C
15163
15164         * version.C.in: new file. Contains version information determined
15165         at compile time. This is a merging of version.h and
15166         version_info.h.in.
15167
15168 2001-10-03  Juergen Vigna  <jug@sad.it>
15169
15170         * BufferView_pimpl.C (update): don't change "dirty" status in
15171         updateInset call.
15172
15173 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15174
15175         * WorkArea.C (c-tor): re-position version string slightly.
15176
15177 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15178
15179         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15180         revert to previous code.
15181
15182         WorkArea.[Ch]: (show, destroySplash): methods removed.
15183
15184         WorkArea.C: rework code so that it's an amalgam of the codes before and
15185         after the splash screen was moved to WorkArea.
15186
15187 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15188
15189         * lyxrc.C (read):
15190         * vspace.C (inPixels):
15191         (lyx_advance):
15192         * kbmap.C (bind):
15193         * buffer.C (insertStringAsLines):
15194         (asciiParagraph): fix types to be large enough
15195
15196         * lyxlex_pimpl.h: change member status from short to int
15197
15198         * layout.h: fix type of endlabeltype
15199
15200         * kbmap.C (bind):
15201         * kbsequence.C (parse): change return type to string::size_type
15202
15203         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15204         variable
15205
15206         * Bullet.C (bulletSize):
15207         (bulletEntry): do not use short ints as parameters
15208
15209         * BufferView2.C (insertLyXFile): change a char to an int.
15210
15211         * WorkArea.C (WorkArea): remove unneeded floats in computation
15212
15213 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15214
15215         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15216
15217         * paragraph.C (asString): Do not ignore newline/hfill chars when
15218         copying to the clipboard.
15219
15220 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15221
15222         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15223         after a multi-line inset.
15224
15225 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15226
15227         * paragraph.C (validate): Set NeedLyXFootnoteCode
15228
15229 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15230
15231         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15232         and decrease-error to decrease.
15233
15234 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15235
15236         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15237         it more readable (should be equivalent)
15238
15239 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15240
15241         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15242
15243 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15244
15245         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15246         of a cursor (row, etc.) after a character has been deleted
15247         (deleteEmptyParagraphMechanism): call the method above on _all_
15248         cursors held by the LyXText when a double space has been
15249         detected/deleted.
15250
15251 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15252
15253         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15254         pixmap.
15255         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15256
15257         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15258         background. Use greyOut() and the new show() methods to toggle between
15259         the foreground and background. Add code to remove the splash after
15260         its initial showing.
15261
15262         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15263         (create_forms): no longer call Dialogs::showSplash.
15264
15265 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15266
15267         * .cvsignore: add version_info.h
15268
15269 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15270
15271         * version_info.h.in: new file
15272
15273         * Makefile.am: add version_info.h.in
15274
15275         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15276         version_info.h instead of VERSION_INFO
15277
15278 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15279
15280         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15281         The ERT inset now returns string().
15282
15283 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15284
15285         * lyxtext.h, text.C (selectNextWord): renamed as
15286         selectNextWordToSpellcheck.
15287
15288         * text.C (selectNextWordToSpellcheck): Modified to not select
15289         words inside an ERT inset.
15290
15291 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15292
15293         * lyx_cb.C (MenuLayoutSave): change a bit the question
15294
15295         * sp_base.h: include <sys/types.h>
15296
15297 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15298
15299         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15300
15301 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15302
15303         * several files: fix typos in user-visible strings
15304
15305 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15306
15307         * text2.C (pasteSelection): do not set the selection, since it
15308         will be cleared later. Actually, the intent was to fix the way the
15309         selection was set, but I figured rmoving the code was just as good.
15310
15311 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15312
15313         * FontLoader.C (available): Check if font is available without
15314         loading the font.
15315
15316 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15317
15318         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15319
15320 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15321
15322         * lyxrc.[Ch]: added display_graphics variable and associated code.
15323
15324 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15325
15326         * bufferparams.C (hasClassDefaults): new method. Returns true if
15327         the buffer parameters correspond to known class defaults
15328
15329 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15330
15331         * XFormsView.C (show): set minimum size to the main window.
15332
15333 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15334
15335         * text2.C (copySelection):
15336         (cutSelection):
15337         * lyxfind.C (LyXReplace):
15338         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15339         LyXText::selectionAsString.
15340
15341         * paragraph.C (asString): add "label" argument to the second form
15342
15343         * text2.C (selectionAsString): add "label" argument and pass it to
15344         Paragraph::asString.
15345
15346 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15347
15348         * lyx_main.C (commandLineHelp): remove version information
15349
15350 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15351
15352         * lyx_main.C: add -version commandline option
15353
15354 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15355
15356         * paragraph.h: make the optional constructor arg required instead.
15357         some modifications to other files because of this.
15358
15359         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15360
15361         * lyxserver.C (C_LyXComm_callback): make it static
15362
15363         * lyx_main.C (error_handler): make it static
15364
15365         * lyx_gui.C (LyX_XErrHandler): make it static
15366
15367         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15368
15369         * WorkArea.C: make the extern "C" methods static.
15370
15371         * Makefile.am (lyx_LDADD): simplify
15372
15373 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15374
15375         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15376         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15377
15378         * LyXAction.C (init):
15379         * lyxfunc.C (dispatch): associated code removal.
15380
15381 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15382
15383         * lyxfont.h (isSymbolFont): shut off warning
15384
15385         * text.C (setHeightOfRow):
15386         (getVisibleRow): fix crash with empty paragraphs which have a
15387         bottom line
15388
15389 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15390
15391         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15392         code.
15393
15394 2001-09-04  José Matos  <jamatos@fep.up.pt>
15395         * buffer.C
15396         * buffer.h
15397         * tabular.C (docbook): rename docBook method to docbook.
15398
15399 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15400
15401         * Makefile.am: add dependencies to main.o.
15402
15403 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15404
15405         * FontLoader.C (available): Return false if !lyxrc.use_gui
15406
15407 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15408
15409         * FontInfo.C (query):
15410         * converter.C (view):
15411         * importer.C (Import):
15412         * exporter.C (Export): Can not -> cannot.
15413
15414 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15415
15416         * BufferView_pimpl.C: allow to create index inset even if
15417           string is empty
15418
15419 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15420
15421         * buffer.C (getLists): replace boost::tie code with an explicit pair
15422         as boost::tie can break some compilers.
15423
15424         * iterators.h: Added a std:: declaration to the return type of
15425         ParIterator::size.
15426
15427 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15428
15429         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15430           case.
15431
15432 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15433
15434         * iterators.[Ch]: New files. Provide paragraph iterators.
15435
15436         * buffer.C (changeLanguage): Use paragraph iterators.
15437         (isMultiLingual): ditto
15438
15439         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15440
15441 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15442
15443         * FontLoader.C: Support for cmr font.
15444
15445 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15446
15447         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15448         (available): New method.
15449
15450         * FontInfo.C (getFontname): Use scalable fonts even when
15451         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15452         found.
15453
15454 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15455
15456         * converter.C (Formats::view): reverted! Incorrect fix.
15457
15458 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15459
15460         * converter.C (Formats::view): only output the -paper option
15461         if the dvi viewer is xdvi, thereby fixing bug #233429.
15462
15463 2001-08-23  Herbert Voss  <voss@perce>
15464
15465         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15466
15467 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15468
15469         * Spacing.h (Spacing): Set space to Default on in the default
15470         constructor.
15471
15472 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15473
15474         * vc-backend.h (RCS::versionString): add RCS to version
15475         (CVS::versionString): add CVS to version
15476
15477         * vc-backend.C (scanMaster): do not add CVS to version.
15478         (scanMaster): do not add RCS to version
15479
15480         * lyxvc.C (versionString): new method
15481
15482         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15483
15484 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15485
15486         * Spacing.C (set): initialize fval
15487
15488 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15489
15490         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15491         " or \.
15492
15493 2001-08-16  Juergen Vigna  <jug@sad.it>
15494
15495         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15496
15497 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15498
15499         * BufferView_pimpl.C:
15500         * figureForm.C:
15501         * lyxtext.h:
15502         * text2.C: setParagraph takes linespacing now
15503
15504 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15505
15506         * LyxAction.C: add internal LFUN_CITATION_INSERT
15507
15508         * LyXView.C: actually apply fix
15509
15510         * bufferlist.C: fix open non-existent file
15511
15512         * lyxfind.C: fix indentation
15513
15514         * lyxfunc.C: remove unneeded assert, fix typo
15515
15516 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15517
15518         * MenuBackend.C: use "Floatname List"
15519
15520 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15521
15522         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15523         when converting LaTeX layout to insetERT.
15524         Generate a non-collapsed float when reading old float
15525
15526 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15527
15528         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15529         ERT insets.
15530
15531 2001-08-13  Juergen Vigna  <jug@sad.it>
15532
15533         * text.C (fill): return 0 instead of 20 as this seems to be the more
15534         correct value.
15535
15536 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15537
15538         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15539         lyxrc.font_norm.
15540
15541 2001-08-13  Juergen Vigna  <jug@sad.it>
15542
15543         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15544         casesensitive off.
15545         (SearchBackward): comment out the unlocking of the inset_owner this
15546         should not be needed!
15547
15548 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15549
15550         * Many files: Remove inherit_language, and add latex_language
15551
15552         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15553         collapsible insets.
15554
15555 2001-08-10  Juergen Vigna  <jug@sad.it>
15556
15557         * text.C (prepareToPrint): fixed hfill-width in draw!
15558
15559         * BufferView2.C (selectLastWord): save the selection cursor as this
15560         now is cleared in the function LyXText::clearSelection!
15561
15562 2001-08-08  Juergen Vigna  <jug@sad.it>
15563
15564         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15565         BACKSPACE type functions.
15566
15567         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15568         is only cutted from the document but not put in the cut-buffer, where
15569         still the old stuff should be.
15570
15571         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15572
15573         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15574
15575         * tabular.C (SetWidthOfCell): fixed special case where the width
15576         was not updated!
15577         (LeftLine): handle '|' in align_special.
15578         (RightLine): ditto
15579         (LeftAlreadyDrawed): ditto
15580         (SetWidthOfCell): ditto
15581
15582 2001-08-07  Juergen Vigna  <jug@sad.it>
15583
15584         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15585
15586 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15587
15588         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15589         * lyxlex.[hC]: ditto
15590
15591 2001-08-06  Juergen Vigna  <jug@sad.it>
15592
15593         * text.C (getVisibleRow): fix up row clearing a bit.
15594
15595 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15596
15597         * minibuffer.C: make sure the X server sees the changes in the input.
15598
15599 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15600
15601         * paragraph.C (getFont): split into...
15602         (getLabelFont): this
15603         (getLayoutFont): and this
15604         * paragraph_pimpl.C (realizeFont): calling this
15605
15606         * text2.C (getFont): split into...
15607         (getLayoutFont): this
15608         (getLabelFont): and this
15609         (realizeFont): all three calling this
15610
15611         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15612         files where used.
15613
15614 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15615
15616         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15617
15618 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15619
15620         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15621         layouts from the Quote inset insertion.
15622
15623 2001-08-03  Juergen Vigna  <jug@sad.it>
15624
15625         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15626
15627         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15628         only if status not is already CHANGED_IN_DRAW (second level).
15629
15630         * text.C (draw): don't set the need_break_row when inside an
15631         InsetText LyXText.
15632
15633 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15634
15635         * buffer.C (parseSingleLyXformat2Token): handle more latex
15636         conversion cases.
15637
15638         * bufferview_funcs.[hC]: change function names to
15639         begin with small char, adjust other files.
15640
15641 2001-08-02  André Pönitz <poenitz@gmx.net>
15642
15643         * lyxfunc.C:
15644         BufferView_pimpl.C: remove broken special code for math-greek
15645
15646 2001-08-02  Juergen Vigna  <jug@sad.it>
15647
15648         * BufferView_pimpl.C (update): redone this function so that we
15649         update the text again if there was a CHANGE_IN_DRAW.
15650
15651         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15652         (drawFromTo): added a new internal bool which is used by draw() and
15653         redraw() function.
15654         (general): some cursor drawing problems fixed.
15655
15656 2001-08-01  Juergen Vigna  <jug@sad.it>
15657
15658         * lyxfind.C (LyXFind): fixed
15659         (SearchForward): ditto
15660         (SearchBackward): ditto
15661
15662         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15663         spurius drawing of the cursor in the main area.
15664
15665         * text2.C (status): small fix which could lead to a segfault!
15666         (clearSelection): remove unneeded BufferView param.
15667
15668 2001-08-01  André Pönitz <poenitz@gmx.net>
15669
15670         * lyxfunc.C: small change due to changed mathed interface
15671
15672 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15673
15674         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15675
15676 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15677
15678         * lyxfunc.c: fail gracefully if file doesn't exist
15679
15680         * LyXSendto.C:
15681         * buffer.C:
15682         * lyxfunc.C:
15683         * BufferView_pimpl.C: IsDirWriteable() proto changed
15684
15685         * LyXView.C: fix updateWindowTitle() to store the last title
15686
15687 2001-07-31  Juergen Vigna  <jug@sad.it>
15688
15689         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15690         the font (wrong since using of Paragraph::highestFontInRange).
15691
15692         * paragraph.C (highestFontInRange): added a default_size parameter.
15693
15694         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15695         (setHeightOfRow): reformat
15696
15697 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15698
15699         * converter.[hC] + affected files: move to (inital-char)lowercase
15700         function names.
15701
15702         * ParagraphParameters.C (ParagraphParameters): remove commented code
15703
15704         * PainterBase.[Ch]: remove commented code
15705
15706         * LaTeXFeatures.h: add "bool floats" for float.sty
15707
15708         * LaTeXFeatures.C (LaTeXFeatures): init floats
15709         (require): handle float
15710         (getPackages): do it with floats
15711
15712 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15713
15714         * BufferView_pimpl.C (Dispatch): improve handling of
15715         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15716
15717         * commandtags.h: #include lyxfont.h here temporarily to avoid
15718         keybinding bug.
15719
15720         * bufferlist.h: include LString.h here.
15721
15722 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15723
15724         * text2.C (getStringToIndex): new method.
15725
15726 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15727
15728         * *: Reduced header file dependencies all over.
15729
15730 2001-07-30  Baruch Even  <baruch@lyx.org>
15731
15732         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15733
15734 2001-07-29  Baruch Even  <baruch@lyx.org>
15735
15736         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15737
15738 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15739
15740         * ParameterStruct.h (endif): add a default constructor to make
15741         sure that all variables is initialized.
15742
15743         * ParagraphParameters.C (ParagraphParameters): adjust
15744
15745 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15746
15747         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15748         index; also, check that there is something to index, and that it
15749         does not span over several paragraphs.
15750         (doubleClick): use WHOLE_WORD_STRICT for double click.
15751
15752         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15753
15754         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15755         scheme.
15756
15757 2001-07-26  Baruch Even  <baruch@lyx.org>
15758
15759         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15760         an InsetFig figure, backwards compatible reading of old figure code.
15761
15762 2001-07-27  Juergen Vigna  <jug@sad.it>
15763
15764         * text2.C: font.realize function adaption.
15765
15766         * text.C (draw): add a warnings lyxerr text if needed.
15767
15768         * layout.C: font.realize function adaption.
15769
15770         * language.C: add inherit_language and implement it's handlings
15771
15772         * bufferview_funcs.C (StyleReset): remove language parameter from
15773         font creation (should be language_inherit now).
15774
15775         * bufferparams.C (writeFile): handle ignore_language.
15776
15777         * paragraph.C (getFontSettings): the language has to be resolved
15778         otherwise we have problems in LyXFont!
15779
15780         * lyxfont.C (lyxWriteChanges): added document_language parameter
15781         (update): removed unneeded language parameter
15782
15783         * paragraph.C (validate): fixed wrong output of color-package when
15784         using interface colors for certain fonts in certain environments,
15785         which should not seen as that on the final output.
15786
15787 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15788
15789         * BufferView_pimpl.C:
15790         * Thesaurus.h:
15791         * Thesaurus.C:
15792         * Makefile.am:
15793         * commandtags.h:
15794         * LyXAction.C: add thesaurus support
15795
15796         * lyxfind.h:
15797         * lyxfind.C: add "once" parameter, for thesaurus, to not
15798           move to the next match
15799
15800 2001-07-26  Juergen Vigna  <jug@sad.it>
15801
15802         * lyxfont.C (realize): honor ignore_language too!
15803         (resolved): ditto.
15804
15805         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15806
15807         * text.C (draw): one place more for ignore_language to not draw
15808         itself!
15809
15810 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15811
15812         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15813
15814 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15815
15816         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15817         the minipage conversion problem.
15818
15819 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15820
15821         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15822         insert an inset.
15823
15824 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15825
15826         * BufferView.h: don't forward declare WorkArea
15827
15828         * BufferView.C: don't include WorkArea.h
15829
15830 2001-07-25  André Pönitz <poenitz@gmx.net>
15831
15832         * commandtags.h:
15833         * LyXAction.C:
15834         * lyxfunc.C:  new LFUN 'math-space'
15835
15836         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15837
15838 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15839
15840         * text2.C (toggleInset): call open/close
15841
15842 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15843
15844         * lyxfunc.C (dispatch): add debug for the disabled case
15845
15846         * font.C (buttonText): make similar to rectText
15847
15848         * buffer.C (readInset): comment out parsing of insetlist and
15849         insttheorem
15850
15851         * PainterBase.C (rectText): small correction
15852
15853         * BufferView_pimpl.C: comment out insettheorem and insetlist
15854         * LyXAction.C: ditto
15855         * commandtags.h: ditto
15856
15857 2001-07-24  Juergen Vigna  <jug@sad.it>
15858
15859         * text.C (draw): honor the ignore_language.
15860
15861         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15862
15863 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15864
15865         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15866         char inset.
15867
15868 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15869
15870         * lyxtext.h: remove unused (and unimplemented) methods
15871
15872 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15873
15874         * text.C (getVisibleRow): honor background color
15875
15876         * PainterBase.h:
15877         * Painter.h: remove default color argument for fillRectangle
15878
15879         * text.C (backgroundColor): new method
15880
15881 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15882
15883         * text.C (getVisibleRow): adjust
15884
15885         * font.[Ch] (rectText): new method, metrics
15886         (buttonText): new method, metrics
15887
15888         * PainterBase.[hC]: make rectText and buttonText always draw and take
15889         fewer paramteres.
15890
15891 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15892
15893         * ToolbarDefaults.C (read):
15894         * MenuBackend.C (read): allow escaping in all strings
15895
15896         * BufferView_pimpl.C (insertAndEditInset): new method.
15897         (Dispatch): use insertAndEditInset whenever appropriate.
15898
15899         * BufferView_pimpl.C (insertNote): removed
15900
15901         * BufferView_pimpl.C (smartQuote): new method, moved from
15902         BufferView; if an insetquote cannot be inserted, insert a '"'
15903         character instead.
15904
15905         * BufferView2.C: remove insertCorrectQuote();
15906
15907         * lyxfunc.C (getStatus): Add support for all remaingin
15908         inset-insert lfuns.
15909
15910         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15911
15912         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15913         command (necessary to pass " as parameter of self-insert.
15914
15915         * text.C (selectWordWhenUnderCursor):
15916         (selectWord): add word_location parameter
15917         (selectWordWhenUnderCursor): same + remove special code for word
15918         boundary.
15919         (selectNextWord): use kind() to guess type of insetspecialchar,
15920         not latex().
15921
15922         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15923         (insertErtContents): create ert insets as collapsed.
15924         (readInset): better compatibility code for Info inset.
15925
15926 2001-07-20  Juergen Vigna  <jug@sad.it>
15927
15928         * lyxfunc.C (dispatch): use always LyXFind now!
15929
15930         * text2.C (init): add a reinit flag so that the LyXText can be
15931         reinited instead of deleted and reallocated (used in InsetText).
15932
15933         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15934
15935         * text.C: ditto
15936
15937         * text2.C: ditto
15938
15939 2001-07-18  Juergen Vigna  <jug@sad.it>
15940
15941         * text.C (selectNextWord): handle insets inside inset by calling
15942         always the bv->text functions so that we can go up the_locking_inset!
15943
15944         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15945         in strange locations when inside an inset!
15946
15947         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15948         handling to include insets.
15949
15950         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15951
15952 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15953
15954         * LyXAction.C (init):
15955         * commandtags.h:
15956         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15957         LIGATURE_BREAK, since the name is so stupid.
15958
15959 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15960
15961         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15962         InsetInfos.
15963
15964         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15965
15966         * sp_form.[Ch]: remove.
15967
15968         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15969
15970         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15971         InsetInfo.
15972
15973         * src/buffer.C (readInset): ditto.
15974
15975 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15976
15977         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15978         menuSeparator(), endOfSentenceDot(), ldots() and
15979         hyphenationPoint(), which are therefore removed.
15980         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15981
15982         * LyXAction.C (init):
15983         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15984
15985         * paragraph.C (getWord): removed.
15986
15987         * BufferView_pimpl.C (Dispatch): use last word or selection for
15988         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15989
15990         * lyx_main.C (queryUserLyXDir): do not ask before creating
15991         user_dir, except if it has been named explicitely.
15992
15993 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15994
15995         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15996         a document of zero size.
15997
15998 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15999
16000         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16001         approriately in the c-tor and in require().
16002         (getPackages): output the appropriate LaTeX for natbib support.
16003
16004         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16005         variables "use_natbib" and "use_numerical_citations" when reading the
16006         LyX file.
16007         (readInset): read the various natbib cite commands.
16008         (validate): white-space change.
16009
16010         * bufferparams.[Ch]: new variables "bool use_natbib" and
16011         "bool use_numerical_citations".
16012         (writeFile): output them in the LyX file.
16013
16014 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16015
16016         * lyxfunc.C (getStatus): add support for all the inset insertion
16017         commands.
16018
16019         * text2.C (insertInset):
16020         * paragraph.C (insetAllowed):
16021         * BufferView_pimpl.C (insertInset): update to take in account the
16022         renaming of insertInsetAllowed
16023
16024         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16025
16026         * text2.C (getInset): new method. returns inset at cursor position.
16027
16028         * BufferView_pimpl.C (Dispatch): changes because of this.
16029
16030         * LyXAction.C (init): rename open-stuff to inset-toggle.
16031
16032         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16033
16034         * text2.C (toggleInset): renamed from openStuff; use
16035         Inset::open().
16036
16037 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16038
16039         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16040
16041         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16042
16043 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16044
16045         * buffer.C (readLyXformat2): Add filename to the error dialog
16046
16047 2001-07-18  Juergen Vigna  <jug@sad.it>
16048
16049         * tabular.C (GetCellNumber): put an assert here instead of the check!
16050
16051 2001-07-17  Juergen Vigna  <jug@sad.it>
16052
16053         * BufferView_pimpl.C (toggleSelection): adapted too.
16054
16055         * text.C (selectNextWord): adapted for use with insets.
16056         (selectSelectedWord): ditto
16057
16058 2001-07-17  Juergen Vigna  <jug@sad.it>
16059
16060         * sp_spell.C (PSpell): fix initialitation order.
16061
16062 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16063
16064         * paragraph.C: spacing
16065
16066 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16067
16068         * sp_spell.C: repair language selection for pspell
16069
16070 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16071
16072         * lyxfunc.h: change more methods to begin with lower char.
16073
16074 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16075
16076         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16077         for unknown layouts.
16078
16079 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16080
16081         * buffer.C (readLyXformat2): Generate an error dialog if there are
16082         unknown layouts.
16083
16084 2001-07-16  Juergen Vigna  <jug@sad.it>
16085
16086         * sp_spell.C: always compile ISpell part.
16087
16088         * lyxrc.C: added use_pspell entry and it's handling.
16089
16090 2001-07-13  Juergen Vigna  <jug@sad.it>
16091
16092         * sp_spell.C: removed double includes.
16093
16094 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16095
16096         Consistent use of Lsstream.h:
16097         * Lsstream.h: added using std::stringstream for consistencies sake.
16098
16099         * buffer.C: removed using std::stringstream
16100
16101         * lyxfont.C (stateText):
16102         * paragraph.C (asString):
16103         * text.C (selectNextWord, selectSelectedWord):
16104         * text2.C (setCounter):
16105         * vspace.C (asString, asLatexString):
16106         std::ostringstream -> ostringstream.
16107
16108 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16109
16110         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16111         * commandtags.h: add LFUN_HELP_ABOUTLYX
16112         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16113
16114 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16115
16116         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16117         cursorToggle()
16118         * lyx_gui_misc.C: remove spellchecker
16119         * lyxfunc.C: showSpellchecker
16120         * sp_base.h: added
16121         * sp_ispell.h: added
16122         * sp_pspell.h: added
16123         * sp_spell.C: added
16124         * sp_form.[Ch]: removed
16125         * spellchecker.[Ch]: removed
16126
16127 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16128
16129         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16130         is set.
16131         (simpleTeXSpecialChars): Simply print the input character without
16132         any special translation if pass_thru is set.
16133
16134         * layout.h: Added bool pass_thru to layout class for being able to
16135         implement pass through of a paragraph for Literate Programming.
16136
16137         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16138         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16139         * layout.C (Read): add "passthru" to list of layout tags and add
16140         code to set the pass_thru boolean when it is read.
16141
16142 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16143
16144         * trans_decl.h: remove allowed from KmodInfo
16145
16146         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16147         remove allowed code
16148         (Load): adjust
16149
16150         * paragraph_pimpl.C (erase): use boost::prior
16151
16152         * Painter.C (text): use data() instead of c_str() when length is
16153         also provided.
16154         * WorkArea.C (putClipboard): ditto
16155         * font.h (width): ditto
16156
16157         * BufferView2.C: use it-> instead of (*it). for iterators
16158         * texrow.C: ditto
16159         * paragraph_pimpl.C: ditto
16160         * paragraph.C: ditto
16161         * minibuffer.C: ditto
16162         * language.C: ditto
16163         * kbmap.C: ditto
16164         * encoding.C: ditto
16165         * counters.C: ditto
16166         * converter.C: ditto
16167         * chset.C: ditto
16168         * Variables.C: ditto
16169         * TextCache.C: ditto
16170         * MenuBackend.C: ditto
16171         * LyXAction.C: ditto
16172         * LColor.C: ditto
16173         * FloatList.C: ditto
16174         * DepTable.C: ditto
16175         * ColorHandler.C (LyXColorHandler): ditto
16176
16177 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16178
16179         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16180
16181         * text2.C (openStuff): reintroduce this method (which had been
16182         nuked in NEW_INSETS frenzy).
16183
16184         * lyxfunc.C (Dispatch): when an action has not been handled, use
16185         its name in the error message, not its number.
16186
16187         * paragraph.C (inInset): change method name to begin with lowercase.
16188
16189         * undo_funcs.C:
16190         * text2.C: updates because of this.
16191
16192 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16193
16194         * ToolbarDefaults.C (add): add spaces in error message
16195
16196 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16197
16198         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16199         (readLyXformat2): rename return_par to first_par, use lyxlex's
16200         pushToken and remove the manual push handling.
16201         (parseSingleLyXformat2Token): add another ert comp. variable:
16202         in_tabular, rename return_par to first_par. handle newlines better
16203
16204 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16205
16206         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16207
16208 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16209
16210         * text2.C (getParFromID): removed
16211
16212         * buffer.C (getParFromID): new method moved form lyxtext.
16213         * BufferView2.C (insertErrors): adjust
16214         (setCursorFromRow): adjust
16215         * BufferView_pimpl.C (restorePosition): adjust
16216         * lyxfunc.C (Dispatch): adjust
16217         * undo_funcs.C (textUndo): adjust
16218         (textRedo): adjust
16219         (textHandleUndo): adjust
16220         (textHandleUndo): adjust
16221
16222 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16223
16224         * buffer.C: up' the LYX_FORMAT
16225
16226         * lyxfont.h: turn NO_LATEX on as default
16227
16228         * buffer.C (insertErtContents): new methods of tex style compability.
16229         (parseSingleLyXformat2Token): use it several places.
16230         * tabular.C (OldFormatRead): and here
16231
16232 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16233
16234         * text2.C: remove some commented code.
16235         reindent file.
16236
16237         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16238         * trans.C: changes because of the above.
16239
16240 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16241
16242         * text2.C (setCounter): Fix counters bug with bibliography layout.
16243
16244 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16245
16246         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16247         own member functions
16248         (simpleTeXSpecialChars): ditto
16249
16250 2001-07-06  Juergen Vigna  <jug@sad.it>
16251
16252         * a lot of files: changed the access to LyXText::status and the
16253         call of undo-functions.
16254
16255         * undo.[Ch]: added a inset_id to the undo informations.
16256
16257         * undo_funcs.[Ch]: added and moved here all undo functions.
16258
16259         * lyxtext.h: give the status enum a weight, made status_ a private
16260         variable and made accessor functions for it, removed the whole bunch
16261         of undo-functions as they are now in their own file, make some
16262         functions publically available. Added function ownerParagraph with
16263         int parameter.
16264
16265         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16266         made InInset() a const function, added getParFromID() function.
16267
16268         * buffer.[Ch]: added const version for inset_iterator functions,
16269         added getInsetFromID() function.
16270
16271         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16272         changed undo functions for new version.
16273
16274 2001-07-05  Juergen Vigna  <jug@sad.it>
16275
16276         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16277         unknow mechanism does not call the proper constructor but only this
16278         one also if I request the other!?
16279
16280 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16281
16282         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16283
16284         * text2.C (LyXText): use initialization lists.
16285
16286         * lyxtext.h (Selection): initialize set_ and mark_
16287         (init): remove method
16288
16289 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16290
16291         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16292
16293 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16294
16295         * screen.[Ch]: change method names to begin with lowercase
16296
16297         * BufferView_pimpl.C (updateScrollbar): simplify further and
16298         hopefully make it a bit faster.
16299
16300 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16301
16302         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16303         calling directly xforms functions.
16304
16305         * Painter.C (Painter):
16306         * lyx_cb.C (MenuWrite):
16307         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16308         fl_display.
16309
16310         * lyx_gui.C: remove bogus guiruntime extern declaration.
16311
16312 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16313
16314         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16315         in NEW_INSETS
16316         (redoDrawingOfParagraph): ditto
16317         (redoParagraphs): ditto
16318         (cutSelection): don't create a object for CutAndPaste use the
16319         static method directly
16320         (pasteSelection): ditto
16321
16322         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16323         LyXview (+ rename)
16324
16325 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16326
16327         * modifications to some other files because of this.
16328
16329         * Makefile.am (lyx_SOURCES): add XFormsView
16330
16331         * XFormsView.[Ch]: new files
16332
16333         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16334         the main window. Move the gui dependent stuff to XFormsView
16335
16336 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16337
16338         * tabular.C (GetCellInset): update cur_cell also in the row/col
16339         version of this function.
16340
16341         * lyxfunc.C: no need to include figure_form.h here.
16342
16343         * FontLoader.h:
16344         * lyxfunc.h:
16345         * lyxscreen.h:
16346         * text2.C:
16347         * lyxvc.C: no need to include forms.h here.
16348
16349 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16350
16351         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16352
16353         * lyxfunc.C (Dispatch):
16354         * Spacing.C (set):
16355         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16356         constructor argument.
16357
16358 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16359
16360         * paragraph.C (Paragraph): dont't clear, and just set layout.
16361         (makeSameLayout): use params's copy contructor.
16362
16363         * ParagraphParameters.[Ch] (makeSame): delete method
16364
16365 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16366
16367         * Variables.[Ch]: fix indentation, rename set to isSet
16368
16369 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16370
16371         * lyxfunc.C (Dispatch): fix typo
16372
16373 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16374
16375         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16376         upper_bound.
16377
16378         * bufferlist.C: include assert.h for emergencyWrite().
16379
16380 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16381
16382         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16383           give up at last (bug #425202) !
16384
16385 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16386
16387         * lyx_gui_misc.C:
16388         * sp_form.h:
16389         * sp_form.C:
16390         * spellchecker.h:
16391         * spellchecker.C: strip spellchecker options and bring up
16392           preferences tab instead
16393
16394 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16395
16396         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16397         the istringstream constructor
16398
16399 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16400
16401         * paragraph.C (getLayout): fix return value
16402
16403         * paragraph.h: do not declare getLayout as inline.
16404
16405         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16406
16407 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16408
16409         * lyxcursor.h (operator<): new func
16410         (operator>): new func
16411         (operator>=): new func
16412         (operator<=): new func
16413
16414         * text.C (changeCase): use selection.start and selection.end
16415         (changeRegionCase): require from to be <= to. Require par to be a
16416         valid paragraph.
16417
16418         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16419
16420 2001-06-27  Juergen Vigna  <jug@sad.it>
16421
16422         * text.C (cursorLeftOneWord): changed to return the cursor and added
16423         overlay with BufferView * parameter which calls this one.
16424         (getWord): added
16425         (selectWord): use new getWord function.
16426         (changeCase): renamed from changeWordCase as and extended to work
16427         also on selections.
16428
16429         * lyxtext.h: added enum word_location
16430
16431         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16432         changeCase as this operates now also on selections.
16433
16434 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16435
16436         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16437
16438         * many files: send debug output to Debug::INFO instead of
16439         Debug::ANY.
16440
16441         * converter.C (View):
16442         (Convert):
16443         (Move): send debug output to Debug::FILES instead of console.
16444
16445 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16446
16447         * lyxfunc.C (getStatus): use func_status
16448
16449         * func_status.h: new header, describing the results of
16450         LyXFunc::getStatus;
16451
16452         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16453         LFUN_MATH_HALIGN.
16454
16455 2001-06-25  The LyX Project  <jug@sad.it>
16456
16457         * buffer.C (sgmlOpenTag):
16458         (sgmlCloseTag):
16459         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16460
16461 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16462
16463         * text2.C: remove some dead code
16464
16465         * tabular.C (GetCellInset): store the last cell checked (gotten)
16466
16467         * tabular.h: add the helper for the speedup
16468
16469         * lyxtext.h: remove some dead code
16470
16471 2001-06-26  The LyX Project  <Asger>
16472
16473         * paragraph.C: Change export to LaTeX of alignment to
16474         \begin{center} and family for better roundtrip work with reLyX.
16475
16476         * Tune the math drawing a bit.
16477
16478 2001-06-25  The LyX Project  <Asger>
16479
16480         * LColor.C (LColor): New color for math background. New color
16481         for buttons.
16482
16483 2001-06-25  The LyX Project  <jug@sad.it>
16484
16485         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16486
16487         * lyxfunc.C (Open):
16488         * bufferlist.C (newFile): do not restrict to files ending with
16489         .lyx
16490
16491         * BufferView_pimpl.C (MenuInsertLyXFile):
16492
16493 2001-06-24  The LyX Project  <jug@sad.it>
16494
16495         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16496         of compare_no_case
16497
16498 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16499
16500         * lyxtext.h: rename most methods to begin with a small char.
16501         Lots of changes because of this.
16502
16503         * paragraph.C (Paragraph): do not call fitToSize
16504         (erase): call Pimpl::erase
16505         (insertChar): call Pimpl::insertChar
16506         (insertInset): call Pipl::insertInset
16507         (breakParagraph): do not call fitToSize
16508         (breakParagraphConservative): do not call fitToSize
16509         (fitToSize): remove method
16510
16511         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16512
16513 2001-06-24  The LyX Project  <Asger>
16514
16515         * Fix Qt compilation^2
16516
16517 2001-06-24  The LyX Project  <jug@sad.it>
16518
16519         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16520         depthHook(getDepth()-1).
16521
16522         * paragraph.h:
16523         * ParagraphParameters.h:
16524         * ParameterStruct.h: change type of depth to unsigned int ==
16525         depth_type. Many adaptations to other files before of that.
16526
16527 2001-06-24  The LyX Project  <Asger>
16528
16529         * Fix Qt compilation.
16530
16531 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16532
16533         * paragraph.h: renamed several methods to begin with small letter.
16534         several changes to many parts of the code because of this.
16535
16536 2001-06-23  The LyX Project  <jug@sad.it>
16537
16538         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16539         rewritten to discard all double spaces when KeepEmpty is off
16540         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16541         to only handle newlines but not fiddle with spaces and friends.
16542
16543         * lyxfunc.C (MenuNew): when doing 'new from template', use
16544         template_path as default directory
16545
16546 2001-06-23  The LyX Project  <Asger>
16547
16548         * Clean-up of header file includes all over
16549         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16550
16551 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16552
16553         * paragraph.h: renamed from lyxparagraph.h
16554
16555 2001-06-23  Asger  <lyx@violet.home.sad.it>
16556
16557         * Buffer.h: Removed Buffer::resize
16558         * BufferList.h: Removed BufferList::resize
16559         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16560         the document lazily when we change the width, or the font settings.
16561
16562 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16563
16564         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16565
16566 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16567
16568         * buffer.h: remove out of date comment
16569
16570 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16571
16572         * lyxscreen.h:
16573         * screen.C: fix "theoretical" GC leak
16574
16575 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16576
16577         * LaTeX.C (scanAuxFile):
16578         (deplog): remove trailing \r when reading stream (useful under
16579         win32)
16580
16581 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16582
16583         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16584         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16585         and BufferView::theLockingInset(Inset*), so should use them and not
16586         access bv_->text->the_locking_inset directly.
16587
16588         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16589
16590 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16591
16592         * Makefile.am:
16593         * tex-defs.h: remove old unused file
16594
16595 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16596
16597         * BufferView_pimpl.C: fix typo, remove minibuffer message
16598           when buffer has loaded
16599
16600 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16601
16602         * lyxfunc.C (Dispatch): use stringstream
16603         (MenuNew): use stringstream
16604         (Open): use stringstream
16605
16606         * importer.C (Import): use stringstream
16607
16608         * bufferview_funcs.C (CurrentState): use stringstream
16609
16610         * LaTeX.C (run): use stringstream
16611
16612         * BufferView_pimpl.C (savePosition): use stringstream
16613         (restorePosition): use stringstream
16614         (MenuInsertLyXFile): use stringstream
16615
16616 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16617
16618         * BufferView.C:
16619         * Bullet.C:
16620         * ColorHandler.C:
16621         * FontInfo.C:
16622         * FontLoader.C:
16623         * LColor.C:
16624         * LaTeXFeatures.C:
16625         * Painter.C:
16626         * gettext.C:
16627         * lyx_gui_misc.C:
16628         * lyxserver.C:
16629         * vspace.C: removed // -*- C++ -*- as first line.
16630
16631         * lyxfind.h:
16632         * version.h: added // -*- C++ -*- as first line.
16633
16634 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16635
16636         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16637
16638         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16639         of string
16640
16641 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16642
16643         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16644         of floats.
16645
16646 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16647
16648         * gettext.C: include LString.h even when --disable-nls is on.
16649
16650 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16651
16652         * converter.h (Get): changed argument type from int to
16653         FormatList::size_type to avoid unnecessary conversion.
16654
16655         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16656         before using it.
16657
16658 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16659
16660         * gettext.h: include LString.h even when --disable-nls is on.
16661
16662 2001-06-07  Juergen Vigna  <jug@sad.it>
16663
16664         * text.C (BreakAgain): subst spaces with tabs.
16665
16666         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16667         (resizeInsetsLyXText): set force on resizeLyXText.
16668
16669 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16670
16671         * gettext.h (gettext_init):
16672         (locale_init): use a real definition instead of a macro
16673
16674 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16675
16676         * Bufferview_pimpl.C:
16677         * LColor.h:
16678         * LColor.C: further lcolor tidies
16679
16680 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16681
16682         * BufferView_pimpl.C (updateScrollbar): simplify.
16683
16684         * BufferView2.C: don't include insets/insetinfo.h, change
16685         prototype for insertInset and call the Pimpl version. let
16686         updateInset call Pimpl version.
16687
16688         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16689         gotoInset to BufferView::Pimpl
16690
16691 2001-06-01  Juergen Vigna  <jug@sad.it>
16692
16693         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16694         inside a LockingInset (is the update needed at all?).
16695
16696 2001-05-31  Juergen Vigna  <jug@sad.it>
16697
16698         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16699         here not the old one otherwise how should we compare it afterwards
16700         if it's the same!
16701
16702 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16703
16704         * lyxfont.C:
16705         * tabular.C:
16706         * tabular-old.C:
16707         * FontInfo.C: bring C functions into global namespace when
16708         necessary
16709
16710 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16711
16712         * LString.h: make sure config.h has been loaded before LString.h.
16713
16714         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16715         (one for each char read by EatLine!).
16716
16717         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16718         variables.
16719
16720 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16721
16722         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16723         to the same as the par we break from
16724
16725 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16726
16727         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16728
16729         * MenuBackend.C (expand): also create menu entries for wide
16730         versions of the floats.
16731
16732         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16733
16734         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16735
16736         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16737         frontends/Makefile.am
16738
16739         * text2.C: adjust
16740         * text.C: adjust
16741
16742
16743         * tabular.C (getTokenValue): add std::
16744
16745         * tabular-old.C (getTokenValue): add std::
16746         (getTokenValue): ditto
16747         (getTokenValue): ditto
16748
16749         * screen.C (ToggleSelection): adjust
16750
16751         * lyxtext.h: put selection cursors inside a Selection struct.
16752
16753         * lyxfunc.C (moveCursorUpdate): adjust
16754
16755         * lyxfont.C (latexWriteStartChanges): add std::
16756
16757         * lyxfind.C: adjust
16758
16759         * font.h: delete with(char const *, LyXFont const &)
16760
16761         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16762
16763         * FontInfo.C (getFontname): add std::
16764
16765         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16766         (workAreaButtonPress): adjust
16767         (tripleClick): adjust
16768         (update): adjust
16769         (moveCursorUpdate): adjust
16770         (Dispatch): adjust
16771
16772         * BufferView2.C (gotoInset): adjust
16773
16774 2001-05-30  Juergen Vigna  <jug@sad.it>
16775
16776         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16777         to check pspell I add this as default as I now have new pspell
16778         libraries and they seem to use this.
16779
16780 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16781
16782         * text2.C (CutSelection): make the cursor valid before the call to
16783         ClearSelection.
16784
16785 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16786
16787         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16788         relied on 0 terminated strings and other horrors. Bug found due to
16789         the new assert in lyxstring!
16790
16791         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16792         KP_ keys.
16793
16794 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16795
16796         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16797         to latinkeys.bind.
16798
16799         * lyxfunc.C (processKeySym): change method of getting to the
16800         self-insert char.
16801
16802         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16803         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16804         * BufferView_pimpl.[Ch]: here as private methods.
16805
16806 2001-05-28  Juergen Vigna  <jug@sad.it>
16807
16808         * text.C (SetHeightOfRow): added the update() call again as it is
16809         needed to initialize inset dimensions!
16810
16811 2001-05-16  Juergen Vigna  <jug@sad.it>
16812
16813         * text2.C (SetCharFont): Add new function with BufferView * and
16814         bool toggleall parameters for setting insets internal fonts.
16815         (SetFont): Freeze the undo as we may change fonts in Insets and
16816         all this change should be inside only one Undo!
16817
16818         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16819         setting font's in insets as for them we have the SetFont function!
16820
16821 2001-05-15  Juergen Vigna  <jug@sad.it>
16822
16823         * text2.C (ClearSelection): to be sure we REALLY don't have any
16824         selection anymore!
16825
16826         * tabular.C (TeXCellPreamble): fixed the left border problem for
16827         multicolumn cells.
16828
16829 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16830
16831         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16832         dependancy file
16833
16834 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16835
16836         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16837         LFUN_BREAKPARAGRAPH.
16838
16839         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16840         help test to "internal only", similar for LFUN_INSERT_URL
16841
16842         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16843         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16844         auto_region_delete and deadkeys.
16845
16846 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16847
16848         * LColor.h:
16849         * LColor.C: remove some dead entries, tidy a little
16850
16851 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16852
16853         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16854         commented code.
16855         (Dispatch): implement LFUN_ESCAPE
16856
16857         * commandtags.h: add LFUN_ESCAPE
16858
16859         * LyXAction.C (init): add entry for LFUN_ESCAPE
16860
16861         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16862         Remove commented code.
16863         (insertNote): moved here
16864         (open_new_inset): moved here
16865
16866         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16867         BufferView_pimpl
16868
16869 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16870
16871         * kbmap.C (findbinding): clean it up and make it work correctly.
16872
16873         * lyx_main.C (init): do not pass argc and argv as parameters
16874
16875 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16876
16877         * buffer.C: fix path for OS/2 & Win32
16878
16879         * lyx_gui.C:
16880         * lyx_main:
16881         * lyx_main.C: Added os:: class.
16882
16883         * os2_defines.h: update
16884
16885 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16886
16887         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16888         better by trying again with reduced state.
16889
16890 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16891
16892         * lyxrc.C (read): print error about invalid key sequence only when
16893         debugging (because not all latinX keysyms are known to some X
16894         servers)
16895
16896         * kbsequence.C (getiso): add a few std:: qualifiers
16897         (getiso): comment out extra return statement.
16898
16899 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16900
16901         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16902         handling.
16903         (Dispatch): enhance the accent inset a bit. (not perfect)
16904
16905 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16906
16907         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16908
16909 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16910
16911         * bufferlist.C (emergencyWrite): fix assert() call
16912
16913 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16914
16915         * text.C (InsertChar): Added trivial patch to only send the "you
16916         can not do multiple spaces this way" message once during a
16917         session.
16918
16919 2001-05-08  Baruch Even  <baruch@lyx.org>
16920
16921         * Makefile.am: Changed order of libraries to get LyX to link properly
16922         with the gnome frontend.
16923
16924 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16925
16926         * LaTeXFeatures.h: add a std:: qualifier
16927
16928 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16929
16930         * paragraph.C (String): use stringstream
16931
16932 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16933
16934         * paragraph.C (writeFile): remove footflag arg
16935
16936         * buffer.C (makeLaTeXFile): use stringstream
16937         (latexParagraphs): remove footnot gurba
16938
16939         * LaTeXFeatures.C (getPackages): use stringstream
16940         (getMacros): likewise
16941         (getTClassPreamble): likewise
16942         (getFloatDefinitions): new method
16943
16944         * paragraph.C (writeFile): reindent
16945         (Erase): reindent
16946
16947         * WorkArea.h: revert the xpos + etc changes.
16948
16949         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16950
16951         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16952
16953         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16954         (pasteSelection): likewise
16955         * text2.C (CreateUndo): likewise
16956
16957 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16958
16959         * minibuffer.C (peek_event): temporarily reduce the functionality
16960         of the minibuffer (to allow args on lfuns)
16961
16962         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16963         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16964
16965         * buffer.C (readInset): add compability reading of old float
16966         lists, add reading of new style float list.
16967         (readInset): avoid reevaluation of inscmd.getCmdName()
16968         (getLists): reindent
16969
16970         * MenuBackend.C (MenuItem): implement parsing of
16971         md_floatlistinsert and md_floatinsert.
16972         (expand::LastFiles): move initalizaton of iterators out of loop,
16973         avoid reevaluation.
16974         (expand::Documents): introduce typdedef vector<string> Strings,
16975         and use it.
16976         (expand::ExportFormats): introduce typedef vector<Format const *>
16977         Formats, and use it.
16978         (expand): implement FloatListInsert and FloatInsert.
16979
16980         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16981         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16982         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16983
16984         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16985         handling.
16986         (Dispatch::LFUN_FLOAT_LIST): implement
16987
16988 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16989
16990         * LaTeX.C (run): Fix problem with --export code.
16991
16992 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16993
16994         * BufferView.[Ch] (workarea): removed.
16995         (getClipboard) new method; wrapper for workarea()->getClipboard()
16996
16997         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16998         bug.
16999
17000         * WorkArea.h (width, height, xpos, ypos): These methods all
17001         returned the dimensions of the work_area sub-area of WorkArea,
17002         resulting in a position error if the WorkArea were resized. Now
17003         return the dimensions of the entire WorkArea.
17004
17005         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17006
17007 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17008
17009         * LaTeX.C (deplog): correct the syntax of regex reg1
17010
17011 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17012
17013         * undo.C: remove !NEW_INSETS cruft
17014
17015 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17016
17017         * text2.C: remove !NEW_INSETS cruft
17018
17019         * text.C: remove !NEW_INSETS cruft
17020
17021         * tabular.C: remove !NEW_INSETS cruft
17022
17023         * spellchecker.C: remove !NEW_INSETS cruft
17024
17025         * lyxtext.h: remove !NEW_INSETS cruft
17026
17027         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17028
17029         * lyxfunc.C: remove !NEW_INSETS cruft
17030
17031         * lyxfind.C: remove !NEW_INSETS cruft
17032
17033         * lyx_cb.C: remove !NEW_INSETS cruft
17034
17035         * figureForm.C: remove  !NEW_INSETS cruft
17036
17037         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17038
17039         * buffer.[Ch]: remove !NEW_INSETS cruft
17040
17041         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17042
17043         * CutAndPaste.C: remove !NEW_INSETS cruft
17044
17045         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17046
17047         * BufferView2.C: remove !NEW_INSETS cruft
17048
17049         * BufferView.h: remove !NEW_INSETS cruft
17050
17051 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17052
17053         * Lsstream.h: include LString.h before the sstream headers to
17054         fix problem with gcc 2.95.3 and lyxstring
17055
17056 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17057
17058         * lyx_main.C: add using directives when needed for C functions
17059         declared in std:: namespace.
17060
17061 2001-04-27  Juergen Vigna  <jug@sad.it>
17062
17063         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17064         (SetHeightOfRow): comment out the update call should not be needed!
17065
17066 2001-04-13  Juergen Vigna  <jug@sad.it>
17067
17068         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17069         (LyXTabular): tried to minimize operator= operations (and realized
17070         hopfully Lars wish).
17071
17072 2001-04-27  Juergen Vigna  <jug@sad.it>
17073
17074         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17075
17076 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17077
17078         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17079
17080         * buffer.C (readInset): hack to make listof algorithm work
17081
17082         * BufferView_pimpl.C: hack to make listof algorithm work
17083
17084 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17085
17086         * LyXAction.C: removed all !NEW_INSETS cruft
17087         (init): moved lfun_item in method
17088
17089         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17090
17091 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17092
17093         * BufferView2.C (theLockingInset): white space.
17094
17095 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17096
17097         * minibuffer.C: include <iostream>
17098
17099         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17100
17101         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17102
17103         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17104
17105         * text.[Ch] (TransposeChars): new method
17106
17107 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17108
17109         * call message directly through LyXView instead of through LyXFunc
17110         * BufferView2.C: adjust
17111         * BufferView_pimpl.C: adjust
17112         * FontLoader.C: adjust
17113         * buffer.C: adjust
17114         * bufferview_funcs.C: adjust
17115         * converter.C: adjust
17116         * figureForm.C: adjust
17117         * importer.C: adjust
17118         * lyx_cb.C: adjust
17119         * lyx_gui_misc.C: adjust
17120         * lyxfunc.C: adjust
17121         * lyxvc.C: adjust
17122         * text2.C: adjust
17123         + more files in subdirs
17124
17125         * lyxparagraph.h (size): move up int file
17126         (GetLayout): ditto
17127
17128         * adjust all uses of Assert to lyx::Assert.
17129
17130         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17131         lyxfunctional in namespace lyx
17132         * layout.C (hasLayout): ditto
17133         (GetLayout): ditto
17134         (GetLayout): ditto
17135         (delete_layout): ditto
17136         (NumberOfClass): ditto
17137         * converter.C (GetFormat): ditto
17138         (GetNumber): ditto
17139         (Add): ditto
17140         (Delete): ditto
17141         (SetViewer): ditto
17142         * bufferlist.C (getFileNames): ditto
17143         (emergencyWriteAll): ditto
17144         (exists): ditto
17145         (getBuffer): ditto
17146         * MenuBackend.C (hasSubmenu): ditto
17147         (hasMenu): ditto
17148         (getMenu): ditto
17149         * BufferView_pimpl.C (getInsetByCode): ditto
17150
17151 2001-04-18  Juergen Vigna  <jug@sad.it>
17152
17153         * vspace.C (asLatexString): fixed the 100% problem.
17154
17155 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17156
17157         * lyxfunc.C (Dispatch):
17158         * minibuffer.C:
17159         * minibuffer.h: add a few std:: qualifiers
17160
17161 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17162
17163         * minibuffer.[Ch]: reimplement so that commands is initiated and
17164         run from lyxfunc, simplified som handling, and made the completion
17165         and history code for complete. wip.
17166
17167         * lyxfunc.C (processKeySym): call message
17168         (miniDispatch): new temporary method
17169         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17170         (LFUN_MESSAGE): implement
17171         (LFUN_MESSAGE_PUSH): implement
17172         (LFUN_MESSAGE_POP): implement
17173         (initMiniBuffer): the initial/defualt minibuffer message.
17174
17175         * lyxfont.[Ch]: inline some more getters
17176
17177         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17178
17179         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17180
17181         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17182         (AutoSave): use LFUN_MESSAGE
17183         (Reconfigure): ditto
17184
17185         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17186
17187         * figureForm.C: use LFUN_MESSAGE
17188
17189         * converter.C (runLaTeX): use LFUN_MESSAGE
17190
17191         * bufferview_funcs.C: use LFUN_MESSAGE
17192         (Melt): ditto
17193         (changeDepth): ditto
17194
17195         * bufferparams.h: use boost::
17196
17197         * bufferlist.h: inherit privately from noncopyable
17198
17199         * bufferlist.C (loadLyXFile): remove some commented code.
17200
17201         * buffer.C (runChktex): use LFUN_MESSAGE
17202
17203         * ShareContainer.h: inherit privately from noncopyable
17204
17205         * ParagraphParameters.[hC] (depth): inline it.
17206
17207         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17208         methods.
17209         (message): new method
17210         (messagePush): ditto
17211         (messagePop): ditto
17212         (show): init minibuffer
17213         (showState): direct call
17214
17215         * LaTeX.[Ch]: inherit privately from noncopyable
17216         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17217         instead of WriteStatus.
17218
17219         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17220
17221         * BufferView_pimpl.C (buffer): don't init minibuffer
17222         (workAreaButtonPress): use LFUN_MESSAGE
17223         (workAreaButtonRelease): ditto
17224         (savePosition): ditto
17225         (restorePosition): ditto
17226         (MenuInsertLyXFile): ditto
17227         (workAreaExpose): don't init minibuffer
17228         (update): remove commented code, simplify
17229
17230         * BufferView2.C (openStuff): use LFUN_MESSAGE
17231         (toggleFloat): ditto
17232         (menuUndo): ditto
17233         (menuRedo): ditto
17234         (copyEnvironment): ditto
17235         (pasteEnvironment): ditto
17236         (copy): ditto
17237         (cut): ditto
17238         (paste): ditto
17239         (gotoInset): ditto
17240         (updateInset): remove some commented code
17241
17242         * lastfiles.h: inherit privately from noncopyable
17243         * layout.h: ditto
17244         * lyx_gui.h: ditto
17245         * lyx_main.h: ditto
17246         * lyxlex.h: ditto
17247         * lyxlex_pimpl.h: ditto
17248
17249         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17250         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17251         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17252
17253         * LyXAction.h: inherit privately from noncopyable, add methods
17254         func_begin, func_end, returning iterators to the func map.
17255
17256         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17257         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17258         (func_begin): new method
17259         (func_end): new method
17260
17261         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17262         and not)
17263         (copySelection): ditto
17264         (pasteSelection): ditto
17265
17266         * BufferView.C: whitespace change
17267         * BufferView.h: inherit privately from noncopyable
17268
17269 2001-04-16  Allan Rae  <rae@lyx.org>
17270
17271         * tabular-old.C (l_getline):
17272         * spellchecker.C (sc_check_word):
17273         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17274         an unrecognised preprocessor directive.  So ensure they're wrapped.
17275
17276 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17277
17278         * src/exporter.C (Export): Give an error message when path to file
17279         contains spaces.
17280
17281 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17282
17283         * LaTeX.C (deplog): Always check that foundfile exists.
17284
17285 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17286
17287         * lyx_main.h:
17288         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17289
17290 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17291
17292         * tabular.[Ch] (getLabelList): implement new method
17293
17294         * minibuffer.h: comment ouf setTiimer
17295
17296         * minibuffer.C (ExecutingCB): constify res
17297         (peek_event): constify s
17298         (Set): constify ntext
17299         (Init): constify nicename
17300
17301         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17302
17303         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17304         (savePosition): use two params to Minibuffer::Set
17305         (restorePosition): ditto
17306
17307 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17308
17309         * lyx_main.C: include language.h
17310
17311         * Makefile.am (lyx_main.o): add language.h
17312
17313 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17314
17315         * exporter.C:
17316         * paragraph.C:
17317         * screen.C:
17318         * tabular.C:
17319         * CutAndPaste.C: include gettext.h
17320
17321         * lyxfont.h: remove old hack with ON and OFF.
17322
17323         * lyxparagraph.h:
17324         * lyxfont.h: do not include language.h...
17325
17326         * BufferView2.C:
17327         * LaTeXFeatures.C:
17328         * Painter.C:
17329         * bufferview_funcs.C:
17330         * font.C:
17331         * lyxfont.C:
17332         * text.C:
17333         * text2.C:
17334         * trans_mgr.C:
17335         * paragraph.C: ... but do it here instead
17336
17337 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17338
17339         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17340
17341         * tabular.C: small reformat
17342
17343         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17344         NEW_INSETS version
17345         (GetChar): ditto
17346         (BreakParagraph): ditto
17347         (SetOnlyLayout): ditto
17348         (SetLayout): ditto
17349
17350         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17351         with one arg less.
17352
17353         * lastfiles.C: removed most using decl, add std:: where needed
17354
17355         * buffer.C: ws changes
17356
17357         * MenuBackend.C (class compare_format): put into anon namespace
17358         (expand): constify label, names, action, action2
17359         (expand):
17360
17361         * text.C (SingleWidth): constify font
17362         (IsBoundary): constify rtl2
17363         (GetVisibleRow): constify ww
17364
17365         * LaTeX.C (deplog): constify logfile
17366
17367         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17368         start_x, end_x
17369         (workAreaExpose): constify widthChange, heightChange
17370
17371         * lyxrow.C (par): moved
17372         (height): moved
17373         (next): moved
17374         * lyxrow.h: as inlines here
17375
17376         * lyxfont.h (shape): moved from lyxfont.C
17377         (emph): moved from lyxfont.C
17378
17379         * lyxfont.C (LyXFont): use initialization list for all
17380         constructors
17381         (shape): move to lyxfont.h as inline
17382         (emph): move to lyxfont.h as inline
17383
17384
17385 2001-04-04  Juergen Vigna  <jug@sad.it>
17386
17387         * vspace.C: had to include stdio.h for use of sscanf
17388
17389 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17390
17391         * BufferView.h:
17392         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17393         independent of xforms.
17394
17395 2001-04-02  Juergen Vigna  <jug@sad.it>
17396
17397         * spellchecker.C: fixed namespace placing!
17398
17399 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17400
17401         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17402         the LyXParagraph * is 0.
17403
17404 2001-03-29  Juergen Vigna  <jug@sad.it>
17405
17406         * vspace.C: added support for %, c%, p%, l%.
17407         (stringFromUnit): added helper function.
17408         (asLatexString): changed to give right results for the %-values.
17409
17410         * buffer.C: convert the widthp in a width%.
17411
17412 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17413
17414         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17415         figureForm.[Ch].
17416
17417         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17418         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17419
17420         * lyx_cb.[Ch]: see above.
17421
17422         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17423         form1.[Ch].
17424
17425         * form1.[Ch]:
17426         * lyx.[Ch]: replaced by figure_form.[Ch].
17427
17428         * lyx_gui.C:
17429         * lyx_gui_misc.C:
17430         * lyxfunc.C: changed headers associated with above changes.
17431
17432 2001-03-27  Juergen Vigna  <jug@sad.it>
17433
17434         * BufferView_pimpl.C: set the temporary cursor right!
17435
17436 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17437
17438         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17439
17440 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17441
17442         * LString.h: removed "using std::getline"!
17443
17444         * BufferView_pimpl.C (Dispatch): changes due to changes in
17445         InsetInclude::Params.
17446
17447         * buffer.C (tag_name): removed redundant break statements as they were
17448         producing lots of warnings with my compiler.
17449
17450 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17451
17452         * LString.h: add "using std::getline" when using the real <string>.
17453
17454 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17455
17456         * buffer.C: removed bitset usage.
17457         PAR_TAG moved to an anonymous name space.
17458         (tag_name): new funtion, also in the anonymous namespace.
17459         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17460         (makeDocBookFile): clean code. Completed transition from string arrays
17461         to string vectors.
17462         (SimpleDocBookOnePar): code clean.
17463
17464 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17465
17466         * tabular.C: add some comments.
17467
17468 2001-03-22  Juergen Vigna  <jug@sad.it>
17469
17470         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17471         compatibility read a bit and fixed bug with minipage in different
17472         depth.
17473
17474 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17475
17476         * buffer.C (pop_tag): removed.
17477         (push_tag): removed.
17478         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17479         array replaced with vector. Added support for CDATA sections.
17480         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17481         at any nest level.
17482         (makeDocBookFile): XML conformant declaration of CDATA section,
17483         fixed bug related to <emphasis> in the first paragraph char.
17484         (sgmlOpenTag): exclude empty tags.
17485         (sgmlCloseTag): ditto.
17486
17487         * buffer.h (pop_tag): removed.
17488         (push_tag): removed.
17489
17490 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17491
17492         * language.h (Languages): added size_type and size().
17493
17494 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17495
17496         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17497         response on compability reading of minipages. One probliem is that
17498         the old usage of minipages was flertydig
17499
17500         * several files here and in subdirs: don't use static at file
17501         scope use anon namespaces instead.
17502
17503 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17504
17505         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17506         LaTeX output. This is necessary for Literate document
17507         processing.
17508
17509 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17510
17511         * buffer.C: insert hfill when needed.
17512
17513         * tabular.C (l_getline): use string::erase, small whitespace change.
17514
17515         * BufferView_pimpl.C: try the anon namespace.
17516         * WorkArea.C: ditto
17517
17518 2001-03-16  Juergen Vigna  <jug@sad.it>
17519
17520         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17521         otherwise it won't open options-dialogs.
17522
17523         * buffer.C: honor pextraWidth(p) on converting minipages.
17524
17525         * tabular.C (l_getline): changed the functions to strip trailing \r.
17526
17527 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17528
17529         * BufferView_pimpl.C:
17530         * minibuffer..C: added "using SigC::slot" declaration.
17531
17532 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17533
17534         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17535
17536         * text2.C: ditto
17537
17538         * text.C: ditto
17539
17540         * paragraph.C: ditto
17541
17542         * lyxtext.h: NO_PEXTRA
17543
17544         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17545
17546         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17547         * ParameterStruct.h: ditto
17548         * ParagraphParameters.h: ditto
17549         * lyxparagraph.h: ditto
17550
17551 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17552
17553         * buffer.C: add compability for minipage alignment.
17554         (latexParagraphs): remove unwanted pextra check.
17555
17556         * several files: remove CXX_WORKING_NAMESPACES
17557
17558         * buffer.C (pop_tag): tie is in namespace boost
17559
17560         * BufferView.h: noncopyable is in namespace boost
17561         * lyxlex.h: ditto
17562         * lyx_main.h: ditto
17563         * lyx_gui.h: ditto
17564         * layout.h: ditto
17565         * lastfiles.h: ditto
17566         * bufferlist.h: ditto
17567         * ShareContainer.h: ditto
17568         * LyXView.h: ditto
17569         * LyXAction.h: ditto
17570         * LaTeX.h: ditto
17571
17572 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17573
17574         * Merging changes from BRANCH_MVC back into HEAD.
17575
17576         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17577
17578 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17579
17580         * BufferView_pimpl.C: change from intl.C
17581
17582         * combox.h:
17583         * combox.C:
17584         * Makefile.am: move combox.*
17585
17586         * form1.h:
17587         * form1.C:
17588         * lyx_gui.C:
17589         * intl.h:
17590         * intl.C: remove dialog (covered by prefs)
17591
17592 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17593
17594         * lyxfunc.C (Dispatch): removed redundant break statement.
17595
17596 2001-03-14  Juergen Vigna  <jug@sad.it>
17597
17598         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17599
17600 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17601
17602         * buffer.C: add hack to fix compability reading of minipages.
17603
17604 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17605
17606         * buffer.C (getLists): Cleanup.
17607
17608 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17609
17610         * lyxfont.C (update): don't honor toggleall on font size.
17611
17612 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17613
17614         * bmtable.c:
17615         * bmtable.h:
17616         * Makefile.am: moved to frontends/xforms/
17617
17618         * lyx_gui_misc.C:
17619         * lyxfunc.C:
17620         * BufferView_pimpl.C: changes for moved mathpanel
17621
17622 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17623
17624         * gettext.h: fix gettext_init() in --disable-nls
17625
17626 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17627
17628         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17629
17630 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17631
17632         * lyx.C:
17633         * lyx.h: strip external form
17634
17635 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17636
17637         * BufferView_pimpl.C: add comment, destroySplash()
17638
17639 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17640
17641         * BufferView_pimpl.C:
17642         * LyXAction.C:
17643         * buffer.C:
17644         * commandtags.h:
17645         * lyxfunc.C: use re-worked insetinclude
17646
17647 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17648
17649         * buffer.C: add using std::stringstream.
17650
17651         * lyx_cb.C: readd using std::ios.
17652
17653         * buffer.C: add using std::map.
17654
17655         * BufferView_pimpl.C: add using std::vector.
17656
17657         * ShareContainer.h: add std:: to swap.
17658
17659         * buffer.h: add some typedefs
17660         * buffer.C (getLists): use them
17661         (getLists): renamed from getTocList.
17662         add a counter for the different float types and use it in the
17663         generated string.
17664         (getLists): use the same counter for the NEW_INSETS and the "non"
17665         NEW_INSETS
17666
17667         * lyx_cb.h: remove unused items, includes, using etc.
17668
17669         * ShareContainer.h: remove some commented code, add more comments
17670         and "documentation".
17671
17672 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17673
17674         * buffer.C (getTocList): make the list also when NEW_INSETS is
17675         defined.
17676
17677         * buffer.h: remove TocType
17678
17679         * buffer.C (getTocList): change to return a map<string,
17680         vector<TocItem> >, implement for dynamic number of list.
17681
17682         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17683         * text2.C (PasteSelection): adjust
17684         * CutAndPaste.C (pasteSelection): adjust
17685
17686         * FloatList.C (FloatList): update from the new_insets branch.
17687         * Floating.[Ch]: ditto
17688         * LaTeXFeatures.C: ditto
17689         * buffer.C: ditto
17690         * lyxlex_pimpl.C: ditto
17691
17692         * paragraph.C (Last): remove when NEW_INSETS is defined.
17693
17694         * other file: changes because of the above.
17695
17696 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17697
17698         * lyxparagraph.h: rename next to next_, previous to previous_,
17699         make them private for NEW_INSETS. Rename Next() to next(),
17700         Previous() to previous().
17701
17702         * other files: changes because of the above.
17703
17704 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17705
17706         * BufferView.h:
17707         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17708         problem.
17709
17710 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17711
17712         * main.C (main): pass lyx_localedir to gettext_init().
17713
17714         * gettext.h: remove locale_init and gettext_init macros
17715
17716         * gettext.C (locale_init): new function
17717         (gettext_init): new function
17718
17719         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17720         setlocale().
17721
17722 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17723
17724         * Moved credits to frontends:
17725         * credits.[Ch]: removed
17726         * credits_form.[Ch]: removed
17727         * lyx_gui_misc.C: remove credits stuff
17728         * Makefile.am:
17729
17730 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17731
17732         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17733
17734         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17735         unneeded destructor.
17736
17737         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17738         a standalone pointer again.
17739
17740         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17741
17742 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17743
17744         * Makefile.am:
17745         * filedlg.h:
17746         * filedlg.C:
17747         * LyXAction.C:
17748         * ToolbarDefaults.C:
17749         * bufferlist.C:
17750         * commandtags.h:
17751         * form1.C:
17752         * form1.h:
17753         * lyx_cb.C:
17754         * lyx_cb.h:
17755         * lyxfunc.h:
17756         * lyxfunc.C:
17757         * BufferView_pimpl.C: use new file dialog in GUII
17758
17759         * lyx_cb.h:
17760         * lyx_cb.C: remove LayoutsCB to Toolbar
17761
17762 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17763
17764         * ShareContainer.h (get): add std:: qualifier
17765
17766 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17767
17768         * ShareContainer.h: define a proper ShareContainer::value_type
17769         type (and use typename to please compaq cxx)
17770
17771 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17772
17773         * lyxparagraph.h: move serveral local vars to
17774         ParameterStruct/ParagraphParameters., use ShareContainer in
17775         FontTable., make vars in FontTable private and add getter and
17776         setter.
17777
17778         * paragraph.C: changes because of the above.
17779
17780         * lyxfont.h: remove copy constructor and copy assignment. (the
17781         default ones is ok), move number inside FontBits. move inlines to
17782         lyxfont.C
17783
17784         * lyxfont.C: add number to initializaton of statics, move several
17785         inlines here. constify several local vars. some whitespace
17786         cleanup. Dont hide outerscope variables.
17787
17788         * Spacing.h: add two new constructors to match the set methods.
17789
17790         * ShareContainer.h: new file, will perhaps be moved to support
17791
17792         * ParameterStruct.h: new file
17793
17794         * ParagraphParameters.h: new file
17795
17796         * ParagraphParameters.C: new file
17797
17798         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17799         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17800
17801         * BufferView_pimpl.C: ParagraphParameter changes.
17802         * buffer.C: Likewise.
17803         * bufferview_funcs.C: Likewise.
17804         * text.C: Likewise.
17805         * text2.C: Likewise.
17806
17807 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17808
17809         * lyxfind.C (LyXReplace): do not redefine default argument in
17810         implementation.
17811         (IsStringInText): ditto
17812         (SearchForward): ditto
17813         (SearchBackward): ditto
17814
17815 2001-03-06  Juergen Vigna  <jug@sad.it>
17816
17817         * lyxfind.C (IsStringInText): put parentes around expressions.
17818
17819 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17820
17821         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17822
17823 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17824
17825         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17826
17827         * stl_string_fwd.h: add comment
17828
17829         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17830
17831         * tabular.h:
17832         * tabular.C: remove unused DocBook methods
17833
17834         * intl.C:
17835         * language.C:
17836         * paragraph.C:
17837         * buffer.C:
17838         killed DO_USE_DEFAULT_LANGUAGE
17839
17840 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17841
17842         * lyx_gui.C: do not include language.h.
17843
17844         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17845         arguments in function implementation.
17846
17847 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17848
17849         * BufferView_pimpl.C: add <ctime>
17850
17851 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17852
17853         * BufferView_pimpl.C: add using std::find_if
17854
17855 2001-02-27  José Matos  <jamatos@fep.up.pt>
17856
17857         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17858         by OnlyPath.
17859
17860 2001-02-11  José Matos  <jamatos@fep.up.pt>
17861
17862         * buffer.C (makeDocBookFile): command styles now have a parameter as
17863         "title" by default.
17864
17865 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17866
17867         * layout_forms.[Ch]: removed
17868         * lyx_cb.[Ch]: out character
17869         * lyx_gui.C: out character
17870         * lyx_gui_misc.C: out character
17871         * bufferview_funcs.C: : out character,
17872         added toggleall as parameter in ToggleAndShow
17873
17874 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17875
17876         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17877
17878         * text2.C (SetCurrentFont): Disable number property at boundary.
17879
17880 2001-02-26  Juergen Vigna  <jug@sad.it>
17881
17882         * lyxfunc.C (getStatus): added a string argument override function so
17883         that this is correctly called from LyXFunc::Dispatch if it contains a
17884         do_not_use_argument which is used!
17885         (Dispatch): added check for "custom" export and call appropriate func.
17886
17887 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17888
17889         * lyxrc.C: Add language_command_local, language_use_babel and
17890         language_global_options.
17891
17892         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17893
17894         * buffer.C (makeLaTeXFile): Use language_use_babel and
17895         language_global_options.
17896
17897 2001-02-23  Juergen Vigna  <jug@sad.it>
17898
17899         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17900         which works with LyXText and putted it inside BufferView. Here now we
17901         only call for that part the BufferView::Dispatch() function.
17902
17903         * BufferView.C (Dispatch): added.
17904
17905         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17906         functions which needs to use a LyXText over from LyXFunc.
17907         (MenuInsertLyXFile): added
17908         (getInsetByCode): added
17909         (moveCursorUpdate): added
17910         (static TEXT): added
17911
17912 2001-02-22  Juergen Vigna  <jug@sad.it>
17913
17914         * BufferView_pimpl.C (update): call a status update to see if LyXText
17915         needs it.
17916
17917 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17918
17919         * vc-backend.C (revert): implement for CVS
17920         (getLog): implement for CVS
17921
17922 2001-02-20  Juergen Vigna  <jug@sad.it>
17923
17924         * text2.C (ClearSelection): added BufferView param for inset_owner call
17925
17926         * lyxfunc.C (TEXT): added this function and use it instead of
17927         directly owner->view()-text of getLyXText().
17928
17929 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17930
17931         * src/layout_forms.C: out preamble
17932         * src/layout_forms.h: out preamble
17933         * src/lyx_cb.C: out preamble
17934         * src/lyx_cb.h: out preamble
17935         * src/lyx_gui.C: out preamble
17936         * src/lyx_gui_misc.C: out preamble
17937         * src/lyxfunc.C: connect with guii preamble
17938
17939 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17940
17941         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17942
17943 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17944
17945         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17946         whether to run bibtex.
17947
17948 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17949
17950         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17951
17952 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17953
17954         * Makefile.am (lyx_SOURCES): removed bibforms.h
17955
17956         * vspace.h: doxygen
17957
17958         * text.C (GetVisibleRow): make several local vars const
17959
17960         * tabular.C: small cleanup.
17961
17962         * lyxserver.C (callback): use compare instead of strncmp
17963
17964         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17965         inlines to after class or to paragraph.C
17966
17967         * lyxfont.h: remove friend operator!=
17968
17969         * converter.h: move friend bool operator< to non friend and after
17970         class def.
17971
17972         * combox.h: small cleanup
17973
17974         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17975         to inlines after class def.
17976
17977         * buffer.C (pop_tag): use string operations instead of strcmp
17978
17979         * bmtable.c: doxygen, small cleanup
17980
17981         * LaTeX.h: remove friend operator==
17982
17983 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17984
17985         * screen.C:
17986         * lyxrc.[Ch]:
17987         * lyxfunc.C:
17988         * lyxfont.[Ch]:
17989         * lyx_cb.C:
17990         * intl.[Ch]:
17991         * commandtags.h:
17992         * buffer.C:
17993         * WorkArea.[Ch]:
17994         * LyXAction.C:
17995         * BufferView_pimpl.C:
17996         * BufferView.[Ch]: remove cruft
17997
17998 2001-02-14  Juergen Vigna  <jug@sad.it>
17999
18000         * lyxfunc.C: removed #if 0 unused code
18001
18002         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18003
18004         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18005
18006         * text2.C (SetSelection): added a BufferView * parameter
18007
18008 2001-02-13  Juergen Vigna  <jug@sad.it>
18009
18010         * lyxfunc.C (Dispatch): fixed protected blank problem.
18011         * BufferView2.C (protectedBlank): added LyxText * parameter.
18012
18013         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18014         (AppendColumn): same as above for column_info.
18015
18016         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18017         (moveCursorUpdate): use a LyXText param for support of InsetText.
18018
18019         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18020         (tripleClick): ditto
18021
18022         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18023
18024         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18025
18026         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18027
18028         * text2.C (SetSelection): set correct update status if inset_owner
18029         (ToggleFree): ditto
18030
18031 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18032
18033         * tabular.C: remove some commented code.
18034
18035 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18036
18037         * BufferView_pimpl.C: call hideSplash()
18038
18039         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18040
18041         * include_form.h:
18042         * bibforms.h: remove
18043
18044         * lyxfunc.C:
18045         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18046           add LFUN_CHILD_CREATE
18047
18048         * counters.h: fix tiny typo
18049
18050         * lyx_cb.C:
18051         * lyx.h:
18052         * lyx_gui.C:
18053         * lyx.C: move splash to frontends/xforms/
18054
18055         * lyx_gui_misc.C: move Include and Bibform to frontends
18056
18057         * lyxvc.h: clarify comment
18058
18059         * vspace.C: tiny housekeeping
18060
18061 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18062
18063         * text.C (PrepareToPrint): RTL Fix.
18064
18065         * paragraph.C (GetUChar): New method.
18066         (String):  Use GetUChar.
18067
18068         * buffer.C (asciiParagraph): Use GetUChar.
18069
18070 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18071
18072         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18073
18074 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18075
18076         * buffer.h:
18077         * buffer.C: rename to getLogName(), handle
18078           build log / latex log nicely
18079
18080 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18081
18082         * MenuBackend.C:
18083         * MenuBackend.h: remove support for reference menuitem type.
18084
18085 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18086
18087         * BufferView_pimpl.C: housekeeping
18088         * BufferView_pimpl.h:
18089         * LyXView.h:
18090         * Makefile.am:
18091         * Timeout.C:
18092         * Timeout.h:
18093         * minibuffer.h: move Timeout GUI-I
18094
18095 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18096
18097         * lyxrc.C (read): Update converters data-structures.
18098
18099 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18100
18101         * LaTeX.h (operator!=): add operator != for Aux_Info
18102
18103 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18104
18105         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18106
18107         * LaTeXLog.C: deleted, useful code moved to Buffer
18108
18109         * buffer.h:
18110         * buffer.C: new function getLatexLogName()
18111
18112         * lyx_gui_misc.C:
18113         * lyx_gui.C:
18114         * lyxvc.C:
18115         * lyxvc.h:
18116         * lyxfunc.C: use frontends for LaTeX and VC logs
18117
18118 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18119
18120         * LaTeX.h: yet another std:: that Allan forgot.
18121
18122         * Variables.C (set): renamed from isset(), because this clashes
18123         with some HP-UX macros (grr).
18124
18125 2001-02-06  Allan Rae  <rae@lyx.org>
18126
18127         * LaTeX.h: Another bug fix.  Missing std:: this time.
18128
18129 2001-02-04  Allan Rae  <rae@lyx.org>
18130
18131         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18132         floats problem. I've left it commented out because it's not quite
18133         correct.  It should also test that the current object is a table or
18134         figure inset.  But I haven't gotten around to figuring out how to do
18135         that.  I *think* it'll be something like: "table" == inset.type()
18136
18137         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18138         bool.
18139
18140 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18141
18142         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18143         all the citation/databases/styles in the auxilary file.
18144         (run): Rerun latex if there was a babel language error.
18145
18146 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18147
18148         * text.C (Backspace): Preserve the font when changing newline char
18149         with a space.
18150         (BreakParagraph): If the cursor is before a space, delete the space.
18151
18152         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18153
18154 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18155
18156         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18157         new argument (code).
18158         (ChangeCitationsIfUnique): New method.
18159
18160         * paragraph.C (GetPositionOfInset): Handle bibkey.
18161
18162 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18163
18164         * BufferView_pimpl.h: change type of Position::par_pos to
18165         LyXParagraph::size_type.
18166
18167 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18168
18169         * BufferView_pimpl.C (savePosition, restorePosition): Write
18170         messages to minibuffer.
18171
18172 2001-01-28  José Matos  <jamatos@fep.up.pt>
18173
18174         * buffer.C (makeDocBookFile): adds support for document language.
18175         A silly restriction on the name of LatexCommand types where removed.
18176         Added support for CDATA sections, allows to chars unescaped, used
18177         among others in code, to avoid escape < and >.
18178
18179 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18180
18181         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18182         saved positions instrad of a stack. Furthermore, a position is
18183         stored using paragraph id/paragraph position.
18184
18185         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18186         Remove LFUN_REF_BACK.
18187
18188 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18189
18190         * converter.C (dvipdfm_options): New method.
18191
18192 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18193
18194         * vspace.C (isValidLength): Fix for empty input string.
18195
18196 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18197
18198         * LyXAction.C (init): change description of LFUN_FIGURE to
18199         "Insert Graphics"
18200
18201 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18202
18203         * LaTeX.C: add using directive
18204
18205 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18206
18207         * MenuBackend.C (expand): Fix the sorting of the formats.
18208
18209 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18210
18211         * lyx_main.C: tiny error message fix
18212
18213 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18214
18215         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18216         calling fl_initialize(). This fixes the problem with ',' as
18217         decimal separator in text files.
18218
18219 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18220
18221         * trans.C (process): Fix the keymap bug.
18222
18223 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18224
18225         * LaTeX.C (scanAuxFiles): New method. Provides support for
18226         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18227         (scanLogFile) Scan for "run BibTeX" messages.
18228
18229         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18230         OT1 font encoding. Also, load the aecompl package if the ae
18231         package is loaded.
18232
18233         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18234
18235 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18236
18237         * texrow.C (increasePos): turn two error messages into debug
18238         messages.
18239
18240 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18241
18242         * LaTeX.C (scanAux): Handle the \@input macro.
18243         (runBibTeX): Use scanAux().
18244
18245         * language.C (latex_options_): New field.
18246
18247         * LaTeXFeatures.C (getMacros): Add language macros.
18248
18249         * buffer.C (makeLaTeXFile): Small fix.
18250
18251 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18252
18253         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18254
18255         * text2.C: add a using directive.
18256
18257 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18258
18259         * BufferView2.C:
18260         * lyx_gui_misc.h:
18261         * lyxfr1.C:
18262         * lyxfunc.C: kill LyXBell.
18263
18264 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18265
18266         * text.C (IsBoundary): Remove the error message
18267
18268         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18269
18270         * lyxrc.C (setDefaults): Correct initialization value for
18271         font_norm_type.
18272
18273 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18274
18275         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18276         gotoError().
18277
18278         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18279         and GotoNextNote().
18280
18281         * src/LyXAction.C: Added reference-next.
18282
18283         * text.C (InsertChar): Use contains instead of strchr.
18284
18285         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18286
18287 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18288
18289         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18290         alignment commands (when needed).
18291
18292         * text.C (InsertChar): Add ':' to number separator chars.