]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
2dd8e7b8544d0fd0cac13a01c19080b0c0822ca7
[lyx.git] / src / ChangeLog
1 2005-10-05  Angus Leeming  <leeming@lyx.org>
2
3         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
4         always initialised before use.
5
6         * text.C (setHeightOfRow): squash warning about comparison
7         of signed and unsigned types.
8
9 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
10
11         * text.C (cursorX): two fixes involving RtL text drawing
12
13 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14
15         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
16         items, not only large ones (part of bug 2057)
17
18 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
19
20         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
21         argument, use "newcommand".
22
23 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
24
25         * cursor.C (setSelection): do not open collapsable insets;
26         the insets do by themselves now (autoopen).
27
28 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
29
30         * buffer.C: format is up to 244.
31
32 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
33
34         * text.C (redoParagraph): fix calcultation of inset width wrt 
35         leftMargin (bug 1957).
36
37         * text3.C (dispatch): leave inset to the right when hitting ESC 
38         (bug 2034).
39
40 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
41
42         * text2.C: 
43         * text.C: 
44         * factory.C:
45         * messages.C: include <boost/current_function.hpp> 
46
47 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
48
49         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
50         when command is internal. (bug 1941)
51
52 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
53
54         * text2.C (cursorRight): do not honor boundary when at the end of
55         a paragraph. (bug 2010 again)
56
57 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
58
59         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
60
61 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
62
63         * rowpainter.C (paintText): fix RtL space width display bug (2029)
64
65 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
66
67         * text2.C (setCursor): remove the unused 'boundary' parameter for
68         the CursorSlice version; adapt the LCursor version.
69
70         * lyxrc.C (write): 
71         * paragraph_pimpl.C (markErased): 
72         * cursor.C (bruteFind2, bruteFond3): fix warnings.
73
74 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
75
76         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
77         as is already done for "chapter".
78
79 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
80
81         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
82         textclass; do not record undo if nothing is changed.
83
84 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
85
86         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
87
88 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
89
90         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
91
92 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
93
94         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
95         combox, it is necessary to search for the topmost paragraph in the
96         cursor stack (bug 1926)
97
98 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
99
100         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
101         end of paragraph. (bug 2010)
102
103 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
104
105         * text.C (leftMargin): check for inInset == 0
106
107 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
108
109         * text.C (leftMargin): test for insetbase's new neverIndent()
110         bool instead of listing each and every inset that does not
111         wish par indendation.
112
113 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
114
115         * buffer_funcs.C (setCounter): put the code to compute enum label
116         here (where it belongs).
117
118         * counters.C (enumLabel): move code to buffer_funcs.C.
119
120 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
121
122         * outputparams.[Ch]: store local_font instead of local_language
123         * paragraph.C (simpleTeXOnePar): adapt to the change above
124
125 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
126
127         * buffer_funcs.C:
128         * counters.[Ch]: clean up special code for Hebrew.
129
130 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
131
132         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
133         than 2.
134
135 2005-09-08  Angus Leeming  <leeming@lyx.org>
136
137         * ispell.C:
138         * lyxrc.C: correct grammar describing invocation of the
139         spellchecker.
140
141 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
142
143         * text.C (read): remove unused variable.
144         (readParToken): remove static Change variable (never good in
145         recursive settings...); add it as a parameter instead.
146
147         * paragraph_pimpl.C (acceptChange): make debug info conditional.
148
149         * metricsinfo.C (PainterInfo): add new member erased_.
150
151         * rowpainter.C (RowPainter): add erased_ member, initialized from
152         PainterInfo. 
153         (paintInset): pass erased_ to Inset::draw.
154
155         * lyxfunc.C (lookupChange): new function. Tells whether change 
156         tracking is disabled at a given postion.
157         (getStatus): disable some actions when in deleted text with change
158         tracking. 
159
160 2005-08-03  John Levon  <levon@movementarian.org>
161         
162         * tabular.C (appendColumn, setMultiColumn): adapt to change to
163         InsetText::clear().
164
165         * paragraph_pimpl.C (markErased): add bool argument and handle it.
166         Also make sure to mark insets recursively.
167         (rejectChange, erase): be recursive
168
169         * paragraph.C (markErased): add bool argument.
170 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
171
172         * lyxfind.C (findNextChange): tiny cleanup.
173
174         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
175         change tracking with the cursor in an inset; make sure the first
176         change is not skipped.
177
178 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
179
180         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
181         tabularStackDirty to work around bug 1919 (tabular needs
182         to know whether its own cell paste buffer or the one of 
183         texted is newer.
184         * CutAndPaste.C: mark tabular_stack_ clean after copy.
185
186 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
187
188         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
189
190 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
191
192         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
193         use old deleteion algorithm when changetracking is on.
194
195 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
196
197         * messages.C (get): add debug output.
198
199 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
200
201         * text.C (cursorX): fix bug 1965: cursor movement at
202         line end broken in RtL.
203         (drawSelection): fix bug 1970: drawing of single-line 
204         selection broken for RtL.
205
206 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
207
208         bug 465.
209
210         * dociterator.h (clear, push_back, pop_back): change from
211         protected to public.
212
213         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
214         and changed to just return the value of the item depth; take a
215         ParIterator as argument; take the itemdepth at outer nesting level
216         in account if necessary; cleanup and comment the code.
217         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
218         and changed to just return true if reset is needed; take a
219         ParIterator as argument; cleanup and comment the code.
220         (setCounter): adapt to above changes.
221
222 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
223
224         * text3.C (dispatch): make debug message optional
225
226 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
227
228         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
229         inset. (bug 1963)
230
231 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
232
233         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
234
235 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
236
237         * text.C (insertChar):
238         * text2.C (deleteEmptyParagraphMechanism): take care whether 
239         a blank has been deleted (in change tracking mode) (bug 1254).
240
241 2005-07-20  John Levon  <levon@movementarian.org>
242
243         * text2.C (insertStringAsLines): remove old dubious code,
244         fixing bug 1939.
245
246 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
247
248         * MenuBackend.C (expandToc): use Floating::listName() as title of
249         the floats submenus.
250
251 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
252
253         * toc.[Ch]: Do not use translatable strings (bug 1870).
254
255 2005-07-20  John Levon  <levon@movementarian.org>
256
257         * tabular.C: fix 1748 - setting multicolumn adds
258           left line to the first cell
259
260 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
261
262         bug 1920
263         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
264         pars in one go.
265
266 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
267
268         * messages.C: supress some lyxerr messages
269
270 2005-07-18  Juergen Vigna  <jug@lyx.org>
271
272         * text.C (drawSelection): honor boundary when asking for cursorX.
273
274 2005-07-17  José Matos  <jamatos@fc.up.pt>
275
276         * tabular.C (recalculateMulticolumns): fix handling of one column
277         tables.
278
279 2005-07-17  Juergen Vigna  <jug@lyx.org>
280
281         * text.C (Delete, backspace): fixed so that paragraph with the
282         same layout can be merged by Delete/Backspace.
283
284 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
285
286         * text.C (readParToken): fix spelling.
287
288 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
289
290         * text2.C: fix counter update for DEPM problem reported by
291         Georg Baum
292
293 2005-07-17  Juergen Vigna  <jug@lyx.org>
294
295         * BufferView_pimpl.C (setBuffer): save/restore the
296         cursor/selection when switching buffers
297
298         * buffer.h: 
299         * buffer.C (saveCursor): add saveDocumentIterators to save the
300         cursor when switching buffer.
301
302 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
303
304         * debug.C: fix typo
305         * buffer.C: clarify message
306         
307 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
308
309         * dociterator.C (DocIterator): fix initialization order
310
311 2005-07-17  Juergen Vigna  <jug@lyx.org>
312
313         * text2.C (cursorHome): 
314         * text.C (drawSelection, cursorX): 
315         * dociterator.C (textRow): add boundary to getRow() call
316
317         * paragraph.C (getRow): implementation of below
318
319         * paragraph.h: add parameter boundary for getRow() function
320
321 2005-07-17  José Matos  <jamatos@fc.up.pt>
322
323         * buffer.C:
324         * bufferparams.[Ch]:
325         * tex-strings.[Ch]: new file format, remove support for a4.sty,
326         a4wide.sty and a4widemargins.
327
328 2005-07-17  Juergen Vigna  <jug@lyx.org>
329
330         * text2.C (cursorLeft): fix one of error
331
332 2005-07-17  Juergen Vigna  <jug@lyx.org>
333
334         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
335                    cursorEnd):
336         more fixes for boundary handling
337
338         * text3.C (dispatch): don't reset cursor if boundary has changed
339         on cursor movement.
340
341 2005-07-16  Juergen Vigna  <jug@lyx.org>
342
343         * text2.C (getColumnNearX): hopefully got it right now,
344         check if we are on column 0 for special case.
345
346 2005-07-16  Juergen Vigna  <jug@lyx.org>
347
348         * text2.C (getColumnNearX): handle special case Newline Inset
349
350         * text.C (singleWidth): Just remove bogus check
351
352 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
353
354         * funcrequest.C (split): avoid reading uninitialized char c
355
356 2005-07-16  José Matos  <jamatos@fc.up.pt>
357
358         * buffer.C:
359         * converter.C:
360         * lyxrc.C:
361         * paper.h:
362         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
363         single papersize variable.
364
365 2005-07-16  Juergen Vigna  <jug@lyx.org>
366
367         * text3.C (dispatch): honor boundary when checking if a cursor
368         movement has been done
369
370         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
371         (setCursor, setCursorIntern): fix cursor movement with boundary
372
373 2005-07-16  Juergen Vigna  <jug@lyx.org>
374
375         * text.C (currentState): output the actual Boundary
376
377 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
378
379         * factory.C (createInset): fix bad logic for tabular creation
380
381 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
382
383         * lyx_main.C (init): change some reLyX reference to tex2lyx
384
385 2005-07-16  Juergen Vigna  <jug@lyx.org>
386
387         * dociterator.C (DocIterator): initialize boundary
388
389 2005-07-16  Juergen Vigna  <jug@lyx.org>
390
391         * text2.C (getColumnNearX): Consider rows without trailing blank.  
392
393 2005-07-16  André Pönitz  <poenitz@gmx.net>
394
395         * lyxfont.h: Change order of declarations to give the compiler
396         a better chance to inline things
397
398         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
399         questions on unsaved docs for better scritability
400
401 2005-07-16  André Pönitz  <poenitz@gmx.net>
402
403         * paragraph.h (getChar): remove asserts as the same kind of security
404         can be achieved by using a suitable standard library implementation
405         and the function was in the critical path (25.9% in profiler)
406
407 2005-07-16  Juergen Vigna  <jug@lyx.org>
408
409         * cursor.C (bruteFind2):
410         * bufferview_funcs.C (coordOffset): 
411         * text.C (cursorX,cursorY): Handle cursor position after last char
412         in row before a inset which uses a whole row.
413
414 2005-07-15  José Matos <jamatos@lyx.org>
415
416         * output_plaintext.[Ch] (writeFileAscii): control reference title
417         printing.
418         (asciiParagraph): noparbreak was already deal and was incorrectly
419         used.
420
421 2005-07-15  Juergen Vigna <jug@lyx.org>
422
423         * lyxfunc.C (dispatch): save and restore the cursor after a
424         textclass switch.
425
426 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
427
428         * text.C (backspace): bug 806 for empty keepempty paragraphs we
429         change the layout to default before letting DEPM do its thing.
430
431         * paragraph_funcs.C (breakParagraph): dont reset the layout on
432         keepEmpty paragraphs
433
434         * text.C (setCursorFromCoordinates): add a debug statement
435
436         * text2.C (getColumnNearX): bug 1825 make sure that we don't
437         return a pos that is not on the row
438
439         * output_latex.C (TeXDeeper): get rid of potential dereferencing
440         of past the end iterator
441
442 2005-07-14  André Pönitz  <poenitz@gmx.net>
443
444         * undo.C (recordUndoFullBuffer): implement undo for
445         textclass switches
446
447 2005-07-14  André Pönitz  <poenitz@gmx.net>
448
449         * cursor.C (setSelection): open insets when selection is set there
450         to avoid crashs with cold coord cache
451
452 2005-07-14  André Pönitz  <poenitz@gmx.net>
453
454         * trans_mgr.C (insert): move cursor to the right after inserting
455         a char.
456
457 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
458
459         * BufferView_pimpl.C (update): dampen some of the debug blabbering
460         * factory.C (readInset): ditto
461         * text.C, text2.C: ditto
462
463 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
464
465         * buffer.C: format incremented to 242. There is no file format per
466         se, but the "frenchb" language has been removed from lib/language
467         and has to be translated to "french" by lyx2lyx.
468
469 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
470
471         * cursor_slice.h, dociterator.h: add some documentation
472         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
473
474 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
475
476         * text.C (leftMargin): do not add identation to display() style
477         insets, because they are always centered (bug 1293).
478
479 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
480
481         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
482         formatted_time methods in support/lyxtime.
483
484 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
485
486         * toc.[Ch]: new method getGuiName, which is used by the frontends 
487         to set the toc combo (fixes bug 1870). Make TOC string translatable.
488
489 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
490
491         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
492         StableDocIterator const &)
493         * undo.C (recordUndo): use the above instead of cell.size() comparison
494         (fixes bug 1808; instructed by Andr�.
495
496 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
497
498         * cursor_slice.h: 
499         * dociterator.h: Fix the assert when copying rows/cols in math
500
501 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
502
503         * BufferView_pimpl.C:
504         * LyXAction.C:
505         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
506
507         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
508         (findInset): new functions, refactored from goto Inset that return 
509         the position of a certain inset without setting the buffer's cursor
510         (by Jean-Marc); 
511         (gotoInset): rewrite to call findInset and then set the cursor
512         (by Jean-Marc).
513
514 2005-06-16  Angus Leeming  <leeming@lyx.org>
515
516         * lyxrc.C (output, read): wrap all input and output of paths with
517         calls to os::internal_path and os::external_path, respectively.
518         (output): wrap bind_file inside quotes.
519
520         * format.C (view): enable the viewer to use the '$$s' placeholder.
521
522 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
523
524         * LColor.[Ch] (getFromLaTeXName): new
525
526 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
527
528         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
529
530 2005-06-14  Angus Leeming  <leeming@lyx.org>
531
532         * lyx_main.C (init): ensure that the LyX binary dir is the first
533         element in the PATH on non-POSIX builds.
534
535 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
536
537         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
538
539 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
540
541         * rowpainter.C (paintInset, paintHebrewComposeChar)
542         (paintArabicComposeChar, paintChars): add a LyXFont argument.
543         (paintChars): use getFontSpan to reduce calls to getFont to a
544         minimum; use Paragraph::lookupChange instead of isXXXText.
545         (paintForeignMark): rename LyXFont argument.
546         (paintFromPos): pass a LyXFont object to the various paintXXX
547         methods.
548
549         * FontIterator.C (FontIterator, operator++): use
550         Paragraph::getFontSpan
551
552         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
553         version that returns the font span as a pair.
554
555 2005-06-09  Angus Leeming  <leeming@lyx.org>
556
557         * converter.C (convert): Don't forget "outfile = real_outfile" as
558         the final step in a conversion where the input and output file names
559         are the same. Otherwise, future conversion steps won't work...
560
561 2005-06-09  Angus Leeming  <leeming@lyx.org>
562
563         * lyxsocket.C: remove stub code as it isn't needed by
564         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
565
566 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
567
568         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
569         effectively disabled -x
570
571 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
572
573         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
574         when it actually makes sense.
575
576 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
577
578         * BufferView_pimpl.C: revert to showCursor in connection with
579         Lars's front-end stack
580
581 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
582
583         * text.C (redoParagraph): move cursor right after a bibitem
584         has been inserted.
585
586         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
587
588 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
589
590         * buffer_funcs.C (bufferErrors): fix computation of the end of an
591         error range.
592
593 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
594
595         * BufferView.[Ch] (update):
596         * BufferView_pimpl.[Ch] (update, metrics):
597         * dimension.h (operator==):
598         * lyxfunc.C (dispatch):
599         * metricsinfo.h (ViewMetricsInfo):
600         * rowpainter.C (paintText):
601         * lyxtext.h:
602         * text.C (redoParagraph):
603         * text3.C (dispatch): Make LyX only repaint current paragraph in
604         case of character insert --> speedup. Also fix cursor draw
605         artifacts
606
607 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
608
609         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
610         avoid a crash (bug 1891)
611
612 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
613
614         Fix bug 1892:
615
616         * text2.C (getStringToIndex): constify cur argument.
617
618         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
619         argument has been given
620         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
621         try to invoke LFUN_INSET_APPLY).
622
623         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
624         if no inset was created by doInsertInset
625         (doInsertInset): return true if an inset has been inserted.
626
627 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
628
629         * vspace.C (asGUIName): new method. A version of the space
630         suitable for showing on screen.
631
632 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
633
634         * MenuBackend.C:
635         * lyxrc.C: rename "ASCII" to "Plain Text"
636
637 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
638
639         * buffer_funcs.C (expandLabel): take a Buffer as argument;
640         translate the labelstring.
641         (setCounter): translate labelstring as needed.
642
643         * output_docbook.C (makeCommand): fix expandLabel invokation
644
645 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
646
647         * BufferView.C: fix dialog title
648
649 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
650
651         * lyx_main.C (priv_exec): fix logic error with help from Angus
652         * lyx_main.C (parse_execute): set is_gui = false and remove now
653         obsolete comment about a segfault
654
655 2005-05-18  Angus Leeming  <leeming@lyx.org>
656
657         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
658
659 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
660
661         * tabular.[hC]: added setCellInset to fix tabular paste.
662
663 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
664
665         * buffer.C (save): check if destination is writable before trying
666         to copy a file
667
668 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
669
670         * BufferView_pimpl.C (update): fix processEvents -caused update
671         recursion bug
672
673 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
674
675         * buffer_funcs.C (setCounter): fix test for numbering of
676         environments.
677
678         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
679         depth correctly; use optional argument when it exists
680
681         * lyxtextclass.C: remove unused MaxCounterTags enum
682         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
683         (max_toclevel, min_toclevel): new methods.
684
685         * MenuBackend.C (expandToc2): fix case where depth is smaller than
686         the smallest depth in toc.
687
688         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
689         layouts that should not appear in a table of contents.
690
691 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
692
693         * cursor.h (undispatched, noUpdate): add comments from Andr�
694 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
695
696         * lfuns.h:
697         * LyXAction.C:
698         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
699
700 2005-05-07  André Pönitz  <poenitz@gmx.net>
701
702         * cursor.[Ch] (leaveInset): new function
703
704 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
705
706         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
707
708 2005-05-04  Angus Leeming  <leeming@lyx.org>
709
710         * lyxfunc.C (getStatus): disable the spell checker dialog if
711         none of USE_[AIP]SPELL are defined.
712
713 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
714
715         * tabular.C (setWidthOfCell): remove obsolete comment
716
717 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
718
719         * paragraph.C (bibitem):
720         * buffer_funcs.C (setCounter):
721         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
722
723 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
724
725         * text3.C (getStatus): immediately return after setOnOff
726
727         * rowpainter.C: fix drawing of appendix start
728
729 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
730
731         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
732         SwitchBetweenClasses and remove the unused return value.
733         Handle character styles, too
734
735 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
736
737         * factory.C (createInset): handle undefined character styles
738
739 2005-05-02  Angus Leeming  <leeming@lyx.org>
740
741         * buffer.C: protect the #include of utime.h with a preprocessor
742         guard.
743
744 2005-05-02  Angus Leeming  <leeming@lyx.org>
745
746         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
747         function so that auto-saving works, albeit in a blocking manner.
748
749         * Makefile.am: make compilation of the client sub directory, of
750         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
751         on conditionals set at configure time.
752
753         * SpellBase.[Ch]: no longer an abstract base class. Instead,
754         it can be compiled in its own right but has no-op functionality.
755
756         * aspell.C, pspell.C: remove preprocessor guards. The files should
757         be compiled only if the necessary functionality exists.
758
759         * lyxserver.C, lyxsocket.C: disable on Windows.
760
761 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
762
763         * text.C (leftMargin): Fix the parindent use bug (1764)
764         by dirty trick
765
766 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
767
768         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
769         argument.
770
771 2005-04-25  Angus Leeming  <leeming@lyx.org>
772
773         * Bidi.[Ch]:
774         * coordcache.[Ch]:
775         * ispell.C:
776         * lyxserver.C:
777         * mover.C:
778         * pch.h:
779         include <config.h> in .C files, not .h ones.
780         add licence blurb.
781         protect headers inside preprocessor guards.
782
783 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
784
785         * FuncStatus.h (StatusCodes): document
786
787 2005-04-21  André Pönitz  <poenitz@gmx.net>
788
789         * FuncStatus.h (enabled, onoff): document
790
791 2005-04-19  Angus Leeming  <leeming@lyx.org>
792
793         * BufferView_pimpl.C (cursorToggle): no longer test whether
794         any child processes have been reaped before calling
795         handleCompletedProcesses().
796
797 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
798
799         * text3.C (dispatch): fix, finally fix, the language problem in
800         new lyxtexts, without disabling on-the-fly font changes (Helge's
801         bug report)
802
803 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
804
805         * text3.C (dispatch): set cursor on double/triple click events
806         (bug 1811)
807
808 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
809
810         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
811         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
812
813         * rowpainter.C (paintFirst): simplify the code a little bit. In
814         particular, remove the test for secnumdepth.
815         * text.C (setHeightOfRow): only allocate space for chapter number
816         when updateCounters provided an actual label, instead of looking
817         at secnumdepth directly.
818
819         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
820
821         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
822         paragraphs when secnumdepth is large enough or, for environments,
823         when they are not the first in a sequence.
824
825 2005-04-17  Angus Leeming  <leeming@lyx.org>
826
827         * buffer.C (makeLaTeXFile): replace code to manipulate a path
828         containing space and '~' characters with a call to latex_path().
829
830 2005-04-17  Angus Leeming  <leeming@lyx.org>
831
832         * converter.C (convert): protect all args of convertDefault.sh
833         script with quotes.
834
835 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
836
837         * text3.C (dispatch): change the layout to "Caption" after inserting
838         a float.
839
840 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
841
842         * text3.C (dispatch): fix language problem in newly created
843         textinsets (and main text) in non-english docs
844
845 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
846
847         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
848         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
849         * text3.C (getStatus): disable LFUN_INSET_MODIFY
850
851 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
852
853         * lyxtext.h:
854         * text.C (metrics):
855         * text2.C (getFont):
856         * rowpainter.C (getFont): Fix metrics bug introduced by inset
857         fonts fix
858
859 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
860
861         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
862         output of \item arguments without trailing text.
863
864 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
865
866         * FontIterator.C (operator*): avoid a copy of the font.
867
868 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
869
870         * rowpainter.C (getFont): fix language bug from previous fix
871
872 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
873
874         * rowpainter.C (RowPainter, getFont): fix font inside inset
875         (bugs 1766, 1809)
876
877 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
878
879         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
880         preventing inserted font, deco, delim insets jumping to start of
881         surrounding inset.
882
883 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
884
885         * lyxfunc.C (dispatch): translate message before sending it to the
886         minibuffer.
887
888 2005-03-29  Angus Leeming  <leeming@lyx.org>
889
890         * lyx_main.C (priv_exec): call os::internal_path on each file passed
891         to LyX on the command line.
892
893 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
894
895         * vc-backend.C: use QuoteName to protect file names wherever
896         necessary.
897
898 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
899
900         * buffer.[Ch]:
901         * BranchList.h: fix bugs 1844,1845: document settings don't
902         stick
903
904 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
905
906         * lyxrc.C (setDefaults, read, output, getDescription): add support
907         for tex_allows_spaces.
908
909         * exporter.C (Export): allows files in directory containing spaces
910         if tex_allows_spaces is true.
911
912         * buffer.C (makeLaTeXFile): if the document path contains spaces,
913         output it in double quotes.
914
915 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
916
917         * rowpainter.C: use default text height for drawing change tracker
918         strikeout lines.
919
920 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
921
922         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
923
924 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
925
926         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
927         directory is missing.
928
929 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
930
931         * text2.C: fixed the fix, extended to other case.
932
933 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
934
935         * text2.C: fix for cursor up/down stuck in math [bug 1792]
936
937 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
938
939         * text2.C (cursorUp): get rid of a crash
940         * text.C (x2pos): add an assert
941
942 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
943
944         * lyxfunc.C (getStatus): fix warning when assertions are disabled
945
946         * text3.C:
947         * lyxfunc.C:
948         * dociterator.C: include <boost/current_function.hpp>, which is
949         needed when assertions are disabled.
950
951 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
952
953         * text2.C: fix for stuck cursor when traversing two
954         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
955
956 2005-02-25  Andreas Vox  <avox@arcor.de>
957
958         * output_docbook.C (makeParagraph): suppress trailing newline
959         after a run of paragraphs
960
961 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
962
963         * paragraph.C: fix for confused change tracker when pasting
964         text that begins with a lineseparator. [bug 1827]
965         (setChange(0, Change::INSERTED);)
966
967         * paragraph_funcs.C: fix for lost changes on triple-paste
968         in change tracking mode [bug 1827] (par.setChange()).
969
970 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
971
972         * text2.C (updateCounters, setCounter, expandLabel): move to
973         buffer_funcs.
974
975         * buffer_funcs.C (updateCounters): turn into a free standing
976         function and add a buffer parameter. Remove dead code for tracking
977         labelstring change.
978         (setCounter): change into a free-standing function which gets a
979         dociterator as argument. Use this iterator to fix captions in a
980         simple way. When no float is found above the caption, use the
981         labelstring of the caption layout as default.
982
983         * text.C (breakParagraph, backspace):
984         * text2.C (init, setLayout, changeDepth):
985         * text3.C (dispatch):
986         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
987         updateCounters.
988
989         * dociterator.C (forwardPar): make it much faster by calling
990         forwardPos() only when really necessary.
991
992         * output_docbook.C (makeCommand): adapt to expandLabel move.
993
994         * cursor.C: remove unused variable
995
996 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
997
998         * paragraph_funcs.C: fix crash when pasting insets in change
999         tracking mode [bug 1277] (honour change type in moveItem).
1000
1001 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1002
1003         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1004
1005 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1006
1007         * BufferView.C (setCursor): change to use a DocIterator.
1008         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1009         (putSelectionAt): adapt to BufferView::setCursor change.
1010
1011         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1012         moved here from LyXText and rewritten to use proper cursor
1013         methods. Fixes bug 1787, 616 and 835.
1014
1015         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1016         when inside an inset (part of bug 781).
1017         (dispatch): adapt to change of BufferView::setCursor.
1018         (getStatus, dispatch): handle LFUN_GOTOERROR,
1019         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1020
1021         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1022         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1023         * text3.C (gotoNextInset, gotoInset): removed.
1024
1025 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1026
1027         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1028
1029 2005-02-15  Angus Leeming  <leeming@lyx.org>
1030
1031         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1032         can be used meaningfully in a comparison.
1033
1034 2005-02-13  André Pönitz  <poenitz@gmx.net>
1035
1036         * bufferview_funcs.C (coordOffset): improve cursor drawing
1037
1038 2005-02-13  André Pönitz  <poenitz@gmx.net>
1039
1040         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1041         * Cursor.C (dispatch): use fixIfBroken
1042         * lyxfunc.C (getStatus): use fixIfBroken
1043
1044 2005-02-15  Angus Leeming  <leeming@lyx.org>
1045
1046         * lyx_main.C (error_handler):
1047         * lyxfunc.C:
1048         * lyxrc.C (setDefaults):
1049         s/GetEnv/getEnv/.
1050         #include "environment.h".
1051
1052         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1053
1054 2005-02-15  Angus Leeming  <leeming@lyx.org>
1055
1056         * lyxserver.C (startPipe): squash MSVC warning "local variable
1057         'fd' used without having been initialized".
1058
1059 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1060
1061         * BufferView_pimpl.C: revert accidental commit.
1062
1063 2005-02-14  André Pönitz  <poenitz@gmx.net>
1064
1065         * dociterator.[Ch]: new member forwardPosNoDescent(),
1066         which doesn't enter nested insets.
1067         * text2.C (setFont): use forwardPosNoDescent() instead
1068         of ForwardPos() (fixes crash on font change).
1069
1070 2005-02-13  Angus Leeming  <leeming@lyx.org>
1071
1072         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1073         only if lyxrc.path_prefix is not empty.
1074
1075 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1076
1077         * bufferparams.C (readGraphicsDriver): prevent crash
1078
1079 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1080
1081         * text2.C (setCounter): check for inInset() == 0
1082
1083 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1084
1085         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1086         but use update() to get correct screen display; use convert
1087         instead of istringstream.
1088         (getStatus): handle LFUN_GOTO_PARAGRAPH
1089
1090         * lyxfunc.C (dispatch, getStatus): do not handle
1091         LFUN_GOTO_PARAGRAPH here.
1092
1093 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1094
1095         * text3.C (dispatch): size() -> depth()
1096
1097         * text2.C: remove some debug output
1098
1099         * paragraph.C: ws changes only
1100
1101         * lyxfunc.C (getStatus): size() -> depth()
1102
1103         * dociterator.h (clear, push_back, pop_back, internalData,
1104         operator[], resize, empty): new functions
1105         Make StableDocIterator and operator== be friends. Don't inherit
1106         from std::vector use a privat class variable slices_ instead.
1107         Modify to fit.
1108
1109         * dociterator.C: update because of not inheriting from std::vector
1110         anymore. Call explictly to slices_ instead. Use depth() instead of
1111         size() and top() instead of back()
1112
1113         * cursor.C: chagne size() -> depth and back() -> top(). Also
1114         remove some direct operator[](i) calls in favour of foo[i]
1115         (getFont): remove some dead code
1116
1117         * bufferview_funcs.C (coordOffset): size() -> depth()
1118
1119         * buffer.C: ws changes only
1120
1121         * CutAndPaste.C (eraseSelection): back() -> top()
1122
1123         * BufferView_pimpl.C (selectionRequested): back() -> top()
1124
1125         * BufferView.C (setCursor): size() -> depth()
1126
1127 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1128
1129         * text3.C (cursorPrevious): return true if depm changed something
1130         (cursorNext): ditto
1131         (dispatch): rename sl to oldTopSlice, remove moving use the new
1132         NoUpdate func attrib instead. Make sure that needsUpdate is set
1133         for function that have NoUpdate, but where depm might have changed
1134         the buffer anyway.
1135
1136         * text2.C (cursorLeft): make us return true if depm changed
1137         something
1138         (cursorRight): ditto
1139         (cursorUpParagraph): ditto
1140         (curosrDownParagraph): ditto
1141         (cursorUp, cursorDown): ditto, make sure to read comments in code
1142         (deleteEmptyParagraphMechanism): remove an assert, also return
1143         true if just a single char was deleted.
1144
1145         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1146         cursor that we modify, to avoid modifying an active cursor before
1147         we call setCursor. This allows depm to run. Also return true if
1148         depm deleted something.
1149
1150         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1151         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1152         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1153         something was changed in the buffer because of them (ie. depm run)
1154
1155         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1156         debug messages. Make update by default be false. Make sure that
1157         the result of update is retained throught several calls down to
1158         dispatch.
1159
1160         * LyXAction.h: add a new func_attrib: NoUpdate
1161
1162         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1163         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1164         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1165         and LFUN_WORDLEFT
1166         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1167
1168 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1169
1170         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1171         bv_->owner(), bv_->buffer() by direct references to the private
1172         members.
1173         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1174         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1175         (fitCursor): center() is in BufferView::Pimpl.
1176         (getStatus, trackChanges, dispatch): no need for a temporary buf
1177         variable
1178         (fitCursor, workAreaDispatch): use workarea().workheight()
1179
1180 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1181
1182         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1183
1184 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1185
1186         * buffer.C: format up to 241.
1187         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1188         break if pasting into ERT
1189         * lyxfunc.C (getStatus): suppress mathpanel and
1190         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1191
1192 2005-02-01  Angus Leeming  <leeming@lyx.org>
1193
1194         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1195
1196 2005-02-01  Angus Leeming  <leeming@lyx.org>
1197
1198         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1199         calling fs::is_directory().
1200
1201 2005-01-31  Angus Leeming  <leeming@lyx.org>
1202
1203         * lyx_main.C (priv_exec): specify explicitly the relative location
1204         of the top level build directory when run in-place.
1205
1206 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1207
1208         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1209         LyXText containing the cursor, not the top-level one.
1210
1211         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1212         true.
1213         (insertStringAsLines): rename par to pit; use temporary variable
1214         par to hold a Paragraph; do not store par.layout() in a variable,
1215         since the pointer may die when breaking paragraphs; pass pars to
1216         breakParagraph() instead of Buffer::paragraphs().
1217
1218 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1219
1220         * lyxlex_pimpl.h: #include <fstream>.
1221
1222         * BufferView.[Ch] (getLyXText): add a const version.
1223
1224         * BufferView_pimpl.C: add debug aids.
1225
1226         * RowList_fwd.h:
1227         * buffer.h:
1228         * lyxrow.h:
1229         * paragraph_funcs.h: add commentary explaining what the class does.
1230
1231
1232         * coordcache.[Ch]: add lots of commentary.
1233         (startUpdating, doneUpdating): debug aids.
1234         (arrays, insets, parPos, getParPos): accessors to private data.
1235
1236         * cursor_slice.[Ch] (text): add a const version.
1237         * dociterator.[Ch] (text, innerText): add const versions.
1238
1239         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1240         bool.
1241
1242         * paragraph.C (getRow, pos2ros): add asserts.
1243
1244         * paragraph.h: add commentary. Lots of.
1245
1246         * paragraph.[Ch] (metrucs, draw): removed.
1247
1248         * cursor.C:
1249         * rowpainter.[Ch]: const-correct changes.
1250
1251         * text.C: various obvious clean-ups. Removal of ancient cruft.
1252         Bug fixes, even.
1253
1254 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1255
1256         * vc-backend.C (find_file): rewrite to use boost.filesystem
1257         (scanMaster): ditto
1258
1259         * main.C (main): set default name check for boost.filesystem to
1260         no check
1261
1262         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1263         (open): ditto
1264         (doImport): ditto
1265         (actOnUpdatedPrefs): ditto
1266
1267         * lyx_main.C (init): rewrite to use boost.filesystem
1268         (queryUserLyXDir): ditto
1269
1270         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1271         (getContentsOfAsciiFile): ditto
1272
1273         * lastfiles.C (readFile): rewrite to use boost.filesystem
1274
1275         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1276
1277         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1278         (loadLyXFile): ditto
1279
1280         * buffer.C (Buffer): adjust for destroydir
1281         (getLogName): rewrite to use boost.filesystem
1282         (setFileName): ditto
1283         (save): use fs::copy_file (from fs_extras)
1284
1285         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1286
1287         * LaTeX.C (run): rewrite to use boost.filesystem
1288         (scanAuxFiles): ditto
1289         (handleFoundFile): ditto
1290
1291 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1292
1293         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1294
1295         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1296
1297 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1298
1299         * lyxlayout.[Ch]: change some vars from float to double
1300
1301         * buffer.C (readFile): make a local var const
1302
1303         * Several files: use convert<> instead of atoi,strToXXX and friends
1304
1305 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1306
1307         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1308         holds the contents of packages.lst. New functions getAvailable
1309         and isAvailable to parse and check that list, resp.
1310
1311         * LyXAction.C:
1312         * lfuns.h:
1313         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1314
1315         * bufferparams.[Ch]: new param output_changes.
1316
1317         * Buffer.C: increase file format to 240.
1318         Use output_changes and isVailable.
1319
1320         * changes.[Ch]:
1321         * paragraph.C:
1322         * paragraph_pimpl.C: Use output_changes and isVailable.
1323
1324 2005-01-23  Angus Leeming  <leeming@lyx.org>
1325
1326         * output_latex.C: #include "insetbibitem.h", rather than
1327         forward declare function bibitemWidest.
1328
1329 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1330
1331         * lyx_main.C (init): make it compile on the Mac.
1332
1333 2005-01-20  Angus Leeming  <leeming@lyx.org>
1334
1335         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1336         (setLyXMisc): (char string literal) != (char string literal) is
1337         performing a comparison on the addresses. Convert one operand
1338         explicitly to string to guarantee expected behaviour.
1339         From MSVC warning.
1340
1341 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1342
1343         * buffer.C:
1344         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1345
1346         * output_plaintext.C: remove unneeded #include gzstream.h.
1347
1348 2005-01-20  Angus Leeming  <leeming@lyx.org>
1349
1350         * SpellBase.h: rename some of the elements of the Result enum.
1351
1352         * aspell_local.h:
1353         * ispell.h:
1354         * pspell.h:
1355         * aspell.C (check):
1356         * ispell.C (check):
1357         * pspell.C (check): ditto
1358
1359 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1360
1361         * buffer.C: add #include <fstream>.
1362
1363         * lyx_main.C (init): Compile fix.
1364
1365         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1366
1367 2005-01-20  Angus Leeming  <leeming@lyx.org>
1368
1369         * mover.h: change commentary to reflect the changed meaning of
1370         the $$s placeholder.
1371
1372 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1373
1374         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1375
1376         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1377
1378 2005-01-20  Angus Leeming  <leeming@lyx.org>
1379
1380         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1381         printing diagnostic data by not dereferecing an iterator past the
1382         end.
1383
1384 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1385
1386         * buffer.C (readHeader): use "&&" rather than "and".
1387
1388         * lyxserver.h (inPipeName, outPipeName): make these const.
1389
1390 2005-01-19  Angus Leeming  <leeming@lyx.org>
1391
1392         * lyx_main.C (error_handler, init): protect SIGHUP with
1393         #ifdef SIGHUP guards.
1394
1395 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1396
1397         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1398
1399 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1400
1401         * text.C (setHeightOfRow): add a margin at the top and bottom of
1402         the document (bug 1761)
1403
1404 2005-01-17  Angus Leeming  <leeming@lyx.org>
1405
1406         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1407         with "python ". Workaround for a brain-dead Windows.
1408
1409 2005-01-16  Angus Leeming  <leeming@lyx.org>
1410
1411         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1412         for MacOSX and Windows to use prependEnvPath.
1413         Strip out the hard-coded block to add elements to the PATH for
1414         MacOSX and replace it with a call to prependEnvPath using the
1415         contents of LyXRC::path_prefix.
1416         (queryUserLyXDir): strip out the code to run reconfigure, instead
1417         returning a boolean indicating the necessity to do so.
1418         (reconfigureUserLyXDir): contains the code to reconfigure the
1419         user support directory. Is now called after the various LyXRC data
1420         files have been read.
1421
1422         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1423
1424 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1425
1426         * converter.[Ch] (convert): take a new parameter try_default. Use
1427         a default converter (imagemagick) if try_default is true.
1428
1429 2005-01-13  Angus Leeming  <leeming@lyx.org>
1430
1431         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1432         os::cygwin_path_fix.
1433         (write): output LyXRC::cygwin_path_fix as necessary.
1434
1435 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1436
1437         * lyxrc.h:
1438         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1439
1440 2005-01-12  Angus Leeming  <leeming@lyx.org>
1441
1442         * lyx_main.C (init): set the PATH variable to include the
1443         directory containing the LyX binary when running on Mac or Windows.
1444
1445 2005-01-12  Angus Leeming  <leeming@lyx.org>
1446
1447         * lyx_main.C (init): remove cruft that purports to set the locale
1448         dir. It doesn't and is not needed anyway.
1449
1450 2005-01-10  Angus Leeming  <leeming@lyx.org>
1451
1452         * Makefile.am: remove the lyx_main.C special casing.
1453
1454         * BufferView_pimpl.C:
1455         * bufferlist.C:
1456         * exporter.C:
1457         * lyx_cb.C:
1458         * lyx_main.C:
1459         * lyxfunc.C:
1460         * messages.C: use support/package.h to provide the paths to the
1461         various directories used by LyX.
1462
1463 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1464
1465         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1466         layout if pasting into an empty paragraph)
1467
1468 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1469
1470         * tex-accent.C: add <string>
1471
1472 2005-01-06  José Matos  <jamatos@lyx.org>
1473
1474         * ParagraphParameters.C (write): put every parameter in its own line.
1475         * paragraph.C (write): reduce number of consecutive empty lines exported.
1476         * buffer.C (LYX_FORMAT): increase file format to 239.
1477
1478 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1479
1480         * everywhere: change support/tostr.h -> support/convert.h
1481
1482         * tabular.C: make all write_attributes templates, tostr -> convert
1483
1484         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1485         (emptyTag): and -> &&, and fix type for ret from getChar
1486         (getFirstWord): fix type for ret from getChar
1487         (onlyText): and -> &&
1488         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1489         getChar
1490
1491         * toc.C (goTo, action):
1492         * text3.C (dispatch):
1493         * text.C (currentState):
1494         * tex-accent.C (DoAccent):
1495         * sgml.C:
1496         * lyxrc.C:
1497         * lyxfunc.C (menuNew):
1498         * lyxfinc.C (replace):
1499         * counters.C (laberItem):
1500         * bufferview_funcs.C (font2string):
1501         * bufferparams.C (writeFile):
1502         * buffer.C (readFile):
1503         * Spacing.C (set):
1504         * MenuBackend.C: tostr -> convert
1505
1506         * LaTeX.C (runMessage): fix format
1507         (scanAuxFiles): tostr -> convert
1508
1509         * BufferView_pimpl.C (savePosition): fix format
1510         (restorePosition): ditto
1511         (dispatch): ditto
1512
1513 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1514
1515         * Spacing.[Ch]: New method getValueAsString().
1516
1517         * Spacing.[Ch]:
1518         * bufferparams.C:
1519         * ParagraphParameters.C:
1520         * lyxlayout.C:
1521         * text.C:
1522         * text3.C: store/read spacing value as string.
1523
1524         * rowpainter.C: change float value (spacing_val) to double.
1525
1526         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1527         broken custom document spacing).
1528
1529 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1530
1531         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1532         namespace, also more use of temp references and const
1533
1534         * cursor.[Ch] (getStatus): move to lyxfunc.C
1535
1536         * bufferparams.C: reformat slightly
1537
1538         * bufferview_funcs.C (font2string): constify arg
1539
1540         * changes.C:
1541         * converter.C:
1542         * counters.C:
1543         * bufferlist.C:
1544         * buffer_funcs.C: (many funcs): constify arg on function
1545         definitions, also make more local vars const, also add ASSERTS on
1546         pointer args.
1547
1548         * buffer.C (LYX_FORMAT): put const in correct place
1549         (many funcs): constify arg on function definitions, also make
1550         more local vars const
1551
1552         * aspell_local.h: remove "struct" from typdef setup
1553
1554         * aspell.C (check): make word_ok const
1555         (nextMiss): simplify slightly
1556         (error): ditto
1557
1558 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1559
1560         * lyxrc.[Ch]: store all float values as strings.
1561         use int (not float) for lyxrc.dpi.
1562
1563 2005-01-04  Angus Leeming  <leeming@lyx.org>
1564
1565         * lyx_cb.C (Reconfigure):
1566         * lyx_main.C (queryUserLyXDir):
1567         to run the <system_lyxdir>/configure correctly on Windows, prefix
1568         the path to the script with "sh " when generating the string that
1569         is passed to system().
1570
1571 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1572
1573         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1574
1575 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1576
1577         * lyxlength.C (asLatexString): get rid of setprecision
1578
1579 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1580
1581         * text2.C (setLayout): remove unused variable endpit.
1582         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1583
1584         * paragraph.C (onlyText): remove unused variable style.
1585
1586         * cursor.C (bruteFind): remove unused variables beg and end.
1587
1588         * Makefile.am (dist_noinset_DATA): not needed anymore
1589
1590         * cheaders/*: remove.
1591
1592 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1593
1594         * text3.C: fix LFUN_MATH_MODE.
1595
1596 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1597
1598         * buffer_funcs.C (countWords): new function. Counts words between
1599         two iterators.
1600
1601         * BufferView_pimpl.C (getStatus, dispatch): handle
1602         LFUN_WORDS_COUNT.
1603
1604         * LyXAction.C (init):
1605         * lfuns.h: add LFUN_WORDS_COUNT.
1606
1607 2004-12-19  Angus Leeming  <leeming@lyx.org>
1608
1609         * buffer.C (save): s/slashify_path/internal_path/.
1610
1611 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1612
1613         * lyxfind.C (findChange): do not search for end of pars, because
1614         the change tracker cannot handle this (fixes bug 1719).
1615
1616 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1617
1618         * paragraph.[Ch] (autoBreakRows): remove
1619
1620         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1621
1622         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1623         avoid using the paragraph one
1624
1625         * text2.C (LyXText, insertStringAsLines): adjust
1626
1627 2004-12-16  Angus Leeming  <leeming@lyx.org>
1628
1629         * bufferlist.C:
1630         * lyx_main.C:
1631         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1632
1633 2004-12-14  Angus Leeming  <leeming@lyx.org>
1634
1635         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1636
1637         * bufferlist.C (emergencyWrite):
1638         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1639         GetEnvPath("HOME").
1640
1641 2004-12-14  Angus Leeming  <leeming@lyx.org>
1642
1643         * main.C: (main): no longer pass pointers to os::init.
1644
1645 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1646
1647         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1648         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1649
1650 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1651
1652         * lyxfunc.C:
1653         * text3.C: remove selection_possible global flag
1654
1655 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1656
1657         * text2.C (getSelectionSpan): remove
1658         (changeDepth, changeDepthAllowed): adjust
1659
1660 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1661
1662         * Makefile.am (BOOST_LIBS): use boost variables
1663
1664 2004-12-03  José Matos  <jamatos@lyx.org>
1665
1666         * buffer.C: format up to 238.
1667
1668 2004-12-03  José Matos  <jamatos@lyx.org>
1669
1670         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1671
1672 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1673
1674         * cursor.C (goUpDown): remove call to idxUpDown2
1675
1676 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1677
1678         * tabular.[Ch]: use size_t-like types for cell, row and column
1679         indices
1680
1681 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1682
1683         * lyxfunc.C (getStatus): do not lose previous information when
1684         calling BufferView::getStatus; do not set a default "Command
1685         disabled" message at the beginning, but just before returning.
1686
1687 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1688
1689         * cursor.h (getStatus): add better comment from src/cursor.C
1690
1691 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1692
1693         * text3.C (getStatus): return false when the lfun is not handled
1694
1695 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1696
1697         * broken_headers.h: remove
1698
1699         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1700
1701 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1702
1703         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1704         offset_ref accessors
1705
1706         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1707         top_y_, merge fitcursor with update
1708         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1709         coord scheme
1710         (metrics): introduce
1711         (workAreaDispatch): adapt to new coord scheme
1712         (redoCurrentBuffer): remove
1713
1714         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1715
1716         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1717         CurStatus enum.
1718
1719         * coordcache.[Ch]: add paragraph cache and helpers
1720
1721         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1722         adjust everywhere
1723
1724         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1725         (targetX, setTargetX): introduce
1726
1727         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1728         baseline -> ascent, as the rest of lyx
1729
1730         * lyxtext.h: remove redoParagraphs, updateParPositions,
1731         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1732         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1733         have ascent/descent (ascent is ascent of first par)
1734
1735         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1736         step of BufferView
1737
1738         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1739
1740         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1741
1742         * pariterator.C: fix infinite loop introduced in par->pit renaming
1743
1744         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1745         in insets and LyXText, draw two off-screen paragraphs using
1746         NullPainter, and adapt to new coord scheme
1747
1748         * text.C:
1749         * text2.C:
1750         * text3.C: adapt lfun handlers to the new coord scheme, which
1751         means: there's only guaranteed coord information for onscreen pars
1752         plus one above and one below. This implies that one can do search
1753         from y coordinates in the range [-1,workHeight]
1754
1755 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1756
1757         * rename a lot of InsetOld to InsetBase
1758
1759 2004-11-25  Angus Leeming  <leeming@lyx.org>
1760
1761         * BufferView_pimpl.C:
1762         * lyx_cb.C:
1763         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1764
1765 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1766
1767         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1768         call BufferView::getStatus if LCursor::getStatus did nothing
1769         (setStatusMessage, getStatusMessage): removed.
1770
1771         * FuncStatus.C (message): new methods. Used to provide an error
1772         message indicating why a command is disabled.
1773         (clear, |=, FuncStatus): update for message.
1774
1775 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1776
1777         * lyxfunc.C (dispatch): always call sendDispatchMessage
1778
1779 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1780
1781         * BufferView.C:
1782         * BufferView_pimpl.C:
1783         * CutAndPaste.C:
1784         * FontIterator.C:
1785         * buffer.C:
1786         * cursor.C:
1787         * cursor_slice.[Ch]:
1788         * dociterator.[Ch]:
1789         * lyxfind.C:
1790         * paragraph_funcs.C:
1791         * pariterator.C:
1792         * rowpainter.C:
1793         * text.C:
1794         * text2.C:
1795         * text3.C:
1796         * undo.C: par->pit renaming
1797
1798 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1799
1800         * tabular.C (cellstruct): use initialization, store a shared_ptr
1801         to insettext instead of the insettext directly, adjust to fit.
1802         (operator=):  new function
1803         (swap): new function
1804         (rowstruct): use initialization
1805         (columnstruct): use initialization
1806         (ltType): use initialization
1807
1808
1809         * lyxlength.h (swap): new function
1810
1811         * LColor.[Ch] (operator=): use the common semantics
1812
1813 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1814
1815         * lyxfind.C (findNextChange): update the bufferview after setting
1816         the selection.
1817
1818 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1819
1820         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1821         number of InsetOptArgs has already been inserted.
1822
1823         * output_latex.C (latexOptArgInsets): new method. This outputs all
1824         the optarg insets, up to the limit defined in the layout file.
1825         (optArgInset): removed
1826         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1827
1828 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1829
1830         * paragraph.C (isLetter): remove special spellchecker-related
1831         code; return true also for digits
1832         (isWord, isKomma): remove
1833
1834         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1835         * lyxfind.C (MatchString()): use isLetter instead of isWord
1836
1837 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1838
1839         * pariterator.h (operatir=): comment out un-implemented member
1840         function.
1841
1842         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1843         static cast.
1844
1845 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1846
1847         * lyxfont.h: include LColor.h to satisfy concept checks.
1848
1849 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1850
1851         * pariterator.h: add typdefs for value_type, difference_type,
1852         pointer and reference to satisfy concept checks. Also add default
1853         constructor for same reason.
1854
1855         * pariterator.C (operator++): add post-increment operator to
1856         satisfy concept checks.
1857
1858         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1859         checks.
1860
1861         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1862
1863         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1864         checks. Also rename base_type to BaseType to follow naming
1865         standard better.
1866
1867         * FloatList.h: include Floating.h to satisfy concept checks.
1868
1869 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1870
1871         * lyxfunc.C (getStatus): when the origin of the request is menu or
1872         toolbar, and the LyXView does not have focus, do as if there was
1873         no buffer (bug 1720)
1874
1875         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1876         FuncRequest to individual entries of LFUN_SEQUENCE
1877
1878 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1879
1880         * output_latex.C (TeXOnePar): override runparams.moving_arg
1881         according to the needprotect value of the current paragraph (bug
1882         1739)
1883
1884         * paragraph.C (simpleTeXOnePar): no need to override
1885         runparams.moving_args here
1886
1887 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1888
1889         * vspace.C: fix off-by-one-error, related to fix #1682
1890
1891 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1892
1893         * lengthcommon.C: a more general fix for bug 1682
1894
1895 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1896
1897         * text.C (backspace): fix crash
1898
1899 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1900
1901         * format.[Ch] (getFormatFromFile): new method
1902         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1903
1904 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1905
1906         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1907
1908 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1909
1910         * lyxfunc.C (dispatch): remove the verbose argument
1911         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1912         instead
1913
1914         * kbmap.C (defkey): set the origin of func to KEYBOARD
1915
1916         * MenuBackend.C (MenuItem):
1917         * ToolbarBackend.C (add): set the origin of func to UI
1918
1919         * funcrequest.[Ch]: add origin member, which indicates which part
1920         of LyX requests an action
1921
1922 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1923
1924         * converter.C (move): don't lie in the error message
1925         * converter.h (isReachable, move): document
1926
1927 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1928
1929         * buffer.C: remove unused using lyx::support::atoi
1930         * paragraph_funcs.C: ditto
1931
1932 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1933
1934         * bufferlist.C (exists): use bind and equal_to instead of
1935         compare_memfun
1936         (getBuffer): ditto
1937         * lyxtextclasslist.C (NumberOfClass): ditto
1938
1939         * cursor.C (insert): use for_each instead of explicit for loop
1940
1941         * bufferlist.C (getFileNames): use std::transform and
1942         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1943
1944         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1945         for loop
1946
1947         * buffer.C (changeLanguage): use for_each instead of explicit for
1948         loop
1949         (hasParWithID): implement using getParFromID
1950
1951         * LaTeXFeatures.C: ws change only
1952
1953         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1954         to cleanup a bit.
1955
1956         * BufferView_pimpl.C (trackChanges): use for_each instead of
1957         expilicit for loop
1958
1959 2004-11-04  André Pönitz  <poenitz@gmx.net>
1960
1961         * undo.h:
1962         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1963
1964         * dociterator.C (asDocIterator): use hard assert again.
1965
1966 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1967
1968         * lyxlength.C (asLatexString): rewrite so that it does not use
1969         snprintf anymore
1970
1971 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1972
1973         * text3.C (specialChar, dispatch): make sure cursor moves to the
1974         right after inserting an inset
1975
1976 2004-11-02  José Matos  <jamatos@lyx.org>
1977
1978         * output_docbook.C (docbook):
1979         * paragraph.C (getID):
1980         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1981         garantee that the output is always legal.
1982
1983         * tabular.C (docbook):
1984         * outputprams.[Ch]: remove mixed contents.
1985
1986 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1987
1988         * text2.C (setCounter): prevent endless loop
1989
1990 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1991
1992         * exporter.C (copyFile): use the mover instead of support::copy()
1993         * exporter.C (Export): pass format and latex name to copyFile()
1994         * exporter.h (addExternalFile): document
1995         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1996
1997 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1998
1999         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2000
2001 2004-10-30  José Matos  <jamatos@lyx.org>
2002
2003         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2004         text and no inset or font change. This allows to use CDATA
2005         sections just for the whole paragraph.
2006
2007 2004-10-30  José Matos  <jamatos@lyx.org>
2008
2009         * paragraph.C (getFirstWord): remove unused variable.
2010
2011 2004-10-30  José Matos  <jamatos@lyx.org>
2012
2013         * paragraph.C (getFirstWord): the content should always be escaped
2014         there.
2015         (simpleDocBookOnePar):
2016         * output_docbook.C (makeEnvironment): replace reference to CDATA
2017         to style pass_thru.
2018
2019 2004-10-30  José Matos  <jamatos@lyx.org>
2020
2021         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2022
2023 2004-10-30  José Matos  <jamatos@lyx.org>
2024
2025         * output_docbook.C (makeParagraphs):
2026         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2027         standard paragraph has only a given type of content drop the wrapper.
2028
2029 2004-10-29  José Matos  <jamatos@lyx.org>
2030
2031         * output_docbook.C (makeEnvironment):
2032         * sgml.C (openTag):
2033         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2034
2035 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2036
2037         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2038         (cleanID): sanitize any id.
2039
2040 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2041
2042         * buffer.C, lyxlex_pimpl.C:
2043         * lyxlex_pimpl.C (setFile):
2044         s/getExtFromContents/getFormatFromContents/
2045
2046 2004-10-28  José Matos  <jamatos@lyx.org>
2047
2048         * output_docbook.C (makeEnvironment): move id to broadest possible
2049         scope.
2050
2051         * sgml.C (openTag): apply substitution of <> for all attributes.
2052
2053 2004-10-28  José Matos  <jamatos@lyx.org>
2054
2055         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2056         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2057         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2058
2059         * sgml.[Ch]: new version for open and closeTag for paragraph and
2060         for strings. Now they handle the ids of paragraphs.
2061
2062 2004-10-26  Angus Leeming  <leeming@lyx.org>
2063
2064         * Makefile.am: add mover.[Ch].
2065
2066         * converter.C (convert, move): use the new Movers to move external
2067         files to the temp directory.
2068
2069         * lyx_main.C (init): ensure that the global system_movers data
2070         is initialised.
2071
2072         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2073         preferences file.
2074
2075         * mover.[Ch]: new files, defining a Mover as a utility to move an
2076         external file between directories and, if necessary, manipulate this
2077         file using a helper script.
2078
2079 2004-10-25  José Matos  <jamatos@lyx.org>
2080
2081         * output_docbook.C (makeCommand): merge two if's that tested the
2082         same condition.
2083
2084 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2085
2086         * sgml.C (escapeString): fix warning in a better way
2087
2088 2004-10-25  José Matos  <jamatos@lyx.org>
2089
2090         * sgml.C (escapeString): import the require boosts header file for
2091         tie, and avoid a signed unsigned comparison.
2092
2093 2004-10-25  José Matos  <jamatos@lyx.org>
2094
2095         * sgml.h: add #include <string>
2096
2097 2004-10-25  José Matos  <jamatos@lyx.org>
2098
2099         * sgml.[Ch] (escapeString): new function to escape all the string.
2100
2101 2004-10-24  José Matos  <jamatos@lyx.org>
2102
2103         * paragraph.[Ch] (getFirstWord): new function to get the first
2104         word. Useful for description.
2105         (simpleDocBookOnePar): remove depth argument, add another that
2106         says where to start the paragraph.
2107
2108         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2109         use the new functions to fix cleanly the support for descriptions.
2110
2111 2004-10-24  José Matos  <jamatos@lyx.org>
2112
2113         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2114         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2115         * output_linuxdoc.C (linuxdocParagraphs):
2116         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2117         add buffer as argument.
2118
2119 2004-10-24  José Matos  <jamatos@lyx.org>
2120
2121         * output_docbook.C (makeEnvironment, searchEnvironment): place
2122         CDATA inside paragraphs and fix scope for listitems.
2123
2124 2004-10-24  José Matos  <jamatos@lyx.org>
2125
2126         * output_docbook.C: remove using statement for stack.
2127
2128 2004-10-23  José Matos  <jamatos@lyx.org>
2129
2130         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2131         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2132         docbook. The new scheme is recursive and makes use of iterators, the
2133         same as latex export works.
2134         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2135         directly with the paragraph contents. This code was moved up to
2136         output_docbook.C (docbookParagraphs).
2137         * sgml.C (openTag, closeTag): removed unneeded newlines.
2138         (closeEnvTags) removed.
2139
2140 2004-10-23  André Pönitz  <poenitz@gmx.net>
2141
2142         * undo.C (textUndoOrRedo):
2143         * dociterator.C (asDocIterator): work around crash
2144
2145         * cursor.C (getStatus): replace ASSERT by more verbose error message
2146           and manual correction of the problem. Should increase stability
2147           while providing more sensible information.
2148
2149 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2150
2151         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2152
2153         * bufferlist.C (previous, next): new methods
2154
2155         * lfuns.h:
2156         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2157
2158 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2159
2160         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2161         entities to preamble.
2162
2163 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2164
2165         * messages.C (Pimpl): strip off translation context information
2166
2167 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2168
2169         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2170         the cursor is correct (bug 1694)
2171
2172 2004-10-13  José Matos  <jamatos@lyx.org>
2173
2174         * output_docbook.C (docbookParagraphs): fix closing tags in the
2175         end of the document.
2176
2177 2004-10-09  José Matos  <jamatos@lyx.org>
2178
2179         * buffer.C: format up to 237.
2180         * bufferparams.C (write): use tostr to convert booleans to strings.
2181
2182 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2183
2184         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2185
2186 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2187
2188         * LaTeX.C: implement use of babel language in xindy.
2189
2190 2004-10-05  José Matos  <jamatos@lyx.org>
2191
2192         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2193         Add new translators to help reading and writing the lyx file.
2194
2195 2004-10-05  José Matos  <jamatos@lyx.org>
2196
2197         * ParagraphParameters.C (read):
2198         * text.C (readParToken): replace nexToken by more appropriate lex
2199         methods.
2200
2201 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2202
2203         * LaTeX.C (runMakeIndex):
2204         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2205         (usually 'makeindex') configurable.
2206
2207         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2208         with a variable rather than with a number.
2209
2210 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2211
2212         * output_latex.C (TeXOnePar): make sure font setting is the first
2213         thing that gets output (and the last at the end). Should fix bug
2214         1404.
2215
2216 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2217
2218         * pch.h: use proper signal include
2219
2220         * LaTeX.h: Use preferred calling of Boost.Signal
2221         * buffer.h: ditto
2222
2223 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2224
2225         * pch.h: dont include <boost/function/function0.hpp>
2226
2227         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2228
2229         * paragraph_pimpl.h: remove usage of ShareContainer
2230
2231         * paragraph_pimpl.C: remove initialization of ShareContainer.
2232
2233 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2234
2235         Fix bug #1666
2236
2237         * BufferView.C (putSelectionAt): change the semantics when
2238         backwards == true: now, this just swaps cursor and anchor wrt the
2239         forward case
2240
2241         * BufferView.h (putSelectionAt): add some documentation
2242
2243         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2244         make sure backwardChar is done at least once (to avoid getting
2245         stuck)
2246         (findNextChange): use putSelectionAt in the forward direction
2247         (operator()): use Paragraph::isWord
2248
2249 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2250
2251         * Spacing.C (set): c_str fix
2252
2253 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2254
2255         * lyx_cb.C (Reconfigure): quote the name of configure script in
2256         case it contains spaces
2257
2258 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2259
2260         * client: new dir
2261
2262         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2263         (BOOST_LIBS): use top_buildir when looking for the file
2264
2265 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2266
2267         * pch.h: do not use include boost/format.hpp, multiple symbols
2268                 will result (gcc bug)
2269
2270
2271 2004-08-23  José Matos  <jamatos@lyx.org>
2272
2273         * bufferparams.C (readToken): fix reading of the author field.
2274
2275 2004-08-20  José Matos  <jamatos@lyx.org>
2276
2277         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2278
2279 2004-08-20  José Matos  <jamatos@lyx.org>
2280
2281         * lyxlex.[Ch] (findToken): remove function.
2282
2283         * ParagraphParameters.C (findToken):
2284         * bufferparams.C (findToken): replace call for previous function
2285         with local copy. This local function has one more argument, the
2286         read string argument.
2287
2288 2004-08-16  José Matos  <jamatos@lyx.org>
2289
2290         * ParagraphParameters.C (write):
2291         * Spacing.C (writeFile):
2292         * bufferparams.C (writeLaTeX):
2293         * lyx_cb.C (Reconfigure):
2294         * paragraph.C (write):
2295         * tabular.C (write): remove unnecessary space at end of line.
2296
2297
2298 2004-08-16  José Matos  <jamatos@lyx.org>
2299
2300         * text.C (readParagraph): remove debug message.
2301
2302 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2303
2304         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2305         crash
2306
2307         * output_plaintext.C (asciiParagraph): set depth correctly
2308
2309         * outputparams.h: add member depth
2310
2311         * paragraph_funcs.C (ownerPar): remove.
2312
2313         * text2.C (setCounter): remove first_pit; comment out some
2314         non-working code that uses ownerPar
2315
2316         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2317         uses ownerPar
2318
2319 2004-08-16  José Matos  <jamatos@lyx.org>
2320
2321         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2322         For the same level of importance use the same chanel to report problems.
2323         (read): add code to deal with \begin_body and \end_body.
2324
2325
2326 2004-08-15  José Matos  <jamatos@lyx.org>
2327
2328         * lyxlex.C (getString): fix comment, buffer::readBody is now
2329         buffer:readDocument.
2330
2331         * tex-strings.C (string_papersize): Default -> default,
2332         Custom -> custom, for consistency with other options.
2333
2334 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2335
2336         * pch.h: new file
2337
2338         * Makefile.am: support pch
2339
2340 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2341
2342         * text.C (readParToken): remove the static LyXFont variable and
2343         pass it as a parameter instead. This fixes a nasty bug where an
2344         inset will be inserted with a bad font in some situations
2345         (readParagraph): adapt
2346
2347         * text2.C (setCounter): reduce number of calls to pars_[pit]
2348
2349         * text.C (singleWidth): add an assert, fix a test
2350
2351         * rowpainter.C (paintText): reduce number of calls to singleWidth
2352
2353         * paragraph.C (isHfill):
2354         (isNewline): ws only
2355
2356 2004-08-14  André Pönitz  <poenitz@gmx.net>
2357
2358         * text.C:
2359         * text2.C:
2360         * rowpainter.C:
2361         * lyxtext.h (several functions): use a Paragraph & argument
2362         instead of par_type
2363
2364 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2365
2366         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2367
2368         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2369
2370         * text.C (singleWidth): remove useless test
2371
2372 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2373
2374         * tabular.h: remove bogus comments
2375
2376         * tabular.C (getDescentOfRow):
2377         (isPartOfMultiColumn): add assertions
2378
2379         * lyxlength.C (inPixels): remove #warning
2380
2381 2004-08-14  André Pönitz  <poenitz@gmx.net>
2382
2383         * paragraph.h: inline getChar()
2384
2385         * BufferView.h: remove unused declarations
2386
2387 2004-08-14  José Matos  <jamatos@lyx.org>
2388
2389         * Buffer.[Ch] (readDocument): new name for old readBody.
2390         * Buffer.C: new file format, new keywords: \begin_document,
2391         \begin_header, \begin_body, \end_body.
2392
2393         * bufferparams.C (readToken): replace all calls to lex.nextToken
2394         by lex.next(). Do the same to eatLine except where really needed.
2395
2396         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2397         line when writing to the lyx file.
2398
2399         * output_plaintext.C (asciiParagraph): fix Bibliography style
2400         handling.
2401
2402         * text.C (read): fix end of file handling.
2403
2404 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2405
2406         * MenuBackend.C (Menu::operator[]): new method to access
2407         individual menu items
2408         (Menu::hasFunc): new method. search for an item that corresponds
2409         to a given func
2410         (MenuBackend::specialMenu): new method
2411         (MenuBackend::expand): if a special menu has been set, skip
2412         entries whose func() appears in this menu
2413
2414 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2415
2416         * text3.C: use Debug::DEBUG a bit more
2417
2418         * text.C (leftMargin): try to simplify a tiny bit change var x to
2419         l_margin. Dont output the wide margins always.
2420         (rightMargin): no margin in inner texts
2421
2422         * rowpainter.h (nestMargin): new func
2423         (changebarMargin): new func
2424         (rightMargin): new func
2425
2426         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2427         now functions.
2428         (paintLast): ditto
2429
2430         * factory.C (createInset): modify setDrawFrame
2431
2432         * cursor.C: use Debug::DEBUG a bit more
2433
2434 2004-08-14  André Pönitz  <poenitz@gmx.net>
2435
2436         * coordcache.[Ch]:
2437         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2438         cache for all insets in (at least partially) visible (top-level)
2439         paragraphs.
2440
2441         * BufferView_pimpl.C: reset external coord cache before every update.
2442         This means the coord cache only contains valid entries.
2443
2444 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2445
2446         bug 1096
2447         * BufferView_pimpl.C (getInsetByCode): move function out of class
2448         and change in to a template in anon namespace. Also fix to do what
2449         suits us better.
2450
2451 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2452
2453         bug 1305
2454         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2455         of char
2456         (breakParagraph): rename par to par_offset and use a local
2457         reference. Add code to keep the language over a rebreak.
2458         (breakParagraphConservative): rename par to par_offset, use a
2459         local reference
2460         (mergeParagraph): ditto
2461         (outerHook): ditto
2462         (isFirstInSequence): ditto
2463         (outerFont): rename pit to par_offset
2464
2465         * paragraph.C: ws change
2466         * paragraph.h: ditto
2467         * text3.C: ditto
2468         * text.C: ditto
2469
2470 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2471
2472         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2473         treatment for ']'
2474
2475         * paragraph.C (simpleTeXOnePar): when we have a \item with
2476         optional argument, enclose the argument with curly brackets (in
2477         case it contains a closing square bracket)
2478
2479         * text2.C (editXY):
2480         * text2.C (editXY):
2481         * text3.C (checkInsetHit): constify
2482
2483 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2484
2485         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2486         documents (bug 1629)
2487
2488 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2489
2490         Fix toggling of collapsable insets with the mouse (bug 1558)
2491
2492         * lyxfunc.C (dispatch): adapt to LCursor changes
2493
2494         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2495         make sure that dispatch is not invoked twice
2496
2497         * cursor.C (needsUpdate): new method
2498         (dispatch): return void
2499         (result): new method, to access the DispatchResult of the cursor.
2500
2501 2004-08-13  José Matos  <jamatos@lyx.org>
2502
2503         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2504
2505 2004-08-13  André Pönitz  <poenitz@gmx.net>
2506
2507         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2508
2509         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2510           multiple cells
2511
2512 2004-08-12  André Pönitz  <poenitz@gmx.net>
2513
2514         * text3.C: take out the 'cursor right' form insertInset and only
2515         do it in those places when it is really needed. Fixes crash on
2516         C-m...
2517
2518 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2519
2520         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2521
2522         * BufferView_pimpl.C (setBuffer): initialize the current font of
2523         the underlying LyXText
2524
2525 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2526
2527         * kbsequence.C (print): use UI native formatting for menu
2528         shortcuts
2529
2530         * text.C (insertChar): call Paragraph::insertChar with a font
2531         argument (cosmetic)
2532
2533         * paragraph.C (insertInset, insertChar): the version that takes a
2534         LyXFont argument is now a wrapper around the other one (the
2535         opposite used to be true).
2536
2537         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2538         argument. Font setting is done in Paragraph now.
2539
2540 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2541
2542         * outputparams.h: add new members intitle and lang.
2543
2544         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2545         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2546
2547 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2548
2549         * text3.C (dispatch): remove special handling of button 4 and 5,
2550         it is now taken care of in the frontend code.
2551
2552 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2553
2554         * Spacing.h: add <string> (STLPort compile fix)
2555
2556 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2557
2558         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2559
2560 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2561
2562         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2563         to bool.
2564
2565         * converter.C (showMessage): inherit from unary_function, make
2566         operator() const.
2567
2568         * buffer.C (writeFile): initialize retval
2569
2570         * InsetList.h: rename private variable list to list_
2571         * InsetList.[Ch]: adjust accordingly.
2572
2573 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2574
2575         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2576         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2577         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2578         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2579         * ParagraphParameters.C, LaTeXFeatures.C: replace
2580         "support/std_sstream.h" with <sstream>
2581
2582 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2583
2584         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2585         * lyxsocket.C (LyXServerSocket): ditto
2586         (serverCallback): ditto
2587
2588 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2589
2590         * LaTeXFeatures.C: check release date when loading jurabib.
2591
2592 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2593
2594         * lyxserver.C (startPipe): call register_socket_callback
2595         (endPipe): call unregister_socket_callback
2596
2597 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2598
2599         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2600         (LyXServerSocket): register the callback
2601         (LyXServerSocket): unregister the callback
2602         (fd): delete function
2603         (serverCallback): improve error checking and setup the callbacks.
2604         (dataCallback): change arg to fd.
2605         (writeln): new func (copied fro the client socket) used for server
2606         write to client.
2607         (LyXDataSocket): simplify
2608         (~LyXDataSocket): close ann unregiser callback
2609         (server): delete function
2610         (fd): delete function
2611         (readln): small changes, improve some std::string usage
2612         (writeln): constify a bit
2613
2614 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2615
2616         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2617         Qt frontend
2618
2619 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2620
2621         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2622         after it has been populated
2623
2624 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2625
2626         * text2.C (insertInset): move cursor when inserting inset.
2627
2628 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2629
2630         * kbmap.C (findbindings): a couple of new methods. returns a
2631         container of kb_sequence objects. The real work is done by the
2632         private recursive version
2633         (printbindings): uses findbindings to print out a bracketed list
2634         of bindings (renamed from findbinding).
2635
2636         * MenuBackend.C (binding): use kb_keymap::findbindings
2637
2638         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2639
2640 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2641
2642         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2643
2644 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2645
2646         * paragraph.C (isWord): return true on insets that report
2647         isLetter().
2648
2649         * text.C (getWord): use Paragraph::isWord to decide what is in a
2650         word and what is not; fix bug 1609.
2651
2652 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2653
2654         * tex-strings.C: add "none" to string_paperpackages[], fixes
2655         off-by-one-error in the paperpackage selection.
2656
2657         * lyxlex.[Ch]:
2658         * tex-strings.[Ch]: char const * string[n]
2659         -> char const * const string[]
2660
2661 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2662
2663         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2664         command, return early.
2665
2666 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2667
2668         * debug.h: add DEBUG to enum and fix size of ANY.
2669
2670         * debug.C: add support for Debug::DEBUG
2671         (showTags): cast errorTags.level to unsigned int
2672
2673         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2674         (redoCurrentBuffer): ditto
2675         (updateScrollbar): ditto
2676         * cursor.C (dispatch): ditto
2677         * text2.C (setLayout): ditto
2678         (setFont): ditto
2679         (updateCounters): ditto
2680         (editXY): ditto
2681         (deleteEmptyParagraphMechanism): ditto
2682
2683 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2684
2685         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2686         annotations to cleanup the Makefile slightly.
2687
2688 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2689
2690         * lyxrc.C: do not set user_email to a default value but use empty
2691         instead. The entry used to be translated, which does not work
2692         since at the point where lyxrc is constructed there is no
2693         translation service available
2694
2695         * messages.C (getLocaleDir): remove and use directly
2696         lyx_localedir() instead
2697
2698 2004-06-02  Angus Leeming  <leeming@lyx.org>
2699
2700         Fix crash caused by dereferencing null pointer 'exportdata' in
2701         OutputParams by creating a new ExportData variable on the heap,
2702         storing it in a boost::shared_ptr.
2703         The crash was triggered when generating an Instant Preview
2704         of an external inset.
2705
2706         * Makefile.am: add outputparams.C
2707
2708         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2709         (c-tor): allocate memory to it.
2710
2711         * exporter.C (c-tor): associated changes.
2712
2713 2004-06-01  Angus Leeming  <leeming@lyx.org>
2714
2715         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2716         contains data before calling isInset(0). (Bug 1513.)
2717
2718 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2719
2720         * exporter.C (checkOverwrite): new method
2721         * exporter.C (copyFile): new method
2722         * exporter.C (Export): copy referenced files to the document dir
2723         * exporter.[Ch]: new class ExportedFile
2724         * exporter.[Ch]: new class ExportData. Contains currently the
2725         names of referenced external files
2726         * outputparams.h: add exportdata member.
2727
2728 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2729
2730         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2731         version.C-tmp
2732
2733 2004-05-19  Angus Leeming  <leeming@lyx.org>
2734
2735         * LaTeXFeatures.C:
2736         * ToolbarBackend.C:
2737         * bufferparams.C:
2738         * lyxfunc.C: small changes due to the introduction of namespace
2739         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2740
2741 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2742
2743         * text3.C (dispatch): supress update when only moving the cursor
2744         * cursor.C (selHandle): remove commented code
2745
2746 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2747
2748         * paragraph.C (startTeXParParams): correct column count
2749         * CutAndPaste.C (pasteSelection): remove const_cast
2750         * output_docbook.C (docbookParagraphs): remove const_cast
2751         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2752         const_cast and return ParagraphList::const_iterator
2753         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2754         * output_plaintext.C (writeFileAscii): remove const_cast
2755         * paragraph.[Ch] (simpleTeXOnePar): make const
2756         * paragraph_funcs.C (outerPar): use const iterators
2757         * paragraph_pimpl.C (validate): use const iterators
2758         * text.C (setHeightOfRow): use const iterators
2759
2760 2004-05-17  Angus Leeming  <leeming@lyx.org>
2761
2762         * lfuns.h:
2763         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2764
2765         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2766         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2767         if the citation engine has changed.
2768
2769 2004-05-14  José Matos  <jamatos@lyx.org>
2770
2771         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2772         if the textclass does not provide it. Have it different for sgml and
2773         xml.
2774         support the language of document.
2775         * output_docbook.C (docbookParagraphs):
2776         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2777         first anchor as the id of the paragraph, remove special case code.
2778         * sgml.C (escapeChar): escape only < & >.
2779
2780 2004-05-14  Angus Leeming  <leeming@lyx.org>
2781
2782         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2783         dependencies on src/frontends/controllers/biblio.h. Define a
2784         CiteEngine_enum wrapper class to enable the enum to be forward
2785         declared.
2786
2787 2004-05-12  Angus Leeming  <leeming@lyx.org>
2788
2789         * buffer.C: up LYX_FORMAT to 234.
2790         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2791         use_numerical_citations with a single biblio::CiteEngine cite_engine
2792         variable.
2793         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2794
2795 2004-05-13  José Matos  <jamatos@lyx.org>
2796
2797         * converter.h:
2798         * converter.C (Converter, readFlags): add xml member.
2799         * outputparams.h: add XML flavor.
2800         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2801
2802 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2803
2804         * lyxfunc.C (dispatch):
2805         (getStatus): fix handling of LFUN_SEQUENCE
2806
2807 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2808
2809         * debug.C (showLevel): do not forget the end-of-line marker
2810
2811 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2812
2813         * kbmap.C (read): do not stop parsing a bind file when an error
2814         occurs (bug 1575)
2815
2816 2004-04-29  Angus Leeming  <leeming@lyx.org>
2817
2818         * cursor.C:
2819         * factory.C:
2820         * pariterator.C:
2821         * text2.C: wrap a bunch of #warning statements
2822         inside #ifdef WITH_WARNINGS blocks.
2823
2824 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2825
2826         * buffer.C: increment format to 233.
2827
2828 2004-04-28  Angus Leeming  <leeming@lyx.org>
2829
2830         * BufferView_pimpl.C:
2831         * lyxfunc.C:
2832         * text3.C:
2833         s/updateToolbar()/updateToolbars()/
2834         s/Toolbar.h/Toolbars.h/
2835
2836 2004-04-28  Angus Leeming  <leeming@lyx.org>
2837
2838         * BufferView.[Ch] (c-tor):
2839         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2840         No longer passes these data to the WorkArea generator.
2841
2842 2004-04-28  Angus Leeming  <leeming@lyx.org>
2843
2844         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2845
2846 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2847
2848         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2849
2850 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2851
2852         * output_latex.C (TeXEnvironment): make sure that there is a line
2853         break before \end{foo} for the last paragraph of a document
2854         (TeXOnePar): if the paragraph is at the end of the document (or
2855         inset) and the language has to be reset, then make sure that the
2856         line break is _before_ the language command, not after (fixes bug
2857         1225); also make sure that the language reset command is the first
2858         thing after the paragraph (to ensure proper nesting of
2859         environments and thus fix bug 1404)
2860
2861 2004-04-21  John Levon  <levon@movementarian.org>
2862
2863         * ToolbarBackend.h:
2864         * ToolbarBackend.C: make "name" be a programmatic name
2865         and a gui_name field.
2866
2867         * lyxfunc.C: display the minibuffer on M-x
2868
2869 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2870
2871         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2872         (bug 1526)
2873
2874 2004-04-19  Angus Leeming  <leeming@lyx.org>
2875
2876         * BufferView_pimpl.C (setBuffer): changed preview interface.
2877
2878         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2879         possible values.
2880
2881 2004-04-19  John Levon  <levon@movementarian.org>
2882
2883         * BufferView_pimpl.C:
2884         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2885
2886 2004-04-05  Angus Leeming  <leeming@lyx.org>
2887
2888         * text.C (redoParagraphs): add call to updateCounters(), thereby
2889         fixing the missing "Figure #:" label from the caption of a
2890         figure float.
2891
2892 2004-04-13  Angus Leeming  <leeming@lyx.org>
2893
2894         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2895         cursor is clicked out of an inset.
2896
2897 2004-04-13  Angus Leeming  <leeming@lyx.org>
2898
2899         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2900         than an InsetOld one.
2901
2902 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2903
2904         * format.[Ch]: add editor to Format
2905         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2906         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2907
2908 2004-04-08  André Pönitz  <poenitz@gmx.net>
2909
2910         * metricsinfo.h: remove PainterInfo::width member
2911
2912 2004-04-08  Angus Leeming  <leeming@lyx.org>
2913
2914         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2915         "\providecommand" rather than "\newcommand", thereby preventing
2916         clashes with packages that define "\boldsymbol" themselves.
2917         Eg, beamer.
2918
2919 2004-04-08  Angus Leeming  <leeming@lyx.org>
2920
2921         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2922         thereby squashing an unnecessary warning.
2923
2924 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2925
2926         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2927         setBuffer()
2928
2929 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2930
2931         * BufferView.C (setCursor): call redoParagraph (some insets could
2932         have been opened)
2933         (putSelectionAt): remove the 'double update' trick
2934
2935         * BufferView_pimpl.C (fitCursor): call refreshPar
2936         (workAreaDispatch): remove an uneeded update call
2937         (dispatch): remove some manual update calls
2938
2939         * cursor.[Ch]: remove cached_y_, updatePos
2940         (selHandle): set noUpdate when appropriate
2941
2942         * lyxfunc.C (dispatch): track if we need an update
2943
2944         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2945
2946         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2947         (paintSelection): cheap optimization, do not call cursorX when not
2948         needed
2949         (paintPars): change signature
2950         (refreshPar): add
2951         (paintText): adjust
2952         (paintTextInset): adjust
2953
2954         * text.C: adjust
2955
2956 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2957
2958         * lengthcommon.C: compilation fix: remove explicit array size from
2959         unit_name[] and friends
2960
2961 2004-04-05  Angus Leeming  <leeming@lyx.org>
2962
2963         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2964
2965         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2966         present only for the preferences dialog.
2967         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2968
2969 2004-04-05  Angus Leeming  <leeming@lyx.org>
2970
2971         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2972         to enable the frontends to export changes to lyxrc correctly.
2973
2974         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2975
2976 2004-04-07  André Pönitz  <poenitz@gmx.net>
2977
2978         * cursor.[Ch] (selClear, adjust): remove math
2979
2980         * cursor_slice.C: more agressive assert
2981
2982         * lyxfunc.C:
2983         * BufferView_pimpl.C: rework mouse event dispatch
2984
2985         * dociterator.C:
2986         * paragraph.C:
2987         * text2.C:
2988         * text3.C: adjust
2989
2990 2004-04-05  André Pönitz  <poenitz@gmx.net>
2991
2992         * cursor.[Ch] (valign, halign...): remove unneeded functions
2993
2994 2004-04-05  Angus Leeming  <leeming@lyx.org>
2995
2996         * lyxlength.[Ch] (unit_name et al.): const-correct.
2997
2998 2004-04-05  Angus Leeming  <leeming@lyx.org>
2999
3000         * BufferView_pimpl.C:
3001         * buffer.C:
3002         * counters.C:
3003         * cursor.C:
3004         * lyxfunc.C
3005         * paragraph.C:
3006         * pariterator.C:
3007         * text.C:
3008         * text2.C:
3009         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3010
3011 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3012
3013         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3014
3015 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3016
3017         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3018         * BufferView_pimpl.[Ch] (getStatus)
3019         * BufferView.[Ch] (getStatus): add
3020         * lyxfunc.C (getStatus): move lfuns handled in
3021         BufferView::dispatch to te function above
3022         * Cursor.C (setSelection): set selection() = true
3023
3024 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3025
3026         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3027
3028 2004-03-31  Angus Leeming  <leeming@lyx.org>
3029
3030         * lyxfunc.C (dispatch): Fall through to the generic
3031         Dialogs::show("preamble").
3032
3033 2004-03-31  Angus Leeming  <leeming@lyx.org>
3034
3035         * lyxfunc.C (dispatch): Fall through to the generic
3036         Dialogs::show("spellchecker").
3037
3038 2004-03-31  Angus Leeming  <leeming@lyx.org>
3039
3040         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3041         preferences dialog.
3042
3043 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3044
3045         * BufferView.C
3046         * cursor.[Ch]
3047         * dociterator.[Ch]:
3048         * insetiterator.[Ch]:
3049         * lyxfind.C:
3050         * lyxfunc.C:
3051         * pariterator.[Ch]:
3052         * text2.C:
3053         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3054
3055 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3056
3057         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3058         insets where we are putting the cursor.
3059
3060 2004-03-31  Angus Leeming  <leeming@lyx.org>
3061
3062         * lfuns.h:
3063         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3064
3065         * lyxrc.[Ch] (read, write): overloaded member functions taking
3066         a std::[io]stream arguments.
3067
3068         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3069
3070 2004-03-31  Angus Leeming  <leeming@lyx.org>
3071
3072         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3073         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3074
3075         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3076         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3077
3078 2004-03-31  Angus Leeming  <leeming@lyx.org>
3079
3080         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3081         the LFUN_ALL_INSETS_TOGGLE code.
3082
3083 2004-03-30  Angus Leeming  <leeming@lyx.org>
3084
3085         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3086         has died. Fall through to the generic Dialogs::show("document").
3087
3088 2004-03-30  Angus Leeming  <leeming@lyx.org>
3089
3090         * lfuns.h:
3091         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3092         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3093
3094         * lyxfunc.C (getStatus, dispatch): define the actions for these
3095         lfuns. Little more than a cut and pste job from ControlDocument.C
3096
3097         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3098
3099 2004-03-30  Angus Leeming  <leeming@lyx.org>
3100
3101         * lfuns.h:
3102         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3103         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3104
3105         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3106         open/closed state of ollapsable insets. Usage:
3107
3108         all-inset-toggle <state> <name>, where
3109         <state> == "open" || "closed" || "toggle" and
3110         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3111
3112         * lyxtext.h, text2.C (toggleInset): removed.
3113
3114         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3115         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3116         now passes LFUN_INSET_TOGGLE to the found inset.
3117
3118         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3119         is now invoked as "all-insets-toggle toggle branch".
3120
3121 2004-03-30  Angus Leeming  <leeming@lyx.org>
3122
3123         * dociterator.C:
3124         * insetiterator.C:
3125         * pariterator.[Ch]: added/corrected header blurb.
3126
3127 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3128
3129         * dociterator.[Ch]: add an inset_ member
3130         (backwardPos): implemented
3131         (backwardPos, forwardPos): use inset_ when the stack is empty.
3132         (doc_iterator_begin, doc_iterator_end): implemented
3133         * pariterator.[Ch]: adjust, add begin, end
3134         * insetiterator.[Ch]: adjust, add begin, end
3135         * cursor.C:
3136         * document.C:
3137         * BufferView.C:
3138         * BufferView_pimpl.C:
3139         * CutAndPaste.C: adjust
3140
3141 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3142
3143         * buffer.C: increment file format to 232.
3144         * LaTeXFeatures.C: add bibtopic package.
3145         * bufferparams.[Ch]: param \use_bibtopic.
3146
3147         * lyxrc.[Ch]: add lyxrc bibtex_command
3148         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3149
3150         * buffer.C: increment file format to 231.
3151
3152 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3153
3154         * dociterator.C: implement forwardPar
3155         * iterators.[Ch]: remove, replaced by
3156         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3157         * BufferView.C:
3158         * BufferView_pimpl.C:
3159         * CutAndPaste.C:
3160         * buffer.C:
3161         * bufferview_funcs.C:
3162         * cursor.C:
3163         * lyxfind.C
3164         * lyxfunc.C
3165         * paragraph_funcs.C
3166         * toc.C:
3167         * Makefile.am: adjust
3168
3169 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3170
3171         * CutAndPaste.C (pasteSelection): fix 2 crashes
3172         (eraseSelection): fix a crash
3173         * paragraph_funcs.C: remove a warning
3174
3175 2004-03-28  Angus Leeming  <leeming@lyx.org>
3176
3177         * lfuns.h:
3178         * LyXAction.C (init): new LFUN_PRINT.
3179
3180         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3181
3182 2004-03-27  Angus Leeming  <leeming@lyx.org>
3183
3184         * lfuns.h:
3185         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3186
3187         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3188
3189 2004-03-27  Angus Leeming  <leeming@lyx.org>
3190
3191         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3192         insetlist always contains non-null pointers to insets.
3193
3194 2004-03-26  Angus Leeming  <leeming@lyx.org>
3195
3196         * src/BufferView_pimpl.C:
3197         * src/CutAndPaste.C:
3198         * src/buffer.C:
3199         * src/iterators.C:
3200         * src/output_plaintext.C:
3201         * src/outputparams.h:
3202         * src/paragraph_funcs.C:
3203         * src/rowpainter.C:
3204         * src/text.C:
3205         * src/text2.C:
3206         * src/frontends/controllers/ControlErrorList.C:
3207         * src/frontends/gtk/FileDialogPrivate.C:
3208         * src/frontends/gtk/GPainter.C:
3209         * src/frontends/gtk/GToolbar.C:
3210         * src/frontends/qt2/QRef.C:
3211         * src/mathed/math_scriptinset.C: squash compiler warnings.
3212
3213 2004-03-26  Angus Leeming  <leeming@lyx.org>
3214
3215         * ispell.C (LaunchIspell::start):
3216         * lyx_cb.C (AutoSaveBuffer::start):
3217         invoke run(DontWait) rather than runNonBlocking().
3218
3219 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3220
3221         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3222
3223 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3224
3225         * kbsequence.C (print): adjust
3226
3227         * kbmap.C (printKeySym): rename and change signature
3228         (printKey): use LyXKeySym::print()
3229
3230 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3231
3232         * undo.C: add using std::advance to compile for stlport
3233
3234 2004-03-24  Angus Leeming  <leeming@lyx.org>
3235
3236         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3237         it leads to a crash when no buffer is present.
3238
3239 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3240             Martin Vermeer  <martin.vermeer@hut.fi>
3241
3242         * lyxfunc.C (dispatch):
3243         * bufferparams.C (readToken): use the new LColor::setColor
3244
3245         * LColor.[Ch] (setColor): new version that takes two strings as
3246         argument and creates a new color entry if necessary
3247
3248 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3249
3250         * buffer.C (makeLaTeXFile): if the main latex file that is
3251         processed is usually a subdocument of some master, then pretend
3252         for a while that it is actually the master
3253
3254 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3255
3256         * buffer.C (getLabelList):
3257         (getBibkeyList): use getMasterBuffer()
3258         (getMasterBuffer): new method. Returns the main document in the
3259         case where one is using included documents.
3260
3261 2004-03-25  André Pönitz  <poenitz@gmx.net>
3262
3263         * Makefile.am:
3264         * iterators.[Ch]:
3265         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3266
3267         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3268
3269         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3270         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3271
3272         * ParameterStruct.h: merge with ParagraphParameters
3273
3274         * lyxtext.h: remove LyXText::parOffset() and getPar()
3275
3276         * text3.C: Remove all 'manual' update calls. We do now one per user
3277         interaction which is completely sufficient.
3278
3279         * Bidi.C:
3280         * BufferView.[Ch]:
3281         * BufferView_pimpl.C:
3282         * FontIterator.[Ch]:
3283         * MenuBackend.C:
3284         * ParagraphParameters.[Ch]:
3285         * buffer.C:
3286         * buffer.h:
3287         * bufferlist.C:
3288         * cursor.[Ch]:
3289         * cursor_slice.[Ch]:
3290         * dociterator.[Ch]:
3291         * errorlist.[Ch]:
3292         * factory.C:
3293         * lfuns.h:
3294         * lyxfind.C:
3295         * lyxfunc.C:
3296         * output_docbook.[Ch]:
3297         * output_latex.[Ch]:
3298         * output_linuxdoc.[Ch]:
3299         * output_plaintext.[Ch]:
3300         * paragraph.[Ch]:
3301         * paragraph_funcs.[Ch]:
3302         * paragraph_pimpl.[Ch]:
3303         * rowpainter.C:
3304         * tabular.[Ch]:
3305         * text.C:
3306         * text2.C:
3307         * toc.C:
3308         * undo.[Ch]: adjust
3309
3310         * frontends/controllers/ControlDocument.C:
3311         * frontends/controllers/ControlErrorList.C:
3312         * frontends/controllers/ControlSpellchecker.C:
3313         * insets/inset.C:
3314         * insets/inset.h:
3315         * insets/insetbase.h:
3316         * insets/insetbibitem.C:
3317         * insets/insetbox.C:
3318         * insets/insetbranch.C:
3319         * insets/insetcaption.C:
3320         * insets/insetcharstyle.C:
3321         * insets/insetcharstyle.h:
3322         * insets/insetcollapsable.C:
3323         * insets/insetcollapsable.h:
3324         * insets/insetert.C:
3325         * insets/insetfloat.C:
3326         * insets/insetfoot.C:
3327         * insets/insetmarginal.C:
3328         * insets/insetnote.C:
3329         * insets/insetoptarg.C:
3330         * insets/insettabular.C:
3331         * insets/insettext.C:
3332         * insets/insettext.h:
3333         * insets/insetwrap.C:
3334         * mathed/math_mboxinset.C:
3335         * mathed/math_nestinset.C:
3336         * mathed/math_scriptinset.C:
3337         * mathed/math_scriptinset.h:
3338         * support/types.h:
3339
3340 2004-03-24  Angus Leeming  <leeming@lyx.org>
3341
3342         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3343         deal with any child processes that have finished but are waiting to
3344         communicate this fact to the rest of LyX.
3345
3346 2004-03-24  Angus Leeming  <leeming@lyx.org>
3347
3348         64-bit compile fixes.
3349
3350         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3351         (c-tor): pass lyx::pos_types rather than ints.
3352
3353         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3354         lyx::pos_type.
3355
3356         * text.C (Delete): compile fix.
3357         (getPar): ensure that function declaration is the same as that in
3358         the header file.
3359
3360 2004-03-23  Angus Leeming  <leeming@lyx.org>
3361
3362         * ispell.C (LaunchIspell):
3363         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3364         a boost::shred_ptr rather than a std::auto_ptr.
3365
3366 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3367
3368         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3369         handle LFUN_FILE_INSERT_*
3370
3371         * lyxrc.C (setDefaults, getDescription, output, read):
3372         * lyxrc.h: remove ps_command
3373
3374 2004-03-22  Angus Leeming  <leeming@lyx.org>
3375
3376         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3377         Ensure that error_handler is processed once only and that all data
3378         is saved before attempting to output any warning messages.
3379
3380         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3381
3382 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3383
3384         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3385
3386 2004-03-19  André Pönitz  <poenitz@gmx.net>
3387
3388         * cursor.[Ch] (reset): take main text inset as argument
3389
3390         * BufferView: adjust
3391         * BufferView_pimpl.C: adjust
3392
3393         * paragraph.[Ch]: fix completely broken operator=()
3394
3395 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3396
3397         * LColor.C (getFromLyXName): make sure that the color name is used
3398         as lowercase.
3399
3400 2004-03-17  Angus Leeming  <leeming@lyx.org>
3401
3402         * lfuns.h:
3403         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3404
3405         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3406         dialog and to kill a forked process.
3407
3408 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3409
3410         * text2.C (setCursorFromCoordinates): fix font problem
3411
3412 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3413
3414         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3415         bogus "rebuild cursor" code
3416
3417 2004-03-11  André Pönitz  <poenitz@gmx.net>
3418
3419         * buffer.[Ch]: use InsetText instead of LyXText as container for
3420         the main lyx text.
3421
3422         * dociterator.[Ch]: drop the BufferView * member which is not needed
3423         anymore after the change to buffer.C
3424
3425         * paragraph_funcs.C:
3426         * text.C:
3427         * text2.C:
3428         * BufferView.[Ch]:
3429         * BufferView_pimpl.[Ch]:
3430         * cursor.[Ch]:
3431         * cursor_slice.[Ch]: adjust
3432
3433         * text3.C: fix bug in mathDispatch
3434
3435 2004-03-08  André Pönitz  <poenitz@gmx.net>
3436
3437         * undo.[Ch]: use 'StableDocumentIterator' as base for
3438         the Undo struct.
3439
3440 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3441
3442         * LaTeXFeatures.C:
3443         * bufferparams.[Ch]: add jurabib support and param.
3444
3445         * LaTeX.C: add FIXME/comment.
3446
3447 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3448
3449         * buffer.C: increment file format to 230.
3450
3451 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3452
3453         * cursor.C (dispatch): avoid infinite loops
3454
3455 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3456
3457         * rowpainter.C (paintSelection): fix x coordinates
3458
3459 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3460
3461         * text.C (rowBreakPoint): fix breaking before displayed insets
3462
3463 2004-03-01  André Pönitz  <poenitz@gmx.net>
3464
3465         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3466
3467         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3468
3469         * Makefile.am:
3470         * BufferView.C:
3471         * BufferView_pimpl.C:
3472         * buffer.C:
3473         * lyxfind.C:
3474         * lyxfunc.C:
3475         * text.C:
3476         * text2.C:
3477         * text3.C: adjust
3478
3479 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3480
3481         * lyxtext.h:
3482         * text.C:
3483         * text2.C:
3484         * rowpainter.C:
3485         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3486         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3487
3488 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3489
3490         * Bidi.[Ch] (computeTables): const correctness
3491         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3492         fill_hfill, fill_label_hfill and x from Row
3493         * lyxtext.h: prepareToPrint returns a RowMetrics
3494         * rowPainter.C: adjust
3495         * text.C (prepareToPrint): use width, not textWidth. adjust
3496         (redoParagraphInternal, cursorX): adjust
3497         * text2.C (getColumnNearX): adjust
3498         (init): put a default value to the top LyXText::width
3499
3500 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3501
3502         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3503
3504 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3505
3506         * lyxtext.h: add FontIterator class
3507
3508         * text.C (FontIterator, operator*, operator->, operator++): add
3509         (rowBreakPoint, setRowWidth): adjust (fixing a
3510         rebreaking bug)
3511
3512 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3513
3514         * BufferView_pimpl.C (workAreaDispatch): allow also
3515         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3516
3517 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3518
3519         * text.C (rowBreakPoint): fix a bug showing with very large insets
3520
3521 2004-02-25  André Pönitz  <poenitz@gmx.net>
3522
3523         * text3.C:
3524         * cursor.[Ch]: move some mathed specific code to mathed
3525
3526 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3527
3528         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3529         use_tempdir in preferences
3530         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3531         tempfile creation
3532         * lyx_main.C: ensure that tempdir is valid
3533         * lyxlex.h: correct typo
3534         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3535         * paragraph.[Ch] (isMultiLingual): make const
3536         * cursor.[Ch] (openable): make const
3537
3538 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3539
3540         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3541
3542 2004-02-20  André Pönitz  <poenitz@gmx.net>
3543
3544         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3545
3546         * cursor.[Ch]: prepare for localized getStatus()
3547
3548         * lyxtext.h:
3549         * tabular.C:
3550         * text.C:
3551         * text2.C:
3552         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3553
3554 2004-02-20  André Pönitz  <poenitz@gmx.net>
3555
3556         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3557
3558 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3559
3560         * text2.C (setCursorFromCoordinates): switch to absolute coords
3561         (cursorUp): adjust
3562         (cursorDown): adjust
3563         * text3.C (dispatch): adjust
3564
3565 2004-02-16  André Pönitz  <poenitz@gmx.net>
3566
3567         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3568           insets/ChangeLog)
3569
3570         * cursor_slice.[Ch]: remove unneeded acessor function
3571
3572         * lyxtext.h: rename rtl() to isRTL()
3573
3574         * rowpainter.C:
3575         * tabular.C:
3576         * text.C:
3577         * text2.C:
3578         * text3.C: adjust
3579
3580 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3581
3582         * rowpainter.C (paintSelection): coord fix
3583
3584 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3585
3586         * Spacing.C: compile fix
3587
3588 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3589
3590         * cursor.C (dispatch): restore current_ before returning
3591
3592 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3593
3594         * text2.C (cursorUp, cursorDown): fix coords
3595         (moveUp): fix crash
3596
3597 2004-02-12  André Pönitz  <poenitz@gmx.net>
3598
3599         * lyxtext.h:
3600         * text.C:
3601         * text2.C:
3602         * text3.C: add LCursor & parameter to most cursor movement functions
3603           remove usage of LyXText::cursorRow() and cursorPar()
3604
3605         * cursor.[Ch]: add textRow() needed members
3606
3607         * BufferView.C:
3608         * BufferView_pimpl.C:
3609         * paragraph.[Ch]:
3610         * BufferView.C:
3611         * BufferView_pimpl.C: adjust
3612
3613 2004-02-11  André Pönitz  <poenitz@gmx.net>
3614
3615         * lyxfunc.C:
3616         * BufferView.[Ch]:
3617         * BufferView_pimpl.C: shift undo/redo handling
3618
3619         * cursor.[Ch]: fix mathed crash
3620
3621         * lyxfind.C:
3622         * lyxtext.h: move selectionAsText to LCursor
3623
3624         * output_latex.C:
3625         * paragraph.C:
3626         * text.C:
3627         * text2.C:
3628         * text3.C: adjust
3629
3630         * rowpainter.C: fix excessive drawing
3631
3632 2004-02-06  André Pönitz  <poenitz@gmx.net>
3633
3634         * BufferView.[Ch]:
3635         * BufferView_pimpl.[Ch]:
3636         * text3.C: move some text specific LFUN handling
3637
3638 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3639
3640         * text3.C (checkInsetHit): adjust coords
3641         * text2.C (getColumnNearX): adjust coords
3642         (edit): adjust coords
3643         * text.C (getRowNearY): add two asserts
3644
3645 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3646
3647         * converter.C:
3648         * format.C: add using std::distance to compile on gcc 2.95/stlport
3649
3650 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3651
3652         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3653
3654 2004-02-04  André Pönitz  <poenitz@gmx.net>
3655
3656         * BufferView.[Ch] (insertInset):
3657         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3658
3659         * text2.C:
3660         * text3.C: adjust
3661
3662 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3663
3664         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3665         on the default clause of the switch
3666         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3667         wasn't catched by LCursor::dispatch
3668
3669 2004-02-03  André Pönitz  <poenitz@gmx.net>
3670
3671         * BufferView.C:
3672         * cursor.[Ch]: some additional asserts
3673
3674         * undo.[Ch]: remove LyXText dependency in interface
3675
3676         * lyxfunc.C: adjust
3677
3678         * lyxtext.h (firstPar, lastPar): remove dead functions
3679
3680         * text.C:
3681         * text2.C:
3682         * text3.C:
3683         * paragraph.[Ch]: adjust
3684
3685 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3686
3687         * lyxfind.C (find): fix argument order in call to ::find
3688
3689 2004-02-02  André Pönitz  <poenitz@gmx.net>
3690
3691         * cursor.[Ch]: remove direct access to anchor
3692
3693         * text.C: remove findText() hack
3694
3695 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3696
3697         * iterators.[Ch] (lockPath): remove in favour of...
3698         * BufferView.[Ch] (setCursor): this addition
3699         * BufferView.C (putSelectionAt): adjust
3700         * undo.C (performUndoOrRedo): adjust
3701         * lyxfunc.C (dispatch): adjust
3702
3703 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3704
3705         * iterators.C (lockPath): add a missing slice
3706         * undo.C (performUndoOrRedo): remove redundant positioning code
3707
3708 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3709
3710         * vc-backend.C (scanMaster): ";" -> ';'
3711
3712 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3713
3714         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3715         std::binary_function
3716
3717         * lyxtextclass.C (compare_name): rename to...
3718         (LayoutNamesEqual): ...this
3719
3720         * lyxlex_pimpl.C (compare_tags): inherit from
3721         std::binary_function, put back into anon namespace
3722
3723         * lyxfind.C (MatchString): inherig from std::binary_function
3724         (findChange): use empty() istead of !size()
3725
3726         * format.C (FormatNamesEqual): new functor
3727         (getFormat): use it
3728         (getNumber): use it
3729         (add): use it
3730         (erase): use it
3731         (setViewer): use it
3732
3733         * converter.C (compare_Converter): rename to...
3734         (ConverterEqual): ...this, and fixup a bit.
3735         (getConverter): use it, and make function const
3736         (getNumber): use it, and make function const
3737         (add): use it
3738         (erase): use it:
3739
3740         * bufferlist.C: add using boost::bind
3741
3742         * MenuBackend.C (MenuNamesEqual): new functor
3743         (hasMenu): use it, and make function const
3744         (hasSubmenu): use nested bind to get rid of compare_memfun.
3745
3746 2004-01-30  André Pönitz  <poenitz@gmx.net>
3747
3748         * BufferView_pimpl.C:
3749         * cursor.C:
3750         * cursor.h:
3751         * cursor_slice.[Ch]:
3752         * lyxfunc.C:
3753         * lyxtext.h:
3754         * paragraph_funcs.C:
3755         * paragraph_funcs.h:
3756         * rowpainter.C:
3757         * text.C:
3758         * text2.C:
3759         * text3.C: move some of the edit(x,y) handling to the insets
3760         some coordinate changes.
3761
3762 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3763
3764         * text.C: add using statements for std::advance and std::distance
3765
3766         * paragraph.C: add using statement for std::distance
3767
3768         * lyxfind.C: add using statement for std::advance
3769
3770         * cursor.C (region): remove std:: from swap
3771         (openable): use nucleus in stead of operator->
3772
3773         * BufferView.C: add using statements for std::distance and std::swap
3774
3775 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3776
3777         * iterators.C: Remove the pimple, move the needed structures to
3778         the header file. Create accessor for the positions stack.
3779         (asPosIterator): remove function
3780
3781         * PosIterator.C (PosIterator): move constructors to top of file
3782         (PosIterator): reimplement the constructor taking a ParIterator in
3783         terms of setFrom.
3784         (setFrom): new function
3785         (operator!=): inline it
3786
3787 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3788
3789         * lyxfind.C (replaceAll): use std::advance
3790
3791         * iterators.h: inherit from std::iterator.
3792
3793         * PosIterator.C (advance, distance): remove
3794         * PosIterator.h: interit from std::iterator.
3795
3796 2004-01-26  André Pönitz  <poenitz@gmx.net>
3797
3798         * BufferView.[Ch]:
3799         * BufferView_pimpl.[Ch]:
3800         * InsetList.[Ch]:
3801         * PosIterator.[Ch]:
3802         * buffer.h:
3803         * bufferview_funcs.C:
3804         * cursor.[Ch]:
3805         * cursor_slice.h:
3806         * factory.[Ch]:
3807         * iterators.[Ch]:
3808         * lyxfind.C:
3809         * lyxfunc.C:
3810         * lyxtext.h:
3811         * output_docbook.C:
3812         * output_latex.C:
3813         * output_linuxdoc.C:
3814         * output_plaintext.C:
3815         * paragraph.[Ch]:
3816         * paragraph_funcs.[Ch]:
3817         * paragraph_pimpl.[Ch]:
3818         * rowpainter.C:
3819         * tabular.C:
3820         * tabular.h:
3821         * text.C:
3822         * text2.C:
3823         * text3.C: more IU:  dumps most of the rest of the mathcursor
3824     implementation into cursor.[Ch]; "globalize" a bit of it.
3825
3826 2004-01-25  Angus Leeming  <leeming@lyx.org>
3827
3828         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3829
3830 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3831
3832         * LaTeXFeatures.h: add nice_ and nice() const
3833         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3834
3835 2004-01-20  André Pönitz  <poenitz@gmx.net>
3836
3837         * BufferView.[Ch]:
3838         * BufferView_pimpl.C:
3839         * PosIterator.C:
3840         * bufferview_funcs.C:
3841         * cursor.[Ch]:
3842         * cursor_slice.[Ch]:
3843         * factory.C:
3844         * iterators.C:
3845         * lyx_cb.C:
3846         * lyxfind.C:
3847         * lyxfunc.C:
3848         * lyxtext.h:
3849         * rowpainter.C:
3850         * text.C:
3851         * text2.C:
3852         * text3.C:
3853         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3854           LCursor and mathcursor parts to LCursor and InsetBase.
3855
3856 2004-01-15  André Pönitz  <poenitz@gmx.net>
3857
3858         * cursor_slice.[Ch]: add a few covienience functions
3859
3860         * funcrequest.[Ch]: remove BufferView * member
3861
3862         * BufferView_pimpl.C:
3863         * cursor.C:
3864         * factory.[Ch]:
3865         * lyxfind.[Ch]:
3866         * lyxfunc.C:
3867         * lyxtext.h:
3868         * text3.C:
3869         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3870
3871 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3872
3873         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3874         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3875
3876 2004-01-13  André Pönitz  <poenitz@gmx.net>
3877
3878         * textcursor.[Ch]:
3879         * lyxtext.h: hide cursor and selection anchor behind accessor function
3880
3881         * BufferView.C:
3882         * BufferView_pimpl.[Ch]:
3883         * PosIterator.C:
3884         * bufferview_funcs.C:
3885         * cursor.h:
3886         * lyxfind.C:
3887         * lyxfunc.C:
3888         * text.C:
3889         * text2.C:
3890         * text3.C:
3891         * undo.C: adjust
3892
3893         * cursor.h:
3894         * cursor_slice.[Ch]: some integer type changes for inset unification
3895
3896         * lyxcursor.[hC]: remove, it's CursorSlice now.
3897
3898         * Makefile.am:
3899         * BufferView_pimpl.[Ch]:
3900         * bufferview_funcs.C:
3901         * cursor_slice.C:
3902         * lyxtext.h:
3903         * text.C:
3904         * text2.C:
3905         * text3.C:
3906         * textcursor.[Ch]: adjust
3907
3908 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3909
3910         * text2.C (undoSpan): add and use
3911         * text.C (breakParagraph): use undoSpan (fix bug 578)
3912         * lyxtext.h: adjust
3913
3914 2004-01-08  Angus Leeming  <leeming@lyx.org>
3915
3916         * BufferView_pimpl.C (MenuInsertLyXFile):
3917         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3918         * lyxfunc.C (menuNew, open, doImport):
3919         FileFilterList change to the FileDialog open and save functions.
3920
3921 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3922
3923         * ShareContainer.h: make isEqual and isUnique adaptable
3924
3925         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3926
3927 2004-01-07  Angus Leeming  <leeming@lyx.org>
3928
3929         * LyXAction.C:
3930         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3931
3932         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3933
3934         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3935         functions replacing find, replace and replaceAll.
3936
3937         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3938         LFUN_WORDFIND(FORWARD|BACKWARD).
3939
3940 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3941
3942         * text.C (breakParagraph): remove an outdated #warning
3943
3944 2004-01-07  André Pönitz  <poenitz@gmx.net>
3945
3946         * lyxfind.C: somewhat clearer logic
3947
3948         * text.C: prevent crash in cursorX on unitialized row cache
3949
3950 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3951
3952         * lyxcursor.[Ch] (operator>): add
3953         * textcursor.C (selStart, selEnd): use std::min and std::max
3954
3955 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3956
3957         * Chktex.C: include boost/format.hpp
3958
3959 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3960
3961         * InsetList.C: replace functor MathcIt with adaptable functor
3962         InsetTablePosLess
3963         (insetIterator): modify accordingly
3964
3965         * BranchList.h: move the BranchNamesEqual functor here from...
3966         * BranchList.C: ... to here
3967
3968         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3969         SameName and match.
3970         (add): replace a finding loop with std::find_if.
3971
3972 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3973
3974         * output_docbook.C: moving LatexParam functionality into
3975         .layout files
3976
3977 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3978
3979         * buffer.C: increment format to 229.
3980
3981 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3982
3983         * LaTeXFeatures.C:
3984         * lyx_sty.[Ch]: remove minipageindent_def
3985
3986         * LyXAction.C:
3987         * factory.C:
3988         * lfuns.h:
3989         * lyxfunc.C:
3990         * text3.C: remove LFUN_INSET_MINIPAGE
3991
3992 2003-12-28  Angus Leeming  <leeming@lyx.org>
3993
3994         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3995
3996 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3997
3998         * text2.C (setParagraph): fix off-by-one crash
3999
4000 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4001
4002         * output_docbook.C: header stuff for AGU
4003
4004 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4005
4006         * text2.C (redoCursor): remove
4007         * text.C:
4008         * text3.C:
4009         * BufferView_pimpl.C: remove calls to redoCursor and
4010         setCursor(cursor.par(), cursor.pos()) all around
4011
4012 2003-12-15  Angus Leeming  <leeming@lyx.org>
4013
4014         * buffer.C: up the format to 228.
4015
4016 2003-12-15  André Pönitz  <poenitz@gmx.net>
4017
4018         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4019         slices
4020
4021         * Makefile.am:
4022
4023         * BufferView_pimpl.C:
4024         * cursor.[Ch]:
4025         * lyxcursor.[Ch]:
4026         * rowpainter.[Ch]:
4027         * lyxtext.h:
4028         * text.C:
4029         * text2.C:
4030         * text3.C: adjust
4031
4032 2003-12-15  Angus Leeming  <leeming@lyx.org>
4033
4034         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4035         than getFromGUIName to manipulate the color.
4036
4037 2003-12-14  Angus Leeming  <leeming@lyx.org>
4038
4039         * BranchList.[Ch]: minimize the API.
4040         (Branch::getBranch, getColor): now return a 'const &'.
4041         (Branch::setSelected) now returns a bool set to true if the
4042         selection status changes.
4043         (BranchList::clear, size, getColor, setColor, setSelected,
4044         allBranches, allSelected, separator): removed.
4045         (BranchList::find): new functions, returning the Branch with
4046         the given name.
4047         (BranchList::add, remove): return a bool indicating that
4048         the operation was successful.
4049
4050         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4051         new InsetBranch::isBranchSlected member function.
4052
4053         * LColor.[Ch]: mimimize the API.
4054         (fill): renamed as addColor and made private.
4055         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4056         versions of these functions taking a string arg have been removed.
4057
4058         * bufferparams.C (readToken):
4059         * lyxfunc.C (dispatch):
4060         * lyxrc.C (read): changes due to the altered BranchList and
4061         LColor APIs.
4062
4063         * factory.C (createInset, readInset): changes due to altered
4064         InsetBranch c-tor.
4065
4066 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4067
4068         * factory.C:
4069         * lyxfunc.C: remove insetminipage. "minipage-insert"
4070         now produces a frameless minipage box inset.
4071
4072 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4073
4074         * textcursor.[Ch] (selStart,selEnd): add new methods
4075         remove selection::start, end, use LyXCursor::operator<
4076         * lyxcursor.[Ch] (operator<): add
4077         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4078         * BufferView.[Ch] (unsetXSel): add
4079         * text2.C (clearSelection): use unsetXSel,adjust
4080         * text.C: adjust
4081         * text3.C: adjust
4082         * rowpainter.C: adjust
4083         * bufferview_funcs.C (put_selection_at): adjust
4084
4085 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4086
4087         * BufferView_pimpl.C: small coord. correction
4088
4089 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4090
4091         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4092         dragging over the splash screen.
4093
4094 2003-12-11  Angus Leeming  <leeming@lyx.org>
4095
4096         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4097         as it is now handled in LyXText::dispatch.
4098
4099         * text3.C (doInsertInset): remove a level of nesting.
4100
4101 2003-12-11  Angus Leeming  <leeming@lyx.org>
4102
4103         * factory.C (createInset): changes due to the changed interface to
4104         InsetCommandMailer::string2params.
4105
4106 2003-12-10  Angus Leeming  <leeming@lyx.org>
4107
4108         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4109         'dialog-show-new-inset <inset name>'
4110
4111 2003-12-10  Angus Leeming  <leeming@lyx.org>
4112
4113         * buffer.C: up the format to 227.
4114
4115         * factory.C: the box inset is now identified simply by 'Box'.
4116
4117 2003-12-10  Angus Leeming  <leeming@lyx.org>
4118
4119         * buffer.C: up the format to 226.
4120
4121         * factory.C: the note inset is now identified simply by 'Note'.
4122
4123 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4124
4125         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4126         when a pit is enough. Standarize a couple of loops.
4127
4128 2003-12-05  Angus Leeming  <leeming@lyx.org>
4129
4130         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4131         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4132         data to the re-worked "log" dialog.
4133
4134 2003-12-03  André Pönitz  <poenitz@gmx.net>
4135
4136         * PosIterator.C:
4137         * iterators.C:
4138         * lyxtext.h:
4139         * output_latex.C:
4140         * paragraph_funcs.C:
4141         * text.C:
4142         * text2.C: use Inset::getText instead of Inset::getParagraph
4143
4144 2003-12-03  André Pönitz  <poenitz@gmx.net>
4145
4146         * buffer.[Ch]:
4147         * lyxtext.h:
4148         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4149         InsetText::read() as LyXText::read()
4150
4151 2003-12-02  Angus Leeming  <leeming@lyx.org>
4152
4153         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4154         type. Add a comment in the implementation that the function uses
4155         the stream's bad() function rather than fail() as the std::streams
4156         would do.
4157
4158 2003-12-02  André Pönitz  <poenitz@gmx.net>
4159
4160         * lyxlex.[Ch]: make interface more similar to std::stream
4161
4162         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4163
4164 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4165
4166         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4167
4168 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4169
4170         * vspace.[Ch]: remove VSpace::NONE
4171
4172 2003-12-01  André Pönitz  <poenitz@gmx.net>
4173
4174         * buffer.[Ch]:
4175         * lyxtext.h: move ParagraphList member to LyXText
4176         rename LyXText::ownerParagraphs to LyXText::paragraph
4177
4178         * CutAndPaste.C:
4179         * bufferview_funcs.C:
4180         * iterators.[Ch]:
4181         * lyx_cb.C:
4182         * paragraph.C:
4183         * rowpainter.C:
4184         * tabular.C:
4185         * text.C:
4186         * text2.C:
4187         * text3.C: adjust
4188
4189         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4190
4191         * undo.C: fix cursor positioning
4192
4193 2003-12-01  John Levon  <levon@movementarian.org>
4194
4195         * BufferView_pimpl.C: fix a crash on exit with
4196         a buffer open
4197
4198 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4199
4200         * BranchList.C: fix setSelected() method.
4201
4202 2003-11-28  André Pönitz  <poenitz@gmx.net>
4203
4204         * ParagraphParameters.[Ch]:
4205         * ParameterStruct.h: remove space above/below from Paragraph to
4206          InsetVSpace
4207
4208         * BufferView_pimpl.C:
4209         * factory.C:
4210         * lyxfunc.C:
4211         * lyxtext.h:
4212         * output_latex.C:
4213         * paragraph.C:
4214         * paragraph_funcs.C:
4215         * rowpainter.[Ch]:
4216         * text.C:
4217         * text2.C:
4218         * text3.C: adjust
4219
4220 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4221
4222         * factory.C: Syntax change for CharStyles
4223
4224 2003-11-28  André Pönitz  <poenitz@gmx.net>
4225
4226         * BufferView.[Ch]:
4227         * BufferView.[Ch]:
4228         * buffer.[Ch]:
4229         * buffer.[Ch]: move LyXText member
4230
4231 2003-11-28  André Pönitz  <poenitz@gmx.net>
4232
4233         * BufferView.[Ch]: make LyXText * text a private member
4234
4235         * BufferView_pimpl.C:
4236         * cursor.C:
4237         * iterators.C:
4238         * lyx_cb.C:
4239         * lyxfind.C:
4240         * lyxtext.h:
4241         * rowpainter.[Ch]:
4242         * text.C:
4243         * text2.C:
4244         * undo.C: adjust
4245
4246         * output_plaintext.C: cleanup
4247
4248 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4249
4250         * buffer.C:
4251         * lyxtextclass.[Ch]: parametrize SGML document header
4252
4253 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4254
4255         * converter.[Ch]:
4256         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4257         getFlavor().
4258
4259 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4260
4261         * text2.C (setFont): rework using PosIterator (no more recursive)
4262         (setCharFont): no more needed
4263         (setLayout): no more selection cursors fiddling (done by redoCursor)
4264         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4265         destroy remaining ones)
4266
4267 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4268
4269         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4270         * lyxtext.h: ditto
4271         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4272         selection cursors
4273         * lyxfunc.C: adjust
4274         * text3.C: adjust + re-allow multi par depth changes
4275         * textcursor.C: simplify a bit
4276
4277 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4278
4279         * src/buffer.C:
4280         * src/lyxlayout.C:
4281         * src/lyxlayout.h:
4282         * src/lyxtext.h:
4283         * src/output_docbook.C:
4284         * src/output_latex.C:
4285         * src/paragraph.C:
4286         * src/paragraph.h:
4287         * src/sgml.C:
4288         * src/sgml.h:
4289         * src/text2.C: Introducing a number of tags parametrizing various
4290         XML formats that we may want to support
4291
4292 2003-11-25  André Pönitz  <poenitz@gmx.net>
4293
4294         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4295
4296         * lyxtext.h (leftMargin/rightMargin): simplify interface
4297
4298         * rowpainter.C:
4299         * text.C:
4300         * text2.C:
4301         * text3.C: adjust
4302
4303 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4304
4305         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4306         master file to any child files. Fixes bug 546.
4307
4308 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4309
4310         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4311
4312 2003-11-24  André Pönitz  <poenitz@gmx.net>
4313
4314         * rowpainter.C: simplification
4315
4316         * text2.C (updateCounters): remove call to redoParagraph on
4317         changed labels as this is far too expensive.
4318
4319 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4320
4321         * converter.C (convert): fix a crash: this function gets
4322         called with buffer == 0 from importer code.
4323
4324 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4325
4326         * text3.C (cursorPrevious): make sure that we do not compare
4327         iterators form different containers.
4328         (cursorNext): ditto
4329
4330         * rowpainter.C (paintSelection): make sure that we do not compare
4331         iterators from different containers.
4332
4333         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4334         iterators from different ParagraphList containers.
4335         [NEXT] ditto
4336
4337         * text2.C (LyXText): change order of initialization slightly
4338         (operator=): new function. copy all variables except cache_par_
4339         (moveUp): make sure that we do not compare iterators from
4340         different ParagraphList constainers.
4341         (moveDown): ditto
4342
4343         * text.C (firstPar): new function
4344         (lastPar): new function
4345         (endPar): new function
4346
4347         * lyxtext.h: move things around and group public functions, public
4348         variables, private functions, private variables
4349
4350 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4351
4352         * factory.C: change call to InsetERT constructor to avoid
4353         additional invocation of method status
4354         * text2.C (toggleInset): remove redundant update() call
4355         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4356         instead of a Bufferview pointer
4357
4358 2003-11-21  André Pönitz  <poenitz@gmx.net>
4359
4360         * rowpainter.C: simplification
4361
4362 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4363
4364         * text3.C (dispatch): make possible to extend a word/row selection
4365         with the mouse
4366
4367 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4368
4369         * lyxtext.h: x0_,y0_ -> xo_,yo_
4370         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4371         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4372         * rowpainter.C (paintRows): paint full paragraphs
4373
4374 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4375
4376         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4377         screen coordinates)
4378
4379 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4380
4381         * lyxtext.h: add x0_, y0_
4382         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4383         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4384
4385 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4386
4387         * text2.C (setCursorIntern): move the x_target update here *
4388         * text3.C: change some bv() to true/false in calls to
4389         cursorUp/Down/Right/Left
4390         * cursor.C: use helper function.
4391
4392 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4393
4394         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4395         * paragraph_funcs.[Ch]: correct comment
4396         * rowpainter.C: do not paint selections away from bv->cursor()
4397         Fix a long standing selection painting bug.
4398         * text3.C: generalize mouse-selection code to LyXTexts other that
4399         top one
4400         * textcursor.C: do not use y coords if we can use par offsets
4401
4402 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4403
4404         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4405         cursor position after e.g. inset insert)
4406
4407 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4408
4409         * lyxfind.C (replace): adjust to locking removal + some
4410         code simplification
4411
4412 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4413
4414         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4415         of the path
4416
4417 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4418
4419         * lyxlayout.[Ch]:
4420         * output_docbook.C: XML sanitation: new layout
4421         parameters InnerTag and CommandDepth
4422
4423 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4424
4425         * BufferView_pimpl.C:
4426         * factory.C:
4427         * text3.C: Fix the insertion and modification of button-style
4428         insets
4429
4430 2003-11-13  André Pönitz  <poenitz@gmx.net>
4431
4432         * InsetList.[Ch]: remove deleteLyXText
4433
4434         * paragraph.[Ch]: cache beginOfBody position
4435
4436         * Bidi.C:
4437         * text.C:
4438         * text2.C:
4439         * text3.C: remove superfluous update() calls
4440
4441         * vspace.C: cleanup
4442
4443 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4444
4445         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4446         * BufferView.C (fitLockedInsetCursor): remove
4447         * cursor.[Ch] (getDim): add
4448         * text.C (getRowNearY): add faster version
4449         * text3.C: remove some update calls
4450
4451 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4452
4453         * LaTeXFeatures.C:
4454         * LyXAction.C:
4455         * MenuBackend.C:
4456         * MenuBackend.h:
4457         * dispatchresult.h:
4458         * factory.C:
4459         * lfuns.h:
4460         * lyxfunc.C:
4461         * lyxtextclass.C:
4462         * lyxtextclass.h:
4463         * text3.C: The Character Style /XML short element patch.
4464
4465 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4466
4467         * text3.C:
4468         * factory.C: Small step to solving 'unable to insert some insets'
4469         problem
4470
4471 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4472
4473         * cursor.[Ch] (updatePos): new function for updating the y
4474         position of the tip inset
4475         * bufferview_funcs.C (put_selection_at):
4476         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4477
4478 2003-11-11  André Pönitz  <poenitz@gmx.net>
4479
4480         * text.C: remove big comment on invalid Paragraph pointers as it is
4481         not valid anymore
4482
4483 2003-11-11  André Pönitz  <poenitz@gmx.net>
4484
4485         * text_funcs.[Ch]: merge with ...
4486
4487         * text.C: ... this
4488
4489         * lyxtext.h:
4490         * text2.C:
4491         * text3.C: adjust
4492
4493         * Makefile.am: remove text_funcs.[Ch]
4494
4495 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4496
4497         * cursor.C (getPos): return absolute cached y coord
4498
4499         * BufferView_pimpl.C (fitCursor): new simplistic code
4500         (workAreaDispatch): add a fitCursor call
4501
4502 2003-11-10  André Pönitz  <poenitz@gmx.net>
4503
4504         * BufferView.[Ch]:
4505         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4506
4507 2003-11-10  André Pönitz  <poenitz@gmx.net>
4508
4509         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4510         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4511         indicate that the cursor needs to leave an inset
4512
4513         * lyxtext.h: remove inset locking
4514
4515         * cursor.[Ch]: re-implement functionality provided by inset locking
4516
4517         * BufferView.[Ch]:
4518         * BufferView_pimpl.[Ch]:
4519         * LyXAction.C:
4520         * bufferview_funcs.[Ch]:
4521         * factory.C:
4522         * funcrequest.[Ch]:
4523         * iterators.C:
4524         * lyx_cb.C:
4525         * lyxfind.C:
4526         * lyxfunc.C:
4527         * text.C:
4528         * text2.C:
4529         * text3.C:
4530         * undo.C: adjust
4531
4532 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4533
4534         * PosIterator.[Ch]: replace the stack with a vector, add inset
4535         accesor
4536         * iterators.[C]: adjust
4537
4538 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4539
4540         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4541         replaced
4542         * paragraph_funcs.C (readParToken): put the correct id in the
4543         error item, not the id of the top paragraph
4544
4545 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4546
4547         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4548         * bufferview_funcs.C (put_selection_at): use the above
4549
4550 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4551
4552         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4553
4554 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4555
4556         * output_linuxdoc.h:
4557         * output_plaintext.h:
4558         * output.h:
4559         * output_docbook.h: add #include statements
4560
4561 2003-11-05  José Matos  <jamatos@lyx.org>
4562
4563         * output_docbook.[Ch]:
4564         * output_latex.[Ch]:
4565         * output_linuxdoc.[Ch]:
4566         * output_plaintext.[Ch]: New files for output formats.
4567         * output.[Ch]: New file for helper functions.
4568
4569         * buffer.[Ch]:
4570         * paragraph_funcs.[Ch]: output functions moved to new files.
4571
4572         * outputparams.h: rename of latexrunparams.h
4573
4574         * LaTeX.[Ch]:
4575         * buffer.[Ch]:
4576         * bufferlist.[Ch]:
4577         * converter.[Ch]:
4578         * exporter.C:
4579         * paragraph.[Ch]:
4580         * paragraph_funcs.[Ch]:
4581         * paragraph_pimpl.[Ch]:
4582         * tabular.[Ch]: rename ascii to plaintext
4583         and LatexRunParams to OutputParams.
4584
4585 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4586
4587         * iterators.[Ch] (text): require bv argument
4588         * undo.C (recordUndo):
4589         * lyxfunc.C (dispatch):
4590         * bufferview_funcs.C (put_selection_at): adjust
4591
4592 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4593
4594         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4595
4596 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4597
4598         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4599         nestings
4600
4601 2003-11-04  André Pönitz  <poenitz@gmx.net>
4602
4603         * cursor.[Ch]: restructure
4604
4605         * BufferView.[Ch]:
4606         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4607
4608         * iterators.[Ch] (asCursor): remove
4609
4610         * lfuns.h: remove LFUN_INSET_EDIT
4611
4612         * lyxfunc.C:
4613         * tabular.C:
4614         * text.C:
4615         * text2.C:
4616         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4617
4618 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4619
4620         * lyxfind.[Ch]: complete overhaul
4621         * BufferView_pimpl.C:
4622         * lyxfunc.C: adjust
4623         * paragraph.[Ch] (insert): add
4624
4625 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4626
4627         * BufferView.[Ch]:
4628         * lyxtext.h:
4629         * text.C: remove dead spellcheck code
4630
4631 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4632
4633         * dispatchresult.h: add a val setter
4634
4635         * cursor.C (dispatch): use a tempvar for data_[i]
4636
4637 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4638
4639         * PosIterator.[Ch]: compile fix
4640
4641 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4642
4643         * text.C (cursorPar): deactivate the cursor cache
4644
4645 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4646
4647         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4648
4649 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4650
4651         * text3.C (dispatch): adjust for new DisptchResult semantics.
4652
4653         * lyxfunc.C (dispatch): handle update when return from
4654         Cursor::dispatch, adjust for new DispatchResult semantics.
4655
4656         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4657         DispatchResult(true) mean to not update. Add class functions for
4658         setting dispatched and update, as well as reading.
4659
4660         * cursor.C (dispatch): don't handle update here
4661
4662 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4663
4664         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4665         * trans_mgr.C: adjust
4666
4667         * paragraph_funcs.C (readParToken): exception safety
4668
4669         * lyxvc.h: store the vcs pointer in a scoped_ptr
4670         * lyxvc.C: adjust
4671
4672         * lyxsocket.C (serverCallback): exception safety
4673
4674         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4675
4676         * ispell.C (clone): make it return a auto_ptr
4677
4678         * factory.C (createInset): exception safety
4679         (readInset): exception safety
4680
4681         * bufferlist.C (newBuffer): exception safety
4682
4683         * Thesaurus.C (Thesaurus): use initialization for aik_
4684
4685         * MenuBackend.C (expandToc): exception safety.
4686
4687 2003-11-03  André Pönitz  <poenitz@gmx.net>
4688
4689         * buffer.C:
4690         * buffer.h:
4691         * bufferview_funcs.C: remove getInsetFromId()
4692
4693         * lyxcursor.[Ch]:
4694         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4695
4696         * lyxfunc.C:
4697         * text2.C:
4698         * text3.C: adjust
4699
4700 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4701
4702         * PosIterator.C (distance, advance): new
4703         * bufferview_funcs.[Ch] (put_selection_at): new
4704         * iterators.[Ch] (lockPath): new
4705
4706 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4707
4708         * iterators.[Ch] (asPosIterator): added
4709         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4710         * PosIterator.[Ch]: added
4711
4712 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4713
4714         * text3.C:
4715         * lyxfunc.C:
4716         * cursor.C (dispatch):
4717         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4718
4719         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4720         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4721         contructor, add a class function dispatched. Remove operator>=
4722
4723 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4724
4725         * debug.C: only use the default constructor for debugstream
4726         (lyxerr) here.
4727
4728         * main.C (main): include debug.h and setup the lyxerr streambuf
4729         here.
4730
4731 2003-10-31  José Matos  <jamatos@lyx.org>
4732
4733         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4734
4735         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4736         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4737         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4738         * paragraph_pimpl.C (simpleTeXSpecialC):
4739         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4740         add LatexRunParams argument.
4741
4742         * exporter.C (Export): change call accordingly.
4743
4744         * latexrunparams.h: add new member to take care of the other backends.
4745 2003-10-30  José Matos  <jamatos@lyx.org>
4746
4747         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4748         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4749         factorise code for paragraph output.
4750         * buffer.[Ch]:
4751         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4752         move functions.
4753
4754 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4755
4756         * text3.C (dispatch):
4757         * lyxfunc.C (dispatch):
4758         * cursor.C (dispatch):
4759         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4760
4761         * dispatchresult.h: make the dispatch_result_t ctor explicit
4762
4763 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4764
4765         * sgml.[Ch]:
4766         * buffer.C: small refactoring of docbook stuff
4767
4768 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4769
4770         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4771         meaning.
4772
4773 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4774
4775         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4776         operator dispatch_result_t, and operators for == != and >=
4777
4778         * cursor.C (dispatch): adjust for operator dispatch_result_t
4779         removal. comment out call to update
4780
4781         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4782
4783 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4784
4785         * text3.C:
4786         * text2.C:
4787         * text.C:
4788         * lyxtext.h:
4789         * lyxfunc.C:
4790         * cursor.C:
4791         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4792         (dispatch):
4793
4794         * dispatchresult.h: new file, DispatchResult broken out of
4795         insets/insetbase.h
4796
4797         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4798
4799 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4800
4801         * text.C (rowBreakPoint): put a hack inside #if 0
4802
4803 2003-10-28  André Pönitz  <poenitz@gmx.net>
4804
4805         * lyxtext.h:
4806         * metricsinfo.C:
4807         * paragraph_funcs.C:
4808         * rowpainter.C:
4809         * text.C:
4810         * text2.C: general cleanup (lots of small stuff)
4811
4812 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4813
4814         * text2.C (cursorEnd): simple fix to the "end key goes to one
4815         before the end on last row" bug
4816
4817 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4818
4819         * text.C (backspace): fix the "zombie characters"
4820
4821 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4822
4823         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4824
4825 2003-10-27  André Pönitz  <poenitz@gmx.net>
4826
4827         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4828
4829         * factory.C: handle new InsetPagebreak, InsetLine
4830
4831         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4832         and move handling into new InsetPagebreak, InsetLine
4833
4834         * BufferView_pimpl.C:
4835         * LyXAction.C:
4836         * ParagraphParameters.C:
4837         * ParameterStruct.h:
4838         * lyxfunc.C:
4839         * lyxtext.h:
4840         * paragraph.C:
4841         * paragraph.h:
4842         * paragraph_funcs.C:
4843         * paragraph_pimpl.C:
4844         * rowpainter.C:
4845         * text.C:
4846         * text2.C:
4847         * text3.C: adjust
4848
4849 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4850
4851         * text.C:
4852         * lyxrow_funcs.[Ch]:
4853         * Bidi.C:
4854         * paragraph.C:
4855         * lyxtext.h:
4856         * rowpainter.C:
4857         * text2.C:
4858         * text3.C: remove lastPos uses in favour of Row::endpos
4859
4860 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4861
4862         * undo.C (performUndoOrRedo): fix two crashes by setting a
4863         cursor by hand and reordering some calls. Use bv->lockInset instead
4864         of inset->edit because the latter loses cursor information
4865
4866 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4867
4868         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4869         by Martin
4870         (rowBreakPoint): fix width. change point to point + 1.
4871         Add a missing check.
4872
4873 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4874
4875         * MenuBackend.C:
4876         * lyxfunc.C: fix (at least partly) the problems
4877         with the Nav menu and headers inside branch insets
4878         reported by Kayvan
4879
4880 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4881
4882         * paragraph.C (getChar): add strong asserts
4883
4884         * lyxrow_funcs.C (lastPos): remove hideous hack
4885
4886         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4887         (fill): adjust to that (avoid an infinite loop)
4888
4889 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4890
4891         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4892
4893 2003-10-23  André Pönitz  <poenitz@gmx.net>
4894
4895         * RowList_fwd.h: change list<> to vector<> to gain speed
4896         after suggestion from Alfredo
4897
4898 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4899
4900         * lyxtext.h: move the bidi stuff from here...
4901         * text.C: and here
4902         * text2.C: and here
4903         * Bidi.[Ch]: ... to here
4904
4905 2003-10-23  André Pönitz  <poenitz@gmx.net>
4906
4907         * lyxtext.h:
4908         * text.C (isLastRow, isFirstRow): new functions
4909
4910         * paragraph.h: new width cache member
4911
4912         * rowpainter.C: replace RowList::iterator with Row & where possible
4913
4914         * lyxfunc.C: replace several view()->text with a single call
4915
4916         * toc.C: fix 'unused' warning
4917
4918 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4919
4920         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4921         when woring with stream::pos_type
4922         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4923
4924 2003-10-22  André Pönitz  <poenitz@gmx.net>
4925
4926         * lyxtext.h:
4927         * text.C: use Row & instead of RowList::iterator
4928
4929         * lyxrow.h: rename end() to endpos()
4930
4931         * rowpainter.C:
4932         * text.C:
4933         * text2.C: adjust
4934
4935 2003-10-22  Angus Leeming  <leeming@lyx.org>
4936
4937         * buffer.[Ch] (fully_loaded): new member function, returning true
4938         only when the file has been loaded fully.
4939         Used to prevent the premature generation of previews and by the
4940         citation inset to prevent computation of the natbib-style label.
4941
4942         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4943         templates are all set up.
4944
4945         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4946
4947 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4948
4949         * text.C: fixed an "oops" in the "is a bit silly"
4950         bug fix
4951
4952 2003-10-21  André Pönitz  <poenitz@gmx.net>
4953
4954         * FuncStatus.[Ch]: small stuff, whitespace
4955
4956         * lyxfont.[Ch]: operator<<() for debug reasons
4957
4958         * lyxfunc.C:
4959         * lyxrow_funcs.C:
4960         * lyxtext.h: whitespace, spelling
4961
4962         * paragraph.C: naming of variables
4963
4964         * text.C:
4965         * text2.C: small stuff
4966
4967
4968 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4969
4970         * text.C: (1) finish off the inset display() work;
4971         (2) fix the "is a bit silly" bug (accessing char
4972         past end of par).
4973
4974 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4975
4976         * text.C: re-introduce display() for insets, fixing the
4977         various bugs (stretch of line above, math inset
4978         positioning, ...)
4979
4980 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4981
4982         * text.C (rightMargin): remove spurious semicolon
4983
4984         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4985         1415)
4986
4987 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4988
4989         * text3.C: fix one crash due to wrong cursor def
4990
4991 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4992
4993         * vc-backend.C (scanMaster): make the regex static
4994
4995         * LaTeX.C (scanAuxFile): make the regexs static
4996
4997         * text3.C (doInsertInset, dispatch, dispatch):
4998         * text2.C (cursorUp, cursorDown):
4999         * text.C (selectNextWordToSpellcheck):
5000         * BufferView_pimpl.C (dispatch):
5001         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5002
5003 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5004
5005         * lyxsocket.C: include <cerrno>
5006
5007 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5008
5009         * lyxfunc.C (dispatch): remove textcache stuff
5010
5011         * bufferlist.C (release): remove textcache stuff
5012         (closeAll): ditto
5013
5014         * TextCache.C: delete file
5015         * TextCache.h: delete file
5016
5017         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5018
5019         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5020         delete of the bv_->text.
5021         (resizeCurrentBuffer): remove texcache stuff
5022         (workAreaResize): ditto
5023
5024 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5025
5026         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5027         action.
5028
5029 2003-10-16  André Pönitz  <poenitz@gmx.net>
5030
5031         * lyxrow.[Ch]:
5032         * paragraph.h:
5033         * rowpainter.C:
5034         * text.C:
5035         * text2.C:
5036         * text3.C: speed up by storing y positions per paragraph plus per-row
5037         offset instead of having a 'full' y position in the row.
5038
5039 2003-10-15  André Pönitz  <poenitz@gmx.net>
5040
5041         * iterators.[Ch]:
5042         * iterators.[Ch]:
5043         * undo.[Ch]: make undo aware of inner insets
5044
5045 2003-10-14  Angus Leeming  <leeming@lyx.org>
5046
5047         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5048         static member functions LyX::ref() and LyX::cref.
5049         (lastfiles): new accessor functions for the new lastfiles_ member var.
5050         (addLyXView, views_): add a new LyXView to the list of views_.
5051         (updateInset): loop over all LyXViews to call their own updateInset
5052         member function, returning a pointer to the Buffer owning the inset.
5053
5054         * BufferView_pimpl.C (loadLyXFile):
5055         * MenuBackend.C (expandLastfiles):
5056         * bufferlist.C (MenuWrite, QuitLyX):
5057         lastfiles is no longer a global variable.
5058         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5059
5060         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5061         static function. Access through LyX::cref().emergencyCleanup().
5062
5063 2003-10-14  André Pönitz  <poenitz@gmx.net>
5064
5065         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5066
5067         * undo.[Ch]: restoring part of 'undo in insets'
5068
5069         * Makefile.am:
5070         * undo_funcs.[Ch]: merge with undo.[Ch]
5071
5072         * tabular.C: small cleansing stuff
5073
5074 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5075
5076         * paragraph_funcs.C (readParToken): report unknown insets as error
5077         boxes. Use the outer paragraph as location (also for unknown
5078         tokens).
5079
5080         * factory.C (readInset): do not abort on reading an unknown inset.
5081         Eat it and return 0.
5082
5083 2003-10-13  Angus Leeming  <leeming@lyx.org>
5084
5085         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5086
5087         * lyxrc.C: displayTranslator is now a function,
5088         declared in GraphicsTypes.h.
5089
5090 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5091
5092         * format.C: new placeholder $$a to pass the socket address.
5093
5094         * bufferlist.[Ch]: new function getBufferFromTmp.
5095
5096         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5097           files in the temporary dir.
5098
5099 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5100
5101         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5102
5103         * Makefile.am: add lyxsocket.[Ch].
5104
5105         * lyx_main.C (error_handler): handle SIGPIPE.
5106
5107 2003-10-13  André Pönitz  <poenitz@gmx.net>
5108
5109         * BufferView_pimpl.C:
5110         * lyxtext.h:
5111         * text.C:
5112         * text2.C:
5113         * text3.C:
5114         * undo_funcs.[Ch]: use paroffset_type instead of
5115           ParagraphList::iterators to prevent multiple conversion
5116           (and get a more robust interface)
5117
5118 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5119
5120         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5121         * lyxtext.h: ditto
5122         * text3.C (dispatch): ditto
5123
5124 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5125
5126         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5127         move the onlyfile, use onlyfile instead of foundfile in a couple
5128         of places.
5129
5130         * DepTable.C (update): flush the error stream a bit more
5131
5132 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5133
5134         * lyxserver.C (callback): adjust
5135
5136         * lyxfunc.C (getStatus): add a missing brace in commented code
5137         (ensureBufferClean): reindent
5138         (dispatch): delete version taking a string
5139
5140 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5141
5142         * LaTeX.C (deplog): move found file handlig from here...
5143         (handleFoundFile): .. to new function here.
5144         (deplog): make sure to discover several files mentioned on the
5145         same log line.
5146
5147 2003-10-10  André Pönitz  <poenitz@gmx.net>
5148
5149         * lyxfunc.C:
5150         * lyxtext.h:
5151         * tabular.C:
5152         * text.C:
5153         * text2.C:
5154         * text3.C: fix some of the tabular crashes
5155
5156 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5157
5158         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5159
5160         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5161
5162 2003-10-09  André Pönitz  <poenitz@gmx.net>
5163
5164         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5165
5166         * BufferView.C:
5167         * BufferView_pimpl.C:
5168         * bufferview_funcs.C:
5169         * lyx_cb.C:
5170         * lyxcursor.C:
5171         * lyxfind.C:
5172         * lyxfunc.C:
5173         * lyxtext.h:
5174         * text.C:
5175         * text2.C:
5176         * text3.C:
5177         * text_funcs.[Ch]:
5178         * textcursor.[Ch]:
5179         * undo_funcs.C: adjust
5180
5181 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5182
5183         * text2.C (incrementItemDepth): new function, use a backtracking
5184         algorithm to discover the correct item depth.
5185         (resetEnumCounterIfNeeded): new function, use a backtracking
5186         algorithm to discover if counter reset is needed.
5187         (setCounter): use them. Simplify a bit. Add different labels for
5188         different item depths for itemize.
5189
5190         * paragraph.C (Paragraph): remove initialization of enumdepth
5191         (operator=): ditto
5192
5193         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5194         enumerate and itemize. Change the type of itemdepth to signed char.
5195
5196 2003-10-08  André Pönitz  <poenitz@gmx.net>
5197
5198         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5199           thing assignable.
5200         * text.C:
5201         * text2.C: adjust
5202
5203         * tabular.[Ch]: fix crash after 'row-insert'
5204
5205 2003-10-08  Angus Leeming  <leeming@lyx.org>
5206
5207         Fix doxygen warnings.
5208
5209         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5210         Remove CutAndPaste:: prefix from header file declaration.
5211
5212         * LColor.h (fill): remove LColor:: prefix from declaration.
5213
5214         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5215         use lyx::depth_type rather than Paragraph::depth_type so that
5216         header file and .C file match.
5217
5218         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5219
5220         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5221         * aspell.C: \file aspell_local.C -> \file aspell.C
5222         * gettext.C: \file gettext.C -> \file src/gettext.C
5223         * gettext.h: \file gettext.h -> \file src/gettext.h
5224         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5225         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5226         * text.C: \file text.C -> \file src/text.C
5227
5228         * toc.C: move comment so that doxygen is not confused.
5229
5230 2003-10-07  Angus Leeming  <leeming@lyx.org>
5231
5232         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5233
5234 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5235
5236         * aspell.C:
5237         * aspell_local.h: add forgotten std::string's.
5238
5239 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5240
5241         * LaTeXFeatures.C:
5242         * LyXAction.C:
5243         * factory.C:
5244         * lfuns.h:
5245         * lyxfunc.C:
5246         * text3.C: The Box patch. Fancybox support, minipage, parbox
5247
5248 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5249
5250         * CutAndPaste.h:
5251         * DepTable.h:
5252         * FloatList.h:
5253         * LaTeXFeatures.h:
5254         * ParagraphParameters.h:
5255         * TextCache.h:
5256         * Thesaurus.h:
5257         * bufferlist.h:
5258         * exporter.h:
5259         * importer.h:
5260         * lastfiles.h:
5261         * lyxfind.h:
5262         * lyxfont.h:
5263         * lyxlex.h:
5264         * lyxtextclasslist.h:
5265         * messages.h:
5266         * paragraph.h:
5267         * paragraph_pimpl.C:
5268         * textcursor.h: add <string> and other small fixes to make Lars'
5269         std::string patch compile with STLport.
5270
5271 2003-10-06  Angus Leeming  <leeming@lyx.org>
5272
5273         * LColor.h: Add missing #include <string>.
5274
5275 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5276
5277         * All most all file in all subdirs: Make <string> be the prefered
5278         way of getting to std::string, add using declarations.
5279
5280 2003-10-06  André Pönitz  <poenitz@gmx.net>
5281
5282         * metricsinfo.C: initialize LyXFont before changing attribute.
5283         (fixes the 'math in \emph is upright' bug)
5284
5285 2003-10-06  André Pönitz  <poenitz@gmx.net>
5286
5287         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5288
5289 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5290
5291         * graph.C:
5292         * paragraph_pimpl.C: Small fixes to build using STLport
5293
5294 2003-10-02  André Pönitz  <poenitz@gmx.net>
5295
5296         * lyxfunc.C:
5297         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5298
5299 2003-10-01  André Pönitz  <poenitz@gmx.net>
5300
5301         * factory.C: assert early
5302
5303 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5304
5305         * lyx_main.C: remove the global debug object
5306
5307         * debug.h: adjust for new debugstream
5308
5309         * debug.C: adjust for new debugstream and keep the global debug
5310         object here.
5311
5312 2003-09-22  Angus Leeming  <leeming@lyx.org>
5313
5314         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5315         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5316         an incomplete class LyXFont.
5317
5318 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5319
5320         * factory.C: bug fix in branches
5321
5322 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5323
5324         * lyxfunc.C (processKeySym): adjust
5325         (dispatch): adjust
5326         (dispatch): change arg name from ev to func, adjust
5327         (sendDispatchMessage): ditto
5328
5329         * lyx_main.C (defaultKeyBindings): adjust keybindings
5330         (deadKeyBindings): ditto
5331
5332         * kbsequence.C (addkey): return a FuncRequest
5333
5334         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5335
5336         * kbmap.C (bind): take a FuncRequest as arg, adjust
5337         (read): adjust
5338         (lookup): adjust
5339         (defkey): change to take a FuncRequest as arg, adjust
5340         (findbinding): take a FuncRequest as arg, adjust.
5341
5342         * funcrequest.h (operator=): added
5343
5344         * funcrequest.C (FuncRequest): default kb_action changed from
5345         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5346
5347         * buffer.C (dispatch): simplify
5348         (dispatch): adjust to take a FuncRequest as arg, adjust
5349
5350         * boost.C (assertion_failed): change assertion message slightly
5351
5352         * ToolbarBackend.C (read): simplify
5353
5354         * MenuBackend.C (binding): adjust call to findbinding, add a
5355         message if no binding is found.
5356         (read): simplify
5357         (expandToc): correct by adding a empty FuncRequest
5358
5359         * LyXAction.C: include <boost/assert.hpp>
5360         (isPseudoAction): delete function
5361         (LookupFunc): change name to...
5362         (lookupFunc): this. change return type to FuncRequest.
5363         (getActionName): take kb_action as arg, simplify
5364         (funcHasFlag): add an assert, simplify.
5365
5366 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5367
5368         * toc.C (action): return a FuncRequest, simplify
5369
5370         * lyxfunc.C (processKeySym): adjust
5371         (getStatus): delete version that takes an int.
5372         (getStatus): adjust
5373         (dispatch): delete version that takes action as int
5374         (dispatch): adjust
5375         (sendDispatchMessage): simplify and adjust
5376
5377         * funcrequest.C (getArg): take unsigned int as arg
5378
5379         * ToolbarBackend.C (read): adjust
5380         (add): delete version that takes func as a string.
5381         (getIton): take a FuncRequest as arg
5382
5383         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5384         action.
5385
5386         * MenuBackend.C (MenuItem): add a new construct that only takes a
5387         Kind, simplify the constructor use for submenus.
5388         (add): adjust
5389         (expandLastfiles): adjust
5390         (expandDocuments): adjust
5391         (expandFormats): adjust
5392         (expandFloatListInsert): adjust
5393         (expandFloatInsert): adjust
5394         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5395
5396         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5397         Remove class variables lyx_pseudo_map and lyx_arg_map
5398
5399         * LyXAction.C (searchActionArg): delete function
5400         (getPseudoAction): delete function
5401         (retrieveActionArg): delete function
5402         (LookupFunc): make it return kb_action, simplify.
5403         (getActionName): simplify
5404
5405         * factory.C (createInset): fix new bug
5406
5407 2003-09-19  Angus Leeming  <leeming@lyx.org>
5408
5409         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5410         masterFilename_ parameter in the include inset.
5411
5412         * factory.C (createInset): changes due to the changes to InsetInclude.
5413
5414 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5415
5416         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5417
5418 2003-09-18  Angus Leeming  <leeming@lyx.org>
5419
5420         * buffer.C:
5421         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5422         Inset::fillWithBibKeys.
5423         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5424
5425 2003-09-18  Angus Leeming  <leeming@lyx.org>
5426
5427         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5428         variables.
5429         (ctor): pass and store a 'Buffer const &'
5430         (buffer): new member function.
5431
5432         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5433         '*this' to the LaTeXFeatures ctor.
5434
5435 2003-09-18  Angus Leeming  <leeming@lyx.org>
5436
5437         * LColor.h:
5438         * lyxfont.C:
5439         * lyxfont.h:
5440         * lyxtext.h:
5441         * text.C: rename EnumLColor as LColor_color.
5442
5443 2003-09-18  Angus Leeming  <leeming@lyx.org>
5444
5445         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5446         remove #include "insets/insetbase.h" from cursor.h.
5447
5448 2003-09-18  Angus Leeming  <leeming@lyx.org>
5449
5450         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5451         InsetOld_code to remove #include "inset.h".
5452
5453         * iterators.C: add #include "insets/inset.h"
5454
5455 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5456
5457         * BufferView.C: remove more locking stuff that apparently doesn't
5458         do anything sensible.
5459
5460 2003-09-16  André Pönitz  <poenitz@gmx.net>
5461
5462         * paragraph.[Ch]:
5463         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5464           performance boost.
5465
5466 2003-09-16  Angus Leeming  <leeming@lyx.org>
5467
5468         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5469
5470         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5471         arg/return type.
5472
5473         * paragraph.h: remove #include "lyxfont.h". Forward declare
5474         LyXFont_size.
5475
5476 2003-09-16  Angus Leeming  <leeming@lyx.org>
5477
5478         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5479         of support/textutils.h.
5480         (isWord): move the contents of support/textutils.h's IsWordChar here.
5481
5482         * buffer.C:
5483         * lyxfind.C:
5484         * rowpainter.C:
5485         * text.C:
5486         * text2.C: add #include "paragraph.h".
5487
5488         * rowpainter.C:
5489         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5490
5491 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5492
5493         * main.C:
5494         * lyx_main.C:
5495         * lyx_cb.C:
5496         * buffer.C:
5497         * LaTeX.C: use namespace alias for lyx::support::os
5498
5499 2003-09-16  Angus Leeming  <leeming@lyx.org>
5500
5501         * bufferparams.C:
5502         * bufferview_funcs.C:
5503         * factory.C:
5504         * lyxfunc.C:
5505         * paragraph_pimpl.C:
5506         * rowpainter.C:
5507         * text.C: add #include "LColor.h".
5508
5509 2003-09-16  Angus Leeming  <leeming@lyx.org>
5510
5511         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5512         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5513         return LyXFont &.
5514         Store the FontBits::color variable as an int rather than as an
5515         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5516         file.
5517
5518         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5519         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5520         string calls together.
5521
5522         * lyxrc.C: add #include "LColor.h".
5523
5524 2003-09-15  Angus Leeming  <leeming@lyx.org>
5525
5526         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5527         a cow_ptr.
5528
5529 2003-09-15  Angus Leeming  <leeming@lyx.org>
5530
5531         * LColor.h: add an EnumLColor wrapper for LColor::color.
5532
5533         * lyxfont.[Ch] (color, setColor, realColor):
5534         * lyxtext.h, text.C (backgroundColor):
5535         pass EnumLColor args to/from the functions, rather than LColor::color
5536         ones.
5537
5538         * lyxfont.h:
5539         * lyxtext.h: forward declare EnumLColor.
5540
5541         * lyx_main.C: add #include "LColor.h".
5542
5543 2003-09-15  Angus Leeming  <leeming@lyx.org>
5544
5545         * .cvsignore: add lyx-gtk.
5546
5547 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5548
5549         * Chktex.C
5550         * LaTeX.C
5551         * LaTeXFeatures.C
5552         * ParagraphParameters.C
5553         * Spacing.C
5554         * buffer.C
5555         * bufferparams.C
5556         * bufferview_funcs.C
5557         * chset.C
5558         * counters.C
5559         * funcrequest.C
5560         * lyxfont.C
5561         * lyxgluelength.C
5562         * lyxlength.C
5563         * paragraph.C
5564         * paragraph_funcs.C
5565         * text3.C
5566         * vc-backend.C: remove usage of STRCONV
5567
5568 2003-09-15  Angus Leeming  <leeming@lyx.org>
5569
5570         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5571         explicitly define the color passed to the painter.
5572
5573 2003-09-15  Angus Leeming  <leeming@lyx.org>
5574
5575         * bufferparams.C (BufferParams): reorder member initializers to avoid
5576         compiler warning.
5577
5578 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5579
5580         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5581         * text.C (updateRowPositions): remove an unusual nop
5582
5583 2003-09-12  André Pönitz  <poenitz@gmx.net>
5584
5585         * BufferView_pimpl.C:
5586         * Bullet.C:
5587         * layout.h:
5588         * lyxfunc.C:
5589         * lyxlayout.[Ch]:
5590         * lyxtextclass.C:
5591         * rowpainter.C:
5592         * text.C:
5593         * text2.C:
5594         * Counters.[Ch]: finish the 'automatic counters' job
5595
5596 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5597
5598         * aspell.C: include <boost/assert.cpp> (compile fix)
5599
5600 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5601
5602         * boost.C (assertion_failed): use lyx::support::abort instead of
5603         assert.
5604
5605 2003-09-10  Angus Leeming  <leeming@lyx.org>
5606
5607         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5608         with their _fwd progeny.
5609
5610 2003-09-09  Angus Leeming  <leeming@lyx.org>
5611
5612         134 files throughtout the source tree: replace 'using namespace abc;'
5613         directives with the appropriate 'using abc::xyz;' declarations.
5614
5615 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5616
5617         * boost.C (emergencyCleanup): moved here from LAssert.c
5618         (assertion_failed): new function, called by BOOST_ASSERT
5619
5620         * several files: change Assert to BOOST_ASSERT
5621
5622 2003-09-09  Angus Leeming  <leeming@lyx.org>
5623
5624         * buffer.[Ch]: Add an Impl class and move Buffer's member
5625         variables into it. As a result move several header files out of
5626         buffer.h.
5627
5628         Add header files to lots of .C files all over the tree as a result.
5629
5630 2003-09-09  Angus Leeming  <leeming@lyx.org>
5631
5632         * buffer.[Ch]: make Buffer's member variables private. Add
5633         accessor functions.
5634
5635         Lots of changes all over the tree as a result.
5636
5637 2003-09-08  Angus Leeming  <leeming@lyx.org>
5638
5639         * graph.C: #include <config.h>.
5640
5641 2003-09-08  Angus Leeming  <leeming@lyx.org>
5642
5643         * BranchList.C:
5644         * BufferView.C:
5645         * BufferView_pimpl.C:
5646         * CutAndPaste.C:
5647         * DepTable.C:
5648         * LaTeX.C:
5649         * LaTeXFeatures.C:
5650         * LyXAction.C:
5651         * MenuBackend.C:
5652         * TextCache.C:
5653         * aspell.C:
5654         * buffer.C:
5655         * bufferlist.C:
5656         * changes.C:
5657         * chset.C:
5658         * converter.C:
5659         * counters.C:
5660         * debug.C:
5661         * graph.C:
5662         * ispell.C:
5663         * lyx_cb.C:
5664         * lyxfind.C:
5665         * lyxfunc.C:
5666         * lyxlex_pimpl.C:
5667         * lyxrc.C:
5668         * lyxrow.C:
5669         * paragraph.C:
5670         * rowpainter.C:
5671         * texrow.C:
5672         * text.C:
5673         * text2.C:
5674         * toc.C: remove redundant using directives.
5675
5676 2003-09-07  Angus Leeming  <leeming@lyx.org>
5677
5678         * LaTeXFeatures.h: remove #include "support/types.h".
5679         * ToolbarBackend.h: remove #include <algorithm>.
5680         * changes.h: remove #include <ctime>.
5681         * debug.h: remove #include <iosfwd>.
5682         * graph.h: remove #include "support/std_string.h".
5683         * lyx_main.h: remove #include <csignal>.
5684         * lyxlex_pimpl.h: remove #include <fstream>.
5685         * sgml.h: remove #include <algorithm>, <utility>.
5686         * toc.h: remove #include "support/std_ostream.h".
5687         Add #include <iosfwd>.
5688
5689 2003-09-07  Angus Leeming  <leeming@lyx.org>
5690
5691         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5692
5693         * converter.h: forward declare LatexRunParams.
5694         * encoding.h: remove #include "lyxrc.h".
5695         * lyxtext.h: remove #include "LColor.h".
5696         * lyxtextclass.h: remove #include "support/types.h".
5697         * trans.h: remove #include "tex-accent.h".
5698         * trans_mgr.h: remove #include "tex-accent.h".
5699         * insets/inset.h: remove #include "support/types.h", <vector>.
5700         * insets/insetcollapsable.h: remove #include "LColor.h".
5701         * insets/insetinclude.h: remove #include "dimension.h".
5702         * insets/insetlatexaccent.h: remove #include "dimension.h".
5703         * insets/insetoptarg.h:: remove #include "insettext.h".
5704         * insets/insettext.h: remove #include "dimension.h",
5705         <boost/shared_ptr.hpp>
5706
5707         * insets/renderers.h: add #include "dimension.h".
5708         * insets/updatableinset.h: add #include "support/types.h".
5709
5710         * many .C files: Associated changes.
5711
5712 2003-09-06  Angus Leeming  <leeming@lyx.org>
5713
5714         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5715         one, inside testInvariant.
5716
5717         * PrinterParams.C: new file.
5718         * PrinterParams.[Ch]: move the function bodies out of line.
5719
5720 2003-09-06  Angus Leeming  <leeming@lyx.org>
5721
5722         * ParagraphParameters.h: forward declare ParameterStruct rather than
5723         including its header file.
5724         (depth): moved out-of-line.
5725
5726 2003-09-06  Angus Leeming  <leeming@lyx.org>
5727
5728         * BufferView_pimpl.h:
5729         * kbmap.h:
5730         * kbsequence.h:
5731         * lyxfunc.h: forward declare LyXKeySym rather than
5732         #include "frontends/LyXKeySym.h".
5733
5734         * BufferView_pimpl.C:
5735         * kbmap.C:
5736         * kbsequence.C:
5737         * lyxfunc.C: associated changes.
5738
5739 2003-09-06  Angus Leeming  <leeming@lyx.org>
5740
5741         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5742         As a result, can remove the #include "insets/inset.h" from BufferView.h
5743
5744 2003-09-06  Angus Leeming  <leeming@lyx.org>
5745
5746         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5747         As a result, can remove the #include "insets/inset.h" from BufferView.h
5748
5749 2003-09-06  Angus Leeming  <leeming@lyx.org>
5750
5751         * buffer_funcs.C:
5752         * buffer.h:
5753         * bufferlist.C:
5754         * BufferView.C:
5755         * bufferview_funcs.C:
5756         * BufferView_pimpl.C:
5757         * CutAndPaste.C:
5758         * lyx_cb.C:
5759         * lyxfunc.C:
5760         * paragraph.h:
5761         * ParagraphParameters.C:
5762         * tabular.C:
5763         * text3.C:
5764         * toc.C:
5765         * undo_funcs.C:
5766         * frontends/controllers/ControlDocument.C:
5767         * insets/insetcaption.C: rearrange the #includes into some sort of
5768         coherent order.
5769
5770         * buffer.h: remove #includes ErrorList.h, undo.h
5771
5772 2003-09-06  Angus Leeming  <leeming@lyx.org>
5773
5774         * support/types.h: add a 'depth_type' typedef, used to store the
5775         nesting depth of a paragraph.
5776
5777         * paragraph.h:
5778         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5779         defining explicitly.
5780
5781         * buffer.h:
5782         * paragraph_funcs.h:
5783         * ParagraphParameters.h:
5784         * sgml.h: use lyx::depth_type rather than Paragraph or
5785         ParameterStruct's depth_type.
5786
5787         * buffer.h
5788         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5789
5790         * BufferView.C:
5791         * BufferView_pimpl.C:
5792         * CutAndPaste.C:
5793         * ParagraphParameters.C:
5794         * buffer_funcs.C:
5795         * bufferlist.C:
5796         * bufferview_funcs.C:
5797         * lyx_cb.C:
5798         * lyxfunc.C:
5799         * tabular.C:
5800         * text3.C:
5801         * toc.C:
5802         * undo_funcs.C:
5803         * frontends/LyXView.C:
5804         * frontends/controllers/ControlDocument.C:
5805         * frontends/controllers/ControlErrorList.C:
5806         * insets/insetbibitem.C:
5807         * insets/insetbranch.C:
5808         * insets/insetcaption.C:
5809         * insets/insetcollapsable.C:
5810         * insets/insetenv.C:
5811         * insets/insetert.C:
5812         * insets/insetfloat.C:
5813         * insets/insetfoot.C:
5814         * insets/insetfootlike.C:
5815         * insets/insetnewline.C:
5816         * insets/insetquotes.C:
5817         * insets/insettabular.C:
5818         * insets/insettext.C:
5819         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5820
5821         * frontends/controllers/ControlChanges.C: #include "changes.h".
5822
5823 2003-09-06  Angus Leeming  <leeming@lyx.org>
5824
5825         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5826         than #including paragraph.h.
5827
5828         * ParagraphList.h:
5829         * RowList.h: deleted. Superfluous.
5830
5831         * CutAndPaste.h:
5832         * iterators.h:
5833         * lyxcursor.h:
5834         * lyxtext.h:
5835         * text_funcs.h:
5836         * undo.h:
5837         * undo_funcs.h:
5838         * insets/inset.h:
5839         * insets/insettext.h: use ParagraphList_fwd.h rather than
5840         ParagraphList.h.
5841
5842         * paragraph.h: don't forward declare ParagraphList.
5843
5844         * buffer.h:
5845         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5846         rather than ParagraphList.h. paragraph.h is still needed for the
5847         Paragraph::depth_type parameters.
5848
5849         * textcursor.h: enable it to compile stand-alone in light of the
5850         above changes.
5851
5852         * bufferview_funcs.C:
5853         * iterators.C:
5854         * lyxfunc.C:
5855         * lyxrow_funcs.C:
5856         * paragraph.C:
5857         * rowpainter.C:
5858         * text.C:
5859         * text2.C:
5860         * text3.C:
5861         * text_funcs.C:
5862         * textcursor.C:
5863         * undo.C:
5864         * frontends/controllers/ControlParagraph.C:
5865         * frontends/controllers/ControlTabular.C:
5866         * insets/insetmarginal.C:
5867         * insets/insetminipage.C:
5868         * insets/insetnote.C:
5869         * insets/insetoptarg.C: add header files needed to compile again.
5870
5871 2003-09-06  Angus Leeming  <leeming@lyx.org>
5872
5873         * RowList_fwd.h: new file, forward-declaring Row rather than
5874         #including lyxrow.h.
5875
5876         * lyxrow_funcs.h:
5877         * lyxtext.h:
5878         * paragraph.h:
5879         * insets/insettext.h: use it instead of RowList.h
5880
5881         * bufferview_funcs.C:
5882         * lyxfunc.C:
5883         * lyxrow_funcs.C:
5884         * paragraph.C:
5885         * rowpainter.C:
5886         * text.C:
5887         * text2.C:
5888         * text3.C: #include "RowList.h".
5889
5890 2003-09-05  Angus Leeming  <leeming@lyx.org>
5891
5892         * factory.C (createInset):
5893         * vspace.C (c-tor): replace sscanf call with an istringstream.
5894         * ispell.C: re-add missing HP/UX headers.
5895         * lyxserver.C: re-add missing  os2 headers.
5896
5897 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5898
5899         * BranchList.C:
5900         * graph.C:
5901         * ispell.C:
5902         * lastfiles.C:
5903         * lyx_cb.C:
5904         * lyxserver.C:
5905         * texrow.C:
5906         * text3.C: re-add missing system headers, needed for 2.95.2.
5907
5908 2003-09-05  Angus Leeming  <leeming@lyx.org>
5909
5910         Changes most place everywhere due to the removal of using directives
5911         from support/std_sstream.h.
5912
5913 2003-09-05  Angus Leeming  <leeming@lyx.org>
5914
5915         Replace LString.h with support/std_string.h,
5916         Lsstream.h with support/std_sstream.h,
5917         support/LIstream.h with support/std_istream.h,
5918         support/LOstream.h with support/std_ostream.h.
5919
5920         Changes resulting throughout the tree.
5921
5922 2003-09-05  Angus Leeming  <leeming@lyx.org>
5923
5924         * sgml.h: ensure that the header file can be compiled stand-alone.
5925         * *.C: strip out redundant #includes. (320 in total.)
5926
5927 2003-09-04  Angus Leeming  <leeming@lyx.org>
5928
5929         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5930         here (from getPackages).
5931
5932         * debug.[Ch]: add a new EXTERNAL tag.
5933
5934 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5935
5936         * text2.C (cursorEnd): simplify
5937         (setCursor): adjust
5938         (getColumnNearX): adjust
5939
5940         * text.C (computeBidiTables): adjust
5941         (fill): adjust
5942
5943         * rowpainter.C (paintChars): adjust
5944         (paintSelection): adjust
5945         (paintChangeBar): adjust
5946         (paintText): adjust
5947
5948         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5949         lastPos instead.
5950         (numberOfSeparators): adjust
5951
5952 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5953
5954         * LyXAction.C:
5955         * box.[Ch]:
5956         * lfuns.h:
5957         * lyxfunc.C:
5958         * text3.C: Restricts the mouse click functionality
5959         of insets like bibtex, include, toc and floatlist to the visible
5960         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5961         up the dialogs. Cursor has to be in front of the inset (i.e.
5962         start of row) for this to function.
5963
5964 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5965
5966         * bufferview_funcs.C (currentState): output row information
5967
5968 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5969
5970         * bufferview_funcs.C (currentState): output paragraph position
5971
5972 2003-09-04  Angus Leeming  <leeming@lyx.org>
5973
5974         * FloatList.h: move out #include "Floating.h".
5975         * LaTeX.h: move out #include "DepTable.h".
5976         * LyXAction.h: move out #include "funcrequest.h".
5977         * buffer.h: move out #include "author.h", "iterators.h".
5978         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5979         * lyx_main.h: move out #include "errorlist.h".
5980         * lyxfunc.h: move out #include "FuncStatus.h".
5981         * lyxtext: move out #include "lyxcursor.h".
5982         * paragraph_pimpl.h: move out #include "counters.h".
5983
5984 2003-09-03  Angus Leeming  <leeming@lyx.org>
5985
5986         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5987         preamble_snippets list, enabling us to add snippets to the preamble
5988         only if the snippet was not there already.
5989
5990 2003-09-04  Angus Leeming  <leeming@lyx.org>
5991
5992         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5993
5994 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5995
5996         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5997         update
5998
5999 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6000
6001         * BranchList.C: point fix, earlier forgotten
6002
6003 2003-09-02  Angus Leeming  <leeming@lyx.org>
6004
6005         * box.C (contains): renamed from 'contained' after a fantastic
6006         amount of hot air.
6007
6008 2003-09-02  John Levon  <levon@movementarian.org>
6009
6010         * BufferView.C:
6011         * lyxcursor.h:
6012         * lyxcursor.C:
6013         * lyxfunc.C:
6014         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6015
6016 2003-09-02  John Levon  <levon@movementarian.org>
6017
6018         * text2.C: simplification of cursorEnd(), including partial
6019         fix for bug 1376
6020
6021 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6022
6023         * buffer.C (readFile): add a space
6024
6025 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6026
6027         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6028
6029 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6030
6031         * buffer.C (readFile): new function, take a filename and a
6032         ParagraphList::iterator
6033         (readFile): adjust
6034         (readFile): adjust, make it private. don't use setStream, make
6035         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6036         always contain the filename.
6037
6038         * BufferView.C (insertLyXFile): simplify and make it work for
6039         gzipped files.
6040
6041 2003-08-30  John Levon  <levon@movementarian.org>
6042
6043         * Makefile.am: fix dist (from Kayvan)
6044
6045 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6046
6047         * most files: change to use const Buffer refs
6048
6049 2003-08-27  André Pönitz  <poenitz@gmx.net>
6050
6051         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6052         on top of ownerPar().
6053
6054 2003-08-27  John Levon  <levon@movementarian.org>
6055
6056         * funcrequest.C: properly initialise POD members
6057
6058 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6059
6060         * lyxtext.h (top_y): move top_y from here
6061         * text.C:
6062         * text2.C:
6063         * text3.C:
6064         * BufferView.[Ch]:
6065         * BufferView_pimpl.[Ch]: to here
6066         * frontends/screen.C:
6067         * insets/insettabular.C:
6068         * insets/insettext.C: adjust
6069         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6070
6071 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6072
6073         * BufferView.[Ch]:
6074         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6075
6076 2003-08-26  André Pönitz  <poenitz@gmx.net>
6077
6078         * paragraph_func.[Ch] (outerPar): new function
6079
6080         * paragraph.C:
6081         * paragraph_funcs.C:
6082         * paragraph_funcs.h:
6083         * paragraph_pimpl.C:
6084         * text2.C: remove Inset::par_owner
6085
6086 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6087
6088         * lyxrow_funcs.C:
6089         * lyxtext.h:
6090         * text.C:
6091         * text2.C: eliminates the needFullRow/display() stuff
6092         altogether, putting the logic in metrics/draw in the insets.
6093
6094 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6095
6096         * text2.C (redoParagraphInternal, redoParagraphs):
6097         * text.C (redoParagraph): add a call to updateRowPositions at the
6098         end of each 'metrics-like' call. Remove all others.
6099         (getRow): remove the 'y-computing' version.
6100         (getRowNearY): do not compute nor return the real y. Solve the
6101         'y < 0' problem and simplify.
6102
6103 2003-08-22  Angus Leeming  <leeming@lyx.org>
6104
6105         * *.[Ch]: clean-up of licence and author blurbs.
6106         Also move config.h out of a few .h files and into a few .C files.
6107
6108 2003-08-22  André Pönitz  <poenitz@gmx.net>
6109
6110         * lyxrow.[Ch]: add x_ and *fill_ members
6111
6112         * lyxtext.h:
6113         * text.C:
6114         * rowpainter.C:
6115         * text2.C: adjust/remove prepareToPrint() calls
6116
6117 2003-08-22  André Pönitz  <poenitz@gmx.net>
6118
6119         * lyxrow.[Ch]: add  end_ member
6120
6121         * lyxrow_funcs.C: use LyXRow::end_
6122
6123         * lyxtext.h (singleWidth): add LyXFont parameter
6124
6125         * rowpainter.C:
6126         * text2.C: adjust LyXText::singleWidth() calls
6127
6128         * text.C (redoParagraph): simplify row breaking logic
6129
6130
6131 2003-08-19  André Pönitz  <poenitz@gmx.net>
6132
6133         * funcrequest.C: initialize button_ member
6134
6135         * text3.C:
6136         * rowpainter.[Ch]: interface consolidation
6137
6138 2003-08-18  André Pönitz  <poenitz@gmx.net>
6139
6140         * BufferView.C:
6141         * BufferView_pimpl.C:
6142         * lyxfind.C:
6143         * paragraph_funcs.C:
6144         * rowpainter.C:
6145         * text3.C: remove LyXScreen::draw() and fitCursor calls
6146
6147         * BranchList.h: remove spurious semicolons
6148
6149         * MenuBackend.C: fix branchlist related crash
6150
6151 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6152
6153         * BranchList.[Ch]:
6154         * InsetList.[Ch]:
6155         * LColor.[Ch]:
6156         * LyXAction.C:
6157         * Makefile.am:
6158         * MenuBackend.[Ch]:
6159         * bufferparams.[Ch]:
6160         * factory.C:
6161         * lfuns.h:
6162         * lyxfunc.C:
6163         * text3.C: implements the 'branch inset'
6164         idea. This allows the output of various versions of a document
6165         from a single source version, selectively outputing or suppressing
6166         output of parts of the text.
6167         This implementation contains a 'branch list editor' in a separate
6168         tab of the document settings dialog. Branches are user definable
6169         and have a "display colour" to distinguish them on-screen.
6170
6171         ColorHandler was somewhat cleaned up.
6172         (1) make possible a dynamically growing LColor list by allowing
6173         the graphic context cache to grow along (vector);
6174         (2) eliminate an IMHO unnecessary step in colour allocation.
6175
6176 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6177
6178         * BufferView_pimpl.C: compile fix
6179
6180 2003-08-15  André Pönitz  <poenitz@gmx.net>
6181
6182         * rowpainter.C: remove extra metrics calls
6183
6184         * lyxtext.h: merge the two constructors into a single one,
6185           pass reference to owner's par list
6186
6187         * BufferView_pimpl.C:
6188         * text.C:
6189         * text2.C: adjust
6190
6191 2003-08-15  André Pönitz  <poenitz@gmx.net>
6192
6193         * lyxrow_funcs.[Ch]:
6194         * lyxtext.h:
6195         * paragraph.h:
6196         * paragraph_funcs.C:
6197         * rowpainter.C:
6198         * text.C:
6199         * text2.C:
6200         * text3.C:
6201         * text_funcs.C: split LyXText::rowlist_ into individual
6202         Paragraph::rows_ chunks
6203
6204         * BufferView.[Ch]:
6205         * BufferView_pimpl.[Ch]:
6206         * lyxfind.C:
6207         * lyxtext.h:
6208         * text3.C: remove toggleSelection()
6209
6210 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6211
6212         * bufferlist.C: beautify two alerts (shorter text of buttons)
6213         * buffer.C: Remove redundant ' ' from message
6214         * tabular.h:
6215         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6216         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6217         rename VALIGN_CENTER to VALIGN_MIDDLE
6218
6219 2003-08-11  André Pönitz  <poenitz@gmx.net>
6220
6221         * lyxtext.h (getPar):
6222         * text.C: new function
6223
6224 2003-08-11  André Pönitz  <poenitz@gmx.net>
6225
6226         * Makefile.am:
6227         * tracer.[Ch]: remove unneeded files
6228
6229         * InsetList.[Ch]: remove resizeInsetsLyXText()
6230
6231         * lyxtext.h:
6232         * text.C:
6233         * text2.C:
6234         * text3.C: merge insertParagraphs() and appendParagraph()
6235         remove breakAgain(), update()
6236
6237         * BufferView_pimpl.[Ch]:
6238         * bufferview_funcs.[Ch]:
6239         * lyxfunc.C:
6240         * paragraph.[Ch]:
6241         * rowpainter.C:
6242         * tabular.C: adjust after text & InsetList changes.
6243
6244 2003-08-08  André Pönitz  <poenitz@gmx.net>
6245
6246         * text.C (insertChar, backspace): replace rowlist fiddling
6247         with rebreak of full par
6248
6249         * lyxtext.h:
6250         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6251         checkParagraph, updateInset): removed
6252
6253 2003-08-07  André Pönitz  <poenitz@gmx.net>
6254
6255         * paragraph.C:
6256         * text3.C: merge some LFUN handlers, remove dead code
6257
6258 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6259
6260         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6261
6262 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6263
6264         * text2.C (DEPM): fix part of bug 1255 and 1256
6265
6266 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6267
6268         * BufferView_pimpl.C (workAreaDispatch): change to use
6269         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6270         that are no mouse related.
6271
6272 2003-08-05  André Pönitz  <poenitz@gmx.net>
6273
6274         * BufferView.[Ch]:
6275         * BufferView_pimpl.[Ch]:
6276         * bufferview_funcs.C:
6277         * text2.C:
6278         * text3.C: rip out "deep update"
6279
6280         * textcursor.[Ch] (last_sel_cursor): remove unused member
6281
6282 2003-08-04  André Pönitz  <poenitz@gmx.net>
6283
6284         * BufferView.[Ch]:
6285         * BufferView_pimpl.[Ch]:
6286         * ParagraphParameters.C:
6287         * bufferview_funcs.C:
6288         * lyx_cb.C:
6289         * lyxfind.C:
6290         * lyxfunc.C:
6291         * text.C:
6292         * text2.C:
6293         * text3.C: replace "complicated" BufferView::update(...) calls with
6294         simpler ones.
6295
6296         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6297
6298 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6299
6300         * Makefile.am (lyx_SOURCES): add paper.h
6301
6302 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6303
6304         * Makefile.am: move things around so that both lyx-qt and
6305         lyx-xforms can be built (according to --with-frontend). Then lyx
6306         is a symbolic link to lyx-[firstfrontend]
6307
6308 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6309
6310         * Always use std::endl with lyxerr
6311
6312 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6313
6314         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6315
6316 2003-08-01  André Pönitz  <poenitz@gmx.net>
6317
6318         * BufferView.[Ch]:
6319         * BufferView_pimpl.[Ch]:
6320         * lyxfunc.C:
6321         * text3.C: merge BufferView::repaint() and BufferView::update()
6322
6323 2003-08-01  José Matos  <jamatos@lyx.org>
6324
6325         * buffer.[Ch]: file_format is no longer a buffer data element.
6326
6327 2003-08-01  André Pönitz  <poenitz@gmx.net>
6328
6329         * BufferView.C:
6330         * lyxtext.h:
6331         * text.C:
6332         * text2.C: make redoParagraph more independent of current cursor
6333
6334         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6335         * text.C:
6336         * text2.C: remove unneeded members
6337
6338 2003-07-30  André Pönitz  <poenitz@gmx.net>
6339
6340         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6341
6342         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6343           create a single function...
6344
6345         * paragraph_funcs.C (moveItem): ... here.
6346
6347         * text.C:
6348           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6349
6350 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6351
6352         * LColor.[Ch]: Add comment and greyedout logical colors.
6353
6354 2003-07-30  André Pönitz  <poenitz@gmx.net>
6355
6356         * tabular.C: don't use Assert too heavily. This crashes where it
6357           shouldn't
6358
6359 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6360
6361         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6362         is disabled (bug 1232)
6363
6364 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6365
6366         * factory.C: limited 'arg' scope
6367
6368 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6369
6370         * factory.C: fixed Note submenu issues
6371
6372 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6373
6374         * factory.C: submenu for Note/Comment/Greyedout
6375
6376 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6377
6378         * lyx_main.C (LyX):
6379         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6380
6381 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6382
6383         * LaTeXFeatures.C:
6384         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6385         greyedout. Patch provided by Jürgen Spitzmüller.
6386
6387 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6388
6389         * kbmap.C (read): fix error message when reading bind files
6390
6391 2003-07-29  Angus Leeming  <leeming@lyx.org>
6392
6393         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6394         certainly does not do what it purports to do. I am doing it, and
6395         us, a favour by killing it.
6396
6397 2003-07-28  José Matos  <jamatos@lyx.org>
6398
6399         * buffer.C (readBody, do_writeFile):
6400         * paragraph.C(readParagraph): \end_document replaces \the_end.
6401
6402 2003-07-29  André Pönitz  <poenitz@gmx.net>
6403
6404         * BufferView.[Ch]:
6405         * BufferView_pimpl.[Ch]:
6406         * lyxfunc.C:
6407         * text2.C:
6408         * text3.C:
6409         * textcursor.[Ch]: remove toggleToggle & Co
6410
6411 2003-07-28  José Matos  <jamatos@fep.up.pt>
6412
6413         * buffer.C (readParagraph):
6414         * params_func (readParToken, readParagraph):
6415         * paragraph.C (write): \layout -> \begin_layout.
6416
6417 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6418
6419         * lyxlex_pimpl.C (setFile): clean up slightly.
6420
6421         * bufferparams.h: add compressed var
6422
6423         * buffer_funcs.C (readFile): adjust for LyXLex change
6424         (newFile): ditto + simplify
6425
6426         * buffer.C (writeFile): handle writing of compressed files
6427
6428         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6429         Check if the file is compressed and set a bufferparm if so.
6430
6431         * Makefile.am (lyx_LDADD): remove explicit -lz
6432
6433 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6434
6435         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6436         makeDocBookFile): put the real LyX version in the first line of
6437         the file
6438
6439         * version.h:
6440         * version.C.in: remove lyx_docversion
6441
6442         * tabular.C (write_attribute): add a template-based version to
6443         write enums properly
6444
6445 2003-07-28  André Pönitz  <poenitz@gmx.net>
6446
6447         * lyxtext.h:
6448         * text.C:
6449         * text2.C:
6450         * text3.C: use doubles again for x-coordinates. They are needed.
6451
6452 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6453
6454         * messages.C (getLocaleDir): use lyx_localedir()
6455
6456         * lyxlex_pimpl.C (setFile): compress stuff
6457
6458         * buffer.C (writeFile): add some compression stuff
6459         (do_writeFile): new func, dont call expliti close... will this
6460         breake anything?
6461
6462         * Makefile.am (lyx_LDADD): add -lz
6463
6464 2003-07-28  José Matos  <jamatos@fep.up.pt>
6465
6466         * buffer.C: increment file format.
6467         * paragraph_funcs (readParagraph, readParToken):
6468         * paragraph.C (readParagraph): add \end_layout.
6469
6470 2003-07-27  Angus Leeming  <leeming@lyx.org>
6471
6472         * Makefile.am: remove special casing for configure-time setting of
6473         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6474
6475         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6476         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6477
6478 2003-07-26  André Pönitz  <poenitz@gmx.net>
6479
6480         * paragraph_func.[Ch]:
6481         * paragraph.C (realizeFont): inline it whereever it is used
6482
6483         * rowpainter.C:
6484         * text.C:
6485         * text2.C:
6486         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6487
6488
6489 2003-07-26  André Pönitz  <poenitz@gmx.net>
6490
6491         *       lyxtext.h:
6492         * text.C:
6493         * text2.C: get rid of LyXText::need_break_row
6494
6495 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6496
6497         * toc.[Ch]: put namespace toc inside namespace lyx
6498
6499         * MenuBackend.C (expandToc2): adjust for lyx::toc
6500         (expandToc): ditto
6501
6502         * lyxfunc.C (dispatch): adjust for lyx::find
6503
6504         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6505         lyx::find instead. Reorganize a bit.
6506         (LyXReplace): rename to replace
6507         (LyXFind): rename to find
6508
6509         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6510         (dispatch): ditto
6511
6512 2003-07-26  André Pönitz  <poenitz@gmx.net>
6513
6514         * text.C (setHeightOfRow): restrict scope of temporary variable
6515
6516         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6517           code (never has been used?)
6518
6519 2003-07-27  Asger Alstrup  <alstrup@local>
6520
6521         * text.C (fill): Optimise algorithm to exploit that we can reuse
6522         the LyXFont for many characters.
6523         (setHeightOfRow): Same thing.
6524         (rowBreakPoint): Same thing.
6525
6526 2003-07-26  Asger Alstrup  <alstrup@local>
6527
6528         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6529
6530         * text.C (singleWidth): Spurious font copying in hot-spot
6531         singleWidth avoided. Reorder tests for arabic for efficiency.
6532
6533         * text.C (fill): handle empty paragraphs better.
6534
6535 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6536
6537         * ispell.C:
6538         * encoding.h: add includes
6539
6540         * lyxrc.C: remove reading of bind files
6541
6542         * lyx_main.C (init): setup bindings and menus only if we have a
6543         gui.
6544
6545         * kbmap.C (read): new method. Do the actual reading of bind
6546         files.
6547
6548         * converter.C (dvipdfm_options):
6549         * bufferparams.C:
6550         * lyxrc.C (read):
6551         (output): adapt PAPER_* enums.
6552
6553         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6554
6555         * bufferparams.h: remove paper-related enums from there
6556
6557         * paper.h: New file. A trivial header file to hold paper-related
6558         enums. It should later expand to contain many paper-related
6559         horrors access.
6560
6561         * lyxrc.C: declare extern displayTranslator
6562
6563 2003-07-27  José Matos  <jamatos@fep.up.pt>
6564
6565         * tabular.[Ch] (linuxdoc): add support for tables and figures
6566         (linuxdoc).
6567
6568 2003-07-27  José Matos  <jamatos@fep.up.pt>
6569
6570         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6571         consistency in both functions.
6572         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6573
6574 2003-07-26  Asger Alstrup  <alstrup@local>
6575
6576         * rowpainter.C (paintRows): Change algorithm to work directly on
6577         the insets rather than asking every character in the document
6578         whether its an inset.
6579
6580 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6581
6582         * buffer.C (openFileWrite): factorize some code
6583
6584 2003-07-26  Angus Leeming  <leeming@lyx.org>
6585
6586         * lyx_cb.C:
6587         * lyx_main.[Ch]: replace occurances of system_tempdir with
6588         os::getTmpDir().
6589
6590 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6591
6592         * rename Inset to InsetOld
6593
6594 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6595
6596         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6597         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6598         which I think is a bit clearer. EDIT is gone, since it was
6599         premature optimisation, and broken for mathed anyway.
6600         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6601         with cursor positioning in insets as well (math insets still do not
6602         work, but that's a different story anyway.) It mysteriously
6603         crashes sometimes with undo in the first paragraph, but I'm fairly
6604         confident that this is a compiler bug.
6605
6606 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6607
6608         * paragraph.C (Paragraph): adjust for new clone return type
6609         (operator==): ditto
6610         (copyIntoMinibuffer): ditto
6611
6612 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6613
6614         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6615         by not having a special case, and always doing a full rebreak of
6616         the document after undo.
6617
6618 2003-07-23  Angus Leeming  <leeming@lyx.org>
6619
6620         * factory.C (createInset): InsetExternal::setParams now takes a
6621         Buffer const * arg.
6622
6623 2003-07-23  Angus Leeming  <leeming@lyx.org>
6624
6625         * factory.C (createInset): changed interface to the external and
6626         graphics mailers' string2params functions.
6627
6628 2003-07-23  Angus Leeming  <leeming@lyx.org>
6629
6630         * factory.C (createInset): pass a
6631         Buffer const * parameter to InsetExternalMailer's string2params.
6632
6633 2003-07-22  John Levon  <levon@movementarian.org>
6634
6635         * Thesaurus.h: include the right aiksaurus header
6636
6637 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6638
6639         * MenuBackend.C (expand): check menu shortcuts unconditionally
6640
6641 2003-07-21  Angus Leeming  <leeming@lyx.org>
6642
6643         * factory.C (createInset): pass a
6644         buffer_path parameter to InsetGraphicsMailer's string2params.
6645
6646 2003-07-21  Angus Leeming  <leeming@lyx.org>
6647
6648         * BufferView_pimpl.C (buffer):
6649         * buffer.C (d-tor):
6650         * lyx_main.C (LyX):
6651         * lyxfunc.C (dispatch):
6652         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6653         rather than the grfx shortcut.
6654
6655 2003-07-21  André Pönitz  <poenitz@gmx.net>
6656
6657         * rowpainter.C: remove unused variables
6658
6659         * tabular_funcs.C:
6660         * tabular_funcs.h: move to tabular.C
6661         * Makefile.am: adjust
6662
6663         * tabular.[Ch]: basic optical cleaning
6664
6665         * author.h: pass references, not values
6666
6667 2003-07-18  André Pönitz  <poenitz@gmx.net>
6668
6669         * lyxtext.h:
6670         * metricsinfo.C:
6671         * metricsinfo.h:
6672         * rowpainter.C:
6673         * text.C:
6674         * text2.C:
6675         * text3.C: two-phase drawing for InsetText and InsetTabular
6676         some float -> int changes.
6677
6678 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6679
6680         * lyx_main.C: fix the fix
6681
6682 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6683
6684         * lyx_main.C: fix a crash in batch mode if no files specified
6685         * converter.C: ws
6686
6687 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6688
6689         * format.[Ch] (papersize): moved to BufferParams
6690         * converter.[Ch] (dvips_options): moved to BufferParams
6691         (dvipdfm_options): moved to anon namespace
6692         * bufferparams.[Ch]: added above functions.
6693
6694 2003-07-17  André Pönitz  <poenitz@gmx.net>
6695
6696         * lyxtext.h:
6697         * rowpainter.C:
6698         * text2.C: don't call inset->update() anymore
6699
6700         * metricsinfo.[Ch]: add convenience constructor
6701
6702 2003-07-16  André Pönitz  <poenitz@gmx.net>
6703
6704         * lyxcursor.[Ch]:
6705         * lyxfunc.[Ch]:
6706         * text.C:
6707         * text2.C: replace the LyXCursor::irow_ member with
6708          on-demand computation of the value
6709
6710 2003-07-16  John Levon  <levon@movementarian.org>
6711
6712         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6713
6714 2003-07-15  André Pönitz  <poenitz@gmx.net>
6715
6716         * text.C:
6717         * text2.C: remove no more needed refresh_row
6718
6719 2003-07-15  André Pönitz  <poenitz@gmx.net>
6720
6721         * lyxtext.h:
6722         * rowpainter.C:
6723         * text2.C:
6724         * text3.C: refresh_status tristate -> need_update bool
6725
6726 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6727
6728         * lyxtext.h (init): remove reinit argument (act as if always true)
6729         * text2.C: adjust to that
6730
6731 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6732
6733         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6734         * text3.C: use it to delete selections in some cases
6735         (bugs 441, 673, 702, 954).
6736
6737 2003-07-14  André Pönitz  <poenitz@gmx.net>
6738
6739         * rowpainter.[Ch]: reduce interface
6740
6741 2003-07-14  André Pönitz  <poenitz@gmx.net>
6742
6743         * BufferView_pimpl.C:
6744         * text2.C: adjust after removing unused BufferView * argument
6745
6746 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6747
6748         * text2.C (init): fix a crash fired on resize
6749
6750 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6751
6752         * buffer.[Ch]: added new closing signal
6753         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6754         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6755         BufferView::Pimpl via the closing the signal
6756
6757 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6758
6759         * buffer.[Ch]: take out all bv-related from buffer
6760         * BufferView.C:
6761         * BufferView_pimpl.[Ch]: connect to new signals
6762         * CutAndPaste.C: removed useless asserts
6763         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6764         * lyxvc.[Ch]:
6765         * vc-backend.[Ch]:
6766         * lyxfunc.C: moved view-related funciontality from vc here
6767         * paragraph.C: removed outdated comments
6768         * text.C: ws
6769
6770 2003-07-10  André Pönitz  <poenitz@gmx.net>
6771
6772         * BufferView_pimpl.C:
6773         * tabular.h:
6774         * tabular_funcs.C:
6775         * text.C:
6776         * text2.C: remove InsetText::InnerCache, clean up consequences
6777
6778 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6779
6780         * ispell.C: fix two typos in error messages
6781
6782 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6783
6784         * Extend Note inset to other forms of annotation like Comment
6785         and Greyedout. Right button click gives dialog.
6786
6787         Files modified or added (+):
6788
6789         * insetnote.[Ch]
6790         * FormNote.[Ch]      +
6791         * ControlNote.[Ch]   +
6792         * form_note.fd       +
6793         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6794         frontends/controllers
6795         * xforms/Dialogs.C
6796         * factory.C
6797
6798 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6799
6800         * aspell.C: add missing namespace lyx::support
6801
6802 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6803
6804         * BufferView.[Ch] (newFile): Add
6805         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6806         * LaTeX.[Ch] (message): added this signal and use it
6807         * buffer.[Ch] (busy, message): added these signals and use them
6808         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6809         * converter.C:
6810         * exporter.C:
6811         * format.C:
6812         * importer.C: use buffer signals instead of direct bv calling
6813         * lyx_cb.[Ch] (ShowMessage): removed
6814         * lyx_main.C:
6815         * lyxfunc.C:
6816         * paragraph_funcs.C:
6817         * text2.C: use buffer signals
6818
6819 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6820
6821         * introduce namespace lyx::graphics
6822
6823 2003-07-02  André Pönitz  <poenitz@gmx.net>
6824
6825         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6826
6827 2003-07-01  André Pönitz  <poenitz@gmx.net>
6828
6829         * text.C:
6830         * text2.C:
6831         * text3.C:
6832         * text_funcs.[Ch]:
6833         * textcursor.h:
6834         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6835           text*.C to text_func.C
6836
6837 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6838
6839         * introduce namespace lyx::support
6840
6841 2003-06-30  André Pönitz  <poenitz@gmx.net>
6842
6843         * Chktex.C:
6844         * funcrequest.C:
6845         * lyxtext.h:
6846         * text.C: re-enable --with-included-string
6847
6848 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6849
6850         * textcursor.C: add <config.h>
6851
6852         * text.C (getWord): remove const from word_location arg
6853
6854         * lyxvc.C (getLogFile): fix const type order
6855
6856         * lyxtext.h: remove const from word_location arg, add arg name
6857
6858         * lyxlayout.h: currect type on labeltype.
6859
6860         * importer.C: correct \file
6861
6862         * converter.C (intToFormat): use std:: on ret val, ws changes
6863
6864         * bufferlist.h: correct \file
6865
6866         * buffer.C (makeLinuxDocFile): fix const type order
6867         (makeDocBookFile): ditto
6868         (fillWithBibKeys): use std:: on stdlib args.
6869
6870         * CutAndPaste.C: fix authors.
6871         (availableSelections): use std:: on return vector
6872
6873 2003-06-27  André Pönitz  <poenitz@gmx.net>
6874
6875         * BufferView_pimpl.C:
6876         * bufferview_funcs.C:
6877         * lyxcursor.C:
6878         * lyxcursor.h:
6879         * lyxfunc.C:
6880         * lyxtext.h:
6881         * rowpainter.C:
6882         * text.C:
6883         * text2.C:
6884         * text3.C: remove LyXCursor::row_ member
6885
6886         * lyxtext.h:
6887         * text.C: rename fullRebreak() to partialRebreak() and implement
6888           a fullRebreak() that really bereks fully
6889
6890         * textcursor.h: new struct for cursor-related data
6891
6892 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6893
6894         * lyx_main.C (LyX): get full path of document loaded on the
6895         command line
6896
6897 2003-06-26  André Pönitz  <poenitz@gmx.net>
6898
6899         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6900           remove unused/broken operator>,<,>=.
6901
6902         *       text.C: remove only use of broken operator<= in an Assert().
6903
6904 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6905
6906         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6907         moved errorlist_.clear to showErrorList
6908
6909 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6910
6911         * converter.C (scanLog, runLaTeX):
6912         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6913         move the bv->showErrorList call to the callers
6914         * lyxfunc.C: i.e. here...
6915         * text2.C: and here
6916         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6917         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6918         namespace, the second to...
6919         * buffer_funcs (BufferFormat, parseErrors): added
6920         * errorlist.C (ErrorList(TeXErrors const &)): removed
6921
6922 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6923
6924         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6925
6926 2003-06-24  "Garst R. Reese" <reese@isn.net>
6927
6928         * debug.C: fix typo
6929
6930 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6931
6932         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6933
6934         * version.C.in: change docversion to 1.4
6935
6936 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6937
6938         * buffer.C: fix a bug just introduced
6939
6940 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6941
6942         * buffer.[Ch]: added the parseError signal and use it, removed
6943         sgmlError
6944         * BufferView.[Ch] (addError): moved to ...
6945         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6946         to the Buffer::parseError signal to catch (guess what) parse errors
6947         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6948
6949 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6950
6951         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6952         ability to create a buffer and to return an existing one from
6953         the list. Moved these functions to...
6954         * buffer_funcs.[Ch]: added
6955         * BufferView.[Ch] (loadLyXFile): added
6956         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6957         job removed from bufferlist::loadLyXFile.
6958         * buffer.C (setReadOnly): make it work without view
6959         (i.e added an if (users))
6960
6961 2003-06-19  Angus Leeming  <leeming@lyx.org>
6962
6963         * lfuns.h:
6964         * LyXAction.C (init):
6965         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6966         with LFUN_DIALOG_SHOW <name> <data>.
6967
6968 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6969
6970         * CutAndPaste.C (availableSelections): small compilation fix for
6971         ancient (gcc 2.9x) compilers
6972
6973 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6974
6975         * text3.C (cursorNext): add tmp var
6976
6977         * text2.C (updateCounters): for function calling out of for clause
6978         (replaceSelectionWithString): ditto
6979         (insertStringAsParagraphs): ditto
6980         (getColumnNearX): add tmp var
6981         (setCursorFromCoordinates): add tmp var
6982         (cursorDownParagraph): add tmp var
6983         (deleteEmptyParagraphMechanism): add tmp var
6984
6985         * text.C (insertChar): add tmp var
6986
6987         * rowpainter.C (paintDepthBar): add tmp var
6988
6989         * CutAndPaste.C (availableSelections): potentially check all
6990         paragraphs in a cut to fill the shown strings.
6991
6992 2003-06-18  André Pönitz  <poenitz@gmx.net>
6993
6994         * kbmap.[Ch]: use vector<> instead of list<>
6995
6996 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6997
6998         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6999         pasteSelection with index
7000
7001         * text2.C (pasteSelection): modify, call pasteSelection with index
7002
7003         * paragraph.C (asString): reimplement version with no interval to
7004         call the one with interval.
7005
7006         * lyxtext.h: add index arg to pasteSelection
7007
7008         * MenuBackend.C (MenuItem): handle PasteRecent
7009         (Menu::read::Menutags): add md_pasterecent
7010         (read): handle it
7011         (expandPasteRecent): new function
7012         (expand): use it
7013
7014         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7015
7016         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7017         the limited stack
7018         (availableSelections): new function
7019
7020 2003-06-17  Angus Leeming  <leeming@lyx.org>
7021
7022         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7023
7024 2003-06-17  Angus Leeming  <leeming@lyx.org>
7025
7026         * lfuns.h:
7027         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7028
7029         * lyxfunc.C (dispatch): invoke it.
7030
7031 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7032
7033         * iterators.C (operator++, ParPosition): reintroduce some
7034         const_cast for the benefit of older compilers.
7035
7036 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7037
7038         * text3.C (dispatch): do not modify clipboard when doing
7039         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7040         LFUN_DELETE_SKIP on a selection selection
7041
7042 2003-06-16  André Pönitz  <poenitz@gmx.net>
7043
7044         * BufferView.C:
7045         * buffer.C:
7046         * buffer.h:
7047         * paragraph.C:
7048         * tabular.[Ch]: IU of clone() and getLabelList();
7049
7050 2003-06-13  André Pönitz  <poenitz@gmx.net>
7051
7052         * tabular.h: compactification
7053
7054 2003-06-12  André Pönitz  <poenitz@gmx.net>
7055
7056         * tabular.C:
7057         * tabular.h:
7058         * tabular_funcs.h: some renaming plus whitespace
7059
7060 2003-06-12  André Pönitz  <poenitz@gmx.net>
7061
7062         * BufferView.C:
7063         * BufferView_pimpl.C:
7064         * CutAndPaste.C:
7065         * buffer.C:
7066         * iterators.[Ch]:
7067         * lyxfunc.C:
7068         * text.C:
7069         * toc.C: Return a Paragraph & for ParIterator::operator*()
7070
7071 2003-06-11  John Levon  <levon@movementarian.org>
7072
7073         * lyx_main.C:
7074         * ToolbarBackend.h:
7075         * ToolbarBackend.C: add "Toolbars" section and
7076         put the flags there
7077
7078 2003-06-10  Angus Leeming  <leeming@lyx.org>
7079
7080         * lfuns.h:
7081         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7082
7083         * lyxfunc.C (dispatch): invoke it.
7084
7085 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7086
7087         * main.C: protect <ios> with HAVE_IOS
7088         (main): protect sync_with_stdio with HAVE_IOS
7089
7090 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7091
7092         * text2.C (cutSelection): adjust
7093         (pasteSelection): adjust
7094
7095         * messages.C: handle get of empty string
7096
7097         * main.C (main): use sync_with_stdio(false)
7098
7099         * lyxfunc.C (dispatch): adjust
7100
7101         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7102         (WriteAs): remove unneeded BufferView arg.
7103
7104         * bufferparams.h: use correct types on papersize, papersize2 and
7105         paperpackage.
7106
7107         * bufferparams.C (readToken): adjust for type
7108         (writeLaTeX): add missing cases to switch.
7109
7110         * bufferlist.C (quitWriteBuffer): adjust
7111         (close): adjust
7112
7113         * buffer.C (asciiParagraph): remove some commented code.
7114
7115         * CutAndPaste.C: remove current_view extern variable.
7116         (cutSelection): add BufferParams arg.
7117         (eraseSelection): add BufferParams arg.
7118         (pasteSelection): add Buffer const & arg
7119
7120 2003-06-07  John Levon  <levon@movementarian.org>
7121
7122         * buffer.C:
7123         * paragraph_funcs.C:
7124         * paragraph_pimpl.C:
7125         * text.C:
7126         * text2.C:
7127         * paragraph.h:
7128         * paragraph.C: allow InsetERT to freely space lines,
7129         and some consolidation of code
7130
7131 2003-06-06  José Matos  <jamatos@fep.up.pt>
7132
7133         * buffer.C (makeDocBookFile): fix bug #821
7134
7135 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7136
7137         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7138
7139 2003-06-04  Angus Leeming  <leeming@lyx.org>
7140
7141         * buffer.C: bump format to 224.
7142
7143 2003-06-05  André Pönitz  <poenitz@gmx.net>
7144
7145         * text2.C (redoParagraphs): remove two const_cast<>
7146
7147 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7148
7149         * ParagraphList.h: remove last remnants of NO_STD_LIST
7150
7151 2003-06-03  Angus Leeming  <leeming@lyx.org>
7152
7153         * factory.C (createInset): small change to the way InsetExternal's params
7154         are set.
7155
7156 2003-06-04  André Pönitz  <poenitz@gmx.net>
7157
7158         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7159
7160         * paragraph_pimpl.h:
7161         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7162
7163         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7164
7165         * undo_funcs.C: make some simple cases of undo work again
7166
7167 2003-06-03  John Levon  <levon@movementarian.org>
7168
7169         * ispell.C: HPUX doesn't have sys/select.h
7170         (from Albert Chin)
7171
7172 2003-06-03  John Levon  <levon@movementarian.org>
7173
7174         * CutAndPaste.C: update tabular and include inset
7175         buffer references
7176
7177         * buffer.h:
7178         * paragraph.h:
7179         * paragraph.C: remove owningBuffer(), don't pass Buffer
7180         to clone()
7181
7182         * factory.C: insetGraphicsParams changed
7183
7184 2003-06-02  John Levon  <levon@movementarian.org>
7185
7186         * LyXAction.C:
7187         * factory.C:
7188         * lfuns.h:
7189         * lyxfunc.C:
7190         * text3.C: remove insetparent
7191
7192 2003-06-02  John Levon  <levon@movementarian.org>
7193
7194         * buffer.h:
7195         * buffer.C: fix inset_iterator.end(), move out of line
7196         (bug 1149)
7197
7198 2003-06-01  John Levon  <levon@movementarian.org>
7199
7200         * text3.C: use a proper cut/paste when doing inset
7201         insert (from Jürgen Spitzmüller)
7202
7203 2003-06-01  John Levon  <levon@movementarian.org>
7204
7205         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7206
7207 2003-05-30  André Pönitz  <poenitz@gmx.net>
7208
7209         * rowpainter.C: unify second drawing phase
7210
7211 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7212
7213         * trans_mgr.C: remove one case of current_view
7214
7215         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7216
7217         * paragraph_funcs.h: remove paragraph.h include
7218
7219         * paragraph.h: delete NO_STD_LIST stuff
7220
7221         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7222
7223         * buffer.h: remove paragraph.h include
7224
7225         * ParagraphList.C: delete file
7226
7227         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7228
7229         * toc.C (getTocList): adjust
7230
7231         * paragraph_pimpl.C (validate): adjust
7232
7233         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7234
7235         * paragraph.C (Paragraph): adjust
7236         (getPositionOfInset): use const_iterator, adjust
7237         (bibitem): use const_iterator, adjust
7238         (setInsetOwner): adjust
7239
7240         * iterators.C (operator++): adjust
7241
7242         * InsetList.[Ch]: Replace selfmade iterator with standard
7243         vector::iterator also introduce const_iterator. Remove getPos,
7244         getInset and setInset from InsetTable. Adjust accordingly.
7245
7246         * BufferView.C (lockInset): adjust
7247         (ChangeInsets): adjust
7248
7249         * tabular.[Ch]: delete commented same_id functions
7250
7251 2003-05-28  John Levon  <levon@movementarian.org>
7252
7253         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7254
7255 2003-05-28  André Pönitz  <poenitz@gmx.net>
7256
7257         * metricsinfo.[Ch]: remove 'fullredraw' member
7258
7259 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7260
7261         * lyxtextclass.C (operator): remove caching.
7262
7263 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7264
7265         * text3.C: adjust
7266
7267         * text2.C (cursorBottom): adjust
7268         (setCounter): use ParagraphList::find, adjust
7269
7270         * text.C (workWidth): use ParagraphList::find, adjust
7271
7272         * lyxcursor.C (LyXCursor): adjust
7273
7274         * buffer.C (inset_iterator): adjust
7275
7276         * ParagraphList.h: make iterator(value_type) private, make
7277         ParagraphList a friend of iterator.
7278
7279         * ParagraphList.C (find): new function
7280
7281         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7282
7283 2003-05-27  André Pönitz  <poenitz@gmx.net>
7284
7285         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7286
7287 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7288
7289         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7290
7291 2003-05-26  John Levon  <levon@movementarian.org>
7292
7293         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7294
7295 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7296
7297         * remove same_id from function signatures, adjust.
7298
7299 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7300
7301         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7302
7303         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7304
7305         * paragraph.C (Paragraph): get rid of same_ids parameter
7306
7307         * ParagraphList.C (insert): adjust
7308         (push_back): adjust
7309
7310 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7311
7312         * paragraph_funcs.C (breakParagraph): adjust
7313         (breakParagraphConservative): adjust
7314
7315         * buffer.C (readParagraph): adjust
7316
7317         * ParagraphList.C (insert): take a reference instead of a pointer
7318         (insert): adjust
7319
7320         * paragraph.[Ch] (id): new function
7321
7322         * bufferlist.C (newFile): adjust
7323
7324         * ParagraphList.C (ParagraphList): adjust
7325         (assign): adjust
7326         (push_back): take a reference instead of a pointer.
7327
7328         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7329
7330         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7331         instead.
7332
7333         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7334         set else use old code.
7335
7336         * ParagraphList.C: remove all NO_NEXT code and only compile this
7337         code of NO_STD_LIST is set.
7338
7339 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7340
7341         * BufferView_pimpl.C:
7342         * TextCache.C:
7343         * TextCache.h:
7344         * bufferlist.C:
7345         * errorlist.h:
7346         * format.C:
7347         * format.h:
7348         * graph.C:
7349         * lyxfunc.C:
7350         * lyxrc.C:
7351         * graphics/GraphicsConverter.C:
7352         * graphics/PreviewLoader.C: header adjustment
7353
7354 2003-05-23  Angus Leeming  <leeming@lyx.org>
7355
7356         * LaTeXFeatures.[Ch] (useBabel): new method.
7357         * bufferparams.C (writeLaTeX): use it.
7358
7359 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7360
7361         * ParagraphList.h (set): remove unused function.
7362
7363 2003-05-23  André Pönitz  <poenitz@gmx.net>
7364
7365         * BufferView.C:
7366         * BufferView_pimpl.C:
7367         * buffer.C:
7368         * buffer.h:
7369         * lyxfunc.C:
7370         * undo_funcs.C: setUndo reworked
7371
7372         * iterators.[Ch]: add access to topmost ParagraphList
7373
7374         * lyxtext.[Ch] (workWidth): add a const
7375
7376 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7377
7378         * texrow.[Ch] (increasePos): remove function
7379         * exporter.C (export): removed unused var and outdated comment
7380
7381 2003-05-23  Angus Leeming  <leeming@lyx.org>
7382
7383         * latexrunparams.h: rename fragile as moving_arg.
7384         * paragraph.C (simpleTeXOnePar): ditto.
7385         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7386
7387 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7388
7389         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7390         (createUndo): ditto
7391         (textUndoOrRedo): comment out a currently unused var.
7392
7393         * paragraph.h (NO_NEXT): enable NO_NEXT
7394
7395         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7396
7397         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7398
7399         * exporter.C (Export): adjust for removeAutoInsets removal.
7400
7401         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7402
7403         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7404
7405         * BufferView.[Ch] (removeAutoInsets): delete function
7406
7407 2003-05-22  Angus Leeming  <leeming@lyx.org>
7408
7409         * latexrunparams.h: add a free_spacing variable.
7410
7411         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7412         to pass moving_arg, as the data is stored in runparams.fragile.
7413
7414         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7415         to Inset::latexOptional or to simpleTeXOnePar.
7416
7417         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7418         free_spacing arg to Inset::latexOptional.
7419
7420         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7421         free_spacing arg.
7422
7423 2003-05-22  Angus Leeming  <leeming@lyx.org>
7424
7425         * latexrunparams.h: add fragile and use_babel variables.
7426
7427         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7428         * buffer.C (makeLaTeXFile): store this returned value in
7429         runparams.use_babel, thus passing it to the inset::latex methods.
7430
7431         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7432         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7433
7434         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7435         longer has a fragile arg, as it is stored in runparams.fragile.
7436
7437         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7438         moving_arg parameter as the data is stored in runparams.fragile.
7439
7440         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7441         a fragile parameter as the data is stored in runparams.fragile.
7442
7443 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7444
7445         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7446
7447 2003-05-22  Angus Leeming  <leeming@lyx.org>
7448
7449         * latexrunparams.h: add a 'bool nice' which defaults to false.
7450
7451         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7452         now encapsulated within runparams.
7453
7454         * bufferlist.C (updateIncludedTeXfiles):
7455         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7456
7457 2003-05-22  Angus Leeming  <leeming@lyx.org>
7458
7459         * latexrunparams.h: new file containing struct LatexRunParams.
7460         * Makefile.am: add new file.
7461
7462         * LaTeX.[Ch] (c-tor, run):
7463         * buffer.[Ch] (makeLaTeXFile):
7464         * bufferlist.[Ch] (updateIncludedTeXfiles):
7465         * converter.C (convert, scanLog):
7466         * converter.[Ch] (runLaTeX):
7467         * exporter.C (Export):
7468         * paragraph.[Ch] (simpleTeXOnePar):
7469         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7470         * paragraph_funcs.[Ch] (latexParagraphs):
7471         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7472         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7473         pass around a LatexRunParams parameter.
7474
7475 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7476
7477         * paragraph.[Ch]: remove unused constructor
7478
7479         * ParagraphList.C (erase): new function, taking two iterators
7480
7481 2003-05-22  André Pönitz  <poenitz@gmx.net>
7482
7483         * undo_funcs.C: remove duplicated code
7484
7485         * iterator.[Ch]: operator=
7486
7487 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7488
7489         * tabular.C (SetMultiColumn): ws changes
7490
7491         * rowpainter.C (paintFirst): get rid of a ->previous
7492
7493         * lyx_cb.C (getPossibleLabel): parlist simplification
7494
7495         * BufferView.C (ChangeInsets): simplify slightly.
7496
7497 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7498
7499         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7500         * lfuns.h: new LFUN_SPACE
7501         * lyxfunc.C: protected space has a new lfun
7502         * paragraph_funcs.C: read new space insets
7503         * text3.C:
7504         * factory.C: handle new space insets
7505
7506 2003-05-22  André Pönitz  <poenitz@gmx.net>
7507
7508         * BufferView.C:
7509         * BufferView_pimpl.C:
7510         * buffer.[Ch]:
7511         * lyxfunc.C:
7512         * undo_funcs.C: return a ParIterator from getParFromID.
7513
7514         * iterators.[Ch]: add two const's
7515
7516 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7517
7518         * toc.C (getTocList): adjust
7519
7520         * iterators.[Ch]: rework for parlist
7521
7522         * buffer.C (par_iterator_begin): adjust
7523         (par_iterator_end): adjust
7524
7525         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7526
7527         * BufferView.C (removeAutoInsets): adjust
7528         (ChangeInsets): adjust
7529
7530 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7531
7532         * text.C (top_y): fix bug 1110
7533
7534 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7535
7536         * errorlist.[Ch]: added
7537         * buffer.C:
7538         * BufferView.[Ch]:
7539         * BufferView_pimpl.C:
7540         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7541         instead
7542
7543 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7544
7545         * Makefile.am: ensure that lyx is relinked upon changes to the
7546         various "convenience" libs.
7547
7548 2003-05-20  Angus Leeming  <leeming@lyx.org>
7549
7550         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7551         files are compiled in alphabetical order again.
7552
7553         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7554
7555 2003-05-19  Angus Leeming  <leeming@lyx.org>
7556
7557         * gettext.[Ch]: remove "char const * _(char const *)".
7558
7559 2003-05-19  André Pönitz  <poenitz@gmx.net>
7560
7561         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7562
7563         * Makefile.am:
7564         * BufferView.C:
7565         * DepTable.h:
7566         * LaTeXFeatures.C:
7567         * buffer.C:
7568         * lyxfont.C:
7569         * lyxlex.h:
7570         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7571
7572 2003-05-19  André Pönitz  <poenitz@gmx.net>
7573
7574         * buffer.C:
7575         * lyxlayout.[Ch]:
7576         * lyxtextclass.[Ch]:
7577         * paragraph.C:
7578         * paragraph_funcs.[Ch]:
7579         * text2.C:
7580         * text3.C: more insetenv work
7581
7582 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7583
7584         * ParagraphParameters.C (params2string): small bug fixed
7585
7586 2003-05-16  André Pönitz  <poenitz@gmx.net>
7587
7588         * debug.C:
7589         * bufferview_funcs.C: patch from Kornel Benko to prevent
7590           crash when _(...) is called twice in a statement
7591
7592 2003-05-16  André Pönitz  <poenitz@gmx.net>
7593
7594         * BufferView.C:
7595         * lyxfunc.C:
7596         * text.C:
7597         * text2.C:
7598         * text3.C:
7599         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7600
7601 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7602
7603         * lyx_main.C (init): remove spurious static_cast
7604
7605 2003-05-14  André Pönitz  <poenitz@gmx.net>
7606
7607         * BufferView.C: fix format string
7608
7609 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7610
7611         * BufferView.[Ch] (insertErrors): removed
7612         * BufferView.[Ch] (showErrorList): added
7613         * buffer.C (runChkTeX):
7614         * converter.C (scanLog): call showErrorList instead of inserterrors
7615
7616 2003-05-13  André Pönitz  <poenitz@gmx.net>
7617
7618         * BufferView_pimpl.C:
7619         * buffer.C:
7620         * bufferview_func.C:
7621         * MenuBackend.C:
7622         * lyxfunc.C:
7623         * lyxrc.C:
7624         * tex-accent.C:
7625         * text3.C:
7626         * toc.C:
7627         * tabular_funcs.h: tostr() from its own header
7628
7629         * ParagraphParameters.C:
7630         * ToolbarBackend.C:
7631         * bufferparams.C:
7632         * format.C:
7633         * lyxlex_pimpl.C:
7634         * text3.C: STRCONV()
7635
7636 2003-05-12  André Pönitz  <poenitz@gmx.net>
7637
7638         * BufferView.C:
7639         * BufferView_pimpl.C:
7640         * CutAndPaste.C:
7641         * LaTeX.C:
7642         * LaTeXFeatures.C:
7643         * ParagraphParameters.C:
7644         * buffer.C:
7645         * bufferlist.C:
7646         * bufferparams.C:
7647         * bufferview_funcs.C:
7648         * converter.C:
7649         * counters.C:
7650         * debug.C:
7651         * exporter.C:
7652         * format.C:
7653         * importer.C:
7654         * lyx_cb.C:
7655         * lyx_main.C:
7656         * lyxfont.C:
7657         * lyxfunc.C:
7658         * lyxvc.C:
7659         * paragraph.C:
7660         * paragraph_funcs.C:
7661         * tabular.C:
7662         * tabular_funcs.C:
7663         * text2.C:
7664         * text3.C:  boost::format -> bformat  all over the place
7665
7666
7667 2003-05-09  André Pönitz  <poenitz@gmx.net>
7668
7669         * LColor.[Ch]: Pimpl the #include <map> away
7670
7671 2003-05-09  John Levon  <levon@movementarian.org>
7672
7673         * bufferlist.C: never remove emergency saves
7674
7675 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7676
7677         * Makefile.am: better lib building
7678
7679 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7680
7681         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7682         instead.
7683         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7684         (simpleTeXSpecialChars): adjust
7685         (simpleTeXSpecialChars): adjust
7686         * paragraph.C (simpleTeXOnePar): adjust
7687         * buffer.C (makeLaTeXFile): adjust
7688
7689         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7690
7691         * text2.C (changeDepth): parlist cleanup
7692         (getColumnNearX): ditto
7693
7694         * rowpainter.C (getLabelFont): parlist cleanup
7695
7696         * bufferlist.C (newFile): parlist cleanup
7697
7698         * CutAndPaste.C (eraseSelection): parlist cleanup
7699
7700         * BufferView_pimpl.C (trackChanges): parlist cleanup
7701         (dispatch): ditto
7702
7703         * BufferView.C (lockInset): parlist cleanup.
7704         (ChangeInsets): ditto
7705
7706 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7707
7708         * CutAndPaste.h: Update file header.
7709
7710         * CutAndPaste.C: Update file header.
7711         Store the parts cut out of the Document in a limited_stack.
7712         (copySelection): adjust
7713         (pasteSelection): new function, takes the index in the limited stack.
7714         (nrOfParagraphs): adjust
7715         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7716         simplify error inset insertion.
7717         (checkPastePossible): adjust
7718
7719 2003-05-06  John Levon  <levon@movementarian.org>
7720
7721         * text2.C: don't cast wrap inset to float
7722
7723 2003-05-05  André Pönitz  <poenitz@gmx.net>
7724
7725         * iterator.C:
7726         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7727
7728         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7729           few naked Paragraph *.
7730
7731 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7732
7733         * bufferparams.C: Output warning if a document with missing
7734         TeX document class is loaded
7735         * exporter.C: Disable TeX exports if the document class is missing
7736         * lyxtextclass.C:
7737         * lyxtextclass.h:
7738         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7739         isTeXClassAvailable()
7740
7741 2003-05-03  John Levon  <levon@movementarian.org>
7742
7743         * BufferView.h:
7744         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7745         explicit cursor show/hide
7746
7747         * BufferView_pimpl.h:
7748         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7749         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7750
7751         * lyxfunc.C: hide cursor before dispatching.
7752
7753         * lyx_cb.C:
7754         * lyxfind.C:
7755         * text.C:
7756         * text3.C: remove explicit cursor hides
7757
7758 2003-05-02  André Pönitz  <poenitz@gmx.net>
7759
7760         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7761
7762         * undo_funcs.C:
7763         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7764           linked lists
7765
7766         * text2.C: tiny whitespace
7767
7768 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7769
7770         * undo_funcs.C: almost only ws changes.
7771
7772         * ParagraphList.C (splice): just return if pl is empty.
7773
7774 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7775
7776         * ParagraphList.C (splice): new function.
7777
7778         * CutAndPaste.C (pasteSelection): use it
7779
7780 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7781
7782         * CutAndPaste.C (pasteSelection): remove the last next and
7783         previous from this file.
7784
7785 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7786
7787         * CutAndPaste.C (pasteSelection): more clean up, user proper
7788         ParagraphList functions for pasteing.
7789
7790         * ParagraphList.C (insert): new function, three arg insert
7791
7792 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7793
7794         * ParagraphList.C (insert): new function, three arg insert
7795
7796         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7797         not on paragraphs.
7798
7799 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7800
7801         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7802
7803 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7804
7805         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7806
7807 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7808
7809         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7810         (copySelection): clean up a bit.
7811         (pasteSelection): use make_pair
7812
7813         * ParagraphList.C (ParagraphList): implement copy constructor
7814         (operator=): implement, base on copy constructor.
7815         (assign): new func
7816
7817         * paragraph.C (erase): return a bool
7818
7819         * paragraph_pimpl.C (erasePos): remove function, move contents...
7820         (erase): ... here. Return a bool.
7821         (erase): call erase instead of erasePos.
7822
7823 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7824
7825         * ParagraphList.h: define PitPosPair
7826         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7827         ParagraphList, fix a bug on pasting multiple pars
7828         * text2.C: change interface to C&P
7829
7830 2003-04-30  André Pönitz  <poenitz@gmx.net>
7831
7832         * undo_func.C: revert part of yesterday's patch 2
7833
7834 2003-04-30  John Levon  <levon@movementarian.org>
7835
7836         * LColor.C: s/tabular/table/
7837
7838 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7839
7840         * text3.C (dispatch): do not convert iterator -> pointer
7841         * undo_funcs.C (setCursorParUndo): ditto
7842         * text_funcs.C (transposeChars): ditto
7843
7844         * text2.C (setLayout): ws changes only
7845
7846         * text.C (breakParagraph): do not convert iterator -> pointer
7847         (insertChar): ditto
7848         (acceptChange): ditto
7849         (rejectChange): ditto
7850         (changeCase): ditto
7851         (Delete): ditto
7852         (backspace): ditto
7853
7854         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7855         pointer
7856
7857 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7858
7859         * text3.C (gotoInset): YABG (yet another bad getChar)
7860
7861 2003-04-29  André Pönitz  <poenitz@gmx.net>
7862
7863         * paragraph.h: make operator= private unimplemented as long as
7864           it is unusable
7865
7866         * ParagraphList.C: whitespace
7867
7868         * paragraph.[Ch]:
7869         * paragraph_pimpl.[Ch]:
7870         * paragraph_funcs.C:
7871         * CutAndPaste.C:
7872         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7873
7874         * text2.C:
7875           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7876
7877 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7878
7879         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7880         * paragraph.[Ch] (erase):
7881         * paragraph_pimpl.[Ch] (erase): change return type and value
7882         * text2.C (cutSelection): some rework
7883
7884 2003-04-28  John Levon  <levon@movementarian.org>
7885
7886         * bufferlist.C: changes for unsaved changes dialog
7887
7888 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7889
7890         * bufferlist.C (newFile): set language (messages_) for new
7891         documents also.
7892
7893         * buffer.C (readFile): ws changes only.
7894
7895 2003-04-28  André Pönitz  <poenitz@gmx.net>
7896
7897         * undo_funcs.C:
7898         * lyxfunc.C:
7899         * buffer.[Ch]:
7900         * BufferView_pimpl.C:
7901         * BufferView.C: getParFromID related ParagraphList::iterator changes
7902
7903 2003-04-28  André Pönitz  <poenitz@gmx.net>
7904
7905         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7906           Changes
7907
7908 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7909
7910         * messages.C: remove one more localedir class variable.
7911
7912 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7913
7914         * messages.C (getLocaleDir): singleton generation function
7915         (Pimpl): use it.
7916         (Messages): add a default constructor.
7917
7918         * main.C (main): do not setup localedir here, do not call
7919         gettext_init.
7920
7921         * gettext.C (_): use it.
7922         (gettext_init): delete funciton
7923
7924 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7925
7926         * gettext.C (getLyXMessages): new singleton generating function.
7927
7928         * buffer.C (updateDocLang): adjust
7929
7930         * Makefile.am (messages.o): add target
7931         (main.o): remove target
7932
7933 2003-04-27  John Levon  <levon@movementarian.org>
7934
7935         * bufferlist.C:
7936         * lyx_cb.C:
7937         * lyxfunc.C:
7938         * lyxvc.C: specify cancel button in Alert::prompt
7939
7940 2003-04-26  John Levon  <levon@movementarian.org>
7941
7942         * text3.C:
7943         * lyxfunc.C:
7944         * lfuns.h:
7945         * LyXAction.C: add LFUN_INSET_SETTINGS
7946
7947         * lyxfunc.C: don't enable tabular-feature when there's
7948         just any locking inset
7949
7950 2003-04-26  John Levon  <levon@movementarian.org>
7951
7952         * bufferlist.C: re-add Cancel to buffer close question
7953
7954         * lyxfunc.C: fix import UI a bit
7955
7956 2003-04-25  John Levon  <levon@movementarian.org>
7957
7958         * gettext.C: remove the broken asserts for now
7959
7960 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7961
7962         * messages.C: make case where setlocale cannot comply work better.
7963
7964         * buffer.C (updateDocLang): new function
7965         (changeLanguage): use it
7966         (readFile): use it
7967
7968         * text2.C (setCounter): use B_ a bit.
7969
7970         * lyxlayout.C (Read): be sure to trim the label strings.
7971
7972         * messages.C (Messages): fix typo in comment
7973
7974         * buffer.C (readFile): set message_ after file is loaded.
7975         (makeDocBookFile): remove double return
7976         (changeLanguage): reset message_ upon language change.
7977         (B_): new func, use this to get translated buffer strings.
7978
7979         * main.C: add myself and Jean Marc as authors.
7980
7981 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7982
7983         * messages.[hC]: pimplify Messages, and three different pimpls to be
7984         used in different circumstances.
7985
7986         * gettext.[Ch]: change for use with new message code.
7987
7988 2003-04-24 André Pönitz <poenitz@gmx.net>
7989
7990         * factory.C: support for eqref
7991
7992 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7993
7994         * messages.[Ch]: add missing char
7995
7996         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7997
7998         * messages.[Ch]: New files
7999
8000 2003-04-18  John Levon  <levon@movementarian.org>
8001
8002         * BufferView.h:
8003         * BufferView.C:
8004         * BufferView_pimpl.C:
8005         * lfuns.h:
8006         * LyXAction.C:
8007         * lyxtext.h:
8008         * text2.C: remove layout-copy/paste (bug 778)
8009
8010 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8011
8012         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8013
8014 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8015
8016         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8017         if they succeed. Act accordingly.
8018
8019 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8020
8021         * text2.C (setCharFont): adjust
8022         (setCounter): adjust
8023         (insertStringAsLines): adjust
8024
8025         * text.C (leftMargin): adjust
8026         (setHeightOfRow): adjust
8027
8028         * rowpainter.C (paintFirst): adjust
8029         (paintLast): adjust
8030
8031         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8032         (outerHook): ditto
8033         (isFirstInSequence): ditto
8034         (getEndLabel): ditto
8035         (outerFont): adjust
8036
8037         * paragraph.C (getParLanguage): comment out some hard stuff.
8038
8039         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8040         (sgmlError): ditto
8041         (simpleDocBookOnePar): ditto
8042         (makeDocBookFile): use ParagraphList::iterator
8043
8044         * CutAndPaste.C (pasteSelection): adjust
8045
8046 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8047
8048         * text2.C (getFont): adjust
8049         (getLayoutFont): adjust
8050         (getLabelFont): adjust
8051
8052         * paragraph_funcs.C (TeXOnePar): adjust
8053
8054         * buffer.C (simpleLinuxDocOnePar): adjust
8055         (simpleDocBookOnePar): adjust
8056
8057         * CutAndPaste.C (pasteSelection): adjust
8058
8059         * BufferView.C (getEncoding): adjust
8060
8061         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8062
8063 2003-04-16  John Levon  <levon@movementarian.org>
8064
8065         * lyxfind.C: use parlist stuff for search/changes
8066
8067 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8068
8069         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8070
8071         * text2.C (deleteEmptyParagraphMechanism): adjust
8072
8073         * text2.[Ch] (ownerParagraph): delete func (both of them
8074
8075 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8076
8077         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8078
8079 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8080
8081         * ParagraphList.C: prepare for NO_NEXT
8082
8083 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8084
8085         * text2.C (getFont): adjust
8086         (getLayoutFont): adjust
8087         (getLabelFont): adjust
8088
8089         * paragraph.C (getFont): adjust
8090         (getLabelFont): adjust
8091         (getLayoutFont): adjust
8092
8093         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8094
8095 2003-04-15  John Levon  <levon@movementarian.org>
8096
8097         From Angus Leeming
8098
8099         * lyx_main.C: handle Include in .ui files
8100
8101 2003-04-15  John Levon  <levon@movementarian.org>
8102
8103         * MenuBackend.C: make the doc files length shorter
8104
8105         * ToolbarBackend.h:
8106         * ToolbarBackend.C: handle toolbar placement flags,
8107         Minibuffer
8108
8109 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8110
8111         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8112         adjust
8113
8114         * paragraph_funcs.C (TeXOnePar): adjust
8115
8116         * paragraph.C (getLabelFont): add outerfont arg, adjust
8117         (getLayoutFont): ditto
8118         (simpleTeXOnePar): adjust
8119
8120         * paragraph_pimpl.C (realizeFont): delete func
8121
8122 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8123
8124         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8125         row argument, constify cur argument.
8126
8127 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8128
8129         * text2.C (getFont): adjust
8130         (getLayoutFont): adjust
8131         (getLabelFont): adjust
8132
8133         * paragraph_funcs.C (TeXOnePar): adjust
8134         (outerFont): new func...
8135         (realizeFont): ...moved out from here, changed this to facilitate
8136         transition
8137
8138         * paragraph.C (getFont): take outerfont as arg, adjust
8139         (simpleTeXOnePar): add outerfont arg, adjust
8140
8141         * buffer.C (simpleLinuxDocOnePar): adjust
8142         (simpleDocBookOnePar): adjust
8143
8144         * CutAndPaste.C (pasteSelection): adjust
8145
8146         * BufferView.C (getEncoding): adjust
8147
8148 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8149
8150         * text2.C (setCharFont): adjust
8151         (setCounter): adjust
8152
8153         * text.C (leftMargin): adjust
8154         (setHeightOfRow): adjust
8155
8156         * rowpainter.C (paintFirst): adjust
8157         (paintLast): adjust
8158
8159         * paragraph_pimpl.C (realizeFont): adjust
8160
8161         * paragraph.C (isFirstInSequence): move from here...
8162         * paragraph_funcs.C (isFirstInSequence): ...to here
8163
8164         * paragraph.C (outerHook): move from here...
8165         * paragraph_funcs.C (outerHook): ...to here
8166
8167         * paragraph.C (depthHook): move from here...
8168         * paragraph_funcs.C (depthHook): ...to here
8169
8170         * paragraph.C (getEndLabel): move from here...
8171         * paragraph_funcs.C (getEndLabel): ...to here
8172
8173         * text2.C (realizeFont): move from here...
8174         * paragraph_funcs.C (realizeFont): ...to here
8175
8176 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8177
8178         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8179
8180 2003-04-14  Angus Leeming  <leeming@lyx.org>
8181
8182         * LColor.[Ch]: scrap LColor mathcursor.
8183
8184 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8185
8186         * lyxlex.[Ch] (text): delete function
8187         * trans.C (Load): adjust
8188         * paragraph_funcs.C (readParToken): adjust
8189
8190 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8191
8192         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8193         vector<char> instead of a char[].
8194
8195         * lyxlex_pimpl.C (getString): adjust
8196         (next): adjust
8197         (lex): use getString
8198         (eatLine): adjust
8199         (nextToken): adjust
8200
8201         * lyxlex.C (text): use pimpl_->getString()
8202         (getBool): ditto
8203         (findToken): ditto
8204
8205 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8206
8207         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8208         (makeFontEntriesLayoutSpecific): temp var for par.size()
8209         (setLayout): temp var for ownerParagraphs().end()
8210         (fullRebreak): temp var for rows().end()
8211         (selectionAsString): temp var for boost::next(startpit), realize
8212         that the while really is a regular for loop.
8213         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8214         setCursor in one place.
8215         (setParagraph): temp vr for ownerParagraphs().end()
8216         (updateCounters): make the while loop a for loop
8217         (cutSelection): temp var for ownerParagraphs().end()
8218         (updateInset): make the do {} while() a regular for loop
8219         (getCursorX): use temp vars
8220         (setCurrentFont): use temp vars
8221         (getColumnNearX): use temp vars
8222
8223 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8224
8225         * text.C (transformChar): use temp var for getChar
8226         (computeBidiTables): use temp var for row->par()
8227         (fill): move temp vars for row->par() and pit->layout() earlier in
8228         the function.
8229         (labelFill): use temp var for row->par()
8230         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8231         asc and desc, realize that pit never changes and that firstpit is
8232         just a duplicate and not needed. Exchange rit->par() with pit in a
8233         lot of places.
8234         (breakAgain): use a temp var for boost::next(rit)
8235         (breakAgainOneRow): ditto
8236         (breakParagraph): use a temp var for rows().begin()
8237         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8238         (cursorRightOneWord): use temp var for cursor.par() and
8239         cursor.pos(), remove usage of tmpcursor.
8240         (cursorLeftOneWord): use temp var for cursor.par() and
8241         cursor.pos() only set cur at end of function.
8242
8243 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8244
8245         * text.C, text2.C: exchange all usage of Paragraph::next with
8246         boost::next(ParagraphList::iterator)
8247
8248         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8249
8250         * text2.C (cursorTop): simplify implementation
8251         (cursorBottom): ditto
8252         (setParagraph): use ParagraphList::iterator
8253         (setCurrentFont): adjust
8254         (getColumnNearX): adjust
8255         (cursorRight): adjust
8256         (cursorLeft): remove usage of Paragraph::previous
8257         (cursorUpParagraph): ditto
8258         (deleteEmptyParagraphMechanism): slight cleanup
8259
8260         * text.C (isBoundary): take a Paragraph const & instead of a
8261         pointer as arg.
8262         (addressBreakPoint): ditto
8263         (leftMargin): remove usage of Paragraph::previous.
8264         (setHeightOfRow): ditto
8265         (cursorLeftOneWord): ditto
8266         (selectNextWordToSpellcheck): ditto
8267         (Delete): ditto
8268         (backspace): ditto
8269         (breakParagraph): remove one usage of Paragraph::next
8270         (redoParagraph): ditto
8271         (acceptChange): ditto
8272         (insertChar): adjust
8273         (rowBreakPoint): adjust
8274
8275         * bufferview_funcs.C (toggleAndShow): adjust
8276
8277 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8278
8279         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8280         methods to access it.
8281         * lyxtext.h:
8282         * text.C: Added updateRowPositions to compute all row positions.
8283         Make top_y and getRowNearY() to use the cached y position
8284
8285 2003-04-11  John Levon  <levon@movementarian.org>
8286
8287         * text.C (rowBreakPoint): reintroduce the labelEnd
8288         checks, code copied from the row fill stuff. Deep voodoo.
8289
8290         * text.C (fill): add a comment and debugging for the
8291         next poor soul.
8292
8293 2003-04-11  John Levon  <levon@movementarian.org>
8294
8295         * text.C: make sure fullrow insets get wrapped to the next line,
8296         even when they're in a manual label
8297
8298 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8299
8300         * text2.C (insertParagraph): make it take ParagraphList::iterator
8301         as arg.
8302         (setLayout): make it return ParagraphList::iterator
8303         (redoParagraphs): ditto
8304         (setCounter): ditto
8305         (checkParagraph): ditto
8306
8307         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8308
8309         * text2.C: adjust several funcs.
8310         (realizeFont): take a ParagraphList::iterator as arg.
8311         (getLayoutFont): ditto
8312         (getLabelFont): ditto
8313         (setCharFont): ditto
8314
8315         * text.C: adjust several funcs.
8316
8317 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8318
8319         * text.C (selectNextWordToSpellcheck): don't accidentally
8320         skip insets
8321
8322 2003-04-10  John Levon  <levon@movementarian.org>
8323
8324         * ToolbarBackend.C (getIcon): special handling for
8325         LFUN_MATH_DELIM
8326
8327 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8328
8329         * text2.C (cursorRight): a getChar assert fixed
8330
8331 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8332
8333         * text2.C (getFont): change to take a ParagraphList::iterator
8334         instead of Paragraph*
8335         Adjust several functions.
8336
8337         * text.C (transformChar): change to take a ParagraphList::iterator
8338         instead of Paragraph*
8339         (singleWidth): ditto
8340         Adjust several functions.
8341
8342         * rowpainter.C: adjust several functions
8343         * rowpainter.h:store a ParagraphList::iterator and not a
8344         Paragraph&.
8345
8346
8347 2003-04-09  John Levon  <levon@movementarian.org>
8348
8349         * lyxfunc.C:
8350         * lfuns.h:
8351         * LyXAction.h:
8352         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8353         and the "help" bits as well
8354
8355 2003-04-09  John Levon  <levon@movementarian.org>
8356
8357         * ToolbarBackend.h:
8358         * ToolbarBackend.C: allow multiple toolbars
8359
8360 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8361
8362         * undo_funcs.C (setCursorParUndo): adjust
8363
8364         * text_funcs.C (transposeChars): adjust
8365
8366         * text3.C (gotoNextInset): adjust
8367         (dispatch): adjust
8368
8369         * text2.C (setLayout): adjust
8370         (changeDepth): adjust
8371         (setFont): adjust
8372         (redoParagraphs): adjust
8373         (selectionAsString): adjust
8374         (setParagraph): adjust
8375         (insertInset): adjust
8376         (cutSelection): adjust
8377         (copySelection): adjust
8378         (pasteSelection): adjust
8379         (insertStringAsLines): adjust
8380         (updateInset): adjust
8381         (setCursor): change to take a ParagraphList::iterator parameter
8382         (setCursorIntern): change to take a ParagraphList::iterator parameter
8383         (setCurrentFont): adjust
8384         (cursorLeft): adjust
8385         (cursorRight): adjust
8386         (deleteEmptyParagraphMechanism): adjust
8387
8388         * text.C (breakParagraph): adjust
8389         (insertChar): adjust
8390         (acceptChange): adjust
8391         (rejectChange): adjust
8392         (selectNextWordToSpellcheck): adjust
8393         (changeCase): adjust
8394         (Delete): adjust
8395         (backspace): adjust
8396
8397         * lyxfind.C (SearchForward): adjust
8398         (SearchBackward): adjust
8399         (nextChange): adjust
8400
8401         * lyxcursor.C (par): adjust
8402
8403         * lyxcursor.h: store a ParagraphList::iterator instead of a
8404         Paragraph*
8405
8406         * lyx_cb.C (getPossibleLabel): adjust
8407
8408         * bufferview_funcs.C (toggleAndShow): adjust
8409
8410         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8411         (dispatch): adjust
8412
8413         * BufferView.C (removeAutoInsets): adjust
8414         (lockedInsetStoreUndo): adjust
8415
8416 2003-04-09  John Levon  <levon@movementarian.org>
8417
8418         * ToolbarBackend.C: try icon without argument
8419         if with argument fails
8420
8421 2003-04-08  John Levon  <levon@movementarian.org>
8422
8423         * ToolbarBackend.h:
8424         * ToolbarBackend.C: add getIcon(), handle tooltip,
8425         and change from "Icon" to "Item".
8426
8427 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8428
8429         * BufferView.C (lockInset): another bad getchar crunched
8430
8431 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8432
8433         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8434         again)
8435
8436 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8437
8438         * lyxfind.C (searchForward, searchBackwards): bug 782
8439
8440 2003-04-07  John Levon  <levon@movementarian.org>
8441
8442         * paragraph.C: remove dead comment
8443
8444         * text.C: remove troublesome depth-fiddling code
8445         in leftMargin() and rightMargin() (bug 1017)
8446
8447         * text.C: fix breaking of rows in nested lists
8448         (bug 1004)
8449
8450         * text2.C (updateCounters): fix up depth values
8451         (bug 1013)
8452
8453 2003-04-07  John Levon  <levon@movementarian.org>
8454
8455         * BufferView_pimpl.C: clear message when doc finishes resizing,
8456         and after a mouse event
8457
8458         * lyxfunc.C: clear message after exiting inset
8459
8460 2003-04-07  John Levon  <levon@movementarian.org>
8461
8462         * bufferview_funcs.C: show math status not outside
8463         status in the statusbar
8464
8465 2003-04-07  John Levon  <levon@movementarian.org>
8466
8467         * lyxfunc.C: note status changed after a depth change
8468
8469 2003-04-04  Angus Leeming  <leeming@lyx.org>
8470
8471         * LaTeX.h: move AuxInfo operator==, != out of line.
8472         Remove LaTeX virtual destructor; nothing derives from it.
8473         Move operator()() out of public area and rename it startscript().
8474         Change protected for private.
8475
8476 2003-04-04  Angus Leeming  <leeming@lyx.org>
8477
8478         * lyxfunc.C:
8479         * text2.C: remove unneeded #includes.
8480
8481 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8482
8483         * text2.C (dEPM): fix the heigth of the next row
8484
8485 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8486
8487         * text.C: squashed an invalid getChar requester + some ws changes
8488
8489 2003-04-03  John Levon  <levon@movementarian.org>
8490
8491         * bufferview_funcs.h:
8492         * bufferview_funcs.C:
8493         * lyxfunc.C:
8494         * lyxtext.h:
8495         * text2.C: make getStatus work for the env depth lfuns
8496
8497 2003-04-03  John Levon  <levon@movementarian.org>
8498
8499         * bufferview_funcs.h:
8500         * bufferview_funcs.C:
8501         * lyxfunc.C:
8502         * lyxtext.h:
8503         * text2.C: parlistize decDepth(), by merging it with incDepth()
8504
8505 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8506
8507         * lyxrow.h: store a ParagraphList::iterator instead of a
8508         Paragraph* and adjust other class functions to suit.
8509
8510         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8511         above.
8512
8513 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8514
8515         * text2.C (setCursor): do not anchor to cursor row for the time being
8516
8517 2003-04-02  John Levon  <levon@movementarian.org>
8518
8519         * LyXAction.C:
8520         * lfuns.h:
8521         * lyx_main.C:
8522         * lyxtext.h:
8523         * text.C:
8524         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8525
8526 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8527
8528         * paragraph.h: make ParagraphList and ParagraphList::iterator
8529         friends of Paragraph.
8530
8531         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8532
8533         * ParagraphList.C: Use the private next_ and previous_ from
8534         Paragraph.
8535
8536 2003-04-01  John Levon  <levon@movementarian.org>
8537
8538         * ToolbarBackend.h:
8539         * ToolbarBackend.C:
8540         * Makefile.am: rename, remove defaults gunk
8541
8542         * MenuBackend.h:
8543         * MenuBackend.C: remove defaults gunk
8544
8545         * Languages.h:
8546         * Languages.C: remove defaults gunk
8547
8548         * lyx_main.h:
8549         * lyx_main.C: error out if files couldn't be found.
8550
8551 2003-04-02  John Levon  <levon@movementarian.org>
8552
8553         * text2.C: make incDepth() use parlist
8554
8555 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8556
8557         * undo_funcs.C (firstUndoParagraph): adjust
8558
8559         * text3.C (gotoInset): adjust
8560         (dispatch): adjust, and rewrite loop.
8561
8562         * text2.C (init): adjust, and rewrite loop.
8563         (redoParagraphs): adjust
8564         (updateInset): adjust, and rewrite loop.
8565         (deleteEmptyParagraphMechanism): adjust
8566
8567         * tabular.C (LyXTabular): adjust
8568         (SetMultiColumn): adjust
8569         (TeXRow): adjust
8570
8571         * lyxtext.[Ch] (ownerParagraph): delete function
8572         (ownerParagraphs): new function returns a ParagraphList.
8573
8574         * BufferView.C (removeAutoInsets): adjust
8575         (insertErrors): adjust
8576         (setCursorFromRow): adjust
8577
8578 2003-04-01  Angus Leeming  <leeming@lyx.org>
8579
8580         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8581         in the frontends.
8582
8583 2003-04-02  John Levon  <levon@movementarian.org>
8584
8585         * lyxtext.h:
8586         * text.C:
8587         * Makefile.am:
8588         * text_funcs.h:
8589         * text_funcs.C: make transposeChars a free function
8590
8591         * lyxrow_funcs.C: remove wrong comment
8592
8593 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8594
8595         * lyxtext.h: adjust
8596         * rowpainter.C: adjust
8597         * text.C: adjust
8598         * text2.C: adjust
8599         * text3.C: adjust
8600
8601         * lyxrow_funcs. [Ch]: new files
8602
8603         * lyxrow.[Ch]: remove next and previous pointers
8604         (next,previous): remove accessor functions
8605         (isParEnd): move to lyxrow_funcs
8606         (lastPos): move to lyxrow_funcs
8607         (nextRowIsAllInset): move to lyxrow_funcs
8608         (lastPrintablePos): move to lyxrow_funcs
8609         (numberOfSeparators): move to lyxrow_funcs
8610         (numberOfHfills): move to lyxrow_funcs
8611         (numberOfLabelHfills): move to lyxrow_funcs
8612         (hfillExpansion): move to lyxrow_funcs
8613
8614         * lyxfunc.C: adjust
8615
8616         * bufferview_funcs.C (toggleAndShow): adjust
8617
8618         * RowList.h: Remove class RowList from file leave just a
8619         std::list<Row>.
8620
8621         * RowList.C: delete file
8622
8623         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8624         and lyxrow_funcs.h
8625
8626 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8627
8628         * text3.C (cursorPrevious): adjust
8629         (cursorNext): adjust
8630         (dispatch): adjust
8631
8632         * text2.C (redoHeightOfParagraph): adjust
8633         (redoDrawingOfParagraph): adjust
8634         (setCursor): adjust
8635
8636         * text.C (breakParagraph): adjust
8637         (insertChar): adjust
8638         (backspace): adjust
8639
8640         * rowpainter.C (RowPainter): adjust
8641         (leftMargin): simplify and adjust
8642         (most rowpainter functions): adjust.
8643
8644         * rowpainter.h: store the row as RowList::iterator not as Row*
8645
8646         * lyxcursor.C (row): taka RowList::iterator as arg
8647         (irow): ditto
8648
8649         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8650         of Row*.
8651
8652 2003-04-01  Angus Leeming  <leeming@lyx.org>
8653
8654         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8655         stuff like bool Bool.
8656
8657 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8658
8659         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8660         rewrite a loop
8661
8662 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8663
8664         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8665         RowList::iterator.
8666
8667         * lyxtext.h (rows): drop one version and leve a const variant that
8668         returns a RowList::iterator.
8669
8670 2003-03-31  Angus Leeming  <leeming@lyx.org>
8671
8672         * text.C (fill): ensure that the signature is the same as that in the
8673         header file.
8674
8675 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8676
8677         * text2.C (redoParagraphs): adjust
8678         (updateCounters): adjust
8679         (checkParagraph): adjust
8680         (getColumnNearX): adjust and reformat a bit.
8681
8682         * text.C (top_y): adjust
8683         (workWidth): adjust
8684         (leftMargin): adjust
8685         (prepareToPrint): adjust
8686         (getRow): adjust
8687         (getRowNearY): adjust
8688
8689         * lyxtext.h: make rowlist_ mutable.
8690
8691         * RowList.h: add const_iterator
8692         * RowList.C: adjust for RowList::const_iterator.
8693
8694         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8695         adjust.
8696
8697 2003-03-31  John Levon  <levon@movementarian.org>
8698
8699         * lyxrc.h:
8700         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8701
8702         * lyx_main.C: set default fonts from using lyx_gui funcs
8703
8704         * exporter.C: pdf_mode moved from lyxrc
8705
8706         * lyx_cb.C:
8707         * lyxfunc.C: changes from above
8708
8709 2003-03-31  John Levon  <levon@movementarian.org>
8710
8711         * lyx_main.C: fix to the last fix
8712
8713 2003-03-31  John Levon  <levon@movementarian.org>
8714
8715         * bufferlist.C: "Load original" -> "Load Original"
8716
8717         * converter.C:
8718         * exporter.C:
8719         * importer.C:
8720         * lyx_main.C:
8721         * format.C: more Alert cleanups
8722
8723 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8724
8725         * text2.C (removeParagraph): make it take a RowList::iterator as
8726         arg, adjust.
8727         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8728         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8729
8730         * text.C (anchor_row): make it take a RowList::iterator as arg,
8731         adjust.
8732         (computeBidiTables): make it take a const reference to Row instead
8733         of Row pointer, adjust.
8734         (leftMargin): make it take a RowList::iterator as arg, adjust.
8735         (rowBreakPoint): adjust
8736         (breakAgainOneRow): make it take a RowList::iterator as arg,
8737         adjust.
8738         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8739
8740         * bufferview_funcs.C (toggleAndShow): adjust
8741
8742 2003-03-30  John Levon  <levon@movementarian.org>
8743
8744         * Makefile.am:
8745         * BoostFormat.h:
8746         * boost-inst.C: moved to support
8747
8748         * several files: changes as a result
8749
8750 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8751
8752         * text2.C (LyXText): adjust.
8753         (init): adjust
8754         (removeRow): make it take a RowList::iterator as arg, adjust.
8755         (fullRebreak): adjust
8756         (deleteEmptyParagraphMechanism): adjust
8757         (clearPaint): adjust
8758         (postPaint): adjust
8759
8760         * text.C (top_y): adjust
8761         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8762         (breakAgain): make it take a RowList::iterator as arg, adjust.
8763         (breakParagraph): adjust
8764         (insertChar): adjust
8765         (backspace): adjust
8766
8767         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8768         need_break_row, and refresh_row.
8769
8770         * text3.C (dispatch): adjust
8771
8772         * text2.C (checkParagraph): adjust
8773         (setCursor): adjust
8774         (setCursorFromCoordinates): adjust
8775
8776         * text.C (top_y): adjust
8777         (workWidth): adjust
8778         (getRow): make it return a RowList::iterator, adjust
8779         (getRowNearY): make it return a RowList::iterator, adjust
8780
8781         * text2.C (init): adjust
8782         (insertRow): remove function
8783         (insertParagraph): adjust
8784         (redoParagraphs): adjust
8785         (fullRebreak): adjust
8786         (updateCounters): adjust
8787
8788         * text.C (top_y): rewrite to use RowList iterators.
8789         (top_y): adjust
8790         (setHeightOfRow): rewrite to sue RowList iterators.
8791         (appendParagraph): adjust
8792         (breakAgain): adjust
8793         (breakAgainOneRow): adjust
8794         (breakParagraph): adjust
8795         (getRow): adjust
8796         (getRowNearY): adjust, and remove commented code.
8797
8798         * lyxtext.h (firstRow): delete function
8799         (lastRow): delete function
8800         (rows): new function (const and non-const versions.)
8801         (insertRow): delete function
8802
8803         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8804
8805 2003-03-29  John Levon  <levon@movementarian.org>
8806
8807         * BufferView_pimpl.C: always update scrollbar top
8808         because pasting text when we're anchored could mean we
8809         miss an update altogether
8810
8811 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8812
8813         * text2.C (init): use rowlist_.end() and not 0.
8814         (insertRow): change to take a RowList::iterator as arg, adjust
8815         for this.
8816         (insertParagraph): change to take a RowList::iterator as arg,
8817         adjust for this.
8818         (redoParagraphs): remove some debug msgs.
8819
8820         * text.C (appendParagraph): change to take a RowList::iterator
8821         arg, adjust for this.
8822         (breakAgain): add an assert
8823         (breakAgainOneRow): ditto
8824
8825 2003-03-29  John Levon  <levon@movementarian.org>
8826
8827         * text2.C: do not clear selection after inc/decDepth
8828         (bug 550)
8829
8830 2003-03-29  John Levon  <levon@movementarian.org>
8831
8832         * BufferView.C:
8833         * buffer.C: fix broken strerrors according to Lars
8834
8835 2003-03-29  John Levon  <levon@movementarian.org>
8836
8837         * converters.C: more Alert cleanups
8838
8839 2003-03-29  John Levon  <levon@movementarian.org>
8840
8841         * bufferview_funcs.C: remove pointless Alert
8842
8843         * buffer.C: fix confusing error message when
8844         a template is chmoded 000
8845
8846 2003-03-29  John Levon  <levon@movementarian.org>
8847
8848         * BufferView.C:
8849         * BufferView.h:
8850         * BufferView_pimpl.C: Alert fixes
8851
8852         * Makefile.am:
8853         * tabular.C:
8854         * tabular-old.C: remove unused table compat reading
8855
8856 2003-03-29  John Levon  <levon@movementarian.org>
8857
8858         * BufferView.C:
8859         * buffer.C:
8860         * lyx_cb.h:
8861         * lyx_cb.C: more Alert cleanups
8862
8863         * lyxfunc.C: don't allow chktex if not latex document
8864
8865 2003-03-29  John Levon  <levon@movementarian.org>
8866
8867         * lyx_cb.C:
8868         * BufferView.C:
8869         * buffer.C: warnings pushed down from support/,
8870         kill err_alert
8871
8872 2003-03-29  John Levon  <levon@movementarian.org>
8873
8874         * lyxfunc.C: safety check for C-r (revert)
8875
8876 2003-03-29  John Levon  <levon@movementarian.org>
8877
8878         * bufferlist.h:
8879         * bufferlist.C: several UI fixes using Alert::prompt.
8880         Fix the pointless looping quit code. Fix stupid revert
8881         behaviour (bug 938)
8882
8883         * lyxvc.h:
8884         * lyxvc.C:
8885         * lyx_cb.C: use Alert::prompt
8886
8887         * lyx_main.C: remove a silly question
8888
8889         * lyxfunc.C: remove a couple of silly questions,
8890         use Alert::prompt
8891
8892 2003-03-28  John Levon  <levon@movementarian.org>
8893
8894         * text2.C: fix bug 974 (End on empty par)
8895
8896 2003-03-28  John Levon  <levon@movementarian.org>
8897
8898         * BufferView_pimpl.C:
8899         * LyXAction.C:
8900         * lfuns.h: remove do-nothing math greek lfuns
8901
8902 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8903
8904         * lyxgluelength.h (isValidGlueLength): add default arg on
8905         parameter 2. Remove default arg from friend in class.
8906
8907         * lyxlength.h (isValidLength): add default arg on parameter 2.
8908         Remove default arg from friend in class.
8909
8910         * text2.C (LyXText): adjust, initialize refresh_row.
8911         (init): adjust
8912         (removeRow): adjust
8913         (insertRow): adjust
8914         (insertParagraph): adjst
8915         (redoParagraphs): adjust
8916         (fullRebreak): adjust
8917         (updateCounters): adjust
8918         (deleteEmptyParagraphMechanism): first attempt at fixing a
8919         crashing bug.
8920
8921         * text.C (top_y): adjust
8922         (setHeightOfRow): adjust
8923         (getRow): adjust
8924         (getRowNearY): adjust
8925
8926         * lyxtext.h: include RowList.h
8927         (~LyXText): not needed anymore, deleted.
8928         (firstRow): modify for RowList
8929         (lastRow): new function
8930         Delete firstrow and lastrow class variables, add a Rowlist
8931         rowlist_ class variable.
8932
8933         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8934         paragraph is empty.
8935
8936         * RowList.C (insert): fix case where it == begin().
8937
8938 2003-03-26  Angus Leeming  <leeming@lyx.org>
8939
8940         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8941         the thesaurus dialog.
8942
8943 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8944
8945         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8946
8947         * RowList.[Ch]: new files
8948
8949         * ParagraphList.C (erase): handle the case where it == begin
8950         correctly.
8951
8952 2003-03-25  John Levon  <levon@movementarian.org>
8953
8954         * Makefile.am:
8955         * aspell_local.h:
8956         * aspell.C: add new aspell support
8957
8958         * lyxrc.h:
8959         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8960         have it accessible.
8961
8962 2003-03-25  Angus Leeming  <leeming@lyx.org>
8963
8964         * lfuns.h:
8965         * LyXAction.C (init): new LFUN_INSET_INSERT.
8966
8967         * BufferView_pimpl.C (dispatch): split out part of the
8968         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8969
8970         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8971         LFUN_INSET_APPLY.
8972
8973 2003-03-25  Angus Leeming  <leeming@lyx.org>
8974
8975         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8976
8977 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8978
8979         * text2.C:
8980         * text3.C: remove useless row->height(0)
8981
8982 2003-03-25  John Levon  <levon@movementarian.org>
8983
8984         * lyxtext.h:
8985         * text2.C:
8986         * text3.C: rename the refreshing stuff to better names
8987
8988 2003-03-24  John Levon  <levon@movementarian.org>
8989
8990         * BufferView_pimpl.h:
8991         * BufferView_pimpl.C: update layout choice on a mouse
8992         press/release
8993
8994 2003-03-23  John Levon  <levon@movementarian.org>
8995
8996         * Makefile.am: fix commandtags.h reference
8997
8998 2003-03-22  John Levon  <levon@movementarian.org>
8999
9000         * BufferView_pimpl.C:
9001         * lyxtext.h:
9002         * rowpainter.C:
9003         * rowpainter.h:
9004         * text.C:
9005         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9006
9007 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9008
9009         * lyxtext.h:
9010         * text.C: take the rtl methods out of line
9011
9012 2003-03-21 André Pönitz <poenitz@gmx.net>
9013
9014         * metricsinfo.[Ch]: new files containing structures to be passed around
9015         during the two-phase-drawing...
9016
9017 2003-03-21 André Pönitz <poenitz@gmx.net>
9018
9019         * lyxtextclass.C: read 'environment' tag.
9020
9021 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9022
9023         * text2.C (removeRow): fix bug 964
9024
9025 2003-03-20  John Levon  <levon@movementarian.org>
9026
9027         * rowpainter.C:
9028         * text.C:
9029         * text2.C: paint cleanups. Inset::update() dropped font
9030         parameter
9031
9032 2003-03-19  John Levon  <levon@movementarian.org>
9033
9034         * lyxfunc.C: only fitcursor/markDirty if available()
9035
9036 2003-03-19  John Levon  <levon@movementarian.org>
9037
9038         * commandtags.h: rename to ...
9039
9040         * lfuns.h: ... this, and renumber / cleanup
9041
9042 2003-03-19  John Levon  <levon@movementarian.org>
9043
9044         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9045         fit the cursor after an lfun
9046
9047         * BufferView.h:
9048         * BufferView.C:
9049         * BufferView_pimpl.h:
9050         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9051
9052         * LyXAction.C: layout-character should have ReadOnly
9053
9054         * ParagraphParameters.C:
9055         * buffer.C:
9056         * bufferview_funcs.C:
9057         * lyx_cb.C:
9058         * lyxfind.C:
9059         * lyxtext.h:
9060         * text.C:
9061         * text2.C:
9062         * text3.C:
9063         * undo_funcs.C: changes from above
9064
9065 2003-03-18  John Levon  <levon@movementarian.org>
9066
9067         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9068         remove it from update()
9069
9070         * lyxfunc.C: update layout choice after an lfun
9071
9072         * text3.C: remove extra updateLayoutChoice()s
9073
9074 2003-03-18  John Levon  <levon@movementarian.org>
9075
9076         * text.C: top_y change means full repaint, fix
9077         a drawing bug with cursor movement
9078
9079 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9080
9081         * lyxtext.h:
9082         * text.C:
9083         * text2.C: anchor row on setCursor
9084
9085 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9086
9087         * lyxtext.h: remove almost all mutable keywords
9088         * text.C:
9089         * text2.C:
9090         * text3.C: remove const keywords accordingly
9091
9092 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9093
9094         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9095         anon namespace
9096         (TeXEnvironment): ditto
9097         (TeXOnePar): ditto
9098
9099 2003-03-17  John Levon  <levon@movementarian.org>
9100
9101         * text.C (rowBreakPoint): remove attempt to fix displayed
9102         math insets inside a manual label
9103
9104 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9105
9106         * lyxtext.h: remove BufferView* as first arg from almost all class
9107         functions.
9108         * other files: adjust.
9109
9110 2003-03-17  John Levon  <levon@movementarian.org>
9111
9112         * lyxtext.h:
9113         * undo_funcs.C:
9114         * text2.C: more paint cleanups
9115
9116         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9117
9118         * rowpainter.h:
9119         * rowpainter.C: remove "smart" background painting code
9120
9121 2003-03-16  John Levon  <levon@movementarian.org>
9122
9123         * lyxtext.h:
9124         * text.C:
9125         * text2.C:
9126         * text3.C: add helper functions for setting refresh_row/y
9127
9128 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9129
9130         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9131         newline inset which *can* get inserted in the pass_thru layouts.
9132         This is primarily for literate documents.
9133
9134 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9135
9136         * buffer.C: increment LYX_FORMAT to 223
9137
9138 2003-03-14 André Pönitz <poenitz@gmx.net>
9139
9140         * textclass.h: prepare for environment handling, ws changes
9141         * lyxlayout.C: read latexheader and latexfooter tags
9142
9143 2003-03-14  John Levon  <levon@movementarian.org>
9144
9145         * text2.C: rewrite ::status() a bit
9146
9147 2003-03-13  John Levon  <levon@movementarian.org>
9148
9149         * lyxtext.h: add some docs
9150
9151 2003-03-13  John Levon  <levon@movementarian.org>
9152
9153         * lyxtext.h:
9154         * text.C:
9155         * text2.C:
9156         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9157
9158 2003-03-13  John Levon  <levon@movementarian.org>
9159
9160         * text3.C: fix appendix redrawing
9161
9162 2003-03-13  John Levon  <levon@movementarian.org>
9163
9164         * text.C (setHeightOfRow):
9165         * rowpainter.h:
9166         * rowpainter.C: make appendix mark have the text
9167           "Appendix" so the user knows what it is
9168
9169         * LColor.h:
9170         * LColor.C: s/appendixline/appendix/ from above
9171
9172 2003-03-13  John Levon  <levon@movementarian.org>
9173
9174         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9175
9176         * text.C: fix a getChar(pos) bug properly
9177
9178 2003-03-13  Angus Leeming  <leeming@lyx.org>
9179
9180         * commandtags.h:
9181         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9182         Probably only temporary. Let's see how things pan out.
9183
9184         * BufferView.C (unlockInset):
9185         * BufferView_pimpl.C (fitCursor):
9186         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9187
9188         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9189         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9190
9191         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9192         new functions that convert ParagraphParameters to and from a string.
9193
9194         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9195         BufferView::Pimpl's dispatch.
9196         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9197
9198 2003-03-13 André Pönitz <poenitz@gmx.net>
9199
9200         * lyxfunc.C:
9201         * text3.C:
9202         * factory.C: make it aware of InsetEnv
9203
9204 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9205
9206         * text2.C (setCursor): never ask for one past last
9207         (setCursor): add some debugging messages.
9208
9209         * text.C (singleWidth): never ask for one past last
9210         (singleWidth): ditto
9211         (leftMargin): ditto
9212         (rightMargin): ditto
9213         (rowBreakPoint): ditto
9214         (setHeightOfRow): ditto
9215         (prepareToPrint): ditto
9216
9217         * rowpainter.C (paintBackground): never ask for one past last
9218         (paintText): never ask for one past last
9219
9220         * paragraph_pimpl.C (getChar): make the assert stricter, never
9221         allow the one past last pos to be taken
9222
9223         * paragraph.C (getChar): ws changes only
9224
9225         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9226         (numberOfSeparators): ditto
9227         (numberOfHfills): ditto
9228
9229 2003-03-12  John Levon  <levon@movementarian.org>
9230
9231         * author.h:
9232         * author.C:
9233         * bufferparams.h:
9234         * bufferparams.C:
9235         * paragraph_funcs.C: fix per-buffer authorlists
9236
9237 2003-03-12  John Levon  <levon@movementarian.org>
9238
9239         * text.C: fix newline in right address
9240
9241 2003-03-12  Angus Leeming  <leeming@lyx.org>
9242
9243         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9244         duplicate those in LyXFunc::dispatch.
9245
9246         * commandtags.h:
9247         * LyXAction.C:
9248         * ToolbarDefaults.C:
9249         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9250         Add LFUN_FONTFREE_UPDATE.
9251
9252         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9253         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9254
9255         * bufferview_func.[Ch]: several new functions to facilliate
9256         transfer of data to and from the character dialog.
9257
9258 2003-03-12  John Levon  <levon@movementarian.org>
9259
9260         * buffer.C:
9261         * paragraph.h:
9262         * paragraph.C:
9263         * paragraph_funcs.C:
9264         * paragraph_pimpl.C:
9265         * sgml.C:
9266         * tabular.C:
9267         * text.C:
9268         * text3.C: remove META_NEWLINE in favour of an inset
9269
9270         * rowpainter.h:
9271         * rowpainter.C: remove paintNewline (done by inset)
9272
9273 2003-03-12  John Levon  <levon@movementarian.org>
9274
9275         * paragraph_pimpl.C: complain about bad getChar()s
9276         for a while at least
9277
9278 2003-03-12  John Levon  <levon@movementarian.org>
9279
9280         * buffer.h:
9281         * buffer.C: move paragraph read into a separate function,
9282         a little renaming to reflect that.
9283
9284         * bufferparams.h:
9285         * bufferparams.C: remove the author_ids map, not necessary now
9286
9287         * factory.h:
9288         * factory.C: moved Buffer::readInset to here
9289
9290         * paragraph_funcs.h:
9291         * paragraph_funcs.C: readParagraph free function moved from
9292         buffer.C
9293
9294         * tabular.C: name change
9295
9296 2003-03-12  John Levon  <levon@movementarian.org>
9297
9298         * buffer.C:
9299         * ParagraphParameters.C: move par params input to
9300         a read() method
9301
9302         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9303         behave like a normal read from the stream wrt reading
9304         a line vs. a \\token
9305
9306 2003-03-12  John Levon  <levon@movementarian.org>
9307
9308         * paragraph.C:
9309         * ParagraphParameters.h:
9310         * ParagraphParameters.C: move output code to a
9311         ::write() method
9312
9313 2003-03-12  John Levon  <levon@movementarian.org>
9314
9315         * BufferView.C (insertLyXFile):
9316         * buffer.h:
9317         * buffer.C:
9318         * tabular.C: use a parlist iterator for creating the
9319           document.
9320
9321 2003-03-12  John Levon  <levon@movementarian.org>
9322
9323         * buffer.C: make current_change static local not
9324           static file-scope
9325
9326 2003-03-12  John Levon  <levon@movementarian.org>
9327
9328         * buffer.C: fix insertStringAsLines for change tracking
9329
9330 2003-03-12  John Levon  <levon@movementarian.org>
9331
9332         * BufferView.C:
9333         * tabular.C:
9334         * buffer.h:
9335         * buffer.C:
9336         * bufferparams.h:
9337         * bufferparams.C: move author list into params. Rename some
9338           functions. Move the header reading into a separate token
9339           loop. Move the header token reading into BufferParams.
9340
9341 2003-03-12  John Levon  <levon@movementarian.org>
9342
9343         * changes.C: put debug inside lyxerr.debugging() checks
9344
9345 2003-03-11 André Pönitz <poenitz@gmx.net>
9346
9347         * factory.C: make it aware of InsetHFill
9348
9349 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9350
9351         * buffer.C (latexParagraphs): move function from here...
9352         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9353         args.
9354
9355 2003-03-10  Angus Leeming  <leeming@lyx.org>
9356
9357         * LyXAction.C (init): fix bug in poplating array with multiple entries
9358         with the same LFUN (spotted by JMarc).
9359
9360 2003-03-10  John Levon  <levon@movementarian.org>
9361
9362         * text.C:
9363         * text2.C: move getColumnNearX() near its
9364         only call site
9365
9366 2003-03-10  John Levon  <levon@movementarian.org>
9367
9368         * text.C: fix break before a minipage
9369
9370 2003-03-10  John Levon  <levon@movementarian.org>
9371
9372         * text.C: fix the last commit
9373
9374 2003-03-09  John Levon  <levon@movementarian.org>
9375
9376         * lyxtext.h:
9377         * text.C:
9378         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9379         bug 365 (don't break before insets unless needed). Don't
9380         return a value > last under any circumstances.
9381
9382 2003-03-09  Angus Leeming  <leeming@lyx.org>
9383
9384         * BufferView_pimpl.C (trackChanges, dispatch): call
9385         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9386
9387 2003-03-09  Angus Leeming  <leeming@lyx.org>
9388
9389         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9390         than Dialogs::showAboutlyx().
9391
9392 2003-03-09  Angus Leeming  <leeming@lyx.org>
9393
9394         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9395         than Dialogs::showTabularCreate().
9396
9397 2003-03-09  John Levon  <levon@movementarian.org>
9398
9399         * lyxtext.h:
9400         * text.C:
9401         * text2.C: 3rd arg to nextBreakPoint was always the same.
9402           Use references.
9403
9404 2003-03-08  John Levon  <levon@movementarian.org>
9405
9406         * lyxrow.C:
9407         * paragraph.C:
9408         * paragraph.h:
9409         * rowpainter.C:
9410         * text.C:
9411         * text2.C: Remove the "main" bit from the "main body"
9412           notion.
9413
9414 2003-03-08  John Levon  <levon@movementarian.org>
9415
9416         * text.C (leftMargin): The left margin of an empty
9417         manual label paragraph should not include the label width
9418         string length.
9419
9420         * text.C (prepareToPrint): don't attempt to measure hfills
9421         for empty manual label paragraphs - the answer should be 0
9422
9423 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9424
9425         * CutAndPaste.C: remove commented code and reindent.
9426
9427 2003-03-08  John Levon  <levon@movementarian.org>
9428
9429         * lyxfunc.h:
9430         * lyxfunc.C: move reloadBuffer()
9431
9432         * BufferView.h:
9433         * BufferView.C: to here
9434
9435         * lyxvc.C: add comment
9436
9437         * vc-backend.h:
9438         * vc-backend.C: call bv->reload() to avoid
9439           getStatus() check on MENURELOAD
9440
9441 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9442
9443         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9444         to an old format .dep file.
9445
9446 2003-03-07  Angus Leeming  <leeming@lyx.org>
9447
9448         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9449         when the LFUN_MOUSE_RELEASE should have been handled by
9450         inset->localDispatch.
9451
9452 2003-03-07  Angus Leeming  <leeming@lyx.org>
9453
9454         * BufferView_pimpl.C (dispatch):
9455         * LyXAction.C (init):
9456         * ToolbarDefaults.C (init):
9457         * commandtags.h:
9458         * lyxfunc.C (getStatus):
9459         remove LFUN_INSET_GRAPHICS.
9460
9461         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9462
9463 2003-03-07  Angus Leeming  <leeming@lyx.org>
9464
9465         * commandtags.h:
9466         * LyXAction.C (init):
9467         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9468
9469         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9470
9471         * commandtags.h:
9472         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9473
9474         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9475         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9476
9477 2003-03-07  Angus Leeming  <leeming@lyx.org>
9478
9479         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9480         remove "ert".
9481
9482 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9483
9484         * ParagraphList.C (front): new function
9485         (back): implement
9486
9487 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9488
9489         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9490         and top_row_offset_. removed var first_y.
9491         * text.C (top_y):
9492         * text2.C (LyXText, removeRow):
9493         * text3.C:
9494         * BufferView_pimpl.C:
9495         use these methods instead of using first_y
9496
9497 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9498
9499         * text2.C (pasteSelection): adjust for checkPastePossible
9500
9501         * CutAndPaste.C: remove Paragraph * buf and replace with
9502         ParagraphList paragraphs.
9503         (DeleteBuffer): delete
9504         (cutSelection): change the tc type to textclass_type
9505         (copySelection): change the tc type to textclass_type
9506         (copySelection): adjust for ParagraphList
9507         (pasteSelection): change the tc type to textclass_type
9508         (pasteSelection): adjust for Paragraphlist
9509         (nrOfParagraphs): simplify for ParagraphList
9510         (checkPastePossible): simplify for ParagraphList
9511         (checkPastePossible): remove unused arg
9512
9513         * ParagraphList.C (insert): handle the case where there are no
9514         paragraphs yet.
9515
9516         * CutAndPaste.h: make CutAndPaste a namespace.
9517
9518         * text3.C (dispatch): adjust
9519
9520         * text.C (breakParagraph): add a ParagraphList as arg
9521
9522         * paragraph_funcs.C (breakParagraph): change to take a
9523         BufferParams and a ParagraphList as args.
9524         (breakParagraphConservative): ditto
9525         (mergeParagraph): ditto
9526         (TeXDeeper): add a ParagraphList arg
9527         (TeXEnvironment): ditto
9528         (TeXOnePar): ditto
9529
9530         * buffer.C (readLyXformat2): adjust
9531         (insertStringAsLines): adjust
9532         (latexParagraphs): adjust
9533
9534         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9535         (cutSelection): adjust
9536         (pasteSelection): adjust
9537
9538         * BufferView_pimpl.C (insertInset): adjust
9539
9540 2003-03-05  Angus Leeming  <leeming@lyx.org>
9541
9542         * commandtags.h:
9543         * LyXAction.C (init):
9544         * BufferView_pimpl.C (dispatch):
9545         * lyxfunc.C (getStatus):
9546         remove LFUN_CHILD_INSERT.
9547
9548         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9549
9550 2003-03-05  Angus Leeming  <leeming@lyx.org>
9551
9552         * commandtags.h:
9553         * LyXAction.C (init):
9554         * src/factory.C (createInset):
9555         * lyxfunc.C (getStatus):
9556         * text3.C (dispatch):
9557         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9558
9559         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9560
9561 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9562
9563         * ParagraphList.C (insert): handle insert right before end()
9564         (erase): fix cases where it can be first or last paragraph.
9565
9566 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9567
9568         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9569         Paragraph::next and Paragraph::previous
9570         (TeXOnePar): ditto
9571
9572         * text.C (breakParagraph): adjust
9573
9574         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9575         BufferParams& as arg.
9576         (breakParagraph): use ParagraphList::insert
9577         (breakParagraphConservative): take a Buffer* instead of a
9578         BufferParams& as arg.
9579         (breakParagraphConservative): use ParagraphList::insert.
9580
9581         * buffer.C (insertStringAsLines): un-const it
9582         (insertStringAsLines): adjust
9583
9584         * ParagraphList.C (insert): new function
9585
9586         * CutAndPaste.C (pasteSelection): adjust
9587
9588         * text.C (backspace): adjust
9589
9590         * tabular.C (SetMultiColumn): adjust
9591
9592         * CutAndPaste.C (cutSelection): adjust
9593         (pasteSelection): adjust
9594
9595         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9596         Buffer const * as arg
9597
9598         * ParagraphList.C (erase): new function
9599         * paragraph_funcs.C (mergeParagraph): use it
9600         (mergeParagraph): make it take a Buffer* instead of a
9601         BufferParams* as arg
9602
9603         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9604         as arg
9605         (breakParagraphConservative): ditto
9606
9607         * paragraph.h: remove the breakParagraph friend
9608
9609         * paragraph.C (eraseIntern): new function
9610         (setChange): new function
9611
9612         * paragraph_funcs.C (mergeParagraph): make it take a
9613         ParagraphList::iterator instead of a Paragraph *, adjust
9614         accordingly.
9615
9616         * paragraph.h: move an #endif so that the change tracking stuff
9617         also works in the NO_NEXT case.
9618
9619 2003-03-04  Angus Leeming  <leeming@lyx.org>
9620
9621         * commandtags.h:
9622         * LyXAction.C: new LFUN_INSET_MODIFY.
9623
9624         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9625         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9626
9627 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9628
9629         * several files: ws changes only
9630
9631         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9632         (TeXEnvironment): ditto
9633         (TeXDeeper): ditto
9634
9635         * buffer.C (makeLaTeXFile): adjust
9636         (latexParagraphs): make it take ParagraphList::iterator as args
9637
9638 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9639
9640         * buffer.C (latexParagraphs): adjust
9641
9642         * paragraph.C (TeXOnePar): move function...
9643         (optArgInset): move function...
9644         (TeXEnvironment): move function...
9645         * paragraph_pimpl.C (TeXDeeper): move function...
9646         * paragraph_funcs.C: ...here
9647
9648         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9649
9650 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9651
9652         * buffer.C (readInset): remove compability code for old Figure and
9653         InsetInfo insets
9654
9655 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9656
9657         * buffer.C: ws changes
9658         (readInset):
9659
9660         * BufferView_pimpl.C: ditto
9661         * author.C: ditto
9662         * buffer.h: ditto
9663         * bufferlist.h: ditto
9664         * changes.h: ditto
9665         * lyxfunc.C: ditto
9666
9667 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9668
9669         * converter.[Ch]: split into itself +
9670         * graph.[Ch]
9671         * format.[Ch]
9672         * Makefile.am: += graph.[Ch] + format.[Ch]
9673         * MenuBackend.C
9674         * buffer.C
9675         * exporter.C
9676         * importer.C
9677         * lyx_main.C
9678         * lyxfunc.C
9679         * lyxrc.C: added #include "format.h"
9680
9681 2003-02-27  Angus Leeming  <leeming@lyx.org>
9682
9683         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9684           a label.
9685
9686         * factory.C (createInset): add "label" to the factory.
9687
9688         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9689           string and do no more.
9690
9691 2003-02-27  Angus Leeming  <leeming@lyx.org>
9692
9693         * commandtags.h:
9694         * LyXAction.C (init):
9695         * factory.C (createInset):
9696         * BufferView_pimpl.C (dispatch):
9697           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9698
9699         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9700
9701         * lyxfunc.C (dispatch):
9702         * text3.C (dispatch): pass name to params2string.
9703
9704 2003-02-26  Angus Leeming  <leeming@lyx.org>
9705
9706         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9707           blocks together.
9708           Rearrange the ~includes. Strip out the unnecessary ones.
9709
9710         * factory.C (createInset): reformat.
9711           create new insets for the various LFUN_XYZ_APPLY lfuns.
9712
9713 2003-02-26  John Levon  <levon@movementarian.org>
9714
9715         * lyxrow.h:
9716         * lyxrow.C: add isParStart,isParEnd helpers
9717
9718         * paragraph.h: make isInserted/DeletedText take refs
9719
9720         * paragraph_funcs.h:
9721         * paragraph_funcs.C: remove #if 0'd code
9722
9723         * lyxtext.h:
9724         * text3.C:
9725         * text2.C:
9726         * text.C: use lyxrow helpers above.
9727           Move draw and paint routines to RowPainter.
9728           Make several methods use refs not pointers.
9729           Make backgroundColor() const.
9730           Add markChangeInDraw(), isInInset().
9731           Merge changeRegionCase into changeCase.
9732           Make workWidth() shouldn't-happen code into an Assert.
9733
9734         * rowpainter.h:
9735         * rowpainter.C: new class for painting a row.
9736
9737         * vspace.h:
9738         * vspace.C: make inPixels take a ref
9739
9740 2003-02-26  Angus Leeming  <leeming@lyx.org>
9741
9742         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9743         LFUN_REF_APPLY.
9744
9745 2003-02-25  John Levon  <levon@movementarian.org>
9746
9747         * ispell.C: give the forked command a more accurate name
9748
9749 2003-02-22  John Levon  <levon@movementarian.org>
9750
9751         * toc.h:
9752         * toc.C: make TocItem store an id not a Paragraph *
9753           (bug #913)
9754
9755 2003-02-21  Angus Leeming  <leeming@lyx.org>
9756
9757         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9758           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9759           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9760           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9761           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9762           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9763
9764         * BufferView_pimpl.C (dispatch):
9765         * LyXAction.C (init):
9766         * factory.C (createInset):
9767         * lyxfunc.C (getStatus, dispatch):
9768         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9769
9770 2003-02-21  Angus Leeming  <leeming@lyx.org>
9771
9772         * BufferView_pimpl.C (MenuInsertLyXFile):
9773         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9774         * lyxfunc.C (menuNew, open, doImport):
9775           no longer pass a LyXView & to fileDlg.
9776
9777 2003-02-21  Angus Leeming  <leeming@lyx.org>
9778
9779         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9780         * LyXAction.C: change, BIBKEY to BIBITEM.
9781         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9782         Change InsetBibKey to InsetBibitem.
9783         Change BIBKEY_CODE to BIBITEM_CODE.
9784         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9785         * factory.C: replace insetbib.h with insetbibitem.h.
9786         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9787         * paragraph.C: replace insetbib.h with insetbibitem.h.
9788         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9789         Change bibkey() to bibitem().
9790         * text.C: remove insetbib.h.
9791         * text2.C: replace insetbib.h with insetbibitem.h.
9792         change bibkey() to bibitem().
9793         * text3.C: remove insetbib.h.
9794         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9795
9796 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9797
9798         * lyxrc.C (output): enclose user email in quotes (in case there are
9799         several words)
9800
9801 2003-02-18  John Levon  <levon@movementarian.org>
9802
9803         * buffer.h: add std::
9804
9805 2003-02-17  John Levon  <levon@movementarian.org>
9806
9807         * SpellBase.h:
9808         * ispell.h:
9809         * ispell.C:
9810         * pspell.h:
9811         * pspell.C: reworking. Especially in ispell, a large
9812           number of clean ups and bug fixes.
9813
9814         * lyxfunc.C: fix revert to behave sensibly
9815
9816 2003-02-17 André Pönitz <poenitz@gmx.net>
9817
9818         * LyXAction.C:
9819         * commandtags.h: new LFUN_INSERT_BIBKEY
9820
9821         * layout.h:
9822         * lyxlayout.C:
9823         * buffer.C:
9824         * factory.C:
9825         * text.C:
9826         * text2.C:
9827         * text3.C:
9828         * paragraph.[Ch]:
9829         * paragraph_func.C: remove special bibkey handling
9830
9831 2003-02-17  John Levon  <levon@movementarian.org>
9832
9833         * text.C (Delete): fix case where delete at the end of
9834           the very first paragraph would not merge the pars
9835
9836 2003-02-17  John Levon  <levon@movementarian.org>
9837
9838         * lyxrow.C: fix lastPrintablePos()
9839
9840 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9841
9842         * bufferparams.C (writeLaTeX): add a std:here
9843
9844         * buffer.C: and remove a using directive there
9845
9846 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9847
9848         * buffer.C (makeLaTeXFile): move the code that generates the
9849           preamble...
9850
9851         * bufferparams.C (writeLaTeX): ... in this new method
9852
9853         * LaTeXFeatures.C (getEncodingSet): make const
9854           (getLanguages): make const
9855
9856         * MenuBackend.C (binding): returns the binding associated to this
9857           action
9858           (add): sets the status of each item by calling getStatus. Adds
9859           some intelligence.
9860           (read): add support for OptSubMenu
9861           (expand): remove extra separator at the end of expanded menu
9862
9863 2003-02-15  John Levon  <levon@movementarian.org>
9864
9865         * BufferView.C:
9866         * BufferView_pimpl.C:
9867         * bufferlist.h:
9868         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9869           inset code that had no actual effect. Remove unneeded status
9870           code.
9871
9872 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9873
9874         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9875           in preamble
9876
9877 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9878
9879         * text.C (drawLengthMarker): also draw an arrow marker for
9880           symbolic lengths (medskip...)
9881
9882 2003-02-14  John Levon  <levon@movementarian.org>
9883
9884         * tabular.h:
9885         * tabular.C: better method names
9886
9887 2003-02-14  John Levon  <levon@movementarian.org>
9888
9889         * BufferView_pimpl.C:
9890         * bufferlist.C:
9891         * buffer.C:
9892         * converter.C:
9893         * lyx_cb.C:
9894         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9895           it's a more accurate name. Remove some pointless uses.
9896
9897 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9898
9899         * text2.C (LyXText): change order of initilizers to shut off
9900           warnings
9901
9902 2003-02-14  John Levon  <levon@movementarian.org>
9903
9904         * buffer.C: use ParIterator for getParFromID()
9905
9906         * paragraph.h:
9907         * paragraph.C:
9908         * paragraph_pimpl.h:
9909         * paragraph_pimpl.C: remove unused getParFromID()
9910
9911 2003-02-14  John Levon  <levon@movementarian.org>
9912
9913         * buffer.C: remove some very old #if 0'd parse code
9914
9915 2003-02-13  John Levon  <levon@movementarian.org>
9916
9917         * text.h:
9918         * text.C:
9919         * text2.C: move hfillExpansion(), numberOfSeparators(),
9920           rowLast(), rowLastPrintable(), numberofHfills(),
9921           numberOfLabelHfills() ...
9922
9923         * lyxrow.h:
9924         * lyxrow.C: ... to member functions here.
9925
9926         * paragraph.h:
9927         * paragraph.C:
9928         * lyxtext.h:
9929         * text.C: remove LyXText::beginningOfMainBody(), and call
9930           p->beginningOfMainBody() directly. Move the check for
9931           LABEL_MANUAL into the latter.
9932
9933         * text.h:
9934         * text.C:
9935         * text2.C:
9936         * vspace.C:
9937         * BufferView.h:
9938         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9939
9940         * text.h:
9941         * text.C:
9942         * text2.C:
9943         * text3.C:
9944         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9945           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9946
9947 2003-02-13  John Levon  <levon@movementarian.org>
9948
9949         * CutAndPaste.C: remove debug
9950
9951 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9952
9953         * paragraph.C (asString): remove two unused variables
9954
9955         * lyxtextclass.C (readTitleType):
9956           (Read):
9957           (LyXTextClass): handle new members titletype_ and titlename_
9958
9959         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9960
9961 2003-02-09  John Levon  <levon@movementarian.org>
9962
9963         * buffer.h:
9964         * buffer.C: replace hand-coded list with a map for the dep clean
9965
9966 2003-02-08  John Levon  <levon@movementarian.org>
9967
9968         * LaTeX.C: consolidate code into showRunMessage() helper
9969
9970 2003-02-08  John Levon  <levon@movementarian.org>
9971
9972         * lyxfind.C:
9973         * lyxtext.h:
9974         * text2.C:
9975         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9976           and pass the size in explicitly
9977
9978         * BufferView_pimpl.h:
9979         * BufferView_pimpl.C:
9980         * BufferView.h:
9981         * BufferView.C: add getCurrentChange()
9982
9983         * BufferView_pimpl.h:
9984         * BufferView_pimpl.C: handle change lfuns
9985
9986         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9987           for changes. Mark pasted paragraphs as new.
9988
9989         * support/lyxtime.h:
9990         * support/lyxtime.C:
9991         * DepTable.C: abstract time_t as lyx::time_type
9992
9993         * LColor.h:
9994         * LColor.C: add colours for new text, deleted text, changebars
9995
9996         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9997           package use "usenames" option.
9998
9999         * commandtags.h:
10000         * lyxfunc.C:
10001         * LyXAction.C: add change lfuns
10002
10003         * Makefile.am:
10004         * author.h:
10005         * author.C: author handling
10006
10007         * buffer.h:
10008         * buffer.C: add a per-buffer author list, with first entry as
10009           current author. Handle new .lyx tokens for change tracking. Output
10010           author list to .lyx file. Output dvipost stuff to .tex preamble.
10011           Bump lyx format to 222.
10012
10013         * bufferlist.h:
10014         * bufferlist.C: add setCurrentAuthor() to reset current author details
10015           in all buffers.
10016
10017         * bufferparams.h:
10018         * bufferparams.C: add param for tracking
10019
10020         * bufferview_funcs.C: output change info in minibuffer
10021
10022         * Makefile.am:
10023         * changes.h:
10024         * changes.C: add change-tracking structure
10025
10026         * debug.h:
10027         * debug.C: add CHANGES debug flag
10028
10029         * lyxfind.h:
10030         * lyxfind.C: add code for finding the next change piece
10031
10032         * lyxrc.h:
10033         * lyxrc.C: add user_name and user_email
10034
10035         * lyxrow.h:
10036         * lyxrow.C: add a metric for the top of the text line
10037
10038         * lyxtext.h:
10039         * text.C: implement accept/rejectChange()
10040
10041         * lyxtext.h:
10042         * text.C: paint changebars. Paint new/deleted text in the chosen
10043         colours. Strike through deleted text.
10044
10045         * paragraph.h:
10046         * paragraph.C:
10047         * paragraph_pimpl.h:
10048         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10049           in the current change to the insert functions. Rework erase to
10050           mark text as deleted, adding an eraseIntern() and a range-based
10051           erase(). Implement per-paragraph change lookup and
10052           accept/reject.
10053
10054         * paragraph_funcs.C: Fixup paste for change tracking.
10055
10056         * tabular.C: mark added row/columns as new.
10057
10058         * text.C: fix rowLast() to never return -1. Don't allow
10059           spellchecking of deleted text. Track transpose changes. Don't
10060           allow paragraph break or merge where appropriate.
10061
10062         * text2.C: leave cursor at end of selection after a cut.
10063
10064 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10065
10066         * text.C (getLengthMarkerHeight):
10067         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10068         visible on screen too.
10069
10070 2003-02-07  John Levon  <levon@movementarian.org>
10071
10072         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10073
10074 2003-02-05  Angus Leeming  <leeming@lyx.org>
10075
10076         * lyxserver.C (read_ready): revert my patch of 11 September last year
10077         as it sends PC cpu through the roof. Presumably this means that
10078         the lyxserver will no longer run on an Alpha...
10079
10080 2003-01-30  Angus Leeming  <leeming@lyx.org>
10081
10082         * factory.C (createInset): create an InsetCommandParam of type "index"
10083         and use it to 'do the right thing'.
10084
10085         * text2.C (getStringToIndex): ensure that cursor position is always
10086         reset to the reset_cursor position.
10087
10088 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10089
10090         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10091         disabled.
10092
10093 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10094
10095         * bufferview.C:
10096         * lyxcb.C:
10097         * lyxfunc.C: Output messages with identical spelling, punctuation,
10098         and spaces
10099
10100 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10101
10102         * MenuBackend.C (expandFormats): List only viewable export formats
10103         in "View" menu
10104
10105         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10106         message
10107
10108         * lyxfunc.C (getStatus): Make sure that formats other than
10109         "fax" can also be disabled
10110
10111 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10112
10113         * text3.C (dispatch): put the lfuns that insert insets in 3
10114         groups, and call doInsertInset with appropriate arguments.
10115         (doInsertInset): new function, that creates an inset and inserts
10116         it according to some boolean parameters.
10117
10118 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10119
10120         * buffer.C (readFile): remember to pass on 'par' when calling
10121         readFile recursively.
10122
10123 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10124
10125         * MenuBackend.C (expandFormats): add "..." to import formats.
10126
10127 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10128
10129         * paragraph.C (asString): Remove XForms RTL hacks.
10130
10131 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10132         * buffer.C: fix typo
10133
10134 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10135
10136         * Makefile.am (LIBS): delete var
10137         (lyx_LDADD): add @LIBS@ here instead.
10138
10139 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10140
10141         * Clarify the meaning of "wheel mouse jump"
10142
10143 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10144
10145         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10146         tabular in a float
10147
10148 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10149
10150         * importer.C (Loaders): do not preallocate 3 elements in the
10151         vector, since one ends up with 6 elements otherwise
10152
10153 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10154
10155         * DepTable.C (write): write the file name as last element of the
10156         .dep file (because it may contain spaces)
10157         (read): read info in the right order
10158
10159 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10160
10161         * paragraph_pimpl.C (simpleTeXBlanks):
10162         (simpleTeXSpecialChars):
10163         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10164
10165         * tabular.C (latex): add some missing case statements. Reindent.
10166
10167         * MenuBackend.C (expandToc): remove unused variable.
10168
10169 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10170
10171         * LColor.C:
10172         * LaTeX.C:
10173         * LyXAction.C:
10174         * MenuBackend.C:
10175         * buffer.C:
10176         * exporter.C:
10177         * lyxfunc.C:
10178         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10179         and the like.
10180
10181 2003-01-05  John Levon  <levon@movementarian.org>
10182
10183         * BufferView.h:
10184         * BufferView.C: add getEncoding()
10185
10186         * kbsequence.h:
10187         * kbsequence.C: do not store last keypress
10188
10189         * lyxfunc.h:
10190         * lyxfunc.C: store last keypress here instead. Pass encoding
10191           to getISOEncoded()
10192
10193 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10194
10195         * lyx_main.C (init): remove annoying error message when following
10196         symbolic links (bug #780)
10197
10198 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10199
10200         * text.C (insertChar):
10201         * lyxrc.C (getDescription): remove extra spaces
10202
10203 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10204
10205         * lyxrc.C (getDescription): remove extra spaces
10206
10207 2002-12-20  John Levon  <levon@movementarian.org>
10208
10209         * text3.C: hack fix for page up/down across tall rows
10210
10211 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10212
10213         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10214         not been invoked
10215
10216 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10217
10218         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10219         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10220         thesaurus is not compiled in
10221
10222 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10223
10224         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10225
10226 2002-12-16  Angus Leeming  <leeming@lyx.org>
10227
10228         * lyxrc.[Ch]:
10229         * lyx_main.C (init): remove override_x_deadkeys stuff.
10230
10231 2002-12-12  John Levon  <levon@movementarian.org>
10232
10233         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10234           insert. Only remove shift modifier under strict
10235           circumstances.
10236
10237 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10238
10239         * MenuBackend.C (expandToc): fix crash.
10240
10241 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10242
10243         * MenuBackend.C (expandToc): gettext on float names.
10244
10245 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10246
10247         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10248         implement bool empty() [bug 490]
10249
10250 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10251
10252         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10253
10254 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10255
10256         * several files: ws changes
10257
10258 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10259
10260         * text2.C (setCounter): clean up a bit, use boost.format.
10261         (updateCounters): initialize par upon declaration.
10262
10263         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10264         if the layout exists. We do not just store the layout any more.
10265         (SwitchLayoutsBetweenClasses): use boost.format
10266
10267 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10268
10269         * converter.C (convert): if from and to files are the same, use a
10270         temporary files as intermediary
10271
10272 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10273
10274         * commandtags.h:
10275         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10276
10277 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10278
10279         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10280
10281 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10282
10283         * tabular.C (asciiPrintCell): use string(size, char) instead of
10284         explicit loop.
10285
10286         * sgml.C (openTag): fix order of arguments to string constructor
10287         (closeTag): ditto
10288
10289         * lyxfunc.C (dispatch): use boost.format
10290
10291         * lots of files: change "c" -> 'c'
10292
10293 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10294
10295         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10296
10297 2002-11-25  Angus Leeming  <leeming@lyx.org>
10298
10299         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10300
10301         * lyx_main.C (init): compile fix.
10302
10303 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10304
10305         * lyx_cb.C (start): boost.formatify
10306         do not include <iostream>
10307
10308         * lengthcommon.C: ws only
10309
10310         * boost-inst.C,BoostFormat.h: add more explict instantations
10311
10312 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10313
10314         * lots of files: handle USE_BOOST_FORMAT
10315
10316 2002-11-21  John Levon  <levon@movementarian.org>
10317
10318         * pspell.C: fix compile
10319
10320 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10321
10322         * lyxfunc.C (dispatch): use boost::format
10323         (open): ditto
10324         (doImport): ditto
10325
10326         * lyxfont.C (stateText): use boost::format
10327
10328         * lyx_main.C (LyX): use boost::format
10329         (init): ditto
10330         (queryUserLyXDir): ditto
10331         (readRcFile): ditto
10332         (parse_dbg): ditto
10333         (typedef boost::function): use the recommened syntax.
10334
10335         * importer.C (Import): use boost::format
10336
10337         * debug.C (showLevel): use boost::format
10338
10339         * converter.C (view): use boost::format
10340         (convert): ditto
10341         (move): ditto
10342         (scanLog): ditto
10343
10344         * bufferview_funcs.C (currentState): use boost::format
10345
10346         * bufferlist.C (emergencyWrite): use boost::format
10347
10348         * buffer.C (readLyXformat2): use boost::format
10349         (parseSingleLyXformat2Token): ditto
10350
10351         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10352
10353         * LaTeX.C (run): use boost::format
10354
10355         * Chktex.C (scanLogFile): use boost::format
10356
10357         * BufferView_pimpl.C (savePosition): use boost::format
10358         (restorePosition): ditto
10359         (MenuInsertLyXFile): ditto
10360
10361         * BoostFormat.h: help file for explicit instation.
10362
10363 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10364
10365         * tabular.C (latex): Support for block alignment in fixed width
10366         columns.
10367
10368 2002-11-17  John Levon  <levon@movementarian.org>
10369
10370         * BufferView_pimpl.C:
10371         * lyx_cb.C:
10372         * lyxfunc.C: split filedialog into open/save
10373
10374 2002-11-08  Juergen Vigna  <jug@sad.it>
10375
10376         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10377         by my last patch (hopefully).
10378
10379 2002-11-08  John Levon  <levon@movementarian.org>
10380
10381         * iterators.h:
10382         * iterators.C:
10383         * buffer.h:
10384         * buffer.C:
10385         * paragraph.h:
10386         * paragraph.C:
10387         * toc.h:
10388         * toc.C: ParConstIterator, and use it (from Lars)
10389
10390 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10391
10392         * lyxtextclass.[Ch]: revise and add doxygen comments
10393
10394 2002-11-07  John Levon  <levon@movementarian.org>
10395
10396         * text.C: fix progress value for spellchecker
10397
10398         * toc.C: fix navigate menu for insetwrap inside minipage
10399
10400         * paragraph_funcs.C: added FIXME for suspect code
10401
10402 2002-11-07  John Levon  <levon@movementarian.org>
10403
10404         * BufferView_pimpl.C: fix redrawing of insets
10405           on buffer switch
10406
10407 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10408
10409         * text2.C (updateCounters): fix bug 668
10410
10411 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10412
10413         * text3.C (dispatch): Do not make the buffer dirty when moving the
10414         cursor.
10415
10416 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10417
10418         * vc-backend.C: STRCONV
10419         (scanMaster): ditto
10420
10421         * text2.C (setCounter): STRCONV
10422
10423         * paragraph.C (asString): STRCONV
10424
10425         * lyxlength.C (asString): STRCONV
10426         (asLatexString): ditto
10427
10428         * lyxgluelength.C (asString): STRCONV
10429         (asLatexString): ditto
10430
10431         * lyxfunc.C (dispatch): STRCONV
10432         (open): ditto
10433
10434         * lyxfont.C (stateText): STRCONV
10435
10436         * importer.C (Import): STRCONV
10437
10438         * counters.C (labelItem): STRCONV
10439         (numberLabel): ditto
10440         (numberLabel): remove unused ostringstream o
10441
10442         * chset.C: STRCONV
10443         (loadFile): ditto
10444
10445         * bufferview_funcs.C (currentState): STRCONV
10446
10447         * buffer.C (readFile): STRCONV
10448         (asciiParagraph): ditto
10449         (makeLaTeXFile): ditto
10450
10451         * Spacing.C (writeEnvirBegin): STRCONV
10452
10453         * LaTeXFeatures.C (getLanguages): STRCONV
10454         (getPackages): ditto
10455         (getMacros): ditto
10456         (getBabelOptions): ditto
10457         (getTClassPreamble): ditto
10458         (getLyXSGMLEntities): ditto
10459         (getIncludedFiles): ditto
10460
10461         * LaTeX.C: STRCONV
10462         (run): ditto
10463         (scanAuxFile): ditto
10464         (deplog): ditto
10465
10466         * LString.h: add the STRCONV macros
10467
10468         * BufferView_pimpl.C (savePosition): STRCONV
10469         (restorePosition): ditto
10470         (MenuInsertLyXFile): ditto
10471
10472         * vc-backend.C (scanMaster): change from submatch[...] to
10473         submatch.str(...)
10474
10475         * funcrequest.C: include config.h
10476
10477         * factory.C: include config.h
10478
10479         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10480
10481         * box.C: include config.h
10482
10483         * LaTeX.C (scanAuxFile): change from submatch[...] to
10484         submatch.str(...)
10485         (deplog): ditto
10486
10487 2002-10-25  Angus Leeming  <leeming@lyx.org>
10488
10489         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10490
10491         * ispell.[Ch] (setError): new method.
10492         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10493         Use setError() insetead of goto END.
10494
10495         * lyx_cb.C (AutoSave): move out child process into new class
10496         AutoSaveBuffer.
10497
10498 2002-10-30  John Levon  <levon@movementarian.org>
10499
10500         * text3.C: make start appendix undoable
10501
10502 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10503
10504         * lyxlength.C (inPixels): Fix returned value.
10505
10506         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10507         environment.
10508
10509 2002-10-24  Angus Leeming  <leeming@lyx.org>
10510
10511         * lyxgluelength.h: no need to forward declare BufferParams
10512         or BufferView, so don't.
10513
10514 2002-10-21  John Levon  <levon@movementarian.org>
10515
10516         * BufferView.C: menuUndo ->undo, redo
10517
10518         * BufferView.h: document, remove dead, make some methods private
10519
10520         * paragraph_funcs.h:
10521         * paragraph_funcs.C:
10522         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10523
10524         * buffer.h:
10525         * buffer.C:
10526         * sgml.h:
10527         * sgml.C: move sgml open/close tag into sgml.C
10528
10529         * bufferview_funcs.h: unused prototype
10530
10531         * lyxfunc.h:
10532         * lyxfunc.C: remove unused
10533
10534         * lyxtext.h:
10535         * text.C: remove unused
10536
10537 2002-10-21  John Levon  <levon@movementarian.org>
10538
10539         * BufferView.h:
10540         * BufferView.C:
10541         * BufferView_pimpl.h:
10542         * BufferView_pimpl.C: fix mouse wheel handling based on
10543           patch from Darren Freeman
10544
10545 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10546
10547         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10548
10549 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10550
10551         * lyxlength.C (inPixels): Fix hanfling of negative length.
10552         Fix LyXLength::MU case.
10553
10554 2002-10-16  John Levon  <levon@movementarian.org>
10555
10556         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10557
10558 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10559
10560         * converter.C (view): add support for $$i (file name) and $$p
10561         (file path) for the viewer command. If $$i is not specified, then
10562         it is appended to the command (for compatibility with old syntax)
10563
10564 2002-10-14  Juergen Vigna  <jug@sad.it>
10565
10566         * undo_funcs.C (textHandleUndo): alter the order in which the
10567         new undopar is added to the LyXText, as we have to set first
10568         the right prev/next and then add it as otherwise the rebuild of
10569         LyXText is not correct. Also reset the cursor to the right paragraph,
10570         with this IMO we could remove the hack in "redoParagraphs()".
10571
10572 2002-10-09  Angus Leeming  <leeming@lyx.org>
10573
10574         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10575         to turn off an optimisation if a new inset is to be inserted.
10576
10577 2002-10-11 André Pönitz <poenitz@gmx.net>
10578
10579         * lyxtext.h: make some functions public to allow access
10580         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10581
10582 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10583
10584         * text3.C (dispatch): when changing layout, avoid an infinite loop
10585         [bug #652]
10586
10587 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10588
10589         * lyxrc.C (read): treat a viewer or converter command of "none" as
10590         if it were empty.
10591
10592         * MenuBackend.C (expandFormats): for an update, also allow the
10593         formats that are not viewable
10594
10595         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10596         script if it is newer than the lyxrc.defaults in user directory
10597
10598 2002-10-07 André Pönitz <poenitz@gmx.net>
10599
10600         * text.C: Vitaly Lipatov's small i18n fix
10601
10602 2002-09-25  Angus Leeming  <leeming@lyx.org>
10603
10604         * ispell.h: doxygen fix.
10605
10606 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10607
10608         * buffer.h (readFile): Add a new argument to the method, to allow
10609         reading of old-format templates.
10610
10611 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10612
10613         * toc.C (getTocList): Get TOC from InsetWrap.
10614
10615 2002-09-16  John Levon  <levon@movementarian.org>
10616
10617         * lyxfunc.C: check tabular for cut/copy too
10618
10619 2002-09-12  John Levon  <levon@movementarian.org>
10620
10621         * LyXAction.C: tidy
10622
10623         * factory.h:
10624         * factory.C: add header
10625
10626         * paragraph_funcs.h:
10627         * paragraph_funcs.C: cleanup
10628
10629 2002-09-11  John Levon  <levon@movementarian.org>
10630
10631         * PrinterParams.h: odd/even default to true
10632
10633 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10634
10635         * PrinterParams.h: update printer parameters for new xforms dialog
10636
10637 2002-09-11  Angus Leeming  <leeming@lyx.org>
10638
10639         * lyxserver.C (read_ready): re-write to make it more transparent
10640         and to make it work in coherent fashion under Tru64 Unix.
10641
10642 2002-09-11  André Pönitz <poenitz@gmx.net>
10643
10644         * commandtags.h:
10645         * LyXAction.C:
10646         * text3.C: implement LFUN_WORDSEL
10647
10648 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10649
10650         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10651         make floatlist_ a boost::shared_ptr<FloatList>
10652
10653         * lyxtextclass.C: include FloatList.h
10654         (LyXTextClass): initialize floatlist_
10655         (TextClassTags): add TC_NOFLOAT
10656         (Read): match "nofloat" to TC_NOFLOAT and use it.
10657         (readFloat): modify call to floatlist_
10658         (floats): ditto
10659         (floats): ditto
10660
10661         * FloatList.[Ch] (FloatList): remove commented out float
10662         initialization.
10663         (erase): new function
10664
10665 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10666
10667         * MenuBackend.C (expandToc): fix crash when there is no document
10668         open
10669
10670 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10671
10672         * many files: Add insetwrap.
10673
10674 2002-09-09  John Levon  <levon@movementarian.org>
10675
10676         * text2.C: remove confusing and awkward depth wraparound
10677
10678 2002-09-09  John Levon  <levon@movementarian.org>
10679
10680         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10681
10682         * buffer.h:
10683         * buffer.C: remove getIncludeonlyList()
10684
10685         * paragraph.C:
10686         * lyxfunc.C: remove headers
10687
10688 2002-09-09  Juergen Vigna  <jug@sad.it>
10689
10690         * text.C (getColumnNearX): fix form Michael this is most
10691         probably a cut&paste bug.
10692
10693 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10694
10695         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10696
10697         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10698         references, ws changes.
10699
10700         * text2.C (init): update counters after init
10701         (insertParagraph): no need to set counter on idividual paragraphs.
10702         (setCounter): access the counters object in the textclass object
10703         on in the buffer object.
10704         (updateCounters): ditto
10705
10706         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10707         shared_ptr<Counters> to avoid loading counters.h in all
10708         compilation units.
10709         (LyXTextClass): initialize ctrs_
10710         (TextClassTags): add TC_COUNTER, and ...
10711         (Read): use it here.
10712         (CounterTags): new tags
10713         (readCounter): new function
10714         (counters): new funtion
10715         (defaultLayoutName): return a const reference
10716
10717         * counters.C (Counters): remove contructor
10718         (newCounter): remove a couple of unneeded statements.
10719         (newCounter): simplify a bit.
10720         (numberLabel): some small formatting changes.
10721
10722         * buffer.[Ch]: remove all traces of counters, move the Counters
10723         object to the LyXTextClass.
10724
10725 2002-09-06  Alain Castera  <castera@in2p3.fr>
10726
10727         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10728         package to set the horizontal alignment on fixed width columns.
10729
10730         * lyx_sty.C:
10731         * lyx_sty.h: added tabularnewline macro def.
10732
10733         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10734
10735 2002-09-06  John Levon  <levon@movementarian.org>
10736
10737         * LyXAction.C: tooltips for sub/superscript
10738
10739         * MenuBackend.C: a bit more verbose
10740
10741         * lyxfunc.C: tiny clean
10742
10743         * undo_funcs.C: document undo_frozen
10744
10745 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10746
10747         * counters.C (Counters): add missing algorithm counter.
10748
10749         * text2.C (setCounter): lookup the counter with layouts latexname
10750         instead of by section number.
10751         (setCounter): use a hackish way to lookup the correct enum
10752         counter.
10753         a float name->type change
10754         reset enum couners with counter name directly instead of depth value.
10755
10756         * counters.C (Counters): remove the push_backs, change to use the
10757         float type not the float name.
10758         (labelItem): remove unused string, float name->type change
10759
10760         * counters.h: don't include vector, loose the enums and sects vectors
10761
10762 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10763
10764         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10765         (Read): add float->TC_FLOAT to textclassTags
10766         (Read): and handle it in the switch
10767         (readFloat): new function
10768
10769         * FloatList.C (FloatList): comment out the hardcoded float
10770         definitions.
10771
10772         * lyxlayout.h: ws change.
10773
10774 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10775
10776         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10777
10778 2002-09-03  Angus Leeming  <leeming@lyx.org>
10779
10780         * BufferView_pimpl.h: qualified name is not allowed in member
10781         declaration: WorkArea & Pimpl::workarea() const;
10782
10783         * factory.C: added using std::endl directive.
10784
10785         * text3.C: added using std::find and std::vector directives.
10786
10787 2002-08-29  André Pönitz <poenitz@gmx.net>
10788
10789         * lyxtext.h:
10790         * text2.C: remove unused member number_of_rows
10791
10792         * Makefile.am:
10793         * BufferView2.C: remove file, move contents to...
10794         * BufferView.C: ... here
10795
10796         * BufferView_pimpl.C:
10797         * factory.C: move more inset creation to factory
10798
10799         * vspace.C: avoid direct usage of LyXText, ws changes
10800
10801         * BufferView.[Ch]:
10802                 don't provide direct access to WorkArea, use two simple
10803                 acessors haveSelction() and workHeight() instead
10804
10805
10806 2002-08-29  John Levon  <levon@movementarian.org>
10807
10808         * BufferView_pimpl.C (dispatch): do not continue when
10809           no buffer
10810
10811 2002-08-28  André Pönitz <poenitz@gmx.net>
10812
10813         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10814
10815         * BufferView.h:
10816         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10817
10818 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10819
10820         * buffer.C: increment LYX_FORMAT to 221
10821
10822         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10823         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10824
10825         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10826
10827         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10828
10829 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10830
10831         * factory.C (createInset): use LyXTextClass::floats
10832
10833         * MenuBackend.C (expandFloatListInsert):
10834         (expandFloatInsert):
10835         (expandToc):
10836
10837         * text2.C (setCounter):
10838
10839         * LaTeXFeatures.C (useFloat):
10840         (getFloatDefinitions):
10841
10842         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10843
10844         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10845         floatlist_, with accessor floats().
10846
10847         * FloatList.h: remove global FloatList
10848
10849 2002-08-26  André Pönitz <poenitz@gmx.net>
10850
10851         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10852
10853         * BufferView.h:
10854         * BufferView2.C:
10855         * BufferView_pimpl.C:
10856         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10857
10858 2002-08-25  John Levon  <levon@movementarian.org>
10859
10860         * LyXAction.C: fix margin note description
10861
10862 2002-08-24  John Levon  <levon@movementarian.org>
10863
10864         * buffer.C:
10865         * bufferlist.C:
10866         * bufferview_funcs.C:
10867         * lyxfont.C:
10868         * undo_funcs.C: cleanups
10869
10870         * lyxfunc.C: disable CUT/COPY when no selection
10871
10872 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10873
10874         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10875         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10876
10877         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10878         Add backward compatibility to "mono", "gray" and "no".
10879
10880 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10881
10882         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10883         (and file_format >= 200).
10884
10885 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10886
10887         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10888
10889 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10890
10891         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10892
10893 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10894
10895         * BufferView_pimpl.C:
10896         * LyXAction.C:
10897         * buffer.C:
10898         * commandtags.h:
10899         * lyxfunc.C:
10900         * paragraph.[Ch]:
10901         * text2.C:
10902         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10903         inset and code to make it  work with the paragraph code. The inset
10904         can be anywhere in the paragraph, but will only do the expected
10905         thing in LaTeX if the layout file contains the parameter line
10906                         OptionalArgs    1
10907         (or more generally, a nonzero value) for that layout.
10908
10909 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10910
10911         * paragraph.h: remove the declaration of undefined counters class
10912         function.
10913
10914 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10915
10916         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10917         Dr. Richard Hawkins.
10918
10919 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10920
10921         * paragraph_funcs.h: remove some unneeded includes
10922
10923         * text.C (backspace): pasteParagraph now in global scipe
10924
10925         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10926         (pasteSelection): ditto
10927
10928         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10929         * paragraph_funcs.C (pasteParagraph): ... here
10930
10931 2002-08-20  André Pönitz <poenitz@gmx.net>
10932
10933         * commandtags.h: new LFUNs for swapping/copying table row/colums
10934
10935         * LyXAction.C:
10936         * lyxfunc.C: support for new lfuns
10937
10938 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10939
10940         * tabular.C:
10941         * buffer.[Ch]: remove NO_COMPABILITY stuff
10942
10943 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10944
10945         * boost.C (throw_exception): new file, with helper function for
10946         boost compiled without exceptions.
10947
10948         * paragraph.h:
10949         * lyxlength.C:
10950         * buffer.C:
10951         * ParameterStruct.h:
10952         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10953
10954         * bufferlist.C (emergencyWriteAll): use boost bind
10955
10956         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10957
10958         * text.C: include paragraph_funcs.h
10959         (breakParagraph): breakParagraph is now in global scope
10960
10961         * paragraph_funcs.[Ch]: new files
10962
10963         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10964         global scope
10965
10966         * buffer.C: include paragraph_funcs.h
10967         (insertStringAsLines): breakParagraph is now in global scope
10968
10969         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10970         paragraph_funcs.C
10971
10972         * CutAndPaste.C: include paragraph_funcs.h
10973         (cutSelection): breakParagraphConservative is now in global scope
10974         (pasteSelection): ditto
10975
10976         * buffer.h: declare oprator== and operator!= for
10977         Buffer::inset_iterator
10978
10979         * bufferlist.C (emergencyWrite): don't use fmt(...)
10980
10981         * text3.C: add using std::endl
10982
10983         * BufferView.C (moveCursorUpdate): remove default arg
10984
10985 2002-08-20  André Pönitz <poenitz@gmx.net>
10986
10987         * buffer.[Ch]: move inline functions to .C
10988
10989         * BufferView2.C:
10990         * BufferView_pimpl.C:
10991         * text.C:
10992         * buffer.[Ch]: use improved inset_iterator
10993
10994         * buffer.C:
10995         * paragraph.[Ch]: write one paragraph at a time
10996
10997 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10998
10999         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11000         style if style is not specified.
11001
11002 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11003
11004         * text2.C (setCounter): when searching for right label for a
11005         caption, make sure to recurse to parent insets (so that a caption
11006         in a minipage in a figure float works) (bug #568)
11007
11008 2002-08-20  André Pönitz <poenitz@gmx.net>
11009
11010         * text3.C: new file for LyXText::dispatch() and helpers
11011
11012         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11013
11014         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11015
11016 2002-08-19  André Pönitz <poenitz@gmx.net>
11017
11018         * lyxtext.h:
11019         * text.C: new LyXText::dispatch()
11020
11021         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11022
11023 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11024
11025         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11026
11027         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11028         Hebrew text.
11029
11030 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11031
11032         * Makefile.am: use $(variables) instead of @substitutions@
11033
11034 2002-08-15  André Pönitz <poenitz@gmx.net>
11035
11036         * lyxfunc.C:
11037         * BufferView_pimpl.C: streamlining mathed <-> outer world
11038         interaction
11039
11040         * commandtags.h:
11041         * LyXAction.C: remove unused LFUN_MATH
11042
11043 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11044
11045         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11046
11047 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11048
11049         * paragraph.C (Paragraph): reformat a bit
11050         (cutIntoMinibuffer): use builtin InsetList function instad of
11051         doing it manually.
11052         (getInset): ditto
11053
11054         * buffer.C: include boost/bind.hpp, add using std::for_each
11055         (writeFileAscii): use ParagraphList iterators
11056         (validate): use for_each for validate traversal of paragraphs
11057         (getBibkeyList): use ParagraphList iterators
11058         (resizeInsets): use for_each to resizeInsetsLyXText for all
11059         paragraphs.
11060         (getParFromID): use ParagraphList iterators
11061
11062         * BufferView2.C (lockInset): use paragraph list and iterators
11063
11064 2002-08-14  John Levon  <levon@movementarian.org>
11065
11066         * lyxserver.C: remove spurious xforms include
11067
11068 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11069
11070         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11071
11072 2002-08-13  André Pönitz <poenitz@gmx.net>
11073
11074         * LyXAction.[Ch]:
11075         * lyxfunc.C: further cleaning
11076
11077 2002-08-13  André Pönitz <poenitz@gmx.net>
11078
11079         * funcrequest.h: new constructor
11080
11081         * funcrequest.C: move stuff here from .h
11082
11083         * Makefile.am:
11084         * BufferView_pimpl.C:
11085         * LyXAction.C:
11086         * toc.C:
11087         * lyxfunc.C: subsequent changes
11088
11089         * lyxfunc.h: new view() member function
11090
11091         * lyxfunc.C: subsequent changes
11092
11093 2002-08-13  Angus Leeming  <leeming@lyx.org>
11094
11095         * BufferView2.C:
11096         * BufferView_pimpl.C:
11097         * buffer.C:
11098         * converter.C:
11099         * importer.C:
11100         * lyxfunc.C:
11101         * lyxvc.C:
11102         * toc.C:
11103         * vc-backend.C:
11104         changes due to the changed LyXView interface that now returns references
11105         to member variables not pointers.
11106
11107 2002-08-13  Angus Leeming  <leeming@lyx.org>
11108
11109         * WordLangTuple (word, lang_code): return references to strings,
11110         not strings.
11111
11112         * BufferView.h:
11113         * SpellBase.h:
11114         * lyxtext.h: forward-declare WordLangTuple.
11115
11116         * BufferView2.C:
11117         * ispell.C:
11118         * pspell.C:
11119         * text.C: #include "WordLangTuple.h".
11120
11121         * lyxtext.h:
11122         * text.C: (selectNextWordToSpellcheck): constify return type.
11123
11124 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11125
11126         * buffer.C:
11127         * buffer.h:
11128         * lyxtext.h:
11129         * paragraph.C:
11130         * paragraph_pimpl.h:
11131         * text.C:
11132         * text2.C:
11133         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11134         suggested by Angus.
11135         Made updateCounter always count from start of buffer, and removed
11136         second argument (par).
11137         Reverted floats number display to '#'. Perhaps I'll try again when the
11138         code base is sanitized a bit.
11139
11140 2002-08-12  Angus Leeming  <leeming@lyx.org>
11141
11142         * buffer.[Ch] (getLabelList): constify.
11143
11144 2002-08-07  André Pönitz <poenitz@gmx.net>
11145
11146         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11147
11148         * funcrequest.h: extension to keep mouse (x,y) position
11149
11150 2002-08-12  Juergen Vigna  <jug@sad.it>
11151
11152         * BufferView2.C (insertErrors): forbid undo when inserting error
11153         insets.
11154
11155         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11156
11157 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11158
11159         * ParagraphList.[Ch]: new files
11160
11161         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11162
11163         * BufferView2.C (lockInset): ParagraphList changes
11164         * toc.C: ditto
11165         * text2.C: ditto
11166         * bufferlist.C: ditto
11167         * buffer.h: ditto
11168         * buffer.C: ditto
11169
11170 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11171
11172         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11173         unused class variable counter_,
11174
11175         * paragraph.[Ch] (getFirstCounter): delete unused function
11176
11177         * counters.C: include LAssert.h
11178         (reset): add a new function with no arg, change other version to
11179         not have def. arg and to not allow empty arg.
11180
11181         * text2.C (setCounter): remove empty arg from call to Counters::reset
11182
11183 2002-08-11  John Levon  <levon@movementarian.org>
11184
11185         * Makefile.am: add WordLangTuple.h
11186
11187 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11188
11189         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11190         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11191
11192         * insets/insettext.C: InsetList changes
11193
11194         * graphics/GraphicsSupport.C (operator()): InsetList changes
11195
11196         * toc.C (getTocList): InsetList changes
11197
11198         * paragraph_pimpl.[Ch]: InsetList changes
11199
11200         * paragraph.[Ch]: InsetList changes
11201
11202         * buffer.C (inset_iterator): InsetList changes
11203         (setParagraph): ditto
11204         * buffer.h (inset_iterator): ditto
11205         * iterators.C (operator++): ditto
11206         * iterators.h: ditto
11207
11208         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11209
11210         * InsetList.[Ch]: new files, most InsetList handling moved out of
11211         paragraph.C.
11212
11213         * BufferView2.C (removeAutoInsets): InsetList changes
11214         (lockInset): ditto
11215         (ChangeInsets): ditto
11216
11217 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11218
11219         * paragraph_pimpl.h (empty): new function
11220
11221         * paragraph.[Ch] (empty): new function
11222
11223         * other files: use the new Paragraph::empty function
11224
11225 2002-08-09  John Levon  <levon@movementarian.org>
11226
11227         * lyxtext.h: remove unused refresh_height
11228
11229 2002-08-09  John Levon  <levon@movementarian.org>
11230
11231         * Makefile.am:
11232         * sgml.h:
11233         * sgml.C:
11234         * buffer.C:
11235         * paragraph.h:
11236         * paragraph.C: move sgml char escaping out of paragraph
11237
11238         * paragraph.h:
11239         * paragraph.C: remove id setter
11240
11241         * buffer.C:
11242         * paragraph.C:
11243         * paragraph_pimpl.C: remove dead tex_code_break_column
11244
11245         * bufferview_funcs.C: small cleanup
11246
11247         * lyxfunc.C: remove dead proto
11248
11249         * lyxtext.h: make some stuff private. Remove some dead stuff.
11250
11251         * lyxgluelength.C: make as[LyX]String() readable
11252
11253 2002-08-08  John Levon  <levon@movementarian.org>
11254
11255         * LyXAction.h:
11256         * LyXAction.C:
11257         * MenuBackend.C:
11258         * ToolbarDefaults.C:
11259         * lyxfunc.C:
11260         * lyxrc.C:
11261         * toc.C: lyxaction cleanup
11262
11263 2002-08-08  John Levon  <levon@movementarian.org>
11264
11265         * BufferView2.C: small cleanup
11266
11267         * lyxfind.h:
11268         * lyxfind.C: move unnecessary header into the .C
11269
11270 2002-08-08  John Levon  <levon@movementarian.org>
11271
11272         * funcrequest.h: just tedious nonsense
11273
11274         * lyx_main.h:
11275         * lyx_main.C: cleanups
11276
11277         * buffer.C:
11278         * vspace.C: remove dead header lyx_main.h
11279
11280 2002-08-07  Angus Leeming  <leeming@lyx.org>
11281
11282         * Paragraph.[Ch]:
11283         * paragraph_pimpl.h:
11284         Forward declare class Counters in paragraph.h by moving the ctrs member
11285         variable into Paragraph::Pimpl.
11286         (counters): new method, returning a reference to pimpl_->ctrs.
11287
11288         * text2.C: ensuing changes.
11289
11290 2002-08-07  John Levon  <levon@movementarian.org>
11291
11292         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11293
11294         * BufferView_pimpl.C: announce X selection on double/triple
11295           click
11296
11297         * lyx_main.C: use correct bool in batch dispatch
11298
11299         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11300
11301 2002-08-07  André Pönitz <poenitz@gmx.net>
11302
11303         * funcrequest.h: new class to wrap a kb_action and its argument
11304
11305         * BufferView.[Ch]:
11306         * BufferView_pimpl[Ch]:
11307         * LaTeX.C:
11308         * LyXAction.[Ch]:
11309         * lyxfunc.[Ch]:
11310         * lyxrc.C: subsequent changes
11311
11312
11313 2002-08-07  John Levon  <levon@movementarian.org>
11314
11315         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11316           document options change.
11317
11318 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11319
11320         * counters.[Ch]
11321         * text2.C
11322         * paragraph.[Ch]
11323         * makefile.am: move counters functionality over from
11324         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11325
11326 2002-08-06  John Levon  <levon@movementarian.org>
11327
11328         * WordLangTuple.h: new file for word + language code tuple
11329
11330         * SpellBase.h:
11331         * pspell.h:
11332         * pspell.C:
11333         * ispell.h:
11334         * ispell.C:
11335         * lyxtext.h:
11336         * text.C:
11337         * text2.C:
11338         * BufferView.h:
11339         * BufferView2.C: use WordLangTuple
11340
11341         * layout.h:
11342         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11343
11344 2002-08-06  John Levon  <levon@movementarian.org>
11345
11346         * lyx_main.C: fix cmdline batch handling
11347
11348 2002-08-06  André Pönitz <poenitz@gmx.net>
11349
11350         * lyxrc.C: set default for show_banner to true
11351
11352 2002-08-06  John Levon  <levon@movementarian.org>
11353
11354         * pspell.C: fix a crash, and allow new aspell to work
11355
11356 2002-08-06  John Levon  <levon@movementarian.org>
11357
11358         * lyxfunc.C:
11359         * kbmap.C: small cleanup
11360
11361         * vspace.h:
11362         * vspace.C: add const
11363
11364 2002-08-05  John Levon  <levon@movementarian.org>
11365
11366         * LyXAction.C: back to tabular-insert
11367
11368 2002-08-04  John Levon  <levon@movementarian.org>
11369
11370         * BufferView.h:
11371         * BufferView.C: cosmetic change
11372
11373         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11374
11375         * bufferlist.C:
11376         * buffer.h:
11377         * buffer.C:
11378         * lyxcb.h:
11379         * lyxcb.C:
11380         * lyxserver.C:
11381         * lyxvc.C:
11382         * vc-backend.C:
11383         * BufferView2.C: purge all "Lyx" not "LyX" strings
11384
11385         * lyxcursor.h:
11386         * lyxcursor.C: attempt to add some documentation
11387
11388         * lyxfunc.C:
11389         * commandtags.h:
11390         * LyXAction.C:
11391         * ToolbarDefaults.C:
11392         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11393           merge with LFUN_TABULAR_INSERT
11394
11395         * Makefile.am:
11396         * SpellBase.h:
11397         * ispell.h:
11398         * ispell.C:
11399         * pspell.h:
11400         * pspell.C: split up i/pspell implementations into separate
11401           files, many cleanups
11402
11403         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11404
11405         * text2.C: some cleanup
11406
11407         * lyxfunc.C: don't check for isp_command == "none" any more, it
11408           didn't make any sense
11409
11410 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11411
11412         * counters.[Ch]
11413         * text2.C
11414         * paragraph.[Ch]
11415         * makefile.am: move counters functionality over
11416         from text2.C/paragraph.[Ch] to counters.[Ch], and
11417         make proper C++.
11418 2002-08-02  John Levon  <levon@movementarian.org>
11419
11420         * buffer.C: s/lyxconvert/lyx2lyx/
11421
11422 2002-08-02  Angus Leeming  <leeming@lyx.org>
11423
11424         * lyxlex.C: revert John's change as it breaks reading of the user
11425         preamble.
11426
11427 2002-08-02  Angus Leeming  <leeming@lyx.org>
11428
11429         * importer.C (Import):
11430         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11431         changes due to LyXView::view() now returning a boost::shared_ptr.
11432
11433 2002-08-02  John Levon  <levon@movementarian.org>
11434
11435         * lyxlex.C: small cleanup
11436
11437 2002-08-02  John Levon  <levon@movementarian.org>
11438
11439         * text2.C (status): small cleanup, no logic change
11440
11441 2002-08-01  John Levon  <levon@movementarian.org>
11442
11443         * buffer.h:
11444         * buffer.C (writeFile): don't output alerts, caller
11445           handles this
11446
11447         * bufferlist.C:
11448         * lyx_cb.C: from above
11449
11450         * lyxfunc.C: allow to open non-existent files
11451
11452 2002-07-31  John Levon  <levon@movementarian.org>
11453
11454         * lyxserver.C: don't let incidental errors get
11455           in the way (errno)
11456
11457 2002-07-30  John Levon  <levon@movementarian.org>
11458
11459         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11460
11461 2002-07-30  John Levon  <levon@movementarian.org>
11462
11463         * lyxserver.h:
11464         * lyxserver.C: remove I/O callback too
11465
11466 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11467
11468         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11469         log.
11470
11471 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11472
11473         * many files: strip,frontStrip -> trim,ltrim,rtrim
11474
11475 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11476
11477         * PrinterParams.h: remove extern containsOnly, and include
11478         support/lstrings.h instead.
11479
11480         * LaTeX.C (scanAuxFile): modify because of strip changes
11481         (deplog): ditto
11482         * buffer.C (makeLaTeXFile): ditto
11483         * bufferparams.C (writeFile): ditt
11484         * lyxfont.C (stateText): ditto
11485         * lyxserver.C (read_ready): ditto
11486         * vc-backend.C (scanMaster): ditto
11487
11488         * BufferView_pimpl.h: ws changes
11489
11490         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11491
11492 2002-07-26  André Pönitz <poenitz@gmx.net>
11493
11494         * kb_sequence.C: remove unnedred usings
11495
11496 2002-07-26  Juergen Vigna  <jug@sad.it>
11497
11498         * lyxfind.C (LyXReplace): we have to check better if the returned
11499         text is not of theLockingInset()->getLockingInset().
11500
11501 2002-07-25  Juergen Vigna  <jug@sad.it>
11502
11503         * lyxfind.C (LyXReplace): don't replace if we don't get the
11504         right LyXText.
11505
11506         * undo_funcs.C (createUndo): remove debugging code.
11507
11508 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11509
11510         * buffer.C (parseSingleLyXformat2Token): Use default placement
11511         when reading old floats.
11512
11513         * FloatList.C (FloatList): Change the default placement of figure
11514         and tables to "tbp".
11515
11516 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11517
11518         * MenuBackend.C: using std::max
11519
11520 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11521
11522         * MenuBackend.C (expandToc):
11523         (expandToc2): code moved from xforms menu frontend. It is now
11524         generic and TOCs are transparent to menu frontends.
11525
11526 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11527
11528         * toc.C (getTocList): protect against buf=0
11529
11530         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11531         Menu as first parameter. Now, this calls itself recursively to
11532         expand a whole tree (this will be useful for TOC handling)
11533         (expandFloatInsert): remove 'wide' version of floats
11534
11535         * MenuBackend.h (submenuname): returns the name of the submenu.
11536         (submenu): returns the submenu itself, provided it has been
11537         created by MenuBackend::expand
11538
11539 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11540
11541         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11542         insets which have noFontChange == true. (bug #172)
11543
11544 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11545
11546         * BufferView_pimpl.C: add connection objects and use them...
11547         (Pimpl): here.
11548
11549 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11550
11551         * MenuBackend.C (expandLastfiles):
11552         (expandDocuments):
11553         (expandFormats):
11554         (expandFloatListInsert):
11555         (expandFloatInsert):
11556         (expand): split expand in parts
11557
11558 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11559
11560         * lyx_gui.C: use lyx_gui::exit()
11561
11562 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11563
11564         * LyXAction.C: show the failing pseudo action
11565
11566 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11567
11568         * buffer.C (readFile): Run the lyxconvert script in order to read
11569         old files.
11570
11571 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11572
11573         * LyXAction.C:
11574         * commandtags.h:
11575         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11576
11577 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11578
11579         * LyXAction.C:
11580         * commandtags.h:
11581         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11582
11583 2002-07-22  Herbert Voss  <voss@lyx.org>
11584
11585         * lengthcommon.C:
11586         * lyxlength.[Ch]: add support for the vertical lengths
11587
11588 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11589
11590         * toc.[Ch]: std:: fixes
11591
11592 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11593
11594         * lyxrc.C: do not include lyx_main.h
11595
11596         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11597         for layouts
11598
11599         * lyxrc.C:
11600         * encoding.C:
11601         * bufferlist.C:
11602         * BufferView2.C: include "lyxlex.h"
11603
11604         * tabular.h:
11605         * bufferparams.h: do not #include "lyxlex.h"
11606
11607         * lyxtextclasslist.C (Add): remove method
11608         (classlist): renamed to classlist_
11609
11610         * paragraph_pimpl.C:
11611         * paragraph.C:
11612         * text2.C:
11613         * CutAndPaste.C:
11614         * bufferview_funcs.C:
11615         * bufferlist.C:
11616         * text.C:
11617         * LaTeXFeatures.C:
11618         * buffer.C:
11619         * toc.C (getTocList): use BufferParams::getLyXTextClass
11620
11621         * toc.C (getTocList): use InsetFloat::addToToc
11622
11623         * toc.[Ch]: new files, containing helper functions to handle table
11624         of contents
11625
11626         * lyxfunc.C (dispatch): no need to remove spaces around command
11627         given as a string
11628         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11629         first command of the sequence; it is not very clever, but I do not
11630         have a better idea, actually
11631
11632         * LyXAction.C (LookupFunc): make sure to remove space at the
11633         beginning and end of the command
11634
11635 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11636
11637         * MenuBackend.C (getMenubar): new method: return the menubar of
11638         this menu set
11639         (read): treat differently reading of menu and menubar (in
11640         particular, the menubar has no name now)
11641         (Menu::menubar): remove
11642
11643         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11644         saving is finished
11645
11646 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11647
11648         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11649         a bibitem inset in a RTL paragraph.
11650
11651 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11652
11653         * paragraph_pimpl.C: constify
11654
11655         * BufferView_pimpl.C:
11656         * LaTeX.C:
11657         * lyxfunc.C: fix dispatch in a nicer way
11658
11659 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11660
11661         * lyxfunc.C (dispatch):
11662         * BufferView_pimpl.C:
11663         * BufferView_pimpl.h:
11664         * BufferView.C:
11665         * BufferView.h: rename Dispatch() to dispatch()
11666
11667         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11668
11669         * lyxlayout.C (Read): honor DependsOn tag
11670
11671         * lyxlayout.[Ch] (depends_on): new method
11672
11673         * version.C.in: update lyx_docversion
11674
11675         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11676
11677         * paragraph.C (validate): remove from here...
11678         * paragraph_pimpl.C (validate): ... and move here
11679         (isTextAt): make it const
11680
11681         * buffer.C (getLists): ws cleanup
11682
11683 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11684
11685         * language.C (read): Use iso8859-1 encoding in latex_lang
11686         (this prevents LyX from crashing when using iso10646-1 encoding).
11687
11688 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11689
11690         * text2.C (toggleInset): if cursor is inside an inset, close the
11691         inset and leave cursor _after_ it
11692
11693 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11694
11695         * lyxfunc.C: move minibuffer completion handling out of here
11696
11697 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11698
11699         * BufferView_pimpl.C:
11700         * LaTeX.C: fix dispatch calls
11701
11702 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11703
11704         * text.C (drawChars): Fix Arabic text rendering.
11705
11706 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11707
11708         * LyXAction.C:
11709         * commandtags.h:
11710         * lyxfunc.C: remove message-push/pop
11711
11712         * lyxserver.C:
11713         * lyxfunc.h:
11714         * lyxfunc.C: rationalise some code by removing verboseDispatch
11715           in favour of a bool argument to dispatch()
11716
11717 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11718
11719         * lyx_main.C (init): make sure to read symlinks as absolute paths
11720
11721 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11722
11723         * lyxfunc.h:
11724         * lyxfunc.C: no need for commandshortcut to be a member
11725
11726 2002-07-15  André Pönitz <poenitz@gmx.net>
11727
11728         * converter.C: add support for $$s (scripts from lib/scripts dir)
11729         * lyx_main.C: white space
11730
11731 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11732
11733         * bufferlist.C:
11734         * lyxrc.h:
11735         * lyxrc.C: remove second exit confirmation
11736
11737 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11738
11739         * BufferView.h:
11740         * BufferView.C:
11741         * BufferView2.C:
11742         * BufferView_pimpl.h:
11743         * BufferView_pimpl.C:
11744         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11745
11746 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11747
11748         * MenuBackend.C (expand): add numeric shortcuts to document menu
11749
11750         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11751
11752 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11753
11754         * lyxfont.C (setLyXFamily):
11755         (setLyXSeries):
11756         (setLyXShape):
11757         (setLyXSize):
11758         (setLyXMisc):
11759         (lyxRead):
11760         * debug.C (value):
11761         * buffer.C (asciiParagraph): use ascii_lowercase
11762
11763 2002-07-15  Mike Fabian  <mfabian@suse.de>
11764
11765         * lyxlex_pimpl.C (search_kw):
11766         * lyxlex.C (getLongString):
11767         * converter.h (operator<):
11768         * converter.C (operator<):
11769         * buffer.C (parseSingleLyXformat2Token):
11770         (asciiParagraph):
11771         * ToolbarDefaults.C (read):
11772         * MenuBackend.C (checkShortcuts):
11773         (read):
11774         * LColor.C (getFromGUIName):
11775         (getFromLyXName): use the compare_ascii_no_case instead of
11776         compare_no_case, because in turkish, 'i' is not the lowercase
11777         version of 'I', and thus turkish locale breaks parsing of tags.
11778
11779 2002-07-16  Angus Leeming  <leeming@lyx.org>
11780
11781         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11782         now takes a Buffer const & argument.
11783
11784 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11785
11786         * BufferView.C (resize): check there's a buffer to resize
11787
11788 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11789
11790         * lyxfunc.C: remove dead code
11791
11792         * lyxserver.h:
11793         * lyxserver.C: use lyx_guii::set_read_callback
11794
11795 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11796
11797         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11798         an inset in a RTL paragraph.
11799
11800 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11801
11802         * lyxfunc.C: repaint after a font size update
11803
11804 2002-07-15  André Pönitz <poenitz@gmx.net>
11805
11806         * lyxlength.C: inBP should be able to return negative values
11807
11808 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11809
11810         * lyxfunc.C: use lyx_gui::update_fonts()
11811
11812 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11813
11814         * lyxfunc.C: use lyx_gui::update_color()
11815
11816 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11817
11818         * bufferlist.C:
11819         * lyxfunc.h:
11820         * lyxfunc.C:
11821         * lyxrc.h:
11822         * lyxrc.C: remove file->new asks for name option, and let
11823           buffer-new take an argument
11824
11825 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11826
11827         * BufferView_pimpl.C: remove unneeded extra repaint()
11828
11829 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11830
11831         * LyXAction.C: allow command-sequence with NoBuffer
11832
11833         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11834
11835 2002-07-10  Angus Leeming  <leeming@lyx.org>
11836
11837         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11838
11839 2002-07-09  Angus Leeming  <leeming@lyx.org>
11840
11841         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11842
11843 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11844
11845         * lengthcommon.h: whitespace
11846
11847         * lyxfunc.C: update scrollbar after goto paragraph
11848
11849         * lyxtext.h: factor out page break drawing, and fix it so
11850           page break/added space paints as selected nicely
11851
11852 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11853
11854         * BufferView_pimpl.C: add FIXMEs, clean up a little
11855
11856 2002-07-09  André Pönitz <poenitz@gmx.net>
11857
11858         * lyxfont.[Ch]: support for wasy symbols
11859
11860 2002-07-08  André Pönitz <poenitz@gmx.net>
11861
11862         * BufferView_pimpl.C: apply John's patch for #93.
11863
11864 2002-07-05  Angus Leeming  <leeming@lyx.org>
11865
11866         * BufferView_pimpl.C (buffer): generate previews if desired.
11867
11868         * LColor.h: add "preview" to the color enum.
11869
11870         * LColor.C (LColor): add a corresponding entry to the items array.
11871
11872         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11873         with this buffer.
11874
11875 2002-07-05  Angus Leeming  <leeming@lyx.org>
11876
11877         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11878         The body of the code is now in the method that is passed an ostream &
11879         rather than a file name.
11880         Pass an additional only_preamble parameter, useful for the forthcoming
11881         preview stuff.
11882
11883 2002-07-03  André Pönitz <poenitz@gmx.net>
11884
11885         * lyxfunc.C: simplify getStatus() a bit for math stuff
11886
11887 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11888
11889         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11890
11891 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11892
11893         * text.C (changeRegionCase): do not change case of all the
11894         document when region ends at paragraph end (bug #461)
11895
11896 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11897
11898         * paragraph.C (startTeXParParams):
11899         (endTeXParParams): add \protect when necessary
11900
11901 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11902
11903         * BufferView_pimpl.C (workAreaExpose): remove warning
11904
11905 2002-06-27  Angus Leeming  <leeming@lyx.org>
11906
11907         * Makefile.am: add lyxlayout_ptr_fwd.h.
11908
11909 2002-06-26  André Pönitz <poenitz@gmx.net>
11910
11911         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11912
11913 2002-06-25  Angus Leeming  <leeming@lyx.org>
11914
11915         * lyxfunc.C (dispatch): Comment out the call to
11916         grfx::GCache::changeDisplay. The method no longer exists now that the
11917         pixmap generation part of the graphics loader has been moved into
11918         InsetGraphics.
11919
11920 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11921
11922         * text2.C: layout as layout
11923
11924         * text.C: layout as layout
11925
11926         * tabular.C (OldFormatRead): layout as layout
11927
11928         * paragraph_pimpl.C (TeXDeeper): layout as layout
11929         (realizeFont): layout as layout
11930
11931         * paragraph.C (writeFile): layout as layout
11932         (validate): layout as layout
11933         (getFont): layout as layout
11934         (getLabelFont): layout as layout
11935         (getLayoutFont): layout as layout
11936         (breakParagraph): layout as layout
11937         (stripLeadingSpaces): layout as layout
11938         (getEndLabel): layout as layout
11939         (getMaxDepthAfter): layout as layout
11940         (applyLayout): layout as layout
11941         (TeXOnePar): layout as layout
11942         (simpleTeXOnePar): layout as layout
11943         (TeXEnvironment): layout as layout
11944         (layout): layout as layout
11945         (layout): layout as layout
11946
11947         * lyxtextclass.C (compare_name): new functor to work with
11948         shared_ptr, layout as layout
11949         (Read): layout as layout
11950         (hasLayout): layout as layout
11951         (operator): layout as layout
11952         (delete_layout): layout as layout
11953         (defaultLayout): layout as layout
11954
11955         * lyxlayout_ptr_fwd.h: new file
11956
11957         * lyxlayout.C (Read): layout as layout
11958
11959         * lyx_cb.C (MenuInsertLabel): layout as layout
11960
11961         * bufferlist.C (newFile): layout as layout
11962
11963         * buffer.C (readLyXformat2): layout as layout
11964         (parseSingleLyXformat2Token): layout as layout
11965         (insertStringAsLines): layout as layout
11966         (asciiParagraph): layout as layout
11967         (latexParagraphs): layout as layout
11968         (makeLinuxDocFile): layout as layout
11969         (simpleLinuxDocOnePar): layout as layout
11970         (makeDocBookFile): layout as layout
11971         (simpleDocBookOnePar): layout as layout
11972         (getLists): layout as layout
11973
11974         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11975
11976         * CutAndPaste.C (cutSelection): layout as layout
11977         (pasteSelection): layout as layout
11978         (SwitchLayoutsBetweenClasses): layout as layout
11979
11980         * BufferView_pimpl.C (Dispatch): layout as layout
11981         (smartQuote): layout as layout
11982
11983         * BufferView2.C (unlockInset): layout as layout
11984
11985 2002-06-24  André Pönitz <poenitz@gmx.net>
11986
11987         * lyxfunc.C: fix #487
11988
11989 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11990
11991         * lyxrc.h:
11992         * lyxrc.C:
11993         * lyxfunc.C: remove display_shortcuts, show_banner
11994
11995 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11996
11997         * Buffer_pimpl.C: oops, update on resize
11998
11999 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12000
12001         * buffer.C:
12002         * converter.C:
12003         * exporter.C:
12004         * lyxfunc.C:
12005         * BufferView.h:
12006         * BufferView.C: use repaint()
12007
12008         * BufferView_pimpl.h:
12009         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12010           as it's a clearer description. Remove superfluous
12011           redraws.
12012
12013 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12014
12015         * text.C: fix bug 488. Not ideal, but getting
12016           getWord() to work properly for the insets that
12017           matter is more difficult ...
12018
12019 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12020
12021         * BufferView_pimpl.C:
12022         * LyXAction.C:
12023         * commandtags.h:
12024         * lyxfunc.C: remove the six million index lyxfuncs to just
12025           one, and DTRT (bug 458)
12026
12027 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12028
12029         * BufferView.h:
12030         * BufferView.C:
12031         * BufferView_pimpl.h:
12032         * BufferView_pimpl.C: clean up resize() stuff,
12033           and unnecessary updateScreen()s
12034
12035 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12036
12037         * BufferView.h:
12038         * BufferView.C:
12039         * BufferView_pimpl.h:
12040         * BufferView_pimpl.C:
12041         * lyxfind.h:
12042         * lyxfind.C:
12043         * minibuffer.C: remove focus management of workarea,
12044           not needed. Use screen's greyOut()
12045
12046 2002-06-17  Herbert Voss  <voss@lyx.org>
12047
12048         * converter.C: (convert) do not post a message, when converting
12049         fails, let the calling function decide what to do in this case
12050
12051 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12052
12053         * lyxfunc.C: tidy up a little
12054
12055 2002-06-16    <alstrup@diku.dk>
12056
12057         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12058         Got rid of FORMS_H_LOCATION include. Now we are
12059         GUII.
12060
12061 2002-06-15  LyX Development team  <lyx@rilke>
12062
12063         * buffer.[Ch] (sgmlOpenTag):
12064         (sgmlCloseTag): Added support for avoiding pernicious mixed
12065         content. Return number of lines written.
12066
12067         (makeLinuxDocFile):
12068         (makeDocBookFile): Fixed calls to sgml*Tag.
12069         Simple white space clean.
12070
12071         (simpleDocBookOnePar): Simple white space clean.
12072
12073         * tabular.[Ch] (docBook): Renamed to docbook and got another
12074         argument to related with the pernicious mixed content.
12075
12076         (docbookRow): Fixed calls for docbook inset method.
12077
12078 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12079
12080         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12081         so it's X11 independent.
12082
12083         * kb*.[Ch]: ditto.
12084
12085         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12086
12087 2002-06-15  Lyx Development team  <lyx@electronia>
12088
12089         * intl.h: Renamed getTrans to getTransManager.
12090
12091 2002-06-14  Angus Leeming  <leeming@lyx.org>
12092
12093         * Makefile.am: nuke forgotten stl_string_fwd.h.
12094
12095 2002-06-12  Angus Leeming  <leeming@lyx.org>
12096
12097         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12098
12099 2002-06-13  Angus Leeming  <leeming@lyx.org>
12100
12101         * LaTeX.C:
12102         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12103
12104 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12105
12106         * kbmap.C (getiso): add support for cyrillic and greek
12107
12108 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12109
12110         * BufferView.h:
12111         * BufferView.C:
12112         * BufferView_pimpl.h:
12113         * BufferView_pimpl.C: move bogus scrolling logic
12114           to xforms
12115
12116 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12117
12118         * lyxfunc.C:
12119         * BufferView_pimpl.C: view->resize() change
12120
12121 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12122
12123         * BufferView_pimpl.C: topCursorVisible
12124           prototype change
12125
12126 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12127
12128         * Makefile.am:
12129         * lyx_gui.h:
12130         * lyx_gui.C: move to frontends/
12131
12132         * main.C:
12133         * lyx_main.h:
12134         * lyx_main.C: changes from above
12135
12136 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12137
12138         * intl.C:
12139         * intl.h:
12140         * kbmap.C:
12141         * kbsequence.C:
12142         * lyx_cb.C:
12143         * lyx_main.C: minor tidy
12144
12145 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12146
12147         * BufferView_pimpl.h:
12148         * BufferView_pimpl.C:
12149         * BufferView.h:
12150         * BufferView.C: make painter() const,
12151           remove dead code
12152
12153         * BufferView2.C: use screen() accessor
12154
12155         * lyx_main.h:
12156         * lyx_main.C: some minor cleanup
12157
12158 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12159
12160         * BufferView_pimpl.h:
12161         * BufferView_pimpl.C: remove enter/leaveView,
12162           use workHeight()
12163
12164 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12165
12166         * BufferView.h:
12167         * BufferView.C:
12168         * BufferView2.C:
12169         * BufferView_pimpl.h:
12170         * BufferView_pimpl.C: only construct screen once,
12171           rename
12172
12173         * lyxrc.C: remove pointless comment
12174
12175 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12176
12177         * BufferView.h:
12178         * BufferView.C: remove active() and belowMouse()
12179
12180         * BufferView_pimpl.h:
12181         * BufferView_pimpl.C: use workarea() not workarea_,
12182           and make it use a scoped_ptr instead
12183
12184 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12185
12186         * lyx_gui.C: add debug message on BadWindow
12187
12188 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12189
12190         * sp_spell.C: fdopen is not part of the C++ standard.
12191
12192         * paragraph.C (InsetIterator): use >= instead of ==
12193
12194 2002-06-07  Angus Leeming  <leeming@lyx.org>
12195
12196         Fixes needed to compile with Compaq cxx 6.5.
12197         * BufferView_pimpl.C:
12198         * DepTable.C:
12199         * buffer.C:
12200         * converter.C:
12201         * encoding.C:
12202         * lyx_gui.C:
12203         * lyx_main.C:
12204         * lyxtextclasslist.C:
12205         * minibuffer.C:
12206         * sp_spell.C:
12207         * tabular_funcs.C:
12208         * vc-backend.C:
12209         all c-library variables have been moved into namespace std. Wrap
12210         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12211
12212         * lyxlength.C:
12213         * tabular-old.C:
12214         * tabular.C:
12215         Add a using std::abs declaration.
12216
12217         * kbmap.h (modifier_pair):
12218         * paragraph.h (InsetTable, InsetList):
12219         * lyxfont.h (FontBits):
12220         type definition made public.
12221
12222         * bufferlist.C (emergencyWriteAll): the compiler complains that
12223         there is more than one possible lyx::class_fun template to choose from.
12224         I re-named the void specialisation as lyx::void_class_fun.
12225
12226         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12227
12228         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12229         the compiler is is unable to find tostr in write_attribute.
12230
12231 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12232
12233         * buffer.C (sgmlError): hide #warning
12234
12235 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12236
12237         * xtl/*: get rid of xtl, which is not in use anyway
12238
12239         * LyXAction.C (init):
12240         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12241         were unimplemented xtl experimentation
12242
12243 2002-06-04  André Pönitz <poenitz@gmx.net>
12244
12245         * lyxfunc.C: disable array operation on simple formulae
12246
12247 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12248
12249         * converter.C: constify a bit
12250
12251 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12252
12253         * lyx_gui.C: check xforms version correctly
12254
12255 2002-04-30  Herbert Voss  <voss@lyx.org>
12256
12257         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12258         "keep" option
12259
12260 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12261
12262         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12263           attempt to register it with a VCS)
12264
12265 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12266
12267         * lyx_main.C (init): honor variables LYX_DIR_13x and
12268         LYX_USERDIR_13x
12269
12270 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12271
12272         * buffer.h:
12273         * buffer.C:
12274         * lyx_main.C: fix a crash on bad command line,
12275           and give a useful exit status on error
12276
12277         * lyxfunc.C (doImport): allow -i lyx to work
12278
12279 2002-03-30  André Pönitz <poenitz@gmx.net>
12280
12281         * lyxfunc.C: mathed font changes
12282
12283 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12284
12285         * LaTeX.C:
12286         * importer.h:
12287         * importer.C:
12288         * lyx_sty.h:
12289         * lyx_sty.C:
12290         * lyxlex.C:
12291         * lyxrow.h:
12292         * lyxtext.h:
12293         * paragraph.h:
12294         * paragraph.C:
12295         * texrow.h:
12296         * texrow.C:
12297         * text.C:
12298         * trans_mgr.h: srcdocs, and some minor cleanups
12299
12300 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12301
12302         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12303         call getFont all the time)
12304
12305 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12306
12307         * switch from SigC signals to boost::signals
12308
12309 2002-05-29  André Pönitz <poenitz@gmx.net>
12310
12311         * paragraph_pimpl.C (getChar): don't call size() too often...
12312
12313 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12314
12315         * paragraph_pimpl.C (insertChar): do not try to update tables when
12316         appending (pos == size())
12317
12318         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12319         in order to reduce drastically the number of comparisons needed to
12320         parse a large document
12321
12322 2002-05-29  André Pönitz <poenitz@gmx.net>
12323
12324         * text.C:
12325         * text2.C:
12326         * lyxtextclass.C:
12327         * sp_pspell.h:
12328         * textclasslist.[Ch]:
12329         * sp_ispell.h: whitespace change
12330
12331 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12332
12333         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12334         lyxaction directly now.
12335
12336 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12337
12338         * trans.C:
12339         * lyxfont.C:
12340         * lyxvc.C: remove unused headers
12341
12342 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12343
12344         * Makefile.am:
12345         * buffer.h:
12346         * undostack.h:
12347         * undostack.C:
12348         * undo_funcs.h:
12349         * undo_funcs.C: some cleanups. Use shared_ptr
12350           and a template for the undo stacks.
12351
12352 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12353
12354         * BufferView_pimpl.h:
12355         * BufferView_pimpl.C:
12356         * kbmap.h:
12357         * kbmap.C:
12358         * kbsequence.h:
12359         * kbsequence.C:
12360         * lyxfunc.h:
12361         * lyxfunc.C:
12362         * text2.C: use key_state/mouse_state
12363
12364 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12365
12366         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12367         and LSubstring
12368
12369         * chset.C: change include order
12370         (loadFile): use boost regex and get rid of LRegex and LSubstring
12371
12372         * Makefile.am (BOOST_LIBS): new variable
12373         (lyx_LDADD): use it
12374
12375         * LaTeX.C: change include order.
12376         (scanAuxFile): use boost regex and get rid of LRegex and
12377         LSubstring
12378         (deplog): ditto
12379
12380 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12381
12382         * ColorHandler.h:
12383         * ColorHandler.C:
12384         * FontInfo.h:
12385         * FontInfo.C: moved to frontends/xforms/
12386
12387         * FontLoader.h:
12388         * FontLoader.C: moved into frontends for GUIIzation
12389
12390         * Makefile.am:
12391         * lyx_gui.C:
12392         * lyxfont.C:
12393         * lyxfunc.C: changes from above
12394
12395 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12396
12397         * LColor.C: remove spurious X include
12398
12399         * BufferView_pimpl.C:
12400         * Makefile.am:
12401         * font.h:
12402         * font.C:
12403         * text.C:
12404         * text2.C: move font metrics to frontends/
12405
12406 2002-05-24  Juergen Vigna  <jug@sad.it>
12407
12408         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12409         setting the undo_cursor.
12410
12411         * ParagraphParameters.h: include local includes first.
12412
12413 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12414
12415         * BufferView_pimpl.C:
12416         * BufferView_pimpl.h:
12417         * Makefile.am:
12418         * WorkArea.h:
12419         * WorkArea.C:
12420         * screen.C: move WorkArea into frontends/
12421
12422         * lyxscreen.h:
12423         * screen.C:
12424         * text.C:
12425         * BufferView.C:
12426         * BufferView2.C: move LyXScreen into frontends/
12427
12428         * lyxlookup.h:
12429         * lyxlookup.C:
12430         * lyx_gui.C: move lyxlookup into frontends/xforms/
12431
12432 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12433
12434         * BufferView2.C:
12435         * BufferView_pimpl.C:
12436         * FontLoader.C:
12437         * LyXView.h:
12438         * LyXView.C:
12439         * Makefile.am:
12440         * WorkArea.C:
12441         * XFormsView.h:
12442         * XFormsView.C:
12443         * buffer.C:
12444         * bufferlist.C:
12445         * bufferview_funcs.C:
12446         * converter.C:
12447         * importer.C:
12448         * lyx_cb.C:
12449         * lyx_gui.C:
12450         * lyx_main.C:
12451         * lyx_find.C:
12452         * lyxfunc.C:
12453         * lyxvc.C:
12454         * minibuffer.C:
12455         * text.C:
12456         * text2.C:
12457         * trans.C:
12458         * vc-backend.C: move LyX/XFormsView into frontends/
12459
12460 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12461
12462         * Makefile.am:
12463         * PainterBase.C:
12464         * PainterBase.h:
12465         * Painter.C:
12466         * Painter.h:
12467         * WorkArea.C:
12468         * WorkArea.h:
12469         * screen.C:
12470         * tabular.C:
12471         * text.C:
12472         * text2.C: move Painter to frontends/
12473
12474 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12475
12476         * buffer.C: comment out some some code that depend upon lyx_format
12477         < 220
12478
12479         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12480         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12481
12482         * buffer.h (NO_COMPABILITY): turn off compability
12483
12484         * ColorHandler.C: include scoped_array.hpp
12485
12486         * font.C: Use more specific smart_ptr header.
12487         * Painter.C: ditto
12488         * gettext.C: ditto
12489         * ShareContainer.h: ditto
12490         * lyx_main.h: ditto
12491         * kbmap.h: ditto
12492         * FontInfo.h: ditto
12493         * BufferView_pimpl.h: ditto
12494         * ColorHandler.h: ditto
12495
12496         * kbmap.C (defkey): change call to shared_ptr::reset
12497
12498 2002-05-21  Juergen Vigna  <jug@sad.it>
12499
12500         * buffer.C (insertErtContents): fix to insert ert asis if it is
12501         non empty. Skip it completely if it contains only whitespaces.
12502
12503 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12504
12505         * BufferView_pimpl.C:
12506         * BufferView2.C: clear selection on paste (bug 393)
12507
12508 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12509
12510         * DepTable.C: include ctime
12511
12512 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12513
12514         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12515
12516 2002-05-14  Juergen Vigna  <jug@sad.it>
12517
12518         * text.C (breakParagraph): fixed function to honor the keepempty
12519         layout in the right maner and also to permit the right breaking
12520         algorithm on empty or non empyt keepempty paragraphs.
12521
12522         * paragraph.C (breakParagraph): we have to check also if the par
12523         is really empty (!size()) for isempty otherwise we do the wrong
12524         paragraph break.
12525
12526 2002-05-10  Juergen Vigna  <jug@sad.it>
12527
12528         * buffer.[Ch] : The following are only changes to the ert
12529         compatibility read reading old LaTeX layout and font stuff and
12530         convert it to ERTInsets.
12531
12532         * buffer.h: added isErtInset().
12533
12534         * buffer.C (struct ErtComp): add a fromlayout bool to check
12535         if we're inside a LaTeX layout.
12536         (isErtInset): new helper function.
12537         (insertErtContents): look for other ert insets before this one
12538         and insert the contents there, so that we don't have subsequent
12539         ERT insets with nothing between them. This way we create only one
12540         inset with multiple paragraphs. Also check if we don't insert only
12541         spaces ' ' as they are ignored anyway afterwards in the .tex file
12542         so if we have only spaces we will ignore this latex part in the
12543         new file.
12544         (parseSingleLyXformat2Token \\layout): better compatibility when
12545         reading layout-latex stuff.
12546         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12547         language tag.
12548         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12549         stuff after reading the inset only get the information back from
12550         the stack.
12551
12552 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12553
12554         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12555
12556         * LaTeXFeatures.C (getBabelOptions): New method.
12557
12558 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12559
12560         * BufferView_pimpl.C (Dispatch): work around missing argument for
12561         'layout'
12562
12563 2002-05-08  Juergen Vigna  <jug@sad.it>
12564
12565         * text.C (leftMargin): handle paragraph leftindent.
12566
12567         * paragraph.C (writeFile): write the new \\leftindent tag.
12568         (validate): handle leftindent code.
12569         (TeXEnvironment): handle paragraphleftindent code again.
12570
12571         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12572
12573         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12574         for paragrap_extra indent code and new token \\leftindent.
12575         (latexParagraphs): handle the leftindent as environment.
12576
12577         * ParameterStruct.h: added leftindent support.
12578
12579         * ParagraphParameters.C (leftIndent): added support functions for
12580         the paragraph left indent.
12581
12582         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12583         more appropriate.
12584
12585 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12586
12587         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12588         inside insetERT.
12589
12590         * text.C (computeBidiTables): No bidi in insetERT.
12591
12592         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12593         in RTL documents.
12594
12595 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12596
12597         * version.C.in: pre 5
12598
12599 2002-05-02  José Matos  <jamatos@fep.up.pt>
12600         * buffer.C (makeDocBookFile): white space changes, add newline to
12601         command styles.
12602         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12603
12604         * tabular.C (docBook): fix typo.
12605
12606 2002-05-03  Juergen Vigna  <jug@sad.it>
12607
12608         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12609         change in LyXText as we can not be sure it was not freed.
12610         (drawOneRow): remove unused code.
12611
12612         * text.C (drawInset): redo the calculation of the need_break_row as
12613         it could have a row which was already freed.
12614         (draw): look at the return value of drawInset and return false if
12615         it also returned false.
12616         (paintRowText): look at the return value of draw and return false if
12617         it also returned false.
12618
12619         * lyxtext.h: added bool return type to drawInset() and draw() so that
12620         if we have a change in the row so that the rowbreak has to be redone
12621         we abort drawing as it will be called again.
12622
12623 2002-05-02  Juergen Vigna  <jug@sad.it>
12624
12625         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12626         a change in the maintext also if we're inside an inset.
12627         (Dispatch): set the cursor again after a break line and after the
12628         screen has been updated as it could be we're in a different row.
12629
12630         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12631         to set the cursor behind the pargraph with > size().
12632         (setCursor): check also for the same paragraph when checking where
12633         to put the cursor if we have a NFR inset.
12634
12635         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12636         parts of layout read further up as it still was in the wrong
12637         position.
12638
12639 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12640
12641         * screen.C (drawFromTo): change sine fullRebreak always return
12642         true.
12643
12644         * buffer.C (parseSingleLyXformat2Token): reindent some
12645
12646         * BufferView_pimpl.C (update): change since fullRebreak always
12647         return true.
12648         (Dispatch): git rid of the last hardcoded "Standard"s.
12649
12650 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12651
12652         * text2.[Ch] (fullRebreak): make it return void now that we always
12653         returned true.
12654
12655 2002-04-30  Juergen Vigna  <jug@sad.it>
12656
12657         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12658         ert compatibility check for "latex" layout.
12659
12660 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12661
12662         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12663         minipages: use col% instead of p%, and also use the current font.
12664         (makeLaTeXFile): Fix use babel condition.
12665         (parseSingleLyXformat2Token): Correct font when reading old floats.
12666
12667 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12668
12669         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12670         inserting list of floats.
12671
12672 2002-04-25  Herbert Voss  <voss@lyx.org>
12673
12674         * MenuBackend.C (expand): don't add the graphics extensions to the
12675         export menu
12676
12677 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12678
12679         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12680         non-existing layout, do not complain if it was the default layout
12681         of the original class (bug #342)
12682
12683 2002-04-24  Juergen Vigna  <jug@sad.it>
12684
12685         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12686         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12687
12688 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12689
12690         * buffer.C (getBibkeyList): If using \bibliography, return the
12691         option field with the reference itself. Enables us to provide natbib
12692         support when using \bibliography.
12693
12694 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12695
12696         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12697
12698         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12699         natbib is provided by the LaTeX class.
12700
12701 2002-04-23  Juergen Vigna  <jug@sad.it>
12702
12703         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12704         Wakeup functions.
12705
12706         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12707
12708 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12709
12710         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12711
12712         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12713         ensuremath around textordmasculine, textordfeminine and
12714         textdegree.
12715
12716 2002-04-19  Juergen Vigna  <jug@sad.it>
12717
12718         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12719         reinitializing the buffer otherwise row-dimensions may be wrong.
12720         (update): reset also the selection cursors if they do exits otherwise
12721         their x/y positions may be wrong.
12722
12723         * text2.C (cursorDown): don't enter the inset if we came from a row
12724         above and are one row over the inset.
12725
12726         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12727         really leaving an inset.
12728
12729 2002-04-18  Juergen Vigna  <jug@sad.it>
12730
12731         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12732         of the selected paragraph does not have the selected layout also if
12733         the last one had!
12734
12735         * text2.C (setLayout): fixed bug which did not change last selected
12736         paragraph.
12737
12738         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12739         changed the read and substituted \\end_float with \\end_inset!
12740
12741         * BufferView_pimpl.C (cursorPrevious):
12742         (cursorNext): fixed to make it work with rows heigher than the work
12743         area without moving the cursor only the draw of the row.
12744         (workAreaMotionNotify): fix jumping over high rows.
12745
12746 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12747
12748         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12749         Ressler.
12750
12751 2002-04-16  Juergen Vigna  <jug@sad.it>
12752
12753         * text2.C (setCursor): set also the irow().
12754         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12755         (cursorUp):
12756         (cursorDown): support for locking an inset if the x_fix value goes
12757         inside it. That way I can transverse insets too with cursor up/down.
12758
12759         * lyxrow.h: added irow helper function same as other (i) functions.
12760
12761         * BufferView_pimpl.C (cursorPrevious):
12762         (cursorNext): fixed for insets!
12763
12764 2002-04-15  Juergen Vigna  <jug@sad.it>
12765
12766         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12767         position otherwise it is wrong in some cases.
12768
12769         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12770         inside the inset before the call.
12771
12772 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12773
12774         * buffer.[Ch] (getBibkeyList): make it const.
12775
12776 2002-04-12  Juergen Vigna  <jug@sad.it>
12777
12778         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12779
12780         * text2.C (getCursorX): new helper function
12781         (setCursor): compute also ix_
12782         (setCursorFromCoordinates): set also ix.
12783
12784         * lyxcursor.h: added ix_ and helper functions.
12785
12786         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12787
12788         * buffer.C (insertStringAsLines): dont break paragraph if the this
12789         paragraph is inside an inset which does not permit it!
12790
12791         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12792         also with no chars on this paragraph.
12793         (paintRowText): only paint stuff if it's inside the workarea!
12794
12795         * paragraph.C (breakParagraph): honor keepempty flag and break the
12796         paragraph always below not above.
12797
12798         * BufferView2.C (unlockInset): update the paragraph layout on inset
12799         unlock as we changed paragraph in such a case.
12800
12801         * lyxfind.C (LyXFind): clear the former selection if not found!
12802
12803         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12804         again called in insertChar().
12805
12806         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12807         an inset which uses the whole row!
12808         (rightMargin): ditto.
12809         (insertChar): force a rebreak if we inserted an inset!
12810
12811 2002-03-28  Herbert Voss  <voss@lyx.org>
12812
12813         * lyxlength.[Ch]: add inBP() to get the right PS-point
12814         units (BigPoint). With inPixels we have rounding errors
12815
12816 2002-04-11  Juergen Vigna  <jug@sad.it>
12817
12818         * text2.C (setCursorFromCoordinates): set iy to the right value.
12819         (setCursor): add check if row->previous exists!
12820
12821         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12822         an old float_type as this was the case in the old code!
12823
12824         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12825
12826         * BufferView2.C (showLockedInsetCursor): use iy
12827         (fitLockedInsetCursor): ditto
12828
12829         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12830         locked insets as there we have the right value now.
12831
12832         * lyxcursor.C: added iy_ variable and iy functions to set to the
12833         baseline of cursor-y of the locked inset.
12834
12835         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12836         (setCursor): fixed for insets which need a full row.
12837
12838         * text.C (rowLastPrintable): don't ignore the last space when before
12839         an inset which needs a full row.
12840         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12841         as last character of a row when before a inset which needs a full row.
12842
12843 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12844
12845         * version.C.in: update date
12846
12847         * text2.C (fullRebreak): try to always return true and see what
12848         happens...
12849
12850 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12851
12852         * MenuBackend.C (expand): use Floating::listName
12853
12854         * FloatList.C (FloatList): add listName argument to the built-in
12855         floats
12856
12857         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12858         text associated with the float.
12859
12860 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12861
12862         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12863
12864 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12865
12866         * ShareContainer.h: add a couple of missing typenames.
12867
12868 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12869
12870         * lyxrc.C (getDescription): use _() correctly rather than N_().
12871
12872 2002-03-28  Herbert Voss  <voss@lyx.org>
12873
12874         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12875         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12876
12877 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12878
12879         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12880         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12881
12882 2002-03-29  Juergen Vigna  <jug@sad.it>
12883
12884         * lyxfunc.C (dispatch): add a missing fitCursor call.
12885
12886         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12887         it was scrolled by a cursor move, so return the bool status.
12888
12889         * BufferView.C (fitCursor): return the bool flag also to the outside
12890         world as this is needed.
12891
12892         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12893
12894         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12895         call the edit() as it is not needed (and wrong) IMO.
12896         (workAreaButtonPress): set the screen_first variable before evt.
12897         unlock the inset as this may change screen_first and then we have
12898         a wrong y position for the click!
12899
12900 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12901
12902         * MenuBackend.C (expand): another translation that I missed
12903
12904 2002-03-28  Juergen Vigna  <jug@sad.it>
12905
12906         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12907
12908         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12909
12910 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12911
12912         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12913
12914         * MenuBackend.C (expand): fix export/view/update when there is no
12915         document open.
12916
12917 2002-03-27  Herbert Voss  <voss@lyx.org>
12918
12919         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12920         and text%
12921
12922 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12923
12924         * bufferview_funcs.C (currentState): only show paragraph number
12925         for is DEVEL_VERSION is set.
12926
12927         * lyxfunc.C (dispatch): put warning in INFO channel
12928
12929         * MenuBackend.C (expand): translate the name of floats
12930
12931         * FloatList.C (FloatList): mark the float names for translation
12932
12933         * converter.C (convert): use LibScriptSearch
12934
12935 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12936
12937         * MenuBackend.C (defaults): fix default menu (we might as well get
12938         rid of it...)
12939
12940 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12941
12942         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12943         directory.
12944
12945 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12946
12947         * lyxvc.C: reorder includes.
12948
12949 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12950
12951         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12952           properly
12953
12954 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12955
12956         * CutAndPaste.C: change layouts earlier on paste
12957           to avoid crashing when calling getFont()
12958
12959 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12960
12961         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12962         irritating #error.
12963
12964 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12965
12966         * WorkArea.C: remove 'Pending' debug message.
12967
12968         * most files: ws cleanup
12969
12970         * buffer.[Ch]: ws changes
12971
12972         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12973
12974 2002-03-21  Juergen Vigna  <jug@sad.it>
12975
12976         * tabular.C (SetMultiColumn): collapse also the contents of the
12977         cells and set the last border right. Added a Buffer const * param.
12978
12979 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12980
12981         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12982         linking or not.
12983
12984 2002-03-19  Juergen Vigna  <jug@sad.it>
12985
12986         * text2.C (clearSelection): reset also xsel_cache.
12987
12988         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12989         where it needs to be called (John tells us to do so too :)
12990         (selectionLost): reset sel_cache.
12991
12992         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12993
12994 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12995
12996         * text2.C (setCursorIntern): put debuging code in INSETS channel
12997
12998 2002-03-19  André Pönitz <poenitz@gmx.net>
12999
13000         * lyxfunc.C: tiny whitespace change
13001
13002 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13003
13004         * ToolbarDefaults.C (init):
13005         * LyXAction.C (init):
13006         * commandtags.h:
13007         * BufferView_pimpl.C (Dispatch):
13008         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13009
13010 2002-03-19  Allan Rae  <rae@lyx.org>
13011
13012         * exporter.C (Export): removeAutoInsets before doing anything else.
13013         While I've just introduced a dependency on BufferView this really is
13014         the best place to clean the buffer otherwise you need to cleanup in
13015         a dozen places before calling export or cleanup in a dozen functions
13016         that export calls.
13017
13018         * converter.C (runLaTeX):
13019         (scanLog): Better handling of removeAutoInsets and screen updates.
13020
13021         * lyxfunc.C (dispatch): small whitespace changes
13022
13023 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13024
13025         * WorkArea.C (C_WorkAreaEvent): return a value.
13026         (event_cb): return 1 if we handled the event, 0 otherwise.
13027
13028         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13029
13030 2002-03-18  Juergen Vigna  <jug@sad.it>
13031
13032         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13033         (GetAdditionalWidth): ditto.
13034         (RightLine): ditto.
13035         (LeftLine): ditto.
13036
13037         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13038         inset if we're there actually (probably not used right now but this
13039         is the direction to go for unifying code).
13040         (paste): disable code to clear the selection.
13041
13042         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13043         inside an InsetText and move the check further up as it is in the
13044         wrong place.
13045
13046         * text2.C (pasteSelection): set a selection over the pasted text.
13047
13048 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13049
13050         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13051         and libgraphics to build on Cygwin.
13052
13053 2002-03-15  Juergen Vigna  <jug@sad.it>
13054
13055         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13056         inserting an Inset into the paragraph. I know this is not the best
13057         fix but we already use current_view in CutAndPaste so we will remove
13058         all of it's using at the same time.
13059
13060         * buffer.C (sgmlError): deactivated function till it is rewritten in
13061         the right mode, now it can create problems.
13062
13063         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13064         before accessing it.
13065
13066 2002-03-14  Juergen Vigna  <jug@sad.it>
13067
13068         * undo_funcs.C (textHandleUndo): do the right thing when updating
13069         the inset after the undo/redo.
13070
13071         * text2.C (setCursor): just some testcode for #44 not ready yet.
13072
13073         * undo_funcs.C (textHandleUndo): set the next() and previous()
13074         pointers of the paragraph to 0 before deleting otherwise we have
13075         problems with the Paragraph::[destructor].
13076
13077         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13078         on a paragraph insertion.
13079
13080 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13081
13082         * buffer.C (asciiParagraph): use += operator for char append to
13083         string.
13084
13085         * paragraph.C (getFontSettings): compare >= not just >
13086         (highestFontInRange): ditto
13087         (setFont): ditto
13088
13089 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13090
13091         * paragraph.C: change several algorithm to be more appripriate for
13092         the problem domain. This is lookip in FontList and in the InsetList.
13093
13094 2002-03-13  André Pönitz <poenitz@gmx.net>
13095
13096         * commandtags.h:
13097         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13098
13099 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13100
13101         * commandtags.h:
13102         * LyXAction.C:
13103         * lyxfunc.C:
13104         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13105
13106 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13107
13108         * Painter.C (display): anon helper function, adjust code for this
13109         change.
13110         (pixmap): remove function.
13111
13112         * Painter.h: remove private display variable.
13113
13114         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13115
13116 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13117
13118         * WorkArea.[Ch]: remove figinset_canvas cruft.
13119
13120 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13121
13122         * lyxtextclass.C (operator): add one item cache optimization.
13123
13124         * bufferlist.h: doxy changes
13125
13126         * bufferlist.C: ws changes
13127
13128         * DepTable.[Ch] (ext_exist): place const in the right spot.
13129
13130         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13131         call resizeInsets.
13132         (workAreaExpose): call resizeInsets when the with BufferView changes.
13133         (Dispatch): adjust for protectedBlank removal
13134         (specialChar): call updateInset if the insert went ok.
13135
13136         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13137         specialChar instead.
13138
13139         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13140
13141         * BufferView.h: doxy change
13142
13143         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13144
13145         * lyxtextclass.C (operator[]): remove non-const version
13146         (defaultLayout): remove non-const version
13147
13148 2002-03-12  Juergen Vigna  <jug@sad.it>
13149
13150         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13151         did resize the LyXText too.
13152
13153         * buffer.C (readLyXformat2): set layout information on newly allocated
13154         paragraphs.
13155
13156         * tabular.C (OldFormatRead): set layout information on the paragraph.
13157
13158 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13159
13160         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13161
13162 2002-03-11  Juergen Vigna  <jug@sad.it>
13163
13164         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13165         plainly wrong.
13166         (resizeCurrentBuffer): force also the insets to resize themselfes.
13167         (moveCursorUpdate): fixed up for InsetText.
13168
13169 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13170
13171         * commandtags.h:
13172         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13173         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13174         value of Dialogs::tooltipsEnabled().
13175         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13176
13177 2002-03-08  Juergen Vigna  <jug@sad.it>
13178
13179         * BufferView_pimpl.C (updateInset): update inset inside inset also
13180         if it isn't inside theLockingInset().
13181
13182 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13183
13184         * buffer.C (asciiParagraph): redo some of the word and line length
13185         handling.
13186         (getLists): look for Caption instead of caption.
13187
13188 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13189
13190         * buffer.C (Buffer): initialize niceFile to true
13191         (makeLaTeXFile):
13192         (makeLinuxDocFile):
13193         (makeDocBookFile): make sure niceFile is true on exit
13194
13195 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13196
13197         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13198
13199 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13200
13201         * LyXSendto.C: remove.
13202         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13203         * lyx_gui.C: remove now-redundant comment.
13204         * ColorHandler.h: remove forward declaration of class WorkArea.
13205         * lyxfunc.C: remove #include "WorkArea.h".
13206
13207 2002-03-07  Juergen Vigna  <jug@sad.it>
13208
13209         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13210         got moved away with the DEPM and also set the inset_owner always
13211         right which before could have been omitted.
13212
13213 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13214
13215         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13216         wanted layout is not found.
13217
13218 2002-03-07  Juergen Vigna  <jug@sad.it>
13219
13220         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13221
13222 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13223
13224         * paragraph.C (breakParagraph): use default layout not layout of
13225         prev paragraph.
13226         (Paragraph): clear ParagraphParameters.
13227
13228 2002-03-06  Juergen Vigna  <jug@sad.it>
13229
13230         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13231         otherwise it would not be a valid lenght. Fixed a special case in
13232         the minipage compatibility read where we end the document with a
13233         minipage.
13234
13235         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13236         was set as it could be 0 for InsetTexts first entry.
13237
13238 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13239
13240         * paragraph.C (writeFile): if layout is empty write out
13241         defaultLayoutName().
13242
13243         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13244         file without named layout we set layout to defaultLayoutName().
13245
13246 2002-03-06  Juergen Vigna  <jug@sad.it>
13247
13248         * CutAndPaste.C (copySelection): set layout for new paragraph.
13249
13250         * text.C (prepareToPrint): leave ERT inset left aligned
13251         (leftMargin): don't indent paragraphs inside ERT insets
13252
13253 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13254
13255         * paragraph.C (breakParagraph): dont call clear do the work manually
13256
13257         * paragraph.[Ch] (clear): remove function
13258
13259 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13260
13261         * paragraph.C (Paragraph): dont call clear, the work has already
13262         been done.
13263
13264         * lyxtextclass.C (operator): assert if n is empty
13265
13266         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13267         work manually instead.
13268
13269 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13270
13271         * BufferView_pimpl.C: protect selectionLost against text == 0
13272
13273 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13274
13275         * text.C (breakParagraph): fix a setting layout to '0' problem.
13276
13277 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13278
13279         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13280         final location of file, for the included files, and graphics.
13281
13282 2002-03-05  Juergen Vigna  <jug@sad.it>
13283
13284         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13285
13286 2002-03-04  Juergen Vigna  <jug@sad.it>
13287
13288         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13289
13290         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13291         last column of multicolumn cells.
13292         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13293
13294 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13295
13296         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13297         file if it doesn't go to a temporary file.
13298
13299         * buffer.C (sgmlOpenTag):
13300         (sgmlCloseTag):  remove extra newline insertion.
13301
13302 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13303
13304         * text.C (getRowNearY): comment out debug msg
13305
13306 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13307
13308         * text2.C: first -> first_y
13309
13310         * text.C (getRowNearY): add some attemts at a possible
13311         optimization, not working.
13312
13313         * tabular.[Ch]: add BufferParams to several function so that newly
13314         created paragraph can be initialized to he default layotu for the
13315         buffers textclass.
13316
13317         * tabular-old.C (ReadOld): add buf->params to call of Init
13318
13319         * screen.C: rename text->first to text->first_y
13320
13321         * paragraph.C (breakParagraph): always set layout in the broken
13322         paragraph
13323
13324         * lyxtextclass.C (Read): remove lowercase
13325         (hasLayout): ditto
13326         (operator): ditto
13327         (delete_layout): ditto
13328
13329         * lyxtext.h: rename first -> first_y
13330
13331         * lyxlayout.C (Read): remove lowercase
13332         (name): ditto
13333         (setName): ditto
13334         (obsoleted_by): ditto
13335
13336         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13337
13338         * buffer.C (insertErtContents): add params are to InsetERT
13339         (parseSingleLyXformat2Token): add code to check if a paragraphs
13340         layout really exist.
13341         (parseSingleLyXformat2Token): add params to several inset
13342         constructors
13343         (asciiParagraph): remove lowercase, do the layout comparisons with
13344         no_case
13345
13346         * BufferView_pimpl.C (cursorNext): first -> first_y
13347         (resizeCurrentBuffer): first -> first_y
13348         (updateScrollbar): first -> first_y
13349         (scrollCB): first -> first_y
13350         (workAreaMotionNotify): first -> first_y
13351         (workAreaButtonPress): first -> first_y
13352         (checkInsetHit): first -> first_y
13353         (cursorPrevious): first -> first_y
13354         (cursorNext): first -> first_y
13355         (Dispatch): add buffer_->params to severl inset contructors
13356
13357 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13358
13359         * lyxlayout.C (Read): remove some debug info that I forgot.
13360
13361         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13362         clean up the code slightly.
13363         (makeLinuxDocFile): ditto
13364         (makeDocBookFile): ditto
13365
13366         * text2.C: layout as string
13367
13368         * text.C: layout as string
13369
13370         * paragraph_pimpl.C: layout as string
13371
13372         * paragraph.[Ch]: layout as string
13373
13374         * lyxtextclasslist.[Ch]: layout as string
13375
13376         * lyxtextclass.[Ch]: layout as string
13377
13378         * lyxtext.h: layout as string
13379
13380         * lyxlayout.[Ch]: layout as string
13381
13382         * lyx_cb.C: layout as string
13383
13384         * bufferview_funcs.C: layout as string
13385
13386         * bufferparams.C: layout as string
13387
13388         * buffer.C: layout as string
13389
13390         * LyXView.[Ch]: layout as string
13391
13392         * LaTeXFeatures.[Ch]: layout as string
13393
13394         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13395
13396         * BufferView_pimpl.C: change current_layout to string, remove
13397         lyx::layout_type.
13398         (Dispatch):
13399         (smartQuote):
13400         (insertInset):
13401         (workAreaButtonRelease): layout as string
13402
13403         * BufferView2.C (unlockInset): adjust
13404
13405         * vspace.C (asLatexCommand): use an explict temp variable.
13406
13407 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13408
13409         * Makefile.am: use FRONTEND_*
13410
13411 2002-03-01  Juergen Vigna  <jug@sad.it>
13412
13413         * tabular.C (SetWidthOfMulticolCell): changed to something better
13414         I hope but still work in progress.
13415         (recalculateMulticolumnsOfColumn): renamed function from
13416         recalculateMulticolCells as it is more appropriate now.
13417         (SetWidthOfCell): calculate multicols better.
13418
13419 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13420
13421         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13422
13423         * lyxfunc.C (processKeySym): print sequence also if it is
13424         `deleted' (complete)
13425
13426         * kbsequence.C (print): print sequence even if it is deleted
13427         (complete would be a better word, actually).
13428
13429         * lyxfunc.C (dispatch): print complete options after a prefix key
13430
13431         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13432
13433 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13434
13435         * text2.C (setCharFont): eliminate setCharFont code duplication.
13436
13437 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13438
13439         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13440         LFUN_TABULAR_FEATURE (bug #177)
13441
13442 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13443
13444         * Makefile.am: remove figure.h
13445
13446 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13447
13448         * Bufferview_pimpl.C:
13449         * CutAndPasteC:
13450         * LaTeX.C:
13451         * LyXSendto.C:
13452         * buffer.C:
13453         * bufferlist.C:
13454         * converter.C:
13455         * language.C:
13456         * lyxfunc.C:
13457         * lyxvc.C:
13458         * paragraph.C:
13459         * text.C:
13460         * text2.C: remove #include "lyx_gui_misc.h".
13461
13462         * LaTeX.C: added #include <cstdio>
13463
13464 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13465
13466         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13467         that the paragraph following this one can have.
13468
13469         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13470
13471         * vspace.C (asLatexCommand): fix bogus gcc warning
13472
13473         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13474
13475 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13476
13477         * text2.C (setLayout): get rid of redundant code
13478
13479 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13480
13481         * text2.C (incDepth): make sure depth cannot be increased beyond
13482         reasonable values.
13483
13484 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13485
13486         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13487         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13488
13489         * PainterBase.h (image):
13490         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13491         a LyXImage const *.
13492
13493 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13494
13495         * BufferView.C:
13496         * BufferView.h:
13497         * BufferView_pimpl.C:
13498         * BufferView_pimpl.h:
13499         * LaTeXFeatures.C:
13500         * LyXAction.C:
13501         * LyXView.C:
13502         * Makefile.am:
13503         * UpdateList.h:
13504         * UpdateList.C:
13505         * buffer.C:
13506         * figure.h:
13507         * figureForm.C:
13508         * figureForm.h:
13509         * figure_form.C:
13510         * figure_form.h:
13511         * lyx_cb.C:
13512         * lyx_gui.C:
13513         * lyx_gui_misc.C:
13514         * lyxfunc.C:
13515         * sp_base.h:
13516         * sp_ispell.h:
13517         * sp_pspell.h:
13518         * sp_spell.C: remove fig inset, and the crap house of
13519           cards that follows it
13520
13521 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13522
13523         * Makefile.am:
13524         * lyxserver.C:
13525         * os2_defines.h:
13526         * os2_errortable.h:
13527         * nt_defines.h: move .h into support/
13528
13529         * vms_defines.h: remove
13530
13531         * WorkArea.C: add space in debug output
13532
13533         * text2.C:
13534         * paragraph.C:
13535         * buffer.C: add WITH_WARNINGS
13536
13537         * vc-backend.h:
13538         * vc-backend.C:
13539         * bufferlist.C: s/retrive/retrieve/, add docs
13540
13541         * vspace.h:
13542         * vspace.C:
13543         * kbmap.h:
13544         * lyxlength.h:
13545         * lyxgluelength.h:
13546         * length_common.h:
13547         * chset.h:
13548         * chset.C: add docs
13549
13550         * lyxgui.C: add ID to X error handler
13551
13552         * lyxtestclass.c: fix typo
13553
13554 2002-02-26  Juergen Vigna  <jug@sad.it>
13555
13556         * tabular_funcs.C (write_attribute): changed so that some default
13557         attributes are not written at all.
13558         (getTokenValue): set default values before trying to read the
13559         value so we have the return value always set as default if we don't
13560         find the token we search for.
13561
13562         * tabular.C (Write): write bools as bools not as strings!
13563
13564 2002-02-22  Juergen Vigna  <jug@sad.it>
13565
13566         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13567         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13568
13569         * text.C (leftMargin): don't add an indent for paragraphs inside
13570         tabular cells (fix #208).
13571
13572 2002-02-21  José Matos  <jamatos@fep.up.pt>
13573
13574         * tabular.C (docBook): fixed support for long tables.
13575
13576 2002-02-20  Juergen Vigna  <jug@sad.it>
13577
13578         * text2.C (getFont): get the drawing font of the Inset if this
13579         paragraph is inside an inset (only important for InsetERT for now).
13580
13581         * buffer.C (insertErtContents): use new lanugage params in ERT
13582         constructor.
13583
13584         * CutAndPaste.C: commenting out seemingly uneeded code.
13585
13586 2002-02-19  Allan Rae  <rae@lyx.org>
13587
13588         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13589         Iterators might be simple to use but they also get invalidated.
13590         (removeAutoInsets): renamed saved cursor tracking variables and added
13591         some comments to clarify what everything does.
13592
13593 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13594
13595         * Chktex.C:
13596         * LaTeX.C:
13597         * LyXSendto.C:
13598         * converter.C:
13599         * lyx_cb.C:
13600         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13601         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13602
13603         * lyxfunc.C:
13604         * vc-backend.h: remove #include "support/syscall.h"
13605
13606         * LaTeX.C:
13607         * LyXSendto.C:
13608         * converter.C: rearrange #includes in Lars' approved fashion.
13609
13610         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13611         forward declare class Timeout in the header file.
13612
13613         * XFormsView.C: changes due to the above.
13614
13615         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13616         similar to LyXView.
13617
13618         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13619         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13620
13621 2002-02-18  José Matos  <jamatos@fep.up.pt>
13622
13623         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13624         insets contents.
13625
13626 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13627
13628         * a lot of small ws changes
13629         * add a lot of using std::XXX
13630         * use std construcs some places where approp.
13631         * use some exisint stuff from lyxfunctional where approp.
13632         * Make file changes to use partial linking (lets test this now...)
13633
13634 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13635
13636         * Chktex.C:
13637         * buffer.C:
13638         remove #include "support/syscontr.h" as it's redundant. Always has been.
13639
13640         * Chktex.C:
13641         * LaTeX.C:
13642         * LyXSendto.C:
13643         * converter.C:
13644         * lyx_cb.C:
13645         * vc-backend.C:
13646         change Systemcalls::System to Systemcalls::Wait and
13647         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13648         No change of functionality, just reflects the stripped down Systemcalls
13649         class.
13650
13651 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13652
13653         * debug.[Ch]: add a GRAPHICS type to the enum.
13654
13655 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13656
13657         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13658
13659         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13660         there is an inset.
13661
13662 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13663
13664         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13665         match the changes below.
13666
13667         * text2.C (toggleInset): if there is not editable inset at cursor
13668         position, try to see if cursor is _inside_ a collapsable inset
13669         and close it.
13670
13671 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13672
13673         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13674         document menu has a nice checkbox
13675
13676 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13677
13678         * lyxlength.C (asLatexString): change PW to output as percent of
13679         \textwidth.
13680
13681         * lengthcommon.C: change '%' to 't%'
13682
13683         * lyxfunc.C (dispatch): a few comments from Martin
13684
13685 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13686
13687         * WorkArea.h:
13688         * WorkArea.C:
13689         * BufferView_pimpl.h:
13690         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13691           the X selection.
13692
13693 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13694
13695         * vspace.C (inPixels): fix compiler warning
13696
13697 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13698
13699         * lyxfunc.C (getStatus): fix status message for disabled commands.
13700
13701 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13702
13703         * BufferView_pimpl.C: fix crash on close buffer
13704         during selection (#227)
13705
13706 2002-01-27  Herbert Voss  <voss@lyx.org>
13707
13708         * buffer.C: link old Figure to new graphic inset
13709
13710 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13711
13712         * FontLoader.C (getFontinfo): Change the latex font names in order
13713         to match the names of type1inst.
13714
13715 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13716
13717         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13718
13719         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13720         (extchanged): ditto
13721         (ext_exist): ditto
13722         (remove_files_with_extension): ditto
13723         (remove_file): ditto
13724         (write): ditto
13725
13726         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13727         document is smaller than the work area height. Do not initialize
13728         static variables to 0.
13729
13730 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13731
13732         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13733
13734         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13735         LFUN_LAYOUT_PARAGRAPHS.
13736
13737         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13738         tabular. It is possible to provide a possible cell, which will
13739         typically be the actcell from the corresponding insettabular
13740
13741         * lyxfunc.C (getStatus): small cleanup; disable
13742         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13743         true
13744
13745 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13746
13747         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13748
13749         * paragraph.C (startTeXParParams):
13750         (endTeXParParams): new methods. The LaTeX code to
13751         start/end paragraph formatting
13752         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13753         empty (fixes bug #200)
13754
13755         * vspace.C (inPixels): adapt to the change below
13756         (inPixels): [later] more cleanups (remove unused variables)
13757
13758         * lyxlength.C (inPixels): change to use a width and a height as
13759         parameter.
13760
13761 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13762
13763         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13764         Replaced with \paperwidth
13765
13766         * DepTable.C (insert): add std:: qualifier
13767
13768 2002-01-18  Allan Rae  <rae@lyx.org>
13769
13770         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13771         updated also?
13772
13773         * text.C (drawInset): Turned out I didn't know enough about how
13774         rebreaking worked.  This fixes most of the redraw problems.  I see
13775         an occasional cursor trail when a line is broken now and the cursor
13776         placement can seem out by a few pixels also after a rebreak.
13777
13778 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13779
13780         * buffer.C (parseSingleLyXformat2Token): update because minipage
13781         width is now a LyXLength
13782
13783         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13784
13785         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13786         math insets
13787
13788 2002-01-17  Juergen Vigna  <jug@sad.it>
13789
13790         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13791
13792         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13793         is set correctly and the inset is updated correctly.
13794
13795 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13796
13797         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13798         the beginning of the loop.
13799
13800 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13801
13802         * lyxrc.C: improve help for use_scalable_fonts
13803
13804 2002-01-17  Allan Rae  <rae@lyx.org>
13805
13806         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13807
13808 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13809
13810         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13811         make sure to set their inset_owner to the right value (bug #171)
13812
13813 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13814
13815         * DepTable.h
13816         * DepTable.C: Implement mtime checking to reduce time spent doing
13817         CRCs.
13818
13819 2002-01-16  Juergen Vigna  <jug@sad.it>
13820
13821         * tabular.C (GetAdditionalHeight): one of error fixed.
13822
13823         * lyxrc.C (output): small fix in writing use_pspell.
13824
13825 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13826
13827         * sp_base.h: #include LString.h
13828
13829 2002-01-16  Allan Rae  <rae@lyx.org>
13830
13831         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13832         Can someone check this please?
13833
13834         * text.C (drawInset): It was possible that p.row would be removed by
13835         breakAgainOneRow upsetting a few other settings.  There may be another
13836         small tweak possible by setting need_break_row = 0 when p.row has been
13837         removed but I don't know enough about the logic here.
13838
13839 2002-01-15  Allan Rae  <rae@lyx.org>
13840
13841         * text.C (insertChar): removed conditional truism.
13842
13843         * BufferView2.C (removeAutoInsets): More tweaks.
13844         cur_par_prev could be a stray pointer.  Check for trailing empty line
13845         in case last line was cur_par and only had an error inset on it.
13846
13847 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13848
13849         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13850         absolute
13851
13852         * vc-backend.C (most methods):
13853         * exporter.C (Export):
13854         * converter.C (convert):
13855         (runLaTeX):
13856         * LyXSendto.C (SendtoApplyCB):
13857         * lyxfunc.C (dispatch):
13858         (menuNew):
13859         (open):
13860         (doImport):
13861         * lyx_cb.C (AutoSave):
13862         (InsertAsciiFile):
13863         * BufferView_pimpl.C (MenuInsertLyXFile):
13864         * buffer.C (runChktex): use Buffer::filePath().
13865
13866         * buffer.h: rename filename to filename_; rename filepath to
13867         filepath_ and make it private
13868         (filePath): new method
13869
13870         * buffer.C (writeFile): use fileName()
13871         (getLatexName):
13872
13873         * lyx_main.C (init): fix starting  of LyX when the binary is a
13874         link from so,ewhere else.
13875
13876         * minibuffer.C: include <cctype> for isprint
13877
13878 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13879
13880         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13881         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13882         name clash with InsetCollapsable's width function.
13883
13884 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13885
13886         * lastfiles.C: include <iterator>
13887
13888 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13889
13890         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13891         std::count.
13892
13893         * buffer.C (makeLaTeXFile): ditto.
13894         Also make loop operation more transparent.
13895
13896 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13897
13898         * ToolbarDefaults.C: remove trailing comma closing namespace.
13899
13900         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13901
13902         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13903         as in WorkArea.
13904
13905         * trans.C (Load): comment out unused variable, allowed.
13906
13907 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13908
13909         * minibuffer.[Ch] (append_char): new method to recieve input from the
13910         drop-down completion browser. If a key was pressed, then recieve this
13911         char and append it to the existing string.
13912         (peek_event): modify the positioning data passed to the completion
13913         browser so that it can be placed above the minibuffer rather than below.
13914 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13915
13916         * LyXAction.C (init): alloe error-next for readonly documents.
13917
13918         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13919         count.
13920
13921 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13922
13923         * bufferlist.C (readFile): create the buffer _after_ checking that
13924         the file exists.
13925
13926         * lyxfunc.C (verboseDispatch): fix handling of arguments
13927
13928         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13929
13930         * lyxrc.C: use string::erase() instead of initializing to "".
13931
13932
13933 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13934
13935         * BufferView_pimpl.h:
13936         * BufferView_pimpl.C:
13937         * WorkArea.h:
13938         * WorkArea.C:
13939         * text2.C: tell X when we have made a selection for copying
13940
13941 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13942
13943         * BufferView_pimpl.C (MenuInsertLyXFile):
13944         * lyxfunc.C (menuNew):
13945         (open):
13946         (doImport): add shortcuts to directory buttons
13947
13948         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13949         open a float)
13950
13951         * lyxfunc.C (setStatusMessage):
13952         (getStatusMessage): new methods
13953         (getStatus):use setStatusMessage instead of setErrorMessage
13954         (dispatch): when function is disabled, set error message here
13955         [instead of in getStatus previously]
13956
13957         * BufferView_pimpl.C (workAreaButtonRelease): update
13958         toolbar/menubar here too.
13959
13960 2002-01-13  Allan Rae  <rae@lyx.org>
13961
13962         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13963         Now seems indestructible.  Remaining task is to audit all other
13964         code affected by deleteEmptyParagraphMechanism.  One small quirk
13965         left is that an empty document with an error in the preamble can
13966         be made to report an error but no error box appears.  I don't know
13967         where it goes.
13968         (removeAutoInsets): Improved comments.
13969
13970 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13971
13972         * Thesaurus.h:
13973         * Thesaurus.C: update for Aiksaurus 0.14
13974
13975 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13976
13977         * text2.C (firstParagraph): removed member function, all uses
13978         replaces with ownerParagraph
13979         (redoParagraphs): here
13980         (updateInset): here
13981         (toggleAppendix): here
13982         * BufferView2.C (insertErrors): here
13983         (setCursorFromRow): here
13984
13985 2002-01-13  Allan Rae  <rae@lyx.org>
13986
13987         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13988         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13989         There is still a way to segfault this although you may have to do this
13990         multiple times: Have an InsetERT with an unknown command in it.
13991         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13992         <down-arrow>, <Enter> again, View->DVI, BANG!
13993
13994         * text2.C (setCursor):
13995         (deleteEmptyParagraphMechanism):
13996         * lyxtext.h (setCursor):
13997         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13998         Making use of the return value may help fix other bugs.
13999
14000 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14001
14002         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14003
14004         * LyXView.C (updateMenubar): call MenuBar::update here
14005         (updateToolbar): but not here
14006         (showState): do not update toolbar/menubar
14007
14008         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14009         should need to care about that.
14010
14011         * lyxfunc.C (verboseDispatch): simplify a bit
14012         (getStatus): have a version which takes a pseudoaction, and
14013         another which requires a (kb_action,string).
14014
14015         * LyXAction.C (retrieveActionArg): make it work also when action
14016         is not a pseudo-action.
14017         (getActionName): simplify a bit
14018         (helpText):
14019
14020 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14021
14022         * lyxfunc.C (verboseDispatch): new families of methods with
14023         several ways to specify a command and a bool to indicate whether
14024         the command name and shortcut should be displayed in minibuffer
14025         (eventually, we could extend that to a finer bitmask like
14026         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14027         (dispatch): the pristine dispatch command which just, well,
14028         dispatchs! Note it still sets its result to minibuffer; I'm not
14029         sure we want that.
14030
14031         * lyxfunc.h: remove setHintMessage
14032
14033         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14034
14035 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14036
14037         * BufferView_pimpl.C (specialChar): delete new inset if we have
14038         not been able to insert it.
14039
14040         * kbmap.C: revert to using int instead of kb_action, since all we
14041         are dealing with is pseudo-actions.
14042
14043         * LyXAction.C (searchActionArg): change to return int instead of
14044         kb_action, since the result is a pseudoaction.
14045
14046 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14047
14048         * buffer.C (insertErtContents): Fix (partially) the font bug.
14049
14050 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14051
14052         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14053         as the other one is broken on my machine!
14054
14055 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14056
14057         * commandtags.h:
14058         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14059
14060 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14061
14062         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14063         reflect their actual use. Provide compatibility code for older lyxrc
14064         files.
14065
14066         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14067         FL_NORMAL_STYLE.
14068         change names of popup font variables in line with the changes to lyxrc.C
14069
14070 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14071
14072         * buffer.C (asciiParagraph): avoid outputing a word twice after
14073         an inset.
14074
14075         * lyxrc.C (getDescription): document that document_path and
14076         template_path can be empty.
14077
14078 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14079
14080         * LaTeXFeatures.C (getMacros):
14081         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14082
14083         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14084
14085         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14086         getPackages.
14087         (getPackages): rename feature "floats" to "float". Use an array to
14088         iterate over 'simple' features (i.e. just a \usepackage). Add
14089         handling of "amsmath" (renamed from "amsstyle").
14090
14091 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14092
14093         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14094         features list.
14095
14096 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14097
14098         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14099         FuncStaus::FuncStatus & FuncStaus::some_method().
14100
14101 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14102
14103         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14104         of the func_satus stuff. Edited and massaged in various ways by
14105         JMarc.
14106
14107         * lyxfunc.C (getStatus): use FuncStatus
14108
14109 2002-01-08  Juergen Vigna  <jug@sad.it>
14110
14111         * text.C (nextBreakPoint): use function Inset::isChar().
14112
14113         * paragraph.C (TeXOnePar): use function
14114         Inset::forceDefaultParagraphs.
14115
14116         * buffer.C (latexParagraphs): use function
14117         Inset::forceDefaultParagraphs.
14118
14119 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14120
14121         * lyx_gui.C (init): set the style of the menu popups to
14122         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14123
14124 2002-01-07  Juergen Vigna  <jug@sad.it>
14125
14126         * text.C (setHeightOfRow): small fix
14127         (prepareToPrint): don't look at alignment if we don't have the place
14128         for doing it.
14129
14130 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14131
14132         * box.C: New file. Move the Box methods and functions out of box.h,
14133         following Lars' suggestion.
14134
14135 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14136
14137         * box.h: #include "support/LOstream.h", needed for inlined function.
14138
14139         * lyxtextclass.C:
14140         * lyxtextclasslist.C: added some using std declarations.
14141
14142 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14143
14144         * box.h: make signed dimensions to allow insets wider than
14145           the screen (bug #162)
14146
14147         * BufferView_pimpl.C: add some insetHit debug
14148
14149 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14150
14151         * vc-backend.C: add FIXME
14152
14153 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14154
14155         * lyxfunc.C (getStatus): enable code for showing math font status
14156         in toolbar/menu.
14157
14158 2002-01-07  Juergen Vigna  <jug@sad.it>
14159
14160         * text.C (nextBreakPoint): removed debug output not needed anymore.
14161
14162 2002-01-06  Juergen Vigna  <jug@sad.it>
14163
14164         * text.C (nextBreakPoint): fixed up this function we had this bug
14165         since ever but now hopefully we break row better.
14166         (insertChar): we have to check if an inset is the next char as it
14167         could now happen that a large inset is causing a break.
14168
14169 2002-01-05  Juergen Vigna  <jug@sad.it>
14170
14171         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14172         if it doesn't like to be drawed.
14173
14174 2002-01-04  Juergen Vigna  <jug@sad.it>
14175
14176         * BufferView2.C (lockInset): forgot to set a cursor.
14177
14178         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14179
14180 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14181
14182         * FormMathsPanel.C:
14183         * FormMathsPanel.h
14184         * MathsSymbols.C:
14185         * form_maths_panel.C:
14186         * form_maths_panel.h:
14187         * form_maths_panel.fd: implemented sub- and super- buttons in math
14188         panel.
14189
14190         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14191         (or ^ space) to be used as in TeX (req'd by Andr�.
14192
14193         * lyxfunc.C: Allow ^ and _ again to be used both as
14194         super/subscript (mathed) and as themselves (in text).
14195
14196 2002-01-03  Allan Rae  <rae@lyx.org>
14197
14198         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14199         "LyX" or the filename of the current buffer if it has one.  This is a
14200         modified form of John Levon's patch.
14201
14202         * XFormsView.C (setWindowTitle): also set icon title.
14203
14204         * LyXView.h (setWindowTitle): signature changed.
14205         * XFormsView.h (setWindowTitle): ditto.
14206
14207 2002-01-02  Juergen Vigna  <jug@sad.it>
14208
14209         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14210
14211 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14212
14213         * screen.C (topCursorVisible): introduce a temp var for
14214         text->cursor.row(), handle the case where this row is null. (kindo
14215         hachish)
14216
14217         * text2.C (setCursor): add a couple of asserts.
14218
14219         * paragraph.h (inset_iterator): add -> operator
14220
14221         * paragraph.[Ch] (autoDeleteInsets): remove member function
14222
14223         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14224         cursor pos correctly and handle inset deletion by itself.
14225         (insertErrors): move iterator declaration out of for expression
14226
14227         * lyxtextclass.C: add <algorithm>
14228
14229         * Makefile.am: added the new files to sources, removed layout.C
14230
14231         * layout.C: removed file
14232
14233         * layout.h: remove LYX_DUMMY_LAYOUT
14234
14235         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14236         layout.
14237
14238         * lyxlayout.[Ch]:
14239         * lyxtextclass.[Ch]:
14240         * lyxtextclasslist.[Ch]: new files
14241
14242         * include order changes to a lot of files, also changes because of
14243         the six new files.
14244
14245 2001-12-27  Juergen Vigna  <jug@sad.it>
14246
14247         * buffer.C (asciiParagraph): more fixes.
14248
14249         * tabular.C (ascii): make ascii export support export of only the
14250         data separated by a column-delimiter.
14251         (ascii): better support for ascii export.
14252
14253         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14254
14255 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14256
14257         * tabular_funcs.C: use a "using std::getline" instead of the
14258         previous fix from Angus (necessary for cxx + lyxstring)
14259
14260 2001-12-24  Juergen Vigna  <jug@sad.it>
14261
14262         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14263
14264         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14265         problems. First check a minipage also if we have some ert-contents
14266         (not only on par->size(), second set the right depth of the paragraph
14267         on the relink to the root-paragraph-list!
14268
14269         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14270         which then did not anymore update the main paragraphs on undo/redo!
14271
14272 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14273
14274         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14275         code. Support all font-changing funcs (even those which are not in
14276         menu currently). Support for reporting font settings in
14277         mathed (disabled until Andre provides a function on mathed's side).
14278
14279         * func_status.h (toggle): small helper function to set toggle
14280         state on a flag.
14281
14282 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14283
14284         * tabular_funcs.C: getline -> std::getline
14285
14286 2001-12-21  Juergen Vigna  <jug@sad.it>
14287
14288         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14289         accessed and could be 0 (I couldn't generate this but it seems
14290         Michael could!).
14291
14292 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14293
14294         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14295         * tabular_funcs.h: here and include iosfwd
14296
14297 2001-12-20  Juergen Vigna  <jug@sad.it>
14298
14299         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14300         inside inset but undo_par was.
14301
14302 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14303
14304         * Thesaurus.C: always include <config.h> in sources.
14305
14306         * Painter.h:
14307         * lyxlookup.h:
14308         * box.h: do not include <config.h> in header files
14309
14310         * text.C (paintLastRow): remove unused variable
14311
14312         * text.C (transformChar):
14313         (insertChar):
14314         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14315
14316         * Painter.C (text):
14317         * font.C (width): rewrite to use uppercase() instead of
14318         islower/toupper.
14319
14320         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14321
14322 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14323
14324         * lyxfind.C: clean up of find failure position change
14325
14326 2001-12-20  Juergen Vigna  <jug@sad.it>
14327
14328         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14329
14330         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14331         (TeXRow): added to LaTeX a single tabular row.
14332         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14333         (Latex): simplified and finally good LT-h/f support.
14334         (various_functions): just small adaptions for LT-h/f support.
14335
14336         * tabular_funcs.[hC]: added and moved here all not classfunctions
14337         of LyXTabular.
14338
14339 2001-12-19  Juergen Vigna  <jug@sad.it>
14340
14341         * tabular.[Ch]: better support for longtabular options (not finished
14342         yet!)
14343
14344 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14345
14346         * text.C (paintLastRow): use the label font instead of the font of
14347         the last character to compute the size of *_BOX. This makes more
14348         sense and avoids a crash with empty paragraphs.
14349         Use Painter::rectangle to draw EMPTY_BOX.
14350
14351 2001-12-19  Juergen Vigna  <jug@sad.it>
14352
14353         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14354         the paragraphs if the replaced paragraph is not the first one!
14355         Tried to delete not used paragraphs but does not work yet so for
14356         now it's inside #ifdef's and by default off!
14357
14358 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14359
14360         * MenuBackend.C: include "lyx_main.h" instead of declaring
14361         lastfiles (actually was declared as LastFiles* instead of a
14362         scoped_ptr).
14363
14364 2001-12-17  Juergen Vigna  <jug@sad.it>
14365
14366         * tabular.C (AppendColumn): applied John's fix
14367
14368 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14369
14370         * BufferView.h:
14371         * BufferView.C:
14372         * BufferView_pimpl.h:
14373         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14374
14375         * Makefile.am:
14376         * box.h: new start of class for above
14377
14378         * lyxfunc.C: ignore space-only minibuffer dispatches.
14379           Show the command name when it doesn't exist
14380
14381         * minibuffer.C: don't add empty lines to the history
14382
14383         * minibuffer.C: add a space on dropdown completion
14384
14385 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14386
14387         * text.C: fix line above/below drawing in insets
14388
14389 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14390
14391         * lyxlength.C (LyXLength): Initialize private variables.
14392
14393 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14394
14395         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14396         when inserting error insets.
14397
14398 2001-12-13  Juergen Vigna  <jug@sad.it>
14399
14400         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14401         actually sometimes the before-paragraph.
14402         (setUndo): don't clear the redostack if we're not actually undoing!
14403
14404 2001-12-06  Juergen Vigna  <jug@sad.it>
14405
14406         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14407         and fixed redoing of main paragraph, so we can use it now ;)
14408
14409         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14410
14411 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14412
14413         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14414         Juergen's request
14415
14416 2001-12-13  André Pönitz <poenitz@gmx.net>
14417
14418         * undostack.[Ch]:
14419         * undo_func.C: minor cleanup
14420
14421 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14422
14423         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14424         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14425         font in urw-fonts package which is marked as -urw-fontspecific and
14426         does not work (incidentally, changing the encoding in the
14427         fonts.dir of this package to -adobe-fontspecific fixes the
14428         problem).
14429
14430         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14431         is a crash when undoing first paragraph (Juergen, please take a
14432         look). THis does not mean the undo fix is wrong, just that it
14433         uncovers problems.
14434
14435         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14436         the (Paragraph*) version when needed instead of duplicating the
14437         code.
14438
14439         * text.C (workWidth): use Inset::parOwner to find out where the
14440         inset has been inserted. This is a huge performance gain for large
14441         documents with lots of insets. If Inset::parOwner is not set, fall
14442         back on the brute force method
14443
14444         * paragraph_pimpl.C (insertInset):
14445         * paragraph.C (Paragraph):
14446         (cutIntoMinibuffer): set parOwner of insets when
14447         inserting/removing them
14448
14449         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14450
14451 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14452
14453         * commandtags.h:
14454         * LyXAction.C:
14455         * lyx_main.C:
14456         * lyxfunc.C:
14457         * mathed/formulabase.C:
14458         * mathed/math_cursor.[Ch]:
14459         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14460
14461
14462 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14463
14464         * lyxlength.[Ch] (operator!=): new function
14465
14466 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14467
14468         * text.C (workWidth): use Inset::parOwner to find out where the
14469         inset has been inserted. This is a huge performance gain for large
14470         documents with lots of insets. If Inset::parOwner is not set, fall
14471         back on the brute force method
14472
14473         * paragraph_pimpl.C (insertInset):
14474         * paragraph.C (Paragraph):
14475         (cutIntoMinibuffer): set parOwner of insets when
14476         inserting/removing them
14477
14478         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14479
14480 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14481
14482         * tabular-old.C (getTokenValue):
14483         * tabular.C (getTokenValue):
14484         (write_attribute): new versions for LyXLength
14485         (everywhere): adjust the use of widths
14486
14487         * tabular.h: change the type of widths from string to LyXLength
14488
14489 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14490
14491         * paragraph.C: fixed missing line number count when exporting
14492         Environments to LaTeX file
14493
14494         * buffer.C: added informational message for checking line numbers.
14495
14496 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14497
14498         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14499         paragraph, do the 'double space' part, but not the 'empty
14500         paragraph' one.
14501
14502         * text.C (workWidth): small optimization
14503         (getLengthMarkerHeight): use minimal size for negative lengths.
14504
14505 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14506
14507         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14508
14509         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14510
14511 2001-12-11  André Pönitz <poenitz@gmx.net>
14512
14513         * FontLoader.C:
14514         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14515
14516 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14517
14518         * text2.C: keep selection on a setFont()
14519
14520 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14521
14522         * lyx_cb.C: another bv->text misuse, from insert label
14523
14524 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14525
14526         * kbsequence.h:
14527         * kbsequence.C: re-instate nmodifier mask
14528
14529 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14530
14531         * lyx_main.h: make lyxGUI private.
14532
14533 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14534
14535         * lyxfind.C: place the cursor correctly on failed search
14536
14537 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14538
14539         * text.C (getLengthMarkerHeight): for small heights, the arrows
14540         are not always on top/bottom of the text
14541         (drawLengthMarker): smaller arrows; take the left margin in
14542         account; draw also vfills.
14543         (paintFirstRow):
14544         (paintLastRow): remove special code for vfill and standard spaces,
14545         since everything is handled in drawLengthMarker now.
14546
14547 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14548
14549         * buffer.C (insertErtContents): try to handle font and language
14550         interaction a bit better.g
14551
14552         * ColorHandler.C (updateColor): change the hash to cover the whole
14553         LColor enum, ws cleanup
14554         (getGCLinepars): ditto
14555         (getGCLinepars): only lookup in the linecache once.
14556
14557 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14558
14559         * iterators.C (operator++): Make the iterator more robust
14560
14561         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14562         (John's patch)
14563         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14564
14565 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14566
14567         * lyxtext.h:
14568         * text.C: better added space drawing
14569
14570 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14571
14572         * LyXView.C:
14573         * BufferView2.C: fix layout combo update on inset unlock
14574
14575 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14576
14577         * Makefile.am: don't compile unused files
14578
14579 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14580
14581         * lyxfunc.C:
14582         * commandtags.h:
14583         * LyXAction.C: remove old LFUN_LAYOUTNO
14584
14585 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14586
14587         * paragraph_pimpl.h:
14588         * paragraph_pimpl.C: isTextAt() doesn't need font param
14589
14590 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14591
14592         * lyxlex.h:
14593         * lyxlex.C: little cleanup
14594
14595 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14596
14597         * BufferView_pimpl.C: fix insertAscii for insets
14598
14599 2001-12-05  Juergen Vigna  <jug@sad.it>
14600
14601         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14602         set the right font on the "multi" paragraph paste!
14603
14604 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14605
14606         * trans_decl.h:
14607         * trans_mgr.[Ch]:
14608         * trans.[Ch]:
14609         * lyxgluelength.C:
14610         * lyxlength.C: remove out-commented code.
14611
14612         * BufferView_pimpl:
14613         * CutAndPaste.C:
14614         * DepTable.C:
14615         * buffer.C:
14616         * chset.C:
14617         * lastfiles.C:
14618         * lyxlex.C:
14619         * lyxlex_pimpl.C:
14620         * lyxserver.C:
14621         * screen.C:
14622         * tabular-old.C:
14623         * tabular.C:
14624         * text.C:
14625         * trans_mgr.C:
14626         * vc-backend.C: change "while(" to "while ("
14627
14628         * lyxlength.[Ch]: add zero function to check if length is zero or
14629         not
14630         * lyxgluelength.C: use it
14631
14632 2001-12-05  Allan Rae  <rae@lyx.org>
14633
14634         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14635         Works for 2.95.3, from what I understand of Garst's reports this should
14636         work for other g++ versions.  We're screwed if the abs(int) definition
14637         changed between bugfix releases of gcc.
14638
14639 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14640
14641         * text.C: fix chapter label offset !
14642
14643 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14644
14645         * lyxtext.h:
14646         * text.C: fix hfill at end of line, clean up
14647
14648 2001-12-04  Juergen Vigna  <jug@sad.it>
14649
14650         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14651         that we force an update of the inset and it's owners if neccessary.
14652
14653 2001-12-03  Juergen Vigna  <jug@sad.it>
14654
14655         * text.C (rowLast): simplified code
14656
14657 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14658
14659         * lyxfunc.C: fix show options on timeout
14660
14661 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14662
14663         * screen.C (topCursorVisible): scroll half a page when the cursor
14664         reached top of bottom of screen
14665
14666 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14667
14668         * minibuffer.C: deactivate on loss of focus
14669
14670 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14671
14672         * vspace.[Ch] (operator!=): add operator.
14673
14674 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14675
14676         * BufferView_pimpl.C: refuse to open an inset when
14677         there's a selection.
14678
14679 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14680
14681         * BufferView_pimpl.C: allow to click on RHS of full row insets
14682
14683 2001-11-30  Juergen Vigna  <jug@sad.it>
14684
14685         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14686         insets for undo reasons.
14687
14688 2001-11-28  André Pönitz <poenitz@gmx.net>
14689
14690         * vspace.[Ch]: cosmetical changes
14691
14692 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14693
14694         * LyXAction.h:
14695         * LyXAction.C:
14696         * lyxfunc.h:
14697         * lyxfunc.C:
14698         * kbmap.h:
14699         * kbmap.C:
14700         * lyxrc.C:
14701         * kbsequence.h:
14702         * kbsequence.C: part re-write of old kb code
14703
14704         * Painter.C:
14705         * WorkArea.C: remove Lgb_bug_find_hack
14706
14707 2001-11-30  José Matos <jamatos@fep.up.pt>
14708
14709         * buffer.C (makeDocBookFile): add a comment to point a hack.
14710         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14711         Fixed a double write of labels.
14712
14713 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14714
14715         * LaTeX.C:
14716         * LaTeX.h Fixed bug in LaTeX class where it would not
14717         re-run latex if no depfiles were changed, but the .dvi was removed.
14718
14719 2001-11-28  André Pönitz <poenitz@gmx.net>
14720
14721         * all the files from the change on 2001/11/26:
14722         use lyx::layout_type instead of LyXTextClass::size_type
14723         use lyx::textclass_type instead of LyXTextClassList::size_type
14724
14725 2001-11-29  Juergen Vigna  <jug@sad.it>
14726
14727         * text.C: added support for paragraph::isFreeSpacing()
14728
14729         * buffer.C: same as above
14730
14731         * paragraph.h: inserted isFreeSpacing() function to enable
14732         FreeSpacing inside InsetERT.
14733
14734         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14735         of the paragraph's in the cut/copy buffer to 0!
14736
14737         * text2.C (removeRow): remove the assert as it can!
14738
14739         * lyxtext.h: added helper function firstRow returning firstrow and
14740         made firstrow private again.
14741
14742         * BufferView2.C (lockInset): don't relock if we're already locked!
14743
14744         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14745         the only paragraph.
14746         (removeRow): added Assert::(firstrow)
14747
14748         * debug.C: forgot to add INSETTEXT here.
14749
14750 2001-11-28  Juergen Vigna  <jug@sad.it>
14751
14752         * sp_spell.C (initialize): changed error text to more general
14753         spellchecker command use (not only ispell!)
14754
14755         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14756
14757         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14758
14759 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14760
14761         * vspace.C: initialise lyxgluelength on failure
14762
14763 2001-11-28  Allan Rae  <rae@lyx.org>
14764
14765         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14766         declaration & definition that looks like a function declaration.
14767
14768 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14769
14770         * BufferView2.C (copy):
14771         (copyEnvironment): do not clear the selection when doing a copy.
14772
14773         * text.C (paintFirstRow): compilation fix
14774
14775 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14776
14777         * tabular.C (Latex): correct line count when writing latex.
14778
14779 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14780
14781         * paragraph_pimpl.h:
14782         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14783           bug a bit
14784
14785 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14786
14787         * text.C:
14788         * LColor.h:
14789         * LColor.C: change vfillline->added_space
14790
14791         * text.C: add markers and text for added space
14792
14793         * vspace.C: fix comment
14794
14795 2001-11-28  André Pönitz <poenitz@gmx.net>
14796
14797         * paragraph.C: whitespace changes
14798         * all the other files from the change on 2001/11/26:
14799         change *::pos_type into lyx::pos_type
14800
14801 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14802
14803         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14804         language of the document when inserting error insets.
14805
14806 2001-11-26  André Pönitz <poenitz@gmx.net>
14807
14808         * BufferView_pimpl.[Ch]:
14809         *       CutAndPaste.C:
14810         * buffer.[Ch]:
14811         * lyxcursor.[Ch]:
14812         * lyxfind.C:
14813         * lyxfunc.C:
14814         * lyxrow.[Ch]:
14815         * paragraph.[Ch]:
14816         * paragraph_pimpl.[Ch]:
14817         * sp_spell.C:
14818         * text.C:
14819         * text2.C: reduce header dependencies, introduce type for positions
14820
14821 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14822
14823         * <various>: change to use Alert.h
14824
14825 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14826
14827         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14828         when encountering an unknown token.
14829         (readLyXformat2): Show an error message if there were unknown tokens.
14830
14831 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14832
14833         * BufferView2.C:
14834         * BufferView_pimpl.C:
14835         * buffer.C:
14836         * paragraph.h:
14837         * text.C:
14838         * text2.C: use par->isInset()
14839
14840 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14841
14842         * paragraph_pimpl.h:
14843         * paragraph_pimpl.C: cleanup
14844
14845 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14846
14847         * text2.C (removeRow):
14848         * text.C (setHeightOfRow): remove useless (and costly) call to
14849         getRow.
14850
14851 2001-11-20  Allan Rae  <rae@lyx.org>
14852
14853         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14854         Now need Inset*::checkInsertChar() to return true for appropriate
14855         cases so that the characters in the minibuffer will actually be
14856         inserted.
14857
14858 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14859
14860         * text.C: change the order of the includes.
14861         (workWidth): initialize it at once.
14862         (workWidth): make maxw unsigned
14863         (setHeightOfRow): remove unused variable (inset)
14864         (selectSelectedWord): remove unused variable (inset)
14865         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14866
14867 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14868
14869         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14870         server is not running.
14871         (openConnection):
14872         (closeConnection): add debug info when server is disabled.
14873
14874         * ColorHandler.C (getGCForeground): send debug message to GUI
14875         channel.
14876
14877         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14878
14879         * kbmap.C (bind): modify because return conventions of
14880         kb_sequence::parse have changed.
14881
14882         * kbsequence.C (parse): only ignore spaces and not any stupid
14883         control character. This avoids tests like s[i] <= ' ', which are
14884         guaranteed to fail with 8bit characters and signed chars.
14885         Change return code to string::npos when there have been no error
14886         (0 was a bad idea when error is at first character)
14887
14888 2001-11-14  José Matos  <jamatos@fep.up.pt>
14889
14890         * buffer.h:
14891         * buffer.C (simpleDocBookOnePar): removed unused argument.
14892
14893 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14894
14895         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14896         insets which are part of a word. Paragraph::isLetter takes care of
14897         that now. Use Paragraph::isInset to identify insets.
14898         (selectSelectedWord): do not test for hyphenation break.
14899
14900         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14901         that protected spaces are considered as spaces.
14902
14903         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14904         Inset::isLetter.
14905
14906 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14907
14908         * lyxserver.h:
14909         * lyxserver.C: fix it. and small cleanup.
14910
14911 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14912
14913         * BufferView_pimpl.C: use inline helpers
14914
14915         * LaTeXFeatures.h:
14916         * LaTeXFeatures.C: fix typos
14917
14918         * Spacing.h:
14919         * Spacing.C: move spacing_string into class
14920
14921         * ToolbarDefaults.C: move stuff into namespace anon
14922
14923         * layout.h: update enum
14924
14925         * lyxfunc.C: use better debug
14926
14927         * minibuffer.h: fix typo
14928
14929         * debug.h:
14930         * debug.C:
14931         * WorkArea.C: add and use Debug::WORKAREA
14932
14933         * lyxtext.h:
14934         * text.C:
14935         * text2.C: code re-organisation, inline helpers
14936
14937 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14938
14939         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14940         std::vector.empty().
14941
14942 2001-11-09  Allan Rae  <rae@lyx.org>
14943
14944         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14945         '\n's after tables.  Tabular and ERT inset work now makes this no
14946         longer necessary.
14947
14948 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14949
14950         * minibuffer.h:
14951         * minibuffer.C: fix crash, improve drop-down completion
14952
14953 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14954
14955         * lyxserver.h:
14956         * lyxserver.C: invalidate fd's when doing endPipe()
14957
14958 2001-11-08  José Matos  <jamatos@fep.up.pt>
14959
14960         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14961         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14962
14963         * paragraph.h:
14964         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14965
14966 2001-11-07  José Matos  <jamatos@fep.up.pt>
14967
14968         * buffer.h:
14969         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14970         const qualifier.
14971
14972         * buffer.C (sgmlOpenTag):
14973         * buffer.C (sgmlCloseTag): removed debug info.
14974
14975         * buffer.h (sgmlOpenTag):
14976         * buffer.h (sgmlCloseTag): made public.
14977
14978 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14979
14980         * buffer.C (saveParamsAsDefaults):
14981         * lyx_cb.C (MenuLayoutSave): remove
14982
14983         * LyXAction.C (init):
14984         * commandtags.h:
14985         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14986
14987 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14988
14989         * buffer.C (setPaperStuff): removed from here...
14990
14991         * bufferparams.C (setPaperStuff): ... and moved there.
14992
14993 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14994
14995         * minibuffer.h:
14996         * minibuffer.C:
14997         * XFormsView.C: add support for drop-down completion
14998
14999 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15000
15001         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15002         commands.
15003
15004 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15005
15006         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15007         disabled.
15008
15009 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15010
15011         * lyx_main.C: change ref to known bugs
15012
15013 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15014
15015         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15016         to work around older babel problems.
15017
15018 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15019
15020         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15021
15022 2001-10-24  Juergen Vigna  <jug@sad.it>
15023
15024         * tabular-old.C (ReadOld): below variable changes reflected.
15025
15026         * tabular.[Ch]: added ltType struct for longtable header/footer
15027         defines and changed all instances where they are used. Added
15028         future support for double top/bottom rows.
15029
15030 2001-10-24  José Matos  <jamatos@fep.up.pt>
15031
15032         * buffer.h (docbookHandleCaption):
15033         * buffer.C (docbookHandleCaption): removed unused function.
15034         (makeDocBookFile): moved docbook supported version to v4.1.
15035
15036 2001-10-24  José Matos  <jamatos@fep.up.pt>
15037
15038         * tabular.h:
15039         * tabular.C (docbookRow): new function to export docbook code of a row.
15040         (DocBook): now honors the longtable flags.
15041
15042 2001-10-23  José Matos  <jamatos@fep.up.pt>
15043
15044         * LaTeXFeatures.h:
15045         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15046         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15047
15048         * buffer.C (makeLinuxDocFile):
15049         (makeDocBookFile): reworked the preamble, more clean, and with
15050         support for lyx defined entities. Changed the document declaration
15051         to be more XML friendly.
15052
15053         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15054         if we need to output XML that should be done with a filter.
15055
15056 2001-10-22  Juergen Vigna  <jug@sad.it>
15057
15058         * sp_pspell.h (class PSpell): add alive function needed in the
15059         controller to see if the spellchecker could be started.
15060
15061 2001-10-22  Juergen Vigna  <jug@sad.it>
15062
15063         * buffer.C (insertStringAsLines): modify the font for inserting
15064         chars in certain conditions by calling checkInsertChar(font).
15065
15066 2001-10-19  Juergen Vigna  <jug@sad.it>
15067
15068         * text.C (workWidth): use getRow instead of wrong algorithm.
15069         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15070
15071 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15072
15073         * lyxserver.h:
15074         * lyxserver.C:
15075         * lyx_main.h:
15076         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15077
15078 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15079
15080         * text.C (workWidth): do not search for the exact row when
15081         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15082         optimization for big documents.
15083
15084 2001-10-18  Juergen Vigna  <jug@sad.it>
15085
15086         * text.C (workWidth): new function with added Inset * parameter.
15087
15088 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15089
15090         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15091
15092         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15093         change return type of getColumnNearX.
15094
15095
15096         * text.C (changeRegionCase): use uppercase/lowercase instead of
15097         toupper/tolower.
15098         (leftMargin):
15099         (rightMargin): simplify code by factoring out the uses of
15100         textclasslist.
15101         (labelFill):
15102         (numberOfHfills):
15103         (setHeightOfRow):
15104         (appendParagraph): use Paragraph::size_type
15105
15106 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15107
15108         * vspace.C (asLatexString): add a missing break
15109
15110 2001-10-15  Herbert Voss  <voss@perce.de>
15111
15112         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15113
15114 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15115
15116         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15117         is not available.
15118
15119 2001-10-10  André Pönitz <poenitz@gmx.net>
15120
15121         * lyxfunc.C: removed greek_kb_flag.
15122
15123 2001-10-10  Herbert Voss  <voss@perce.de>
15124
15125         * lyx_main.C: delete global string help_lyxdir.
15126
15127 2001-10-09  Herbert Voss  <voss@perce.de>
15128
15129         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15130
15131         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15132
15133         * lyx_main.C: added global string help_lyxdir.
15134
15135         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15136
15137 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15138
15139         * lyxrc.C (set_font_norm_type): support iso8859-4
15140
15141 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15142
15143         * LaTeX.C (deplog): add another regex for MikTeX
15144
15145 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15146
15147         * lyxrc.C (set_font_norm_type): support iso8859-3
15148
15149 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15150
15151         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15152
15153         * LaTeXFeatures.C: remove special case of french and index
15154
15155         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15156         before \begin{document}). This solves several incompatibilities.
15157
15158 2001-10-03  Garst Reese  <reese@isn.net>
15159
15160         * lyx_cb.C: change CheckTex error msg.
15161
15162 2001-10-03  José Matos  <jamatos@fep.up.pt>
15163
15164         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15165
15166 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15167
15168         * .cvsignore: update
15169
15170         * lyx_main.C (commandLineVersionInfo): use new style version info.
15171
15172         * buffer.C (writeFile):
15173         (makeLaTeXFile):
15174         (makeLinuxDocFile):
15175         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15176
15177         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15178
15179         * version.h: update to use stuff in version.C
15180
15181         * version.C.in: new file. Contains version information determined
15182         at compile time. This is a merging of version.h and
15183         version_info.h.in.
15184
15185 2001-10-03  Juergen Vigna  <jug@sad.it>
15186
15187         * BufferView_pimpl.C (update): don't change "dirty" status in
15188         updateInset call.
15189
15190 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15191
15192         * WorkArea.C (c-tor): re-position version string slightly.
15193
15194 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15195
15196         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15197         revert to previous code.
15198
15199         WorkArea.[Ch]: (show, destroySplash): methods removed.
15200
15201         WorkArea.C: rework code so that it's an amalgam of the codes before and
15202         after the splash screen was moved to WorkArea.
15203
15204 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15205
15206         * lyxrc.C (read):
15207         * vspace.C (inPixels):
15208         (lyx_advance):
15209         * kbmap.C (bind):
15210         * buffer.C (insertStringAsLines):
15211         (asciiParagraph): fix types to be large enough
15212
15213         * lyxlex_pimpl.h: change member status from short to int
15214
15215         * layout.h: fix type of endlabeltype
15216
15217         * kbmap.C (bind):
15218         * kbsequence.C (parse): change return type to string::size_type
15219
15220         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15221         variable
15222
15223         * Bullet.C (bulletSize):
15224         (bulletEntry): do not use short ints as parameters
15225
15226         * BufferView2.C (insertLyXFile): change a char to an int.
15227
15228         * WorkArea.C (WorkArea): remove unneeded floats in computation
15229
15230 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15231
15232         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15233
15234         * paragraph.C (asString): Do not ignore newline/hfill chars when
15235         copying to the clipboard.
15236
15237 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15238
15239         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15240         after a multi-line inset.
15241
15242 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15243
15244         * paragraph.C (validate): Set NeedLyXFootnoteCode
15245
15246 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15247
15248         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15249         and decrease-error to decrease.
15250
15251 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15252
15253         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15254         it more readable (should be equivalent)
15255
15256 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15257
15258         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15259
15260 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15261
15262         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15263         of a cursor (row, etc.) after a character has been deleted
15264         (deleteEmptyParagraphMechanism): call the method above on _all_
15265         cursors held by the LyXText when a double space has been
15266         detected/deleted.
15267
15268 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15269
15270         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15271         pixmap.
15272         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15273
15274         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15275         background. Use greyOut() and the new show() methods to toggle between
15276         the foreground and background. Add code to remove the splash after
15277         its initial showing.
15278
15279         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15280         (create_forms): no longer call Dialogs::showSplash.
15281
15282 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15283
15284         * .cvsignore: add version_info.h
15285
15286 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15287
15288         * version_info.h.in: new file
15289
15290         * Makefile.am: add version_info.h.in
15291
15292         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15293         version_info.h instead of VERSION_INFO
15294
15295 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15296
15297         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15298         The ERT inset now returns string().
15299
15300 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15301
15302         * lyxtext.h, text.C (selectNextWord): renamed as
15303         selectNextWordToSpellcheck.
15304
15305         * text.C (selectNextWordToSpellcheck): Modified to not select
15306         words inside an ERT inset.
15307
15308 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15309
15310         * lyx_cb.C (MenuLayoutSave): change a bit the question
15311
15312         * sp_base.h: include <sys/types.h>
15313
15314 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15315
15316         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15317
15318 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15319
15320         * several files: fix typos in user-visible strings
15321
15322 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15323
15324         * text2.C (pasteSelection): do not set the selection, since it
15325         will be cleared later. Actually, the intent was to fix the way the
15326         selection was set, but I figured rmoving the code was just as good.
15327
15328 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15329
15330         * FontLoader.C (available): Check if font is available without
15331         loading the font.
15332
15333 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15334
15335         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15336
15337 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15338
15339         * lyxrc.[Ch]: added display_graphics variable and associated code.
15340
15341 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15342
15343         * bufferparams.C (hasClassDefaults): new method. Returns true if
15344         the buffer parameters correspond to known class defaults
15345
15346 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15347
15348         * XFormsView.C (show): set minimum size to the main window.
15349
15350 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15351
15352         * text2.C (copySelection):
15353         (cutSelection):
15354         * lyxfind.C (LyXReplace):
15355         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15356         LyXText::selectionAsString.
15357
15358         * paragraph.C (asString): add "label" argument to the second form
15359
15360         * text2.C (selectionAsString): add "label" argument and pass it to
15361         Paragraph::asString.
15362
15363 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15364
15365         * lyx_main.C (commandLineHelp): remove version information
15366
15367 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15368
15369         * lyx_main.C: add -version commandline option
15370
15371 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15372
15373         * paragraph.h: make the optional constructor arg required instead.
15374         some modifications to other files because of this.
15375
15376         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15377
15378         * lyxserver.C (C_LyXComm_callback): make it static
15379
15380         * lyx_main.C (error_handler): make it static
15381
15382         * lyx_gui.C (LyX_XErrHandler): make it static
15383
15384         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15385
15386         * WorkArea.C: make the extern "C" methods static.
15387
15388         * Makefile.am (lyx_LDADD): simplify
15389
15390 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15391
15392         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15393         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15394
15395         * LyXAction.C (init):
15396         * lyxfunc.C (dispatch): associated code removal.
15397
15398 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15399
15400         * lyxfont.h (isSymbolFont): shut off warning
15401
15402         * text.C (setHeightOfRow):
15403         (getVisibleRow): fix crash with empty paragraphs which have a
15404         bottom line
15405
15406 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15407
15408         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15409         code.
15410
15411 2001-09-04  José Matos  <jamatos@fep.up.pt>
15412         * buffer.C
15413         * buffer.h
15414         * tabular.C (docbook): rename docBook method to docbook.
15415
15416 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15417
15418         * Makefile.am: add dependencies to main.o.
15419
15420 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15421
15422         * FontLoader.C (available): Return false if !lyxrc.use_gui
15423
15424 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15425
15426         * FontInfo.C (query):
15427         * converter.C (view):
15428         * importer.C (Import):
15429         * exporter.C (Export): Can not -> cannot.
15430
15431 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15432
15433         * BufferView_pimpl.C: allow to create index inset even if
15434           string is empty
15435
15436 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15437
15438         * buffer.C (getLists): replace boost::tie code with an explicit pair
15439         as boost::tie can break some compilers.
15440
15441         * iterators.h: Added a std:: declaration to the return type of
15442         ParIterator::size.
15443
15444 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15445
15446         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15447           case.
15448
15449 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15450
15451         * iterators.[Ch]: New files. Provide paragraph iterators.
15452
15453         * buffer.C (changeLanguage): Use paragraph iterators.
15454         (isMultiLingual): ditto
15455
15456         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15457
15458 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15459
15460         * FontLoader.C: Support for cmr font.
15461
15462 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15463
15464         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15465         (available): New method.
15466
15467         * FontInfo.C (getFontname): Use scalable fonts even when
15468         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15469         found.
15470
15471 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15472
15473         * converter.C (Formats::view): reverted! Incorrect fix.
15474
15475 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15476
15477         * converter.C (Formats::view): only output the -paper option
15478         if the dvi viewer is xdvi, thereby fixing bug #233429.
15479
15480 2001-08-23  Herbert Voss  <voss@perce>
15481
15482         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15483
15484 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15485
15486         * Spacing.h (Spacing): Set space to Default on in the default
15487         constructor.
15488
15489 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15490
15491         * vc-backend.h (RCS::versionString): add RCS to version
15492         (CVS::versionString): add CVS to version
15493
15494         * vc-backend.C (scanMaster): do not add CVS to version.
15495         (scanMaster): do not add RCS to version
15496
15497         * lyxvc.C (versionString): new method
15498
15499         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15500
15501 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15502
15503         * Spacing.C (set): initialize fval
15504
15505 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15506
15507         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15508         " or \.
15509
15510 2001-08-16  Juergen Vigna  <jug@sad.it>
15511
15512         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15513
15514 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15515
15516         * BufferView_pimpl.C:
15517         * figureForm.C:
15518         * lyxtext.h:
15519         * text2.C: setParagraph takes linespacing now
15520
15521 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15522
15523         * LyxAction.C: add internal LFUN_CITATION_INSERT
15524
15525         * LyXView.C: actually apply fix
15526
15527         * bufferlist.C: fix open non-existent file
15528
15529         * lyxfind.C: fix indentation
15530
15531         * lyxfunc.C: remove unneeded assert, fix typo
15532
15533 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15534
15535         * MenuBackend.C: use "Floatname List"
15536
15537 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15538
15539         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15540         when converting LaTeX layout to insetERT.
15541         Generate a non-collapsed float when reading old float
15542
15543 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15544
15545         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15546         ERT insets.
15547
15548 2001-08-13  Juergen Vigna  <jug@sad.it>
15549
15550         * text.C (fill): return 0 instead of 20 as this seems to be the more
15551         correct value.
15552
15553 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15554
15555         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15556         lyxrc.font_norm.
15557
15558 2001-08-13  Juergen Vigna  <jug@sad.it>
15559
15560         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15561         casesensitive off.
15562         (SearchBackward): comment out the unlocking of the inset_owner this
15563         should not be needed!
15564
15565 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15566
15567         * Many files: Remove inherit_language, and add latex_language
15568
15569         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15570         collapsible insets.
15571
15572 2001-08-10  Juergen Vigna  <jug@sad.it>
15573
15574         * text.C (prepareToPrint): fixed hfill-width in draw!
15575
15576         * BufferView2.C (selectLastWord): save the selection cursor as this
15577         now is cleared in the function LyXText::clearSelection!
15578
15579 2001-08-08  Juergen Vigna  <jug@sad.it>
15580
15581         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15582         BACKSPACE type functions.
15583
15584         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15585         is only cutted from the document but not put in the cut-buffer, where
15586         still the old stuff should be.
15587
15588         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15589
15590         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15591
15592         * tabular.C (SetWidthOfCell): fixed special case where the width
15593         was not updated!
15594         (LeftLine): handle '|' in align_special.
15595         (RightLine): ditto
15596         (LeftAlreadyDrawed): ditto
15597         (SetWidthOfCell): ditto
15598
15599 2001-08-07  Juergen Vigna  <jug@sad.it>
15600
15601         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15602
15603 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15604
15605         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15606         * lyxlex.[hC]: ditto
15607
15608 2001-08-06  Juergen Vigna  <jug@sad.it>
15609
15610         * text.C (getVisibleRow): fix up row clearing a bit.
15611
15612 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15613
15614         * minibuffer.C: make sure the X server sees the changes in the input.
15615
15616 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15617
15618         * paragraph.C (getFont): split into...
15619         (getLabelFont): this
15620         (getLayoutFont): and this
15621         * paragraph_pimpl.C (realizeFont): calling this
15622
15623         * text2.C (getFont): split into...
15624         (getLayoutFont): this
15625         (getLabelFont): and this
15626         (realizeFont): all three calling this
15627
15628         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15629         files where used.
15630
15631 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15632
15633         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15634
15635 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15636
15637         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15638         layouts from the Quote inset insertion.
15639
15640 2001-08-03  Juergen Vigna  <jug@sad.it>
15641
15642         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15643
15644         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15645         only if status not is already CHANGED_IN_DRAW (second level).
15646
15647         * text.C (draw): don't set the need_break_row when inside an
15648         InsetText LyXText.
15649
15650 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15651
15652         * buffer.C (parseSingleLyXformat2Token): handle more latex
15653         conversion cases.
15654
15655         * bufferview_funcs.[hC]: change function names to
15656         begin with small char, adjust other files.
15657
15658 2001-08-02  André Pönitz <poenitz@gmx.net>
15659
15660         * lyxfunc.C:
15661         BufferView_pimpl.C: remove broken special code for math-greek
15662
15663 2001-08-02  Juergen Vigna  <jug@sad.it>
15664
15665         * BufferView_pimpl.C (update): redone this function so that we
15666         update the text again if there was a CHANGE_IN_DRAW.
15667
15668         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15669         (drawFromTo): added a new internal bool which is used by draw() and
15670         redraw() function.
15671         (general): some cursor drawing problems fixed.
15672
15673 2001-08-01  Juergen Vigna  <jug@sad.it>
15674
15675         * lyxfind.C (LyXFind): fixed
15676         (SearchForward): ditto
15677         (SearchBackward): ditto
15678
15679         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15680         spurius drawing of the cursor in the main area.
15681
15682         * text2.C (status): small fix which could lead to a segfault!
15683         (clearSelection): remove unneeded BufferView param.
15684
15685 2001-08-01  André Pönitz <poenitz@gmx.net>
15686
15687         * lyxfunc.C: small change due to changed mathed interface
15688
15689 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15690
15691         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15692
15693 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15694
15695         * lyxfunc.c: fail gracefully if file doesn't exist
15696
15697         * LyXSendto.C:
15698         * buffer.C:
15699         * lyxfunc.C:
15700         * BufferView_pimpl.C: IsDirWriteable() proto changed
15701
15702         * LyXView.C: fix updateWindowTitle() to store the last title
15703
15704 2001-07-31  Juergen Vigna  <jug@sad.it>
15705
15706         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15707         the font (wrong since using of Paragraph::highestFontInRange).
15708
15709         * paragraph.C (highestFontInRange): added a default_size parameter.
15710
15711         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15712         (setHeightOfRow): reformat
15713
15714 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15715
15716         * converter.[hC] + affected files: move to (inital-char)lowercase
15717         function names.
15718
15719         * ParagraphParameters.C (ParagraphParameters): remove commented code
15720
15721         * PainterBase.[Ch]: remove commented code
15722
15723         * LaTeXFeatures.h: add "bool floats" for float.sty
15724
15725         * LaTeXFeatures.C (LaTeXFeatures): init floats
15726         (require): handle float
15727         (getPackages): do it with floats
15728
15729 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15730
15731         * BufferView_pimpl.C (Dispatch): improve handling of
15732         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15733
15734         * commandtags.h: #include lyxfont.h here temporarily to avoid
15735         keybinding bug.
15736
15737         * bufferlist.h: include LString.h here.
15738
15739 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15740
15741         * text2.C (getStringToIndex): new method.
15742
15743 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15744
15745         * *: Reduced header file dependencies all over.
15746
15747 2001-07-30  Baruch Even  <baruch@lyx.org>
15748
15749         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15750
15751 2001-07-29  Baruch Even  <baruch@lyx.org>
15752
15753         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15754
15755 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15756
15757         * ParameterStruct.h (endif): add a default constructor to make
15758         sure that all variables is initialized.
15759
15760         * ParagraphParameters.C (ParagraphParameters): adjust
15761
15762 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15763
15764         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15765         index; also, check that there is something to index, and that it
15766         does not span over several paragraphs.
15767         (doubleClick): use WHOLE_WORD_STRICT for double click.
15768
15769         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15770
15771         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15772         scheme.
15773
15774 2001-07-26  Baruch Even  <baruch@lyx.org>
15775
15776         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15777         an InsetFig figure, backwards compatible reading of old figure code.
15778
15779 2001-07-27  Juergen Vigna  <jug@sad.it>
15780
15781         * text2.C: font.realize function adaption.
15782
15783         * text.C (draw): add a warnings lyxerr text if needed.
15784
15785         * layout.C: font.realize function adaption.
15786
15787         * language.C: add inherit_language and implement it's handlings
15788
15789         * bufferview_funcs.C (StyleReset): remove language parameter from
15790         font creation (should be language_inherit now).
15791
15792         * bufferparams.C (writeFile): handle ignore_language.
15793
15794         * paragraph.C (getFontSettings): the language has to be resolved
15795         otherwise we have problems in LyXFont!
15796
15797         * lyxfont.C (lyxWriteChanges): added document_language parameter
15798         (update): removed unneeded language parameter
15799
15800         * paragraph.C (validate): fixed wrong output of color-package when
15801         using interface colors for certain fonts in certain environments,
15802         which should not seen as that on the final output.
15803
15804 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15805
15806         * BufferView_pimpl.C:
15807         * Thesaurus.h:
15808         * Thesaurus.C:
15809         * Makefile.am:
15810         * commandtags.h:
15811         * LyXAction.C: add thesaurus support
15812
15813         * lyxfind.h:
15814         * lyxfind.C: add "once" parameter, for thesaurus, to not
15815           move to the next match
15816
15817 2001-07-26  Juergen Vigna  <jug@sad.it>
15818
15819         * lyxfont.C (realize): honor ignore_language too!
15820         (resolved): ditto.
15821
15822         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15823
15824         * text.C (draw): one place more for ignore_language to not draw
15825         itself!
15826
15827 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15828
15829         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15830
15831 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15832
15833         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15834         the minipage conversion problem.
15835
15836 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15837
15838         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15839         insert an inset.
15840
15841 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15842
15843         * BufferView.h: don't forward declare WorkArea
15844
15845         * BufferView.C: don't include WorkArea.h
15846
15847 2001-07-25  André Pönitz <poenitz@gmx.net>
15848
15849         * commandtags.h:
15850         * LyXAction.C:
15851         * lyxfunc.C:  new LFUN 'math-space'
15852
15853         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15854
15855 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15856
15857         * text2.C (toggleInset): call open/close
15858
15859 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15860
15861         * lyxfunc.C (dispatch): add debug for the disabled case
15862
15863         * font.C (buttonText): make similar to rectText
15864
15865         * buffer.C (readInset): comment out parsing of insetlist and
15866         insttheorem
15867
15868         * PainterBase.C (rectText): small correction
15869
15870         * BufferView_pimpl.C: comment out insettheorem and insetlist
15871         * LyXAction.C: ditto
15872         * commandtags.h: ditto
15873
15874 2001-07-24  Juergen Vigna  <jug@sad.it>
15875
15876         * text.C (draw): honor the ignore_language.
15877
15878         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15879
15880 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15881
15882         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15883         char inset.
15884
15885 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15886
15887         * lyxtext.h: remove unused (and unimplemented) methods
15888
15889 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15890
15891         * text.C (getVisibleRow): honor background color
15892
15893         * PainterBase.h:
15894         * Painter.h: remove default color argument for fillRectangle
15895
15896         * text.C (backgroundColor): new method
15897
15898 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15899
15900         * text.C (getVisibleRow): adjust
15901
15902         * font.[Ch] (rectText): new method, metrics
15903         (buttonText): new method, metrics
15904
15905         * PainterBase.[hC]: make rectText and buttonText always draw and take
15906         fewer paramteres.
15907
15908 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15909
15910         * ToolbarDefaults.C (read):
15911         * MenuBackend.C (read): allow escaping in all strings
15912
15913         * BufferView_pimpl.C (insertAndEditInset): new method.
15914         (Dispatch): use insertAndEditInset whenever appropriate.
15915
15916         * BufferView_pimpl.C (insertNote): removed
15917
15918         * BufferView_pimpl.C (smartQuote): new method, moved from
15919         BufferView; if an insetquote cannot be inserted, insert a '"'
15920         character instead.
15921
15922         * BufferView2.C: remove insertCorrectQuote();
15923
15924         * lyxfunc.C (getStatus): Add support for all remaingin
15925         inset-insert lfuns.
15926
15927         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15928
15929         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15930         command (necessary to pass " as parameter of self-insert.
15931
15932         * text.C (selectWordWhenUnderCursor):
15933         (selectWord): add word_location parameter
15934         (selectWordWhenUnderCursor): same + remove special code for word
15935         boundary.
15936         (selectNextWord): use kind() to guess type of insetspecialchar,
15937         not latex().
15938
15939         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15940         (insertErtContents): create ert insets as collapsed.
15941         (readInset): better compatibility code for Info inset.
15942
15943 2001-07-20  Juergen Vigna  <jug@sad.it>
15944
15945         * lyxfunc.C (dispatch): use always LyXFind now!
15946
15947         * text2.C (init): add a reinit flag so that the LyXText can be
15948         reinited instead of deleted and reallocated (used in InsetText).
15949
15950         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15951
15952         * text.C: ditto
15953
15954         * text2.C: ditto
15955
15956 2001-07-18  Juergen Vigna  <jug@sad.it>
15957
15958         * text.C (selectNextWord): handle insets inside inset by calling
15959         always the bv->text functions so that we can go up the_locking_inset!
15960
15961         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15962         in strange locations when inside an inset!
15963
15964         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15965         handling to include insets.
15966
15967         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15968
15969 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15970
15971         * LyXAction.C (init):
15972         * commandtags.h:
15973         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15974         LIGATURE_BREAK, since the name is so stupid.
15975
15976 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15977
15978         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15979         InsetInfos.
15980
15981         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15982
15983         * sp_form.[Ch]: remove.
15984
15985         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15986
15987         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15988         InsetInfo.
15989
15990         * src/buffer.C (readInset): ditto.
15991
15992 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15993
15994         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15995         menuSeparator(), endOfSentenceDot(), ldots() and
15996         hyphenationPoint(), which are therefore removed.
15997         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15998
15999         * LyXAction.C (init):
16000         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16001
16002         * paragraph.C (getWord): removed.
16003
16004         * BufferView_pimpl.C (Dispatch): use last word or selection for
16005         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16006
16007         * lyx_main.C (queryUserLyXDir): do not ask before creating
16008         user_dir, except if it has been named explicitely.
16009
16010 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16011
16012         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16013         a document of zero size.
16014
16015 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16016
16017         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16018         approriately in the c-tor and in require().
16019         (getPackages): output the appropriate LaTeX for natbib support.
16020
16021         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16022         variables "use_natbib" and "use_numerical_citations" when reading the
16023         LyX file.
16024         (readInset): read the various natbib cite commands.
16025         (validate): white-space change.
16026
16027         * bufferparams.[Ch]: new variables "bool use_natbib" and
16028         "bool use_numerical_citations".
16029         (writeFile): output them in the LyX file.
16030
16031 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16032
16033         * lyxfunc.C (getStatus): add support for all the inset insertion
16034         commands.
16035
16036         * text2.C (insertInset):
16037         * paragraph.C (insetAllowed):
16038         * BufferView_pimpl.C (insertInset): update to take in account the
16039         renaming of insertInsetAllowed
16040
16041         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16042
16043         * text2.C (getInset): new method. returns inset at cursor position.
16044
16045         * BufferView_pimpl.C (Dispatch): changes because of this.
16046
16047         * LyXAction.C (init): rename open-stuff to inset-toggle.
16048
16049         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16050
16051         * text2.C (toggleInset): renamed from openStuff; use
16052         Inset::open().
16053
16054 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16055
16056         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16057
16058         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16059
16060 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16061
16062         * buffer.C (readLyXformat2): Add filename to the error dialog
16063
16064 2001-07-18  Juergen Vigna  <jug@sad.it>
16065
16066         * tabular.C (GetCellNumber): put an assert here instead of the check!
16067
16068 2001-07-17  Juergen Vigna  <jug@sad.it>
16069
16070         * BufferView_pimpl.C (toggleSelection): adapted too.
16071
16072         * text.C (selectNextWord): adapted for use with insets.
16073         (selectSelectedWord): ditto
16074
16075 2001-07-17  Juergen Vigna  <jug@sad.it>
16076
16077         * sp_spell.C (PSpell): fix initialitation order.
16078
16079 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16080
16081         * paragraph.C: spacing
16082
16083 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16084
16085         * sp_spell.C: repair language selection for pspell
16086
16087 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16088
16089         * lyxfunc.h: change more methods to begin with lower char.
16090
16091 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16092
16093         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16094         for unknown layouts.
16095
16096 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16097
16098         * buffer.C (readLyXformat2): Generate an error dialog if there are
16099         unknown layouts.
16100
16101 2001-07-16  Juergen Vigna  <jug@sad.it>
16102
16103         * sp_spell.C: always compile ISpell part.
16104
16105         * lyxrc.C: added use_pspell entry and it's handling.
16106
16107 2001-07-13  Juergen Vigna  <jug@sad.it>
16108
16109         * sp_spell.C: removed double includes.
16110
16111 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16112
16113         Consistent use of Lsstream.h:
16114         * Lsstream.h: added using std::stringstream for consistencies sake.
16115
16116         * buffer.C: removed using std::stringstream
16117
16118         * lyxfont.C (stateText):
16119         * paragraph.C (asString):
16120         * text.C (selectNextWord, selectSelectedWord):
16121         * text2.C (setCounter):
16122         * vspace.C (asString, asLatexString):
16123         std::ostringstream -> ostringstream.
16124
16125 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16126
16127         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16128         * commandtags.h: add LFUN_HELP_ABOUTLYX
16129         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16130
16131 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16132
16133         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16134         cursorToggle()
16135         * lyx_gui_misc.C: remove spellchecker
16136         * lyxfunc.C: showSpellchecker
16137         * sp_base.h: added
16138         * sp_ispell.h: added
16139         * sp_pspell.h: added
16140         * sp_spell.C: added
16141         * sp_form.[Ch]: removed
16142         * spellchecker.[Ch]: removed
16143
16144 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16145
16146         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16147         is set.
16148         (simpleTeXSpecialChars): Simply print the input character without
16149         any special translation if pass_thru is set.
16150
16151         * layout.h: Added bool pass_thru to layout class for being able to
16152         implement pass through of a paragraph for Literate Programming.
16153
16154         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16155         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16156         * layout.C (Read): add "passthru" to list of layout tags and add
16157         code to set the pass_thru boolean when it is read.
16158
16159 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16160
16161         * trans_decl.h: remove allowed from KmodInfo
16162
16163         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16164         remove allowed code
16165         (Load): adjust
16166
16167         * paragraph_pimpl.C (erase): use boost::prior
16168
16169         * Painter.C (text): use data() instead of c_str() when length is
16170         also provided.
16171         * WorkArea.C (putClipboard): ditto
16172         * font.h (width): ditto
16173
16174         * BufferView2.C: use it-> instead of (*it). for iterators
16175         * texrow.C: ditto
16176         * paragraph_pimpl.C: ditto
16177         * paragraph.C: ditto
16178         * minibuffer.C: ditto
16179         * language.C: ditto
16180         * kbmap.C: ditto
16181         * encoding.C: ditto
16182         * counters.C: ditto
16183         * converter.C: ditto
16184         * chset.C: ditto
16185         * Variables.C: ditto
16186         * TextCache.C: ditto
16187         * MenuBackend.C: ditto
16188         * LyXAction.C: ditto
16189         * LColor.C: ditto
16190         * FloatList.C: ditto
16191         * DepTable.C: ditto
16192         * ColorHandler.C (LyXColorHandler): ditto
16193
16194 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16195
16196         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16197
16198         * text2.C (openStuff): reintroduce this method (which had been
16199         nuked in NEW_INSETS frenzy).
16200
16201         * lyxfunc.C (Dispatch): when an action has not been handled, use
16202         its name in the error message, not its number.
16203
16204         * paragraph.C (inInset): change method name to begin with lowercase.
16205
16206         * undo_funcs.C:
16207         * text2.C: updates because of this.
16208
16209 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16210
16211         * ToolbarDefaults.C (add): add spaces in error message
16212
16213 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16214
16215         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16216         (readLyXformat2): rename return_par to first_par, use lyxlex's
16217         pushToken and remove the manual push handling.
16218         (parseSingleLyXformat2Token): add another ert comp. variable:
16219         in_tabular, rename return_par to first_par. handle newlines better
16220
16221 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16222
16223         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16224
16225 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16226
16227         * text2.C (getParFromID): removed
16228
16229         * buffer.C (getParFromID): new method moved form lyxtext.
16230         * BufferView2.C (insertErrors): adjust
16231         (setCursorFromRow): adjust
16232         * BufferView_pimpl.C (restorePosition): adjust
16233         * lyxfunc.C (Dispatch): adjust
16234         * undo_funcs.C (textUndo): adjust
16235         (textRedo): adjust
16236         (textHandleUndo): adjust
16237         (textHandleUndo): adjust
16238
16239 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16240
16241         * buffer.C: up' the LYX_FORMAT
16242
16243         * lyxfont.h: turn NO_LATEX on as default
16244
16245         * buffer.C (insertErtContents): new methods of tex style compability.
16246         (parseSingleLyXformat2Token): use it several places.
16247         * tabular.C (OldFormatRead): and here
16248
16249 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16250
16251         * text2.C: remove some commented code.
16252         reindent file.
16253
16254         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16255         * trans.C: changes because of the above.
16256
16257 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16258
16259         * text2.C (setCounter): Fix counters bug with bibliography layout.
16260
16261 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16262
16263         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16264         own member functions
16265         (simpleTeXSpecialChars): ditto
16266
16267 2001-07-06  Juergen Vigna  <jug@sad.it>
16268
16269         * a lot of files: changed the access to LyXText::status and the
16270         call of undo-functions.
16271
16272         * undo.[Ch]: added a inset_id to the undo informations.
16273
16274         * undo_funcs.[Ch]: added and moved here all undo functions.
16275
16276         * lyxtext.h: give the status enum a weight, made status_ a private
16277         variable and made accessor functions for it, removed the whole bunch
16278         of undo-functions as they are now in their own file, make some
16279         functions publically available. Added function ownerParagraph with
16280         int parameter.
16281
16282         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16283         made InInset() a const function, added getParFromID() function.
16284
16285         * buffer.[Ch]: added const version for inset_iterator functions,
16286         added getInsetFromID() function.
16287
16288         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16289         changed undo functions for new version.
16290
16291 2001-07-05  Juergen Vigna  <jug@sad.it>
16292
16293         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16294         unknow mechanism does not call the proper constructor but only this
16295         one also if I request the other!?
16296
16297 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16298
16299         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16300
16301         * text2.C (LyXText): use initialization lists.
16302
16303         * lyxtext.h (Selection): initialize set_ and mark_
16304         (init): remove method
16305
16306 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16307
16308         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16309
16310 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16311
16312         * screen.[Ch]: change method names to begin with lowercase
16313
16314         * BufferView_pimpl.C (updateScrollbar): simplify further and
16315         hopefully make it a bit faster.
16316
16317 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16318
16319         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16320         calling directly xforms functions.
16321
16322         * Painter.C (Painter):
16323         * lyx_cb.C (MenuWrite):
16324         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16325         fl_display.
16326
16327         * lyx_gui.C: remove bogus guiruntime extern declaration.
16328
16329 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16330
16331         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16332         in NEW_INSETS
16333         (redoDrawingOfParagraph): ditto
16334         (redoParagraphs): ditto
16335         (cutSelection): don't create a object for CutAndPaste use the
16336         static method directly
16337         (pasteSelection): ditto
16338
16339         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16340         LyXview (+ rename)
16341
16342 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16343
16344         * modifications to some other files because of this.
16345
16346         * Makefile.am (lyx_SOURCES): add XFormsView
16347
16348         * XFormsView.[Ch]: new files
16349
16350         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16351         the main window. Move the gui dependent stuff to XFormsView
16352
16353 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16354
16355         * tabular.C (GetCellInset): update cur_cell also in the row/col
16356         version of this function.
16357
16358         * lyxfunc.C: no need to include figure_form.h here.
16359
16360         * FontLoader.h:
16361         * lyxfunc.h:
16362         * lyxscreen.h:
16363         * text2.C:
16364         * lyxvc.C: no need to include forms.h here.
16365
16366 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16367
16368         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16369
16370         * lyxfunc.C (Dispatch):
16371         * Spacing.C (set):
16372         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16373         constructor argument.
16374
16375 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16376
16377         * paragraph.C (Paragraph): dont't clear, and just set layout.
16378         (makeSameLayout): use params's copy contructor.
16379
16380         * ParagraphParameters.[Ch] (makeSame): delete method
16381
16382 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16383
16384         * Variables.[Ch]: fix indentation, rename set to isSet
16385
16386 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16387
16388         * lyxfunc.C (Dispatch): fix typo
16389
16390 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16391
16392         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16393         upper_bound.
16394
16395         * bufferlist.C: include assert.h for emergencyWrite().
16396
16397 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16398
16399         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16400           give up at last (bug #425202) !
16401
16402 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16403
16404         * lyx_gui_misc.C:
16405         * sp_form.h:
16406         * sp_form.C:
16407         * spellchecker.h:
16408         * spellchecker.C: strip spellchecker options and bring up
16409           preferences tab instead
16410
16411 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16412
16413         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16414         the istringstream constructor
16415
16416 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16417
16418         * paragraph.C (getLayout): fix return value
16419
16420         * paragraph.h: do not declare getLayout as inline.
16421
16422         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16423
16424 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16425
16426         * lyxcursor.h (operator<): new func
16427         (operator>): new func
16428         (operator>=): new func
16429         (operator<=): new func
16430
16431         * text.C (changeCase): use selection.start and selection.end
16432         (changeRegionCase): require from to be <= to. Require par to be a
16433         valid paragraph.
16434
16435         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16436
16437 2001-06-27  Juergen Vigna  <jug@sad.it>
16438
16439         * text.C (cursorLeftOneWord): changed to return the cursor and added
16440         overlay with BufferView * parameter which calls this one.
16441         (getWord): added
16442         (selectWord): use new getWord function.
16443         (changeCase): renamed from changeWordCase as and extended to work
16444         also on selections.
16445
16446         * lyxtext.h: added enum word_location
16447
16448         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16449         changeCase as this operates now also on selections.
16450
16451 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16452
16453         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16454
16455         * many files: send debug output to Debug::INFO instead of
16456         Debug::ANY.
16457
16458         * converter.C (View):
16459         (Convert):
16460         (Move): send debug output to Debug::FILES instead of console.
16461
16462 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16463
16464         * lyxfunc.C (getStatus): use func_status
16465
16466         * func_status.h: new header, describing the results of
16467         LyXFunc::getStatus;
16468
16469         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16470         LFUN_MATH_HALIGN.
16471
16472 2001-06-25  The LyX Project  <jug@sad.it>
16473
16474         * buffer.C (sgmlOpenTag):
16475         (sgmlCloseTag):
16476         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16477
16478 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16479
16480         * text2.C: remove some dead code
16481
16482         * tabular.C (GetCellInset): store the last cell checked (gotten)
16483
16484         * tabular.h: add the helper for the speedup
16485
16486         * lyxtext.h: remove some dead code
16487
16488 2001-06-26  The LyX Project  <Asger>
16489
16490         * paragraph.C: Change export to LaTeX of alignment to
16491         \begin{center} and family for better roundtrip work with reLyX.
16492
16493         * Tune the math drawing a bit.
16494
16495 2001-06-25  The LyX Project  <Asger>
16496
16497         * LColor.C (LColor): New color for math background. New color
16498         for buttons.
16499
16500 2001-06-25  The LyX Project  <jug@sad.it>
16501
16502         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16503
16504         * lyxfunc.C (Open):
16505         * bufferlist.C (newFile): do not restrict to files ending with
16506         .lyx
16507
16508         * BufferView_pimpl.C (MenuInsertLyXFile):
16509
16510 2001-06-24  The LyX Project  <jug@sad.it>
16511
16512         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16513         of compare_no_case
16514
16515 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16516
16517         * lyxtext.h: rename most methods to begin with a small char.
16518         Lots of changes because of this.
16519
16520         * paragraph.C (Paragraph): do not call fitToSize
16521         (erase): call Pimpl::erase
16522         (insertChar): call Pimpl::insertChar
16523         (insertInset): call Pipl::insertInset
16524         (breakParagraph): do not call fitToSize
16525         (breakParagraphConservative): do not call fitToSize
16526         (fitToSize): remove method
16527
16528         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16529
16530 2001-06-24  The LyX Project  <Asger>
16531
16532         * Fix Qt compilation^2
16533
16534 2001-06-24  The LyX Project  <jug@sad.it>
16535
16536         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16537         depthHook(getDepth()-1).
16538
16539         * paragraph.h:
16540         * ParagraphParameters.h:
16541         * ParameterStruct.h: change type of depth to unsigned int ==
16542         depth_type. Many adaptations to other files before of that.
16543
16544 2001-06-24  The LyX Project  <Asger>
16545
16546         * Fix Qt compilation.
16547
16548 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16549
16550         * paragraph.h: renamed several methods to begin with small letter.
16551         several changes to many parts of the code because of this.
16552
16553 2001-06-23  The LyX Project  <jug@sad.it>
16554
16555         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16556         rewritten to discard all double spaces when KeepEmpty is off
16557         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16558         to only handle newlines but not fiddle with spaces and friends.
16559
16560         * lyxfunc.C (MenuNew): when doing 'new from template', use
16561         template_path as default directory
16562
16563 2001-06-23  The LyX Project  <Asger>
16564
16565         * Clean-up of header file includes all over
16566         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16567
16568 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16569
16570         * paragraph.h: renamed from lyxparagraph.h
16571
16572 2001-06-23  Asger  <lyx@violet.home.sad.it>
16573
16574         * Buffer.h: Removed Buffer::resize
16575         * BufferList.h: Removed BufferList::resize
16576         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16577         the document lazily when we change the width, or the font settings.
16578
16579 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16580
16581         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16582
16583 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16584
16585         * buffer.h: remove out of date comment
16586
16587 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16588
16589         * lyxscreen.h:
16590         * screen.C: fix "theoretical" GC leak
16591
16592 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16593
16594         * LaTeX.C (scanAuxFile):
16595         (deplog): remove trailing \r when reading stream (useful under
16596         win32)
16597
16598 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16599
16600         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16601         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16602         and BufferView::theLockingInset(Inset*), so should use them and not
16603         access bv_->text->the_locking_inset directly.
16604
16605         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16606
16607 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16608
16609         * Makefile.am:
16610         * tex-defs.h: remove old unused file
16611
16612 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16613
16614         * BufferView_pimpl.C: fix typo, remove minibuffer message
16615           when buffer has loaded
16616
16617 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16618
16619         * lyxfunc.C (Dispatch): use stringstream
16620         (MenuNew): use stringstream
16621         (Open): use stringstream
16622
16623         * importer.C (Import): use stringstream
16624
16625         * bufferview_funcs.C (CurrentState): use stringstream
16626
16627         * LaTeX.C (run): use stringstream
16628
16629         * BufferView_pimpl.C (savePosition): use stringstream
16630         (restorePosition): use stringstream
16631         (MenuInsertLyXFile): use stringstream
16632
16633 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16634
16635         * BufferView.C:
16636         * Bullet.C:
16637         * ColorHandler.C:
16638         * FontInfo.C:
16639         * FontLoader.C:
16640         * LColor.C:
16641         * LaTeXFeatures.C:
16642         * Painter.C:
16643         * gettext.C:
16644         * lyx_gui_misc.C:
16645         * lyxserver.C:
16646         * vspace.C: removed // -*- C++ -*- as first line.
16647
16648         * lyxfind.h:
16649         * version.h: added // -*- C++ -*- as first line.
16650
16651 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16652
16653         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16654
16655         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16656         of string
16657
16658 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16659
16660         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16661         of floats.
16662
16663 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16664
16665         * gettext.C: include LString.h even when --disable-nls is on.
16666
16667 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16668
16669         * converter.h (Get): changed argument type from int to
16670         FormatList::size_type to avoid unnecessary conversion.
16671
16672         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16673         before using it.
16674
16675 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16676
16677         * gettext.h: include LString.h even when --disable-nls is on.
16678
16679 2001-06-07  Juergen Vigna  <jug@sad.it>
16680
16681         * text.C (BreakAgain): subst spaces with tabs.
16682
16683         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16684         (resizeInsetsLyXText): set force on resizeLyXText.
16685
16686 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16687
16688         * gettext.h (gettext_init):
16689         (locale_init): use a real definition instead of a macro
16690
16691 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16692
16693         * Bufferview_pimpl.C:
16694         * LColor.h:
16695         * LColor.C: further lcolor tidies
16696
16697 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16698
16699         * BufferView_pimpl.C (updateScrollbar): simplify.
16700
16701         * BufferView2.C: don't include insets/insetinfo.h, change
16702         prototype for insertInset and call the Pimpl version. let
16703         updateInset call Pimpl version.
16704
16705         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16706         gotoInset to BufferView::Pimpl
16707
16708 2001-06-01  Juergen Vigna  <jug@sad.it>
16709
16710         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16711         inside a LockingInset (is the update needed at all?).
16712
16713 2001-05-31  Juergen Vigna  <jug@sad.it>
16714
16715         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16716         here not the old one otherwise how should we compare it afterwards
16717         if it's the same!
16718
16719 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16720
16721         * lyxfont.C:
16722         * tabular.C:
16723         * tabular-old.C:
16724         * FontInfo.C: bring C functions into global namespace when
16725         necessary
16726
16727 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16728
16729         * LString.h: make sure config.h has been loaded before LString.h.
16730
16731         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16732         (one for each char read by EatLine!).
16733
16734         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16735         variables.
16736
16737 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16738
16739         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16740         to the same as the par we break from
16741
16742 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16743
16744         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16745
16746         * MenuBackend.C (expand): also create menu entries for wide
16747         versions of the floats.
16748
16749         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16750
16751         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16752
16753         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16754         frontends/Makefile.am
16755
16756         * text2.C: adjust
16757         * text.C: adjust
16758
16759
16760         * tabular.C (getTokenValue): add std::
16761
16762         * tabular-old.C (getTokenValue): add std::
16763         (getTokenValue): ditto
16764         (getTokenValue): ditto
16765
16766         * screen.C (ToggleSelection): adjust
16767
16768         * lyxtext.h: put selection cursors inside a Selection struct.
16769
16770         * lyxfunc.C (moveCursorUpdate): adjust
16771
16772         * lyxfont.C (latexWriteStartChanges): add std::
16773
16774         * lyxfind.C: adjust
16775
16776         * font.h: delete with(char const *, LyXFont const &)
16777
16778         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16779
16780         * FontInfo.C (getFontname): add std::
16781
16782         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16783         (workAreaButtonPress): adjust
16784         (tripleClick): adjust
16785         (update): adjust
16786         (moveCursorUpdate): adjust
16787         (Dispatch): adjust
16788
16789         * BufferView2.C (gotoInset): adjust
16790
16791 2001-05-30  Juergen Vigna  <jug@sad.it>
16792
16793         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16794         to check pspell I add this as default as I now have new pspell
16795         libraries and they seem to use this.
16796
16797 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16798
16799         * text2.C (CutSelection): make the cursor valid before the call to
16800         ClearSelection.
16801
16802 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16803
16804         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16805         relied on 0 terminated strings and other horrors. Bug found due to
16806         the new assert in lyxstring!
16807
16808         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16809         KP_ keys.
16810
16811 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16812
16813         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16814         to latinkeys.bind.
16815
16816         * lyxfunc.C (processKeySym): change method of getting to the
16817         self-insert char.
16818
16819         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16820         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16821         * BufferView_pimpl.[Ch]: here as private methods.
16822
16823 2001-05-28  Juergen Vigna  <jug@sad.it>
16824
16825         * text.C (SetHeightOfRow): added the update() call again as it is
16826         needed to initialize inset dimensions!
16827
16828 2001-05-16  Juergen Vigna  <jug@sad.it>
16829
16830         * text2.C (SetCharFont): Add new function with BufferView * and
16831         bool toggleall parameters for setting insets internal fonts.
16832         (SetFont): Freeze the undo as we may change fonts in Insets and
16833         all this change should be inside only one Undo!
16834
16835         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16836         setting font's in insets as for them we have the SetFont function!
16837
16838 2001-05-15  Juergen Vigna  <jug@sad.it>
16839
16840         * text2.C (ClearSelection): to be sure we REALLY don't have any
16841         selection anymore!
16842
16843         * tabular.C (TeXCellPreamble): fixed the left border problem for
16844         multicolumn cells.
16845
16846 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16847
16848         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16849         dependancy file
16850
16851 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16852
16853         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16854         LFUN_BREAKPARAGRAPH.
16855
16856         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16857         help test to "internal only", similar for LFUN_INSERT_URL
16858
16859         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16860         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16861         auto_region_delete and deadkeys.
16862
16863 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16864
16865         * LColor.h:
16866         * LColor.C: remove some dead entries, tidy a little
16867
16868 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16869
16870         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16871         commented code.
16872         (Dispatch): implement LFUN_ESCAPE
16873
16874         * commandtags.h: add LFUN_ESCAPE
16875
16876         * LyXAction.C (init): add entry for LFUN_ESCAPE
16877
16878         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16879         Remove commented code.
16880         (insertNote): moved here
16881         (open_new_inset): moved here
16882
16883         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16884         BufferView_pimpl
16885
16886 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16887
16888         * kbmap.C (findbinding): clean it up and make it work correctly.
16889
16890         * lyx_main.C (init): do not pass argc and argv as parameters
16891
16892 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16893
16894         * buffer.C: fix path for OS/2 & Win32
16895
16896         * lyx_gui.C:
16897         * lyx_main:
16898         * lyx_main.C: Added os:: class.
16899
16900         * os2_defines.h: update
16901
16902 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16903
16904         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16905         better by trying again with reduced state.
16906
16907 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16908
16909         * lyxrc.C (read): print error about invalid key sequence only when
16910         debugging (because not all latinX keysyms are known to some X
16911         servers)
16912
16913         * kbsequence.C (getiso): add a few std:: qualifiers
16914         (getiso): comment out extra return statement.
16915
16916 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16917
16918         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16919         handling.
16920         (Dispatch): enhance the accent inset a bit. (not perfect)
16921
16922 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16923
16924         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16925
16926 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16927
16928         * bufferlist.C (emergencyWrite): fix assert() call
16929
16930 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16931
16932         * text.C (InsertChar): Added trivial patch to only send the "you
16933         can not do multiple spaces this way" message once during a
16934         session.
16935
16936 2001-05-08  Baruch Even  <baruch@lyx.org>
16937
16938         * Makefile.am: Changed order of libraries to get LyX to link properly
16939         with the gnome frontend.
16940
16941 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16942
16943         * LaTeXFeatures.h: add a std:: qualifier
16944
16945 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16946
16947         * paragraph.C (String): use stringstream
16948
16949 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16950
16951         * paragraph.C (writeFile): remove footflag arg
16952
16953         * buffer.C (makeLaTeXFile): use stringstream
16954         (latexParagraphs): remove footnot gurba
16955
16956         * LaTeXFeatures.C (getPackages): use stringstream
16957         (getMacros): likewise
16958         (getTClassPreamble): likewise
16959         (getFloatDefinitions): new method
16960
16961         * paragraph.C (writeFile): reindent
16962         (Erase): reindent
16963
16964         * WorkArea.h: revert the xpos + etc changes.
16965
16966         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16967
16968         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16969
16970         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16971         (pasteSelection): likewise
16972         * text2.C (CreateUndo): likewise
16973
16974 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16975
16976         * minibuffer.C (peek_event): temporarily reduce the functionality
16977         of the minibuffer (to allow args on lfuns)
16978
16979         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16980         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16981
16982         * buffer.C (readInset): add compability reading of old float
16983         lists, add reading of new style float list.
16984         (readInset): avoid reevaluation of inscmd.getCmdName()
16985         (getLists): reindent
16986
16987         * MenuBackend.C (MenuItem): implement parsing of
16988         md_floatlistinsert and md_floatinsert.
16989         (expand::LastFiles): move initalizaton of iterators out of loop,
16990         avoid reevaluation.
16991         (expand::Documents): introduce typdedef vector<string> Strings,
16992         and use it.
16993         (expand::ExportFormats): introduce typedef vector<Format const *>
16994         Formats, and use it.
16995         (expand): implement FloatListInsert and FloatInsert.
16996
16997         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16998         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16999         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17000
17001         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17002         handling.
17003         (Dispatch::LFUN_FLOAT_LIST): implement
17004
17005 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17006
17007         * LaTeX.C (run): Fix problem with --export code.
17008
17009 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17010
17011         * BufferView.[Ch] (workarea): removed.
17012         (getClipboard) new method; wrapper for workarea()->getClipboard()
17013
17014         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17015         bug.
17016
17017         * WorkArea.h (width, height, xpos, ypos): These methods all
17018         returned the dimensions of the work_area sub-area of WorkArea,
17019         resulting in a position error if the WorkArea were resized. Now
17020         return the dimensions of the entire WorkArea.
17021
17022         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17023
17024 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17025
17026         * LaTeX.C (deplog): correct the syntax of regex reg1
17027
17028 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17029
17030         * undo.C: remove !NEW_INSETS cruft
17031
17032 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17033
17034         * text2.C: remove !NEW_INSETS cruft
17035
17036         * text.C: remove !NEW_INSETS cruft
17037
17038         * tabular.C: remove !NEW_INSETS cruft
17039
17040         * spellchecker.C: remove !NEW_INSETS cruft
17041
17042         * lyxtext.h: remove !NEW_INSETS cruft
17043
17044         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17045
17046         * lyxfunc.C: remove !NEW_INSETS cruft
17047
17048         * lyxfind.C: remove !NEW_INSETS cruft
17049
17050         * lyx_cb.C: remove !NEW_INSETS cruft
17051
17052         * figureForm.C: remove  !NEW_INSETS cruft
17053
17054         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17055
17056         * buffer.[Ch]: remove !NEW_INSETS cruft
17057
17058         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17059
17060         * CutAndPaste.C: remove !NEW_INSETS cruft
17061
17062         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17063
17064         * BufferView2.C: remove !NEW_INSETS cruft
17065
17066         * BufferView.h: remove !NEW_INSETS cruft
17067
17068 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17069
17070         * Lsstream.h: include LString.h before the sstream headers to
17071         fix problem with gcc 2.95.3 and lyxstring
17072
17073 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17074
17075         * lyx_main.C: add using directives when needed for C functions
17076         declared in std:: namespace.
17077
17078 2001-04-27  Juergen Vigna  <jug@sad.it>
17079
17080         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17081         (SetHeightOfRow): comment out the update call should not be needed!
17082
17083 2001-04-13  Juergen Vigna  <jug@sad.it>
17084
17085         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17086         (LyXTabular): tried to minimize operator= operations (and realized
17087         hopfully Lars wish).
17088
17089 2001-04-27  Juergen Vigna  <jug@sad.it>
17090
17091         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17092
17093 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17094
17095         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17096
17097         * buffer.C (readInset): hack to make listof algorithm work
17098
17099         * BufferView_pimpl.C: hack to make listof algorithm work
17100
17101 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17102
17103         * LyXAction.C: removed all !NEW_INSETS cruft
17104         (init): moved lfun_item in method
17105
17106         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17107
17108 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17109
17110         * BufferView2.C (theLockingInset): white space.
17111
17112 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17113
17114         * minibuffer.C: include <iostream>
17115
17116         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17117
17118         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17119
17120         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17121
17122         * text.[Ch] (TransposeChars): new method
17123
17124 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17125
17126         * call message directly through LyXView instead of through LyXFunc
17127         * BufferView2.C: adjust
17128         * BufferView_pimpl.C: adjust
17129         * FontLoader.C: adjust
17130         * buffer.C: adjust
17131         * bufferview_funcs.C: adjust
17132         * converter.C: adjust
17133         * figureForm.C: adjust
17134         * importer.C: adjust
17135         * lyx_cb.C: adjust
17136         * lyx_gui_misc.C: adjust
17137         * lyxfunc.C: adjust
17138         * lyxvc.C: adjust
17139         * text2.C: adjust
17140         + more files in subdirs
17141
17142         * lyxparagraph.h (size): move up int file
17143         (GetLayout): ditto
17144
17145         * adjust all uses of Assert to lyx::Assert.
17146
17147         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17148         lyxfunctional in namespace lyx
17149         * layout.C (hasLayout): ditto
17150         (GetLayout): ditto
17151         (GetLayout): ditto
17152         (delete_layout): ditto
17153         (NumberOfClass): ditto
17154         * converter.C (GetFormat): ditto
17155         (GetNumber): ditto
17156         (Add): ditto
17157         (Delete): ditto
17158         (SetViewer): ditto
17159         * bufferlist.C (getFileNames): ditto
17160         (emergencyWriteAll): ditto
17161         (exists): ditto
17162         (getBuffer): ditto
17163         * MenuBackend.C (hasSubmenu): ditto
17164         (hasMenu): ditto
17165         (getMenu): ditto
17166         * BufferView_pimpl.C (getInsetByCode): ditto
17167
17168 2001-04-18  Juergen Vigna  <jug@sad.it>
17169
17170         * vspace.C (asLatexString): fixed the 100% problem.
17171
17172 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17173
17174         * lyxfunc.C (Dispatch):
17175         * minibuffer.C:
17176         * minibuffer.h: add a few std:: qualifiers
17177
17178 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17179
17180         * minibuffer.[Ch]: reimplement so that commands is initiated and
17181         run from lyxfunc, simplified som handling, and made the completion
17182         and history code for complete. wip.
17183
17184         * lyxfunc.C (processKeySym): call message
17185         (miniDispatch): new temporary method
17186         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17187         (LFUN_MESSAGE): implement
17188         (LFUN_MESSAGE_PUSH): implement
17189         (LFUN_MESSAGE_POP): implement
17190         (initMiniBuffer): the initial/defualt minibuffer message.
17191
17192         * lyxfont.[Ch]: inline some more getters
17193
17194         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17195
17196         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17197
17198         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17199         (AutoSave): use LFUN_MESSAGE
17200         (Reconfigure): ditto
17201
17202         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17203
17204         * figureForm.C: use LFUN_MESSAGE
17205
17206         * converter.C (runLaTeX): use LFUN_MESSAGE
17207
17208         * bufferview_funcs.C: use LFUN_MESSAGE
17209         (Melt): ditto
17210         (changeDepth): ditto
17211
17212         * bufferparams.h: use boost::
17213
17214         * bufferlist.h: inherit privately from noncopyable
17215
17216         * bufferlist.C (loadLyXFile): remove some commented code.
17217
17218         * buffer.C (runChktex): use LFUN_MESSAGE
17219
17220         * ShareContainer.h: inherit privately from noncopyable
17221
17222         * ParagraphParameters.[hC] (depth): inline it.
17223
17224         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17225         methods.
17226         (message): new method
17227         (messagePush): ditto
17228         (messagePop): ditto
17229         (show): init minibuffer
17230         (showState): direct call
17231
17232         * LaTeX.[Ch]: inherit privately from noncopyable
17233         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17234         instead of WriteStatus.
17235
17236         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17237
17238         * BufferView_pimpl.C (buffer): don't init minibuffer
17239         (workAreaButtonPress): use LFUN_MESSAGE
17240         (workAreaButtonRelease): ditto
17241         (savePosition): ditto
17242         (restorePosition): ditto
17243         (MenuInsertLyXFile): ditto
17244         (workAreaExpose): don't init minibuffer
17245         (update): remove commented code, simplify
17246
17247         * BufferView2.C (openStuff): use LFUN_MESSAGE
17248         (toggleFloat): ditto
17249         (menuUndo): ditto
17250         (menuRedo): ditto
17251         (copyEnvironment): ditto
17252         (pasteEnvironment): ditto
17253         (copy): ditto
17254         (cut): ditto
17255         (paste): ditto
17256         (gotoInset): ditto
17257         (updateInset): remove some commented code
17258
17259         * lastfiles.h: inherit privately from noncopyable
17260         * layout.h: ditto
17261         * lyx_gui.h: ditto
17262         * lyx_main.h: ditto
17263         * lyxlex.h: ditto
17264         * lyxlex_pimpl.h: ditto
17265
17266         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17267         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17268         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17269
17270         * LyXAction.h: inherit privately from noncopyable, add methods
17271         func_begin, func_end, returning iterators to the func map.
17272
17273         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17274         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17275         (func_begin): new method
17276         (func_end): new method
17277
17278         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17279         and not)
17280         (copySelection): ditto
17281         (pasteSelection): ditto
17282
17283         * BufferView.C: whitespace change
17284         * BufferView.h: inherit privately from noncopyable
17285
17286 2001-04-16  Allan Rae  <rae@lyx.org>
17287
17288         * tabular-old.C (l_getline):
17289         * spellchecker.C (sc_check_word):
17290         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17291         an unrecognised preprocessor directive.  So ensure they're wrapped.
17292
17293 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17294
17295         * src/exporter.C (Export): Give an error message when path to file
17296         contains spaces.
17297
17298 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17299
17300         * LaTeX.C (deplog): Always check that foundfile exists.
17301
17302 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17303
17304         * lyx_main.h:
17305         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17306
17307 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17308
17309         * tabular.[Ch] (getLabelList): implement new method
17310
17311         * minibuffer.h: comment ouf setTiimer
17312
17313         * minibuffer.C (ExecutingCB): constify res
17314         (peek_event): constify s
17315         (Set): constify ntext
17316         (Init): constify nicename
17317
17318         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17319
17320         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17321         (savePosition): use two params to Minibuffer::Set
17322         (restorePosition): ditto
17323
17324 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17325
17326         * lyx_main.C: include language.h
17327
17328         * Makefile.am (lyx_main.o): add language.h
17329
17330 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17331
17332         * exporter.C:
17333         * paragraph.C:
17334         * screen.C:
17335         * tabular.C:
17336         * CutAndPaste.C: include gettext.h
17337
17338         * lyxfont.h: remove old hack with ON and OFF.
17339
17340         * lyxparagraph.h:
17341         * lyxfont.h: do not include language.h...
17342
17343         * BufferView2.C:
17344         * LaTeXFeatures.C:
17345         * Painter.C:
17346         * bufferview_funcs.C:
17347         * font.C:
17348         * lyxfont.C:
17349         * text.C:
17350         * text2.C:
17351         * trans_mgr.C:
17352         * paragraph.C: ... but do it here instead
17353
17354 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17355
17356         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17357
17358         * tabular.C: small reformat
17359
17360         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17361         NEW_INSETS version
17362         (GetChar): ditto
17363         (BreakParagraph): ditto
17364         (SetOnlyLayout): ditto
17365         (SetLayout): ditto
17366
17367         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17368         with one arg less.
17369
17370         * lastfiles.C: removed most using decl, add std:: where needed
17371
17372         * buffer.C: ws changes
17373
17374         * MenuBackend.C (class compare_format): put into anon namespace
17375         (expand): constify label, names, action, action2
17376         (expand):
17377
17378         * text.C (SingleWidth): constify font
17379         (IsBoundary): constify rtl2
17380         (GetVisibleRow): constify ww
17381
17382         * LaTeX.C (deplog): constify logfile
17383
17384         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17385         start_x, end_x
17386         (workAreaExpose): constify widthChange, heightChange
17387
17388         * lyxrow.C (par): moved
17389         (height): moved
17390         (next): moved
17391         * lyxrow.h: as inlines here
17392
17393         * lyxfont.h (shape): moved from lyxfont.C
17394         (emph): moved from lyxfont.C
17395
17396         * lyxfont.C (LyXFont): use initialization list for all
17397         constructors
17398         (shape): move to lyxfont.h as inline
17399         (emph): move to lyxfont.h as inline
17400
17401
17402 2001-04-04  Juergen Vigna  <jug@sad.it>
17403
17404         * vspace.C: had to include stdio.h for use of sscanf
17405
17406 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17407
17408         * BufferView.h:
17409         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17410         independent of xforms.
17411
17412 2001-04-02  Juergen Vigna  <jug@sad.it>
17413
17414         * spellchecker.C: fixed namespace placing!
17415
17416 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17417
17418         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17419         the LyXParagraph * is 0.
17420
17421 2001-03-29  Juergen Vigna  <jug@sad.it>
17422
17423         * vspace.C: added support for %, c%, p%, l%.
17424         (stringFromUnit): added helper function.
17425         (asLatexString): changed to give right results for the %-values.
17426
17427         * buffer.C: convert the widthp in a width%.
17428
17429 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17430
17431         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17432         figureForm.[Ch].
17433
17434         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17435         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17436
17437         * lyx_cb.[Ch]: see above.
17438
17439         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17440         form1.[Ch].
17441
17442         * form1.[Ch]:
17443         * lyx.[Ch]: replaced by figure_form.[Ch].
17444
17445         * lyx_gui.C:
17446         * lyx_gui_misc.C:
17447         * lyxfunc.C: changed headers associated with above changes.
17448
17449 2001-03-27  Juergen Vigna  <jug@sad.it>
17450
17451         * BufferView_pimpl.C: set the temporary cursor right!
17452
17453 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17454
17455         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17456
17457 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17458
17459         * LString.h: removed "using std::getline"!
17460
17461         * BufferView_pimpl.C (Dispatch): changes due to changes in
17462         InsetInclude::Params.
17463
17464         * buffer.C (tag_name): removed redundant break statements as they were
17465         producing lots of warnings with my compiler.
17466
17467 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17468
17469         * LString.h: add "using std::getline" when using the real <string>.
17470
17471 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17472
17473         * buffer.C: removed bitset usage.
17474         PAR_TAG moved to an anonymous name space.
17475         (tag_name): new funtion, also in the anonymous namespace.
17476         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17477         (makeDocBookFile): clean code. Completed transition from string arrays
17478         to string vectors.
17479         (SimpleDocBookOnePar): code clean.
17480
17481 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17482
17483         * tabular.C: add some comments.
17484
17485 2001-03-22  Juergen Vigna  <jug@sad.it>
17486
17487         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17488         compatibility read a bit and fixed bug with minipage in different
17489         depth.
17490
17491 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17492
17493         * buffer.C (pop_tag): removed.
17494         (push_tag): removed.
17495         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17496         array replaced with vector. Added support for CDATA sections.
17497         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17498         at any nest level.
17499         (makeDocBookFile): XML conformant declaration of CDATA section,
17500         fixed bug related to <emphasis> in the first paragraph char.
17501         (sgmlOpenTag): exclude empty tags.
17502         (sgmlCloseTag): ditto.
17503
17504         * buffer.h (pop_tag): removed.
17505         (push_tag): removed.
17506
17507 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17508
17509         * language.h (Languages): added size_type and size().
17510
17511 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17512
17513         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17514         response on compability reading of minipages. One probliem is that
17515         the old usage of minipages was flertydig
17516
17517         * several files here and in subdirs: don't use static at file
17518         scope use anon namespaces instead.
17519
17520 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17521
17522         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17523         LaTeX output. This is necessary for Literate document
17524         processing.
17525
17526 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17527
17528         * buffer.C: insert hfill when needed.
17529
17530         * tabular.C (l_getline): use string::erase, small whitespace change.
17531
17532         * BufferView_pimpl.C: try the anon namespace.
17533         * WorkArea.C: ditto
17534
17535 2001-03-16  Juergen Vigna  <jug@sad.it>
17536
17537         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17538         otherwise it won't open options-dialogs.
17539
17540         * buffer.C: honor pextraWidth(p) on converting minipages.
17541
17542         * tabular.C (l_getline): changed the functions to strip trailing \r.
17543
17544 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17545
17546         * BufferView_pimpl.C:
17547         * minibuffer..C: added "using SigC::slot" declaration.
17548
17549 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17550
17551         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17552
17553         * text2.C: ditto
17554
17555         * text.C: ditto
17556
17557         * paragraph.C: ditto
17558
17559         * lyxtext.h: NO_PEXTRA
17560
17561         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17562
17563         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17564         * ParameterStruct.h: ditto
17565         * ParagraphParameters.h: ditto
17566         * lyxparagraph.h: ditto
17567
17568 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17569
17570         * buffer.C: add compability for minipage alignment.
17571         (latexParagraphs): remove unwanted pextra check.
17572
17573         * several files: remove CXX_WORKING_NAMESPACES
17574
17575         * buffer.C (pop_tag): tie is in namespace boost
17576
17577         * BufferView.h: noncopyable is in namespace boost
17578         * lyxlex.h: ditto
17579         * lyx_main.h: ditto
17580         * lyx_gui.h: ditto
17581         * layout.h: ditto
17582         * lastfiles.h: ditto
17583         * bufferlist.h: ditto
17584         * ShareContainer.h: ditto
17585         * LyXView.h: ditto
17586         * LyXAction.h: ditto
17587         * LaTeX.h: ditto
17588
17589 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17590
17591         * Merging changes from BRANCH_MVC back into HEAD.
17592
17593         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17594
17595 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17596
17597         * BufferView_pimpl.C: change from intl.C
17598
17599         * combox.h:
17600         * combox.C:
17601         * Makefile.am: move combox.*
17602
17603         * form1.h:
17604         * form1.C:
17605         * lyx_gui.C:
17606         * intl.h:
17607         * intl.C: remove dialog (covered by prefs)
17608
17609 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17610
17611         * lyxfunc.C (Dispatch): removed redundant break statement.
17612
17613 2001-03-14  Juergen Vigna  <jug@sad.it>
17614
17615         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17616
17617 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17618
17619         * buffer.C: add hack to fix compability reading of minipages.
17620
17621 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17622
17623         * buffer.C (getLists): Cleanup.
17624
17625 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17626
17627         * lyxfont.C (update): don't honor toggleall on font size.
17628
17629 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17630
17631         * bmtable.c:
17632         * bmtable.h:
17633         * Makefile.am: moved to frontends/xforms/
17634
17635         * lyx_gui_misc.C:
17636         * lyxfunc.C:
17637         * BufferView_pimpl.C: changes for moved mathpanel
17638
17639 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17640
17641         * gettext.h: fix gettext_init() in --disable-nls
17642
17643 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17644
17645         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17646
17647 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17648
17649         * lyx.C:
17650         * lyx.h: strip external form
17651
17652 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17653
17654         * BufferView_pimpl.C: add comment, destroySplash()
17655
17656 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17657
17658         * BufferView_pimpl.C:
17659         * LyXAction.C:
17660         * buffer.C:
17661         * commandtags.h:
17662         * lyxfunc.C: use re-worked insetinclude
17663
17664 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17665
17666         * buffer.C: add using std::stringstream.
17667
17668         * lyx_cb.C: readd using std::ios.
17669
17670         * buffer.C: add using std::map.
17671
17672         * BufferView_pimpl.C: add using std::vector.
17673
17674         * ShareContainer.h: add std:: to swap.
17675
17676         * buffer.h: add some typedefs
17677         * buffer.C (getLists): use them
17678         (getLists): renamed from getTocList.
17679         add a counter for the different float types and use it in the
17680         generated string.
17681         (getLists): use the same counter for the NEW_INSETS and the "non"
17682         NEW_INSETS
17683
17684         * lyx_cb.h: remove unused items, includes, using etc.
17685
17686         * ShareContainer.h: remove some commented code, add more comments
17687         and "documentation".
17688
17689 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17690
17691         * buffer.C (getTocList): make the list also when NEW_INSETS is
17692         defined.
17693
17694         * buffer.h: remove TocType
17695
17696         * buffer.C (getTocList): change to return a map<string,
17697         vector<TocItem> >, implement for dynamic number of list.
17698
17699         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17700         * text2.C (PasteSelection): adjust
17701         * CutAndPaste.C (pasteSelection): adjust
17702
17703         * FloatList.C (FloatList): update from the new_insets branch.
17704         * Floating.[Ch]: ditto
17705         * LaTeXFeatures.C: ditto
17706         * buffer.C: ditto
17707         * lyxlex_pimpl.C: ditto
17708
17709         * paragraph.C (Last): remove when NEW_INSETS is defined.
17710
17711         * other file: changes because of the above.
17712
17713 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17714
17715         * lyxparagraph.h: rename next to next_, previous to previous_,
17716         make them private for NEW_INSETS. Rename Next() to next(),
17717         Previous() to previous().
17718
17719         * other files: changes because of the above.
17720
17721 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17722
17723         * BufferView.h:
17724         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17725         problem.
17726
17727 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17728
17729         * main.C (main): pass lyx_localedir to gettext_init().
17730
17731         * gettext.h: remove locale_init and gettext_init macros
17732
17733         * gettext.C (locale_init): new function
17734         (gettext_init): new function
17735
17736         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17737         setlocale().
17738
17739 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17740
17741         * Moved credits to frontends:
17742         * credits.[Ch]: removed
17743         * credits_form.[Ch]: removed
17744         * lyx_gui_misc.C: remove credits stuff
17745         * Makefile.am:
17746
17747 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17748
17749         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17750
17751         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17752         unneeded destructor.
17753
17754         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17755         a standalone pointer again.
17756
17757         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17758
17759 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17760
17761         * Makefile.am:
17762         * filedlg.h:
17763         * filedlg.C:
17764         * LyXAction.C:
17765         * ToolbarDefaults.C:
17766         * bufferlist.C:
17767         * commandtags.h:
17768         * form1.C:
17769         * form1.h:
17770         * lyx_cb.C:
17771         * lyx_cb.h:
17772         * lyxfunc.h:
17773         * lyxfunc.C:
17774         * BufferView_pimpl.C: use new file dialog in GUII
17775
17776         * lyx_cb.h:
17777         * lyx_cb.C: remove LayoutsCB to Toolbar
17778
17779 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17780
17781         * ShareContainer.h (get): add std:: qualifier
17782
17783 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17784
17785         * ShareContainer.h: define a proper ShareContainer::value_type
17786         type (and use typename to please compaq cxx)
17787
17788 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17789
17790         * lyxparagraph.h: move serveral local vars to
17791         ParameterStruct/ParagraphParameters., use ShareContainer in
17792         FontTable., make vars in FontTable private and add getter and
17793         setter.
17794
17795         * paragraph.C: changes because of the above.
17796
17797         * lyxfont.h: remove copy constructor and copy assignment. (the
17798         default ones is ok), move number inside FontBits. move inlines to
17799         lyxfont.C
17800
17801         * lyxfont.C: add number to initializaton of statics, move several
17802         inlines here. constify several local vars. some whitespace
17803         cleanup. Dont hide outerscope variables.
17804
17805         * Spacing.h: add two new constructors to match the set methods.
17806
17807         * ShareContainer.h: new file, will perhaps be moved to support
17808
17809         * ParameterStruct.h: new file
17810
17811         * ParagraphParameters.h: new file
17812
17813         * ParagraphParameters.C: new file
17814
17815         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17816         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17817
17818         * BufferView_pimpl.C: ParagraphParameter changes.
17819         * buffer.C: Likewise.
17820         * bufferview_funcs.C: Likewise.
17821         * text.C: Likewise.
17822         * text2.C: Likewise.
17823
17824 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17825
17826         * lyxfind.C (LyXReplace): do not redefine default argument in
17827         implementation.
17828         (IsStringInText): ditto
17829         (SearchForward): ditto
17830         (SearchBackward): ditto
17831
17832 2001-03-06  Juergen Vigna  <jug@sad.it>
17833
17834         * lyxfind.C (IsStringInText): put parentes around expressions.
17835
17836 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17837
17838         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17839
17840 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17841
17842         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17843
17844         * stl_string_fwd.h: add comment
17845
17846         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17847
17848         * tabular.h:
17849         * tabular.C: remove unused DocBook methods
17850
17851         * intl.C:
17852         * language.C:
17853         * paragraph.C:
17854         * buffer.C:
17855         killed DO_USE_DEFAULT_LANGUAGE
17856
17857 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17858
17859         * lyx_gui.C: do not include language.h.
17860
17861         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17862         arguments in function implementation.
17863
17864 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17865
17866         * BufferView_pimpl.C: add <ctime>
17867
17868 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17869
17870         * BufferView_pimpl.C: add using std::find_if
17871
17872 2001-02-27  José Matos  <jamatos@fep.up.pt>
17873
17874         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17875         by OnlyPath.
17876
17877 2001-02-11  José Matos  <jamatos@fep.up.pt>
17878
17879         * buffer.C (makeDocBookFile): command styles now have a parameter as
17880         "title" by default.
17881
17882 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17883
17884         * layout_forms.[Ch]: removed
17885         * lyx_cb.[Ch]: out character
17886         * lyx_gui.C: out character
17887         * lyx_gui_misc.C: out character
17888         * bufferview_funcs.C: : out character,
17889         added toggleall as parameter in ToggleAndShow
17890
17891 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17892
17893         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17894
17895         * text2.C (SetCurrentFont): Disable number property at boundary.
17896
17897 2001-02-26  Juergen Vigna  <jug@sad.it>
17898
17899         * lyxfunc.C (getStatus): added a string argument override function so
17900         that this is correctly called from LyXFunc::Dispatch if it contains a
17901         do_not_use_argument which is used!
17902         (Dispatch): added check for "custom" export and call appropriate func.
17903
17904 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17905
17906         * lyxrc.C: Add language_command_local, language_use_babel and
17907         language_global_options.
17908
17909         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17910
17911         * buffer.C (makeLaTeXFile): Use language_use_babel and
17912         language_global_options.
17913
17914 2001-02-23  Juergen Vigna  <jug@sad.it>
17915
17916         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17917         which works with LyXText and putted it inside BufferView. Here now we
17918         only call for that part the BufferView::Dispatch() function.
17919
17920         * BufferView.C (Dispatch): added.
17921
17922         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17923         functions which needs to use a LyXText over from LyXFunc.
17924         (MenuInsertLyXFile): added
17925         (getInsetByCode): added
17926         (moveCursorUpdate): added
17927         (static TEXT): added
17928
17929 2001-02-22  Juergen Vigna  <jug@sad.it>
17930
17931         * BufferView_pimpl.C (update): call a status update to see if LyXText
17932         needs it.
17933
17934 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17935
17936         * vc-backend.C (revert): implement for CVS
17937         (getLog): implement for CVS
17938
17939 2001-02-20  Juergen Vigna  <jug@sad.it>
17940
17941         * text2.C (ClearSelection): added BufferView param for inset_owner call
17942
17943         * lyxfunc.C (TEXT): added this function and use it instead of
17944         directly owner->view()-text of getLyXText().
17945
17946 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17947
17948         * src/layout_forms.C: out preamble
17949         * src/layout_forms.h: out preamble
17950         * src/lyx_cb.C: out preamble
17951         * src/lyx_cb.h: out preamble
17952         * src/lyx_gui.C: out preamble
17953         * src/lyx_gui_misc.C: out preamble
17954         * src/lyxfunc.C: connect with guii preamble
17955
17956 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17957
17958         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17959
17960 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17961
17962         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17963         whether to run bibtex.
17964
17965 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17966
17967         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17968
17969 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17970
17971         * Makefile.am (lyx_SOURCES): removed bibforms.h
17972
17973         * vspace.h: doxygen
17974
17975         * text.C (GetVisibleRow): make several local vars const
17976
17977         * tabular.C: small cleanup.
17978
17979         * lyxserver.C (callback): use compare instead of strncmp
17980
17981         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17982         inlines to after class or to paragraph.C
17983
17984         * lyxfont.h: remove friend operator!=
17985
17986         * converter.h: move friend bool operator< to non friend and after
17987         class def.
17988
17989         * combox.h: small cleanup
17990
17991         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17992         to inlines after class def.
17993
17994         * buffer.C (pop_tag): use string operations instead of strcmp
17995
17996         * bmtable.c: doxygen, small cleanup
17997
17998         * LaTeX.h: remove friend operator==
17999
18000 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18001
18002         * screen.C:
18003         * lyxrc.[Ch]:
18004         * lyxfunc.C:
18005         * lyxfont.[Ch]:
18006         * lyx_cb.C:
18007         * intl.[Ch]:
18008         * commandtags.h:
18009         * buffer.C:
18010         * WorkArea.[Ch]:
18011         * LyXAction.C:
18012         * BufferView_pimpl.C:
18013         * BufferView.[Ch]: remove cruft
18014
18015 2001-02-14  Juergen Vigna  <jug@sad.it>
18016
18017         * lyxfunc.C: removed #if 0 unused code
18018
18019         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18020
18021         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18022
18023         * text2.C (SetSelection): added a BufferView * parameter
18024
18025 2001-02-13  Juergen Vigna  <jug@sad.it>
18026
18027         * lyxfunc.C (Dispatch): fixed protected blank problem.
18028         * BufferView2.C (protectedBlank): added LyxText * parameter.
18029
18030         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18031         (AppendColumn): same as above for column_info.
18032
18033         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18034         (moveCursorUpdate): use a LyXText param for support of InsetText.
18035
18036         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18037         (tripleClick): ditto
18038
18039         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18040
18041         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18042
18043         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18044
18045         * text2.C (SetSelection): set correct update status if inset_owner
18046         (ToggleFree): ditto
18047
18048 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18049
18050         * tabular.C: remove some commented code.
18051
18052 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18053
18054         * BufferView_pimpl.C: call hideSplash()
18055
18056         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18057
18058         * include_form.h:
18059         * bibforms.h: remove
18060
18061         * lyxfunc.C:
18062         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18063           add LFUN_CHILD_CREATE
18064
18065         * counters.h: fix tiny typo
18066
18067         * lyx_cb.C:
18068         * lyx.h:
18069         * lyx_gui.C:
18070         * lyx.C: move splash to frontends/xforms/
18071
18072         * lyx_gui_misc.C: move Include and Bibform to frontends
18073
18074         * lyxvc.h: clarify comment
18075
18076         * vspace.C: tiny housekeeping
18077
18078 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18079
18080         * text.C (PrepareToPrint): RTL Fix.
18081
18082         * paragraph.C (GetUChar): New method.
18083         (String):  Use GetUChar.
18084
18085         * buffer.C (asciiParagraph): Use GetUChar.
18086
18087 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18088
18089         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18090
18091 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18092
18093         * buffer.h:
18094         * buffer.C: rename to getLogName(), handle
18095           build log / latex log nicely
18096
18097 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18098
18099         * MenuBackend.C:
18100         * MenuBackend.h: remove support for reference menuitem type.
18101
18102 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18103
18104         * BufferView_pimpl.C: housekeeping
18105         * BufferView_pimpl.h:
18106         * LyXView.h:
18107         * Makefile.am:
18108         * Timeout.C:
18109         * Timeout.h:
18110         * minibuffer.h: move Timeout GUI-I
18111
18112 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18113
18114         * lyxrc.C (read): Update converters data-structures.
18115
18116 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18117
18118         * LaTeX.h (operator!=): add operator != for Aux_Info
18119
18120 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18121
18122         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18123
18124         * LaTeXLog.C: deleted, useful code moved to Buffer
18125
18126         * buffer.h:
18127         * buffer.C: new function getLatexLogName()
18128
18129         * lyx_gui_misc.C:
18130         * lyx_gui.C:
18131         * lyxvc.C:
18132         * lyxvc.h:
18133         * lyxfunc.C: use frontends for LaTeX and VC logs
18134
18135 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18136
18137         * LaTeX.h: yet another std:: that Allan forgot.
18138
18139         * Variables.C (set): renamed from isset(), because this clashes
18140         with some HP-UX macros (grr).
18141
18142 2001-02-06  Allan Rae  <rae@lyx.org>
18143
18144         * LaTeX.h: Another bug fix.  Missing std:: this time.
18145
18146 2001-02-04  Allan Rae  <rae@lyx.org>
18147
18148         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18149         floats problem. I've left it commented out because it's not quite
18150         correct.  It should also test that the current object is a table or
18151         figure inset.  But I haven't gotten around to figuring out how to do
18152         that.  I *think* it'll be something like: "table" == inset.type()
18153
18154         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18155         bool.
18156
18157 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18158
18159         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18160         all the citation/databases/styles in the auxilary file.
18161         (run): Rerun latex if there was a babel language error.
18162
18163 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18164
18165         * text.C (Backspace): Preserve the font when changing newline char
18166         with a space.
18167         (BreakParagraph): If the cursor is before a space, delete the space.
18168
18169         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18170
18171 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18172
18173         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18174         new argument (code).
18175         (ChangeCitationsIfUnique): New method.
18176
18177         * paragraph.C (GetPositionOfInset): Handle bibkey.
18178
18179 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18180
18181         * BufferView_pimpl.h: change type of Position::par_pos to
18182         LyXParagraph::size_type.
18183
18184 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18185
18186         * BufferView_pimpl.C (savePosition, restorePosition): Write
18187         messages to minibuffer.
18188
18189 2001-01-28  José Matos  <jamatos@fep.up.pt>
18190
18191         * buffer.C (makeDocBookFile): adds support for document language.
18192         A silly restriction on the name of LatexCommand types where removed.
18193         Added support for CDATA sections, allows to chars unescaped, used
18194         among others in code, to avoid escape < and >.
18195
18196 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18197
18198         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18199         saved positions instrad of a stack. Furthermore, a position is
18200         stored using paragraph id/paragraph position.
18201
18202         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18203         Remove LFUN_REF_BACK.
18204
18205 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18206
18207         * converter.C (dvipdfm_options): New method.
18208
18209 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18210
18211         * vspace.C (isValidLength): Fix for empty input string.
18212
18213 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18214
18215         * LyXAction.C (init): change description of LFUN_FIGURE to
18216         "Insert Graphics"
18217
18218 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18219
18220         * LaTeX.C: add using directive
18221
18222 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18223
18224         * MenuBackend.C (expand): Fix the sorting of the formats.
18225
18226 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18227
18228         * lyx_main.C: tiny error message fix
18229
18230 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18231
18232         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18233         calling fl_initialize(). This fixes the problem with ',' as
18234         decimal separator in text files.
18235
18236 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18237
18238         * trans.C (process): Fix the keymap bug.
18239
18240 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18241
18242         * LaTeX.C (scanAuxFiles): New method. Provides support for
18243         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18244         (scanLogFile) Scan for "run BibTeX" messages.
18245
18246         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18247         OT1 font encoding. Also, load the aecompl package if the ae
18248         package is loaded.
18249
18250         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18251
18252 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18253
18254         * texrow.C (increasePos): turn two error messages into debug
18255         messages.
18256
18257 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18258
18259         * LaTeX.C (scanAux): Handle the \@input macro.
18260         (runBibTeX): Use scanAux().
18261
18262         * language.C (latex_options_): New field.
18263
18264         * LaTeXFeatures.C (getMacros): Add language macros.
18265
18266         * buffer.C (makeLaTeXFile): Small fix.
18267
18268 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18269
18270         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18271
18272         * text2.C: add a using directive.
18273
18274 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18275
18276         * BufferView2.C:
18277         * lyx_gui_misc.h:
18278         * lyxfr1.C:
18279         * lyxfunc.C: kill LyXBell.
18280
18281 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18282
18283         * text.C (IsBoundary): Remove the error message
18284
18285         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18286
18287         * lyxrc.C (setDefaults): Correct initialization value for
18288         font_norm_type.
18289
18290 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18291
18292         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18293         gotoError().
18294
18295         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18296         and GotoNextNote().
18297
18298         * src/LyXAction.C: Added reference-next.
18299
18300         * text.C (InsertChar): Use contains instead of strchr.
18301
18302         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18303
18304 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18305
18306         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18307         alignment commands (when needed).
18308
18309         * text.C (InsertChar): Add ':' to number separator chars.