]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Two fixes involving RtL text drawing
[lyx.git] / src / ChangeLog
1 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * text.C (cursorX): two fixes involving RtL text drawing
4
5 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
8         argument, use "newcommand".
9
10 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11
12         * cursor.C (setSelection): do not open collapsable insets;
13         the insets do by themselves now (autoopen).
14
15 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
16
17         * buffer.C: format is up to 244.
18
19 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
20
21         * text.C (redoParagraph): fix calcultation of inset width wrt 
22         leftMargin (bug 1957).
23
24         * text3.C (dispatch): leave inset to the right when hitting ESC 
25         (bug 2034).
26
27 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
28
29         * text2.C: 
30         * text.C: 
31         * factory.C:
32         * messages.C: include <boost/current_function.hpp> 
33
34 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
35
36         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
37         when command is internal. (bug 1941)
38
39 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
40
41         * text2.C (cursorRight): do not honor boundary when at the end of
42         a paragraph. (bug 2010 again)
43
44 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
45
46         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
47
48 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
49
50         * rowpainter.C (paintText): fix RtL space width display bug (2029)
51
52 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
53
54         * text2.C (setCursor): remove the unused 'boundary' parameter for
55         the CursorSlice version; adapt the LCursor version.
56
57         * lyxrc.C (write): 
58         * paragraph_pimpl.C (markErased): 
59         * cursor.C (bruteFind2, bruteFond3): fix warnings.
60
61 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
62
63         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
64         as is already done for "chapter".
65
66 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
67
68         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
69         textclass; do not record undo if nothing is changed.
70
71 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
72
73         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
74
75 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
76
77         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
78
79 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
80
81         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
82         combox, it is necessary to search for the topmost paragraph in the
83         cursor stack (bug 1926)
84
85 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
86
87         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
88         end of paragraph. (bug 2010)
89
90 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
91
92         * text.C (leftMargin): check for inInset == 0
93
94 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
95
96         * text.C (leftMargin): test for insetbase's new neverIndent()
97         bool instead of listing each and every inset that does not
98         wish par indendation.
99
100 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
101
102         * buffer_funcs.C (setCounter): put the code to compute enum label
103         here (where it belongs).
104
105         * counters.C (enumLabel): move code to buffer_funcs.C.
106
107 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
108
109         * outputparams.[Ch]: store local_font instead of local_language
110         * paragraph.C (simpleTeXOnePar): adapt to the change above
111
112 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
113
114         * buffer_funcs.C:
115         * counters.[Ch]: clean up special code for Hebrew.
116
117 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
118
119         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
120         than 2.
121
122 2005-09-08  Angus Leeming  <leeming@lyx.org>
123
124         * ispell.C:
125         * lyxrc.C: correct grammar describing invocation of the
126         spellchecker.
127
128 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
129
130         * text.C (read): remove unused variable.
131         (readParToken): remove static Change variable (never good in
132         recursive settings...); add it as a parameter instead.
133
134         * paragraph_pimpl.C (acceptChange): make debug info conditional.
135
136         * metricsinfo.C (PainterInfo): add new member erased_.
137
138         * rowpainter.C (RowPainter): add erased_ member, initialized from
139         PainterInfo. 
140         (paintInset): pass erased_ to Inset::draw.
141
142         * lyxfunc.C (lookupChange): new function. Tells whether change 
143         tracking is disabled at a given postion.
144         (getStatus): disable some actions when in deleted text with change
145         tracking. 
146
147 2005-08-03  John Levon  <levon@movementarian.org>
148         
149         * tabular.C (appendColumn, setMultiColumn): adapt to change to
150         InsetText::clear().
151
152         * paragraph_pimpl.C (markErased): add bool argument and handle it.
153         Also make sure to mark insets recursively.
154         (rejectChange, erase): be recursive
155
156         * paragraph.C (markErased): add bool argument.
157 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
158
159         * lyxfind.C (findNextChange): tiny cleanup.
160
161         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
162         change tracking with the cursor in an inset; make sure the first
163         change is not skipped.
164
165 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
166
167         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
168         tabularStackDirty to work around bug 1919 (tabular needs
169         to know whether its own cell paste buffer or the one of 
170         texted is newer.
171         * CutAndPaste.C: mark tabular_stack_ clean after copy.
172
173 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
174
175         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
176
177 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
178
179         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
180         use old deleteion algorithm when changetracking is on.
181
182 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
183
184         * messages.C (get): add debug output.
185
186 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
187
188         * text.C (cursorX): fix bug 1965: cursor movement at
189         line end broken in RtL.
190         (drawSelection): fix bug 1970: drawing of single-line 
191         selection broken for RtL.
192
193 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
194
195         bug 465.
196
197         * dociterator.h (clear, push_back, pop_back): change from
198         protected to public.
199
200         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
201         and changed to just return the value of the item depth; take a
202         ParIterator as argument; take the itemdepth at outer nesting level
203         in account if necessary; cleanup and comment the code.
204         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
205         and changed to just return true if reset is needed; take a
206         ParIterator as argument; cleanup and comment the code.
207         (setCounter): adapt to above changes.
208
209 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
210
211         * text3.C (dispatch): make debug message optional
212
213 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
214
215         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
216         inset. (bug 1963)
217
218 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
219
220         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
221
222 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
223
224         * text.C (insertChar):
225         * text2.C (deleteEmptyParagraphMechanism): take care whether 
226         a blank has been deleted (in change tracking mode) (bug 1254).
227
228 2005-07-20  John Levon  <levon@movementarian.org>
229
230         * text2.C (insertStringAsLines): remove old dubious code,
231         fixing bug 1939.
232
233 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
234
235         * MenuBackend.C (expandToc): use Floating::listName() as title of
236         the floats submenus.
237
238 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
239
240         * toc.[Ch]: Do not use translatable strings (bug 1870).
241
242 2005-07-20  John Levon  <levon@movementarian.org>
243
244         * tabular.C: fix 1748 - setting multicolumn adds
245           left line to the first cell
246
247 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
248
249         bug 1920
250         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
251         pars in one go.
252
253 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
254
255         * messages.C: supress some lyxerr messages
256
257 2005-07-18  Juergen Vigna  <jug@lyx.org>
258
259         * text.C (drawSelection): honor boundary when asking for cursorX.
260
261 2005-07-17  José Matos  <jamatos@fc.up.pt>
262
263         * tabular.C (recalculateMulticolumns): fix handling of one column
264         tables.
265
266 2005-07-17  Juergen Vigna  <jug@lyx.org>
267
268         * text.C (Delete, backspace): fixed so that paragraph with the
269         same layout can be merged by Delete/Backspace.
270
271 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
272
273         * text.C (readParToken): fix spelling.
274
275 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
276
277         * text2.C: fix counter update for DEPM problem reported by
278         Georg Baum
279
280 2005-07-17  Juergen Vigna  <jug@lyx.org>
281
282         * BufferView_pimpl.C (setBuffer): save/restore the
283         cursor/selection when switching buffers
284
285         * buffer.h: 
286         * buffer.C (saveCursor): add saveDocumentIterators to save the
287         cursor when switching buffer.
288
289 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
290
291         * debug.C: fix typo
292         * buffer.C: clarify message
293         
294 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
295
296         * dociterator.C (DocIterator): fix initialization order
297
298 2005-07-17  Juergen Vigna  <jug@lyx.org>
299
300         * text2.C (cursorHome): 
301         * text.C (drawSelection, cursorX): 
302         * dociterator.C (textRow): add boundary to getRow() call
303
304         * paragraph.C (getRow): implementation of below
305
306         * paragraph.h: add parameter boundary for getRow() function
307
308 2005-07-17  José Matos  <jamatos@fc.up.pt>
309
310         * buffer.C:
311         * bufferparams.[Ch]:
312         * tex-strings.[Ch]: new file format, remove support for a4.sty,
313         a4wide.sty and a4widemargins.
314
315 2005-07-17  Juergen Vigna  <jug@lyx.org>
316
317         * text2.C (cursorLeft): fix one of error
318
319 2005-07-17  Juergen Vigna  <jug@lyx.org>
320
321         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
322                    cursorEnd):
323         more fixes for boundary handling
324
325         * text3.C (dispatch): don't reset cursor if boundary has changed
326         on cursor movement.
327
328 2005-07-16  Juergen Vigna  <jug@lyx.org>
329
330         * text2.C (getColumnNearX): hopefully got it right now,
331         check if we are on column 0 for special case.
332
333 2005-07-16  Juergen Vigna  <jug@lyx.org>
334
335         * text2.C (getColumnNearX): handle special case Newline Inset
336
337         * text.C (singleWidth): Just remove bogus check
338
339 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
340
341         * funcrequest.C (split): avoid reading uninitialized char c
342
343 2005-07-16  José Matos  <jamatos@fc.up.pt>
344
345         * buffer.C:
346         * converter.C:
347         * lyxrc.C:
348         * paper.h:
349         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
350         single papersize variable.
351
352 2005-07-16  Juergen Vigna  <jug@lyx.org>
353
354         * text3.C (dispatch): honor boundary when checking if a cursor
355         movement has been done
356
357         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
358         (setCursor, setCursorIntern): fix cursor movement with boundary
359
360 2005-07-16  Juergen Vigna  <jug@lyx.org>
361
362         * text.C (currentState): output the actual Boundary
363
364 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
365
366         * factory.C (createInset): fix bad logic for tabular creation
367
368 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
369
370         * lyx_main.C (init): change some reLyX reference to tex2lyx
371
372 2005-07-16  Juergen Vigna  <jug@lyx.org>
373
374         * dociterator.C (DocIterator): initialize boundary
375
376 2005-07-16  Juergen Vigna  <jug@lyx.org>
377
378         * text2.C (getColumnNearX): Consider rows without trailing blank.  
379
380 2005-07-16  André Pönitz  <poenitz@gmx.net>
381
382         * lyxfont.h: Change order of declarations to give the compiler
383         a better chance to inline things
384
385         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
386         questions on unsaved docs for better scritability
387
388 2005-07-16  André Pönitz  <poenitz@gmx.net>
389
390         * paragraph.h (getChar): remove asserts as the same kind of security
391         can be achieved by using a suitable standard library implementation
392         and the function was in the critical path (25.9% in profiler)
393
394 2005-07-16  Juergen Vigna  <jug@lyx.org>
395
396         * cursor.C (bruteFind2):
397         * bufferview_funcs.C (coordOffset): 
398         * text.C (cursorX,cursorY): Handle cursor position after last char
399         in row before a inset which uses a whole row.
400
401 2005-07-15  José Matos <jamatos@lyx.org>
402
403         * output_plaintext.[Ch] (writeFileAscii): control reference title
404         printing.
405         (asciiParagraph): noparbreak was already deal and was incorrectly
406         used.
407
408 2005-07-15  Juergen Vigna <jug@lyx.org>
409
410         * lyxfunc.C (dispatch): save and restore the cursor after a
411         textclass switch.
412
413 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
414
415         * text.C (backspace): bug 806 for empty keepempty paragraphs we
416         change the layout to default before letting DEPM do its thing.
417
418         * paragraph_funcs.C (breakParagraph): dont reset the layout on
419         keepEmpty paragraphs
420
421         * text.C (setCursorFromCoordinates): add a debug statement
422
423         * text2.C (getColumnNearX): bug 1825 make sure that we don't
424         return a pos that is not on the row
425
426         * output_latex.C (TeXDeeper): get rid of potential dereferencing
427         of past the end iterator
428
429 2005-07-14  André Pönitz  <poenitz@gmx.net>
430
431         * undo.C (recordUndoFullBuffer): implement undo for
432         textclass switches
433
434 2005-07-14  André Pönitz  <poenitz@gmx.net>
435
436         * cursor.C (setSelection): open insets when selection is set there
437         to avoid crashs with cold coord cache
438
439 2005-07-14  André Pönitz  <poenitz@gmx.net>
440
441         * trans_mgr.C (insert): move cursor to the right after inserting
442         a char.
443
444 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
445
446         * BufferView_pimpl.C (update): dampen some of the debug blabbering
447         * factory.C (readInset): ditto
448         * text.C, text2.C: ditto
449
450 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
451
452         * buffer.C: format incremented to 242. There is no file format per
453         se, but the "frenchb" language has been removed from lib/language
454         and has to be translated to "french" by lyx2lyx.
455
456 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
457
458         * cursor_slice.h, dociterator.h: add some documentation
459         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
460
461 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
462
463         * text.C (leftMargin): do not add identation to display() style
464         insets, because they are always centered (bug 1293).
465
466 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
467
468         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
469         formatted_time methods in support/lyxtime.
470
471 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
472
473         * toc.[Ch]: new method getGuiName, which is used by the frontends 
474         to set the toc combo (fixes bug 1870). Make TOC string translatable.
475
476 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
477
478         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
479         StableDocIterator const &)
480         * undo.C (recordUndo): use the above instead of cell.size() comparison
481         (fixes bug 1808; instructed by Andr�.
482
483 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
484
485         * cursor_slice.h: 
486         * dociterator.h: Fix the assert when copying rows/cols in math
487
488 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
489
490         * BufferView_pimpl.C:
491         * LyXAction.C:
492         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
493
494         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
495         (findInset): new functions, refactored from goto Inset that return 
496         the position of a certain inset without setting the buffer's cursor
497         (by Jean-Marc); 
498         (gotoInset): rewrite to call findInset and then set the cursor
499         (by Jean-Marc).
500
501 2005-06-16  Angus Leeming  <leeming@lyx.org>
502
503         * lyxrc.C (output, read): wrap all input and output of paths with
504         calls to os::internal_path and os::external_path, respectively.
505         (output): wrap bind_file inside quotes.
506
507         * format.C (view): enable the viewer to use the '$$s' placeholder.
508
509 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
510
511         * LColor.[Ch] (getFromLaTeXName): new
512
513 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
514
515         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
516
517 2005-06-14  Angus Leeming  <leeming@lyx.org>
518
519         * lyx_main.C (init): ensure that the LyX binary dir is the first
520         element in the PATH on non-POSIX builds.
521
522 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
523
524         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
525
526 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
527
528         * rowpainter.C (paintInset, paintHebrewComposeChar)
529         (paintArabicComposeChar, paintChars): add a LyXFont argument.
530         (paintChars): use getFontSpan to reduce calls to getFont to a
531         minimum; use Paragraph::lookupChange instead of isXXXText.
532         (paintForeignMark): rename LyXFont argument.
533         (paintFromPos): pass a LyXFont object to the various paintXXX
534         methods.
535
536         * FontIterator.C (FontIterator, operator++): use
537         Paragraph::getFontSpan
538
539         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
540         version that returns the font span as a pair.
541
542 2005-06-09  Angus Leeming  <leeming@lyx.org>
543
544         * converter.C (convert): Don't forget "outfile = real_outfile" as
545         the final step in a conversion where the input and output file names
546         are the same. Otherwise, future conversion steps won't work...
547
548 2005-06-09  Angus Leeming  <leeming@lyx.org>
549
550         * lyxsocket.C: remove stub code as it isn't needed by
551         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
552
553 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
554
555         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
556         effectively disabled -x
557
558 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
559
560         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
561         when it actually makes sense.
562
563 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
564
565         * BufferView_pimpl.C: revert to showCursor in connection with
566         Lars's front-end stack
567
568 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
569
570         * text.C (redoParagraph): move cursor right after a bibitem
571         has been inserted.
572
573         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
574
575 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
576
577         * buffer_funcs.C (bufferErrors): fix computation of the end of an
578         error range.
579
580 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
581
582         * BufferView.[Ch] (update):
583         * BufferView_pimpl.[Ch] (update, metrics):
584         * dimension.h (operator==):
585         * lyxfunc.C (dispatch):
586         * metricsinfo.h (ViewMetricsInfo):
587         * rowpainter.C (paintText):
588         * lyxtext.h:
589         * text.C (redoParagraph):
590         * text3.C (dispatch): Make LyX only repaint current paragraph in
591         case of character insert --> speedup. Also fix cursor draw
592         artifacts
593
594 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
595
596         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
597         avoid a crash (bug 1891)
598
599 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
600
601         Fix bug 1892:
602
603         * text2.C (getStringToIndex): constify cur argument.
604
605         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
606         argument has been given
607         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
608         try to invoke LFUN_INSET_APPLY).
609
610         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
611         if no inset was created by doInsertInset
612         (doInsertInset): return true if an inset has been inserted.
613
614 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
615
616         * vspace.C (asGUIName): new method. A version of the space
617         suitable for showing on screen.
618
619 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
620
621         * MenuBackend.C:
622         * lyxrc.C: rename "ASCII" to "Plain Text"
623
624 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
625
626         * buffer_funcs.C (expandLabel): take a Buffer as argument;
627         translate the labelstring.
628         (setCounter): translate labelstring as needed.
629
630         * output_docbook.C (makeCommand): fix expandLabel invokation
631
632 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
633
634         * BufferView.C: fix dialog title
635
636 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
637
638         * lyx_main.C (priv_exec): fix logic error with help from Angus
639         * lyx_main.C (parse_execute): set is_gui = false and remove now
640         obsolete comment about a segfault
641
642 2005-05-18  Angus Leeming  <leeming@lyx.org>
643
644         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
645
646 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
647
648         * tabular.[hC]: added setCellInset to fix tabular paste.
649
650 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
651
652         * buffer.C (save): check if destination is writable before trying
653         to copy a file
654
655 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
656
657         * BufferView_pimpl.C (update): fix processEvents -caused update
658         recursion bug
659
660 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
661
662         * buffer_funcs.C (setCounter): fix test for numbering of
663         environments.
664
665         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
666         depth correctly; use optional argument when it exists
667
668         * lyxtextclass.C: remove unused MaxCounterTags enum
669         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
670         (max_toclevel, min_toclevel): new methods.
671
672         * MenuBackend.C (expandToc2): fix case where depth is smaller than
673         the smallest depth in toc.
674
675         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
676         layouts that should not appear in a table of contents.
677
678 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
679
680         * cursor.h (undispatched, noUpdate): add comments from Andr�
681 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
682
683         * lfuns.h:
684         * LyXAction.C:
685         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
686
687 2005-05-07  André Pönitz  <poenitz@gmx.net>
688
689         * cursor.[Ch] (leaveInset): new function
690
691 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
692
693         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
694
695 2005-05-04  Angus Leeming  <leeming@lyx.org>
696
697         * lyxfunc.C (getStatus): disable the spell checker dialog if
698         none of USE_[AIP]SPELL are defined.
699
700 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
701
702         * tabular.C (setWidthOfCell): remove obsolete comment
703
704 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
705
706         * paragraph.C (bibitem):
707         * buffer_funcs.C (setCounter):
708         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
709
710 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
711
712         * text3.C (getStatus): immediately return after setOnOff
713
714         * rowpainter.C: fix drawing of appendix start
715
716 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
717
718         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
719         SwitchBetweenClasses and remove the unused return value.
720         Handle character styles, too
721
722 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
723
724         * factory.C (createInset): handle undefined character styles
725
726 2005-05-02  Angus Leeming  <leeming@lyx.org>
727
728         * buffer.C: protect the #include of utime.h with a preprocessor
729         guard.
730
731 2005-05-02  Angus Leeming  <leeming@lyx.org>
732
733         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
734         function so that auto-saving works, albeit in a blocking manner.
735
736         * Makefile.am: make compilation of the client sub directory, of
737         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
738         on conditionals set at configure time.
739
740         * SpellBase.[Ch]: no longer an abstract base class. Instead,
741         it can be compiled in its own right but has no-op functionality.
742
743         * aspell.C, pspell.C: remove preprocessor guards. The files should
744         be compiled only if the necessary functionality exists.
745
746         * lyxserver.C, lyxsocket.C: disable on Windows.
747
748 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
749
750         * text.C (leftMargin): Fix the parindent use bug (1764)
751         by dirty trick
752
753 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
754
755         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
756         argument.
757
758 2005-04-25  Angus Leeming  <leeming@lyx.org>
759
760         * Bidi.[Ch]:
761         * coordcache.[Ch]:
762         * ispell.C:
763         * lyxserver.C:
764         * mover.C:
765         * pch.h:
766         include <config.h> in .C files, not .h ones.
767         add licence blurb.
768         protect headers inside preprocessor guards.
769
770 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
771
772         * FuncStatus.h (StatusCodes): document
773
774 2005-04-21  André Pönitz  <poenitz@gmx.net>
775
776         * FuncStatus.h (enabled, onoff): document
777
778 2005-04-19  Angus Leeming  <leeming@lyx.org>
779
780         * BufferView_pimpl.C (cursorToggle): no longer test whether
781         any child processes have been reaped before calling
782         handleCompletedProcesses().
783
784 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
785
786         * text3.C (dispatch): fix, finally fix, the language problem in
787         new lyxtexts, without disabling on-the-fly font changes (Helge's
788         bug report)
789
790 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
791
792         * text3.C (dispatch): set cursor on double/triple click events
793         (bug 1811)
794
795 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
796
797         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
798         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
799
800         * rowpainter.C (paintFirst): simplify the code a little bit. In
801         particular, remove the test for secnumdepth.
802         * text.C (setHeightOfRow): only allocate space for chapter number
803         when updateCounters provided an actual label, instead of looking
804         at secnumdepth directly.
805
806         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
807
808         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
809         paragraphs when secnumdepth is large enough or, for environments,
810         when they are not the first in a sequence.
811
812 2005-04-17  Angus Leeming  <leeming@lyx.org>
813
814         * buffer.C (makeLaTeXFile): replace code to manipulate a path
815         containing space and '~' characters with a call to latex_path().
816
817 2005-04-17  Angus Leeming  <leeming@lyx.org>
818
819         * converter.C (convert): protect all args of convertDefault.sh
820         script with quotes.
821
822 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
823
824         * text3.C (dispatch): change the layout to "Caption" after inserting
825         a float.
826
827 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
828
829         * text3.C (dispatch): fix language problem in newly created
830         textinsets (and main text) in non-english docs
831
832 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
833
834         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
835         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
836         * text3.C (getStatus): disable LFUN_INSET_MODIFY
837
838 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
839
840         * lyxtext.h:
841         * text.C (metrics):
842         * text2.C (getFont):
843         * rowpainter.C (getFont): Fix metrics bug introduced by inset
844         fonts fix
845
846 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
847
848         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
849         output of \item arguments without trailing text.
850
851 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
852
853         * FontIterator.C (operator*): avoid a copy of the font.
854
855 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
856
857         * rowpainter.C (getFont): fix language bug from previous fix
858
859 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
860
861         * rowpainter.C (RowPainter, getFont): fix font inside inset
862         (bugs 1766, 1809)
863
864 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
865
866         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
867         preventing inserted font, deco, delim insets jumping to start of
868         surrounding inset.
869
870 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
871
872         * lyxfunc.C (dispatch): translate message before sending it to the
873         minibuffer.
874
875 2005-03-29  Angus Leeming  <leeming@lyx.org>
876
877         * lyx_main.C (priv_exec): call os::internal_path on each file passed
878         to LyX on the command line.
879
880 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
881
882         * vc-backend.C: use QuoteName to protect file names wherever
883         necessary.
884
885 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
886
887         * buffer.[Ch]:
888         * BranchList.h: fix bugs 1844,1845: document settings don't
889         stick
890
891 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
892
893         * lyxrc.C (setDefaults, read, output, getDescription): add support
894         for tex_allows_spaces.
895
896         * exporter.C (Export): allows files in directory containing spaces
897         if tex_allows_spaces is true.
898
899         * buffer.C (makeLaTeXFile): if the document path contains spaces,
900         output it in double quotes.
901
902 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
903
904         * rowpainter.C: use default text height for drawing change tracker
905         strikeout lines.
906
907 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
908
909         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
910
911 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
912
913         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
914         directory is missing.
915
916 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
917
918         * text2.C: fixed the fix, extended to other case.
919
920 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
921
922         * text2.C: fix for cursor up/down stuck in math [bug 1792]
923
924 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
925
926         * text2.C (cursorUp): get rid of a crash
927         * text.C (x2pos): add an assert
928
929 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
930
931         * lyxfunc.C (getStatus): fix warning when assertions are disabled
932
933         * text3.C:
934         * lyxfunc.C:
935         * dociterator.C: include <boost/current_function.hpp>, which is
936         needed when assertions are disabled.
937
938 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
939
940         * text2.C: fix for stuck cursor when traversing two
941         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
942
943 2005-02-25  Andreas Vox  <avox@arcor.de>
944
945         * output_docbook.C (makeParagraph): suppress trailing newline
946         after a run of paragraphs
947
948 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
949
950         * paragraph.C: fix for confused change tracker when pasting
951         text that begins with a lineseparator. [bug 1827]
952         (setChange(0, Change::INSERTED);)
953
954         * paragraph_funcs.C: fix for lost changes on triple-paste
955         in change tracking mode [bug 1827] (par.setChange()).
956
957 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
958
959         * text2.C (updateCounters, setCounter, expandLabel): move to
960         buffer_funcs.
961
962         * buffer_funcs.C (updateCounters): turn into a free standing
963         function and add a buffer parameter. Remove dead code for tracking
964         labelstring change.
965         (setCounter): change into a free-standing function which gets a
966         dociterator as argument. Use this iterator to fix captions in a
967         simple way. When no float is found above the caption, use the
968         labelstring of the caption layout as default.
969
970         * text.C (breakParagraph, backspace):
971         * text2.C (init, setLayout, changeDepth):
972         * text3.C (dispatch):
973         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
974         updateCounters.
975
976         * dociterator.C (forwardPar): make it much faster by calling
977         forwardPos() only when really necessary.
978
979         * output_docbook.C (makeCommand): adapt to expandLabel move.
980
981         * cursor.C: remove unused variable
982
983 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
984
985         * paragraph_funcs.C: fix crash when pasting insets in change
986         tracking mode [bug 1277] (honour change type in moveItem).
987
988 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
989
990         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
991
992 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
993
994         * BufferView.C (setCursor): change to use a DocIterator.
995         (gotoLabel): use BufferView::setCursor (other part of bug 781).
996         (putSelectionAt): adapt to BufferView::setCursor change.
997
998         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
999         moved here from LyXText and rewritten to use proper cursor
1000         methods. Fixes bug 1787, 616 and 835.
1001
1002         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1003         when inside an inset (part of bug 781).
1004         (dispatch): adapt to change of BufferView::setCursor.
1005         (getStatus, dispatch): handle LFUN_GOTOERROR,
1006         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1007
1008         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1009         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1010         * text3.C (gotoNextInset, gotoInset): removed.
1011
1012 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1013
1014         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1015
1016 2005-02-15  Angus Leeming  <leeming@lyx.org>
1017
1018         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1019         can be used meaningfully in a comparison.
1020
1021 2005-02-13  André Pönitz  <poenitz@gmx.net>
1022
1023         * bufferview_funcs.C (coordOffset): improve cursor drawing
1024
1025 2005-02-13  André Pönitz  <poenitz@gmx.net>
1026
1027         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1028         * Cursor.C (dispatch): use fixIfBroken
1029         * lyxfunc.C (getStatus): use fixIfBroken
1030
1031 2005-02-15  Angus Leeming  <leeming@lyx.org>
1032
1033         * lyx_main.C (error_handler):
1034         * lyxfunc.C:
1035         * lyxrc.C (setDefaults):
1036         s/GetEnv/getEnv/.
1037         #include "environment.h".
1038
1039         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1040
1041 2005-02-15  Angus Leeming  <leeming@lyx.org>
1042
1043         * lyxserver.C (startPipe): squash MSVC warning "local variable
1044         'fd' used without having been initialized".
1045
1046 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1047
1048         * BufferView_pimpl.C: revert accidental commit.
1049
1050 2005-02-14  André Pönitz  <poenitz@gmx.net>
1051
1052         * dociterator.[Ch]: new member forwardPosNoDescent(),
1053         which doesn't enter nested insets.
1054         * text2.C (setFont): use forwardPosNoDescent() instead
1055         of ForwardPos() (fixes crash on font change).
1056
1057 2005-02-13  Angus Leeming  <leeming@lyx.org>
1058
1059         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1060         only if lyxrc.path_prefix is not empty.
1061
1062 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1063
1064         * bufferparams.C (readGraphicsDriver): prevent crash
1065
1066 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1067
1068         * text2.C (setCounter): check for inInset() == 0
1069
1070 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1071
1072         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1073         but use update() to get correct screen display; use convert
1074         instead of istringstream.
1075         (getStatus): handle LFUN_GOTO_PARAGRAPH
1076
1077         * lyxfunc.C (dispatch, getStatus): do not handle
1078         LFUN_GOTO_PARAGRAPH here.
1079
1080 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1081
1082         * text3.C (dispatch): size() -> depth()
1083
1084         * text2.C: remove some debug output
1085
1086         * paragraph.C: ws changes only
1087
1088         * lyxfunc.C (getStatus): size() -> depth()
1089
1090         * dociterator.h (clear, push_back, pop_back, internalData,
1091         operator[], resize, empty): new functions
1092         Make StableDocIterator and operator== be friends. Don't inherit
1093         from std::vector use a privat class variable slices_ instead.
1094         Modify to fit.
1095
1096         * dociterator.C: update because of not inheriting from std::vector
1097         anymore. Call explictly to slices_ instead. Use depth() instead of
1098         size() and top() instead of back()
1099
1100         * cursor.C: chagne size() -> depth and back() -> top(). Also
1101         remove some direct operator[](i) calls in favour of foo[i]
1102         (getFont): remove some dead code
1103
1104         * bufferview_funcs.C (coordOffset): size() -> depth()
1105
1106         * buffer.C: ws changes only
1107
1108         * CutAndPaste.C (eraseSelection): back() -> top()
1109
1110         * BufferView_pimpl.C (selectionRequested): back() -> top()
1111
1112         * BufferView.C (setCursor): size() -> depth()
1113
1114 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1115
1116         * text3.C (cursorPrevious): return true if depm changed something
1117         (cursorNext): ditto
1118         (dispatch): rename sl to oldTopSlice, remove moving use the new
1119         NoUpdate func attrib instead. Make sure that needsUpdate is set
1120         for function that have NoUpdate, but where depm might have changed
1121         the buffer anyway.
1122
1123         * text2.C (cursorLeft): make us return true if depm changed
1124         something
1125         (cursorRight): ditto
1126         (cursorUpParagraph): ditto
1127         (curosrDownParagraph): ditto
1128         (cursorUp, cursorDown): ditto, make sure to read comments in code
1129         (deleteEmptyParagraphMechanism): remove an assert, also return
1130         true if just a single char was deleted.
1131
1132         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1133         cursor that we modify, to avoid modifying an active cursor before
1134         we call setCursor. This allows depm to run. Also return true if
1135         depm deleted something.
1136
1137         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1138         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1139         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1140         something was changed in the buffer because of them (ie. depm run)
1141
1142         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1143         debug messages. Make update by default be false. Make sure that
1144         the result of update is retained throught several calls down to
1145         dispatch.
1146
1147         * LyXAction.h: add a new func_attrib: NoUpdate
1148
1149         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1150         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1151         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1152         and LFUN_WORDLEFT
1153         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1154
1155 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1156
1157         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1158         bv_->owner(), bv_->buffer() by direct references to the private
1159         members.
1160         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1161         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1162         (fitCursor): center() is in BufferView::Pimpl.
1163         (getStatus, trackChanges, dispatch): no need for a temporary buf
1164         variable
1165         (fitCursor, workAreaDispatch): use workarea().workheight()
1166
1167 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1168
1169         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1170
1171 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1172
1173         * buffer.C: format up to 241.
1174         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1175         break if pasting into ERT
1176         * lyxfunc.C (getStatus): suppress mathpanel and
1177         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1178
1179 2005-02-01  Angus Leeming  <leeming@lyx.org>
1180
1181         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1182
1183 2005-02-01  Angus Leeming  <leeming@lyx.org>
1184
1185         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1186         calling fs::is_directory().
1187
1188 2005-01-31  Angus Leeming  <leeming@lyx.org>
1189
1190         * lyx_main.C (priv_exec): specify explicitly the relative location
1191         of the top level build directory when run in-place.
1192
1193 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1194
1195         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1196         LyXText containing the cursor, not the top-level one.
1197
1198         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1199         true.
1200         (insertStringAsLines): rename par to pit; use temporary variable
1201         par to hold a Paragraph; do not store par.layout() in a variable,
1202         since the pointer may die when breaking paragraphs; pass pars to
1203         breakParagraph() instead of Buffer::paragraphs().
1204
1205 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1206
1207         * lyxlex_pimpl.h: #include <fstream>.
1208
1209         * BufferView.[Ch] (getLyXText): add a const version.
1210
1211         * BufferView_pimpl.C: add debug aids.
1212
1213         * RowList_fwd.h:
1214         * buffer.h:
1215         * lyxrow.h:
1216         * paragraph_funcs.h: add commentary explaining what the class does.
1217
1218
1219         * coordcache.[Ch]: add lots of commentary.
1220         (startUpdating, doneUpdating): debug aids.
1221         (arrays, insets, parPos, getParPos): accessors to private data.
1222
1223         * cursor_slice.[Ch] (text): add a const version.
1224         * dociterator.[Ch] (text, innerText): add const versions.
1225
1226         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1227         bool.
1228
1229         * paragraph.C (getRow, pos2ros): add asserts.
1230
1231         * paragraph.h: add commentary. Lots of.
1232
1233         * paragraph.[Ch] (metrucs, draw): removed.
1234
1235         * cursor.C:
1236         * rowpainter.[Ch]: const-correct changes.
1237
1238         * text.C: various obvious clean-ups. Removal of ancient cruft.
1239         Bug fixes, even.
1240
1241 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1242
1243         * vc-backend.C (find_file): rewrite to use boost.filesystem
1244         (scanMaster): ditto
1245
1246         * main.C (main): set default name check for boost.filesystem to
1247         no check
1248
1249         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1250         (open): ditto
1251         (doImport): ditto
1252         (actOnUpdatedPrefs): ditto
1253
1254         * lyx_main.C (init): rewrite to use boost.filesystem
1255         (queryUserLyXDir): ditto
1256
1257         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1258         (getContentsOfAsciiFile): ditto
1259
1260         * lastfiles.C (readFile): rewrite to use boost.filesystem
1261
1262         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1263
1264         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1265         (loadLyXFile): ditto
1266
1267         * buffer.C (Buffer): adjust for destroydir
1268         (getLogName): rewrite to use boost.filesystem
1269         (setFileName): ditto
1270         (save): use fs::copy_file (from fs_extras)
1271
1272         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1273
1274         * LaTeX.C (run): rewrite to use boost.filesystem
1275         (scanAuxFiles): ditto
1276         (handleFoundFile): ditto
1277
1278 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1279
1280         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1281
1282         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1283
1284 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1285
1286         * lyxlayout.[Ch]: change some vars from float to double
1287
1288         * buffer.C (readFile): make a local var const
1289
1290         * Several files: use convert<> instead of atoi,strToXXX and friends
1291
1292 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1293
1294         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1295         holds the contents of packages.lst. New functions getAvailable
1296         and isAvailable to parse and check that list, resp.
1297
1298         * LyXAction.C:
1299         * lfuns.h:
1300         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1301
1302         * bufferparams.[Ch]: new param output_changes.
1303
1304         * Buffer.C: increase file format to 240.
1305         Use output_changes and isVailable.
1306
1307         * changes.[Ch]:
1308         * paragraph.C:
1309         * paragraph_pimpl.C: Use output_changes and isVailable.
1310
1311 2005-01-23  Angus Leeming  <leeming@lyx.org>
1312
1313         * output_latex.C: #include "insetbibitem.h", rather than
1314         forward declare function bibitemWidest.
1315
1316 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1317
1318         * lyx_main.C (init): make it compile on the Mac.
1319
1320 2005-01-20  Angus Leeming  <leeming@lyx.org>
1321
1322         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1323         (setLyXMisc): (char string literal) != (char string literal) is
1324         performing a comparison on the addresses. Convert one operand
1325         explicitly to string to guarantee expected behaviour.
1326         From MSVC warning.
1327
1328 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1329
1330         * buffer.C:
1331         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1332
1333         * output_plaintext.C: remove unneeded #include gzstream.h.
1334
1335 2005-01-20  Angus Leeming  <leeming@lyx.org>
1336
1337         * SpellBase.h: rename some of the elements of the Result enum.
1338
1339         * aspell_local.h:
1340         * ispell.h:
1341         * pspell.h:
1342         * aspell.C (check):
1343         * ispell.C (check):
1344         * pspell.C (check): ditto
1345
1346 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1347
1348         * buffer.C: add #include <fstream>.
1349
1350         * lyx_main.C (init): Compile fix.
1351
1352         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1353
1354 2005-01-20  Angus Leeming  <leeming@lyx.org>
1355
1356         * mover.h: change commentary to reflect the changed meaning of
1357         the $$s placeholder.
1358
1359 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1360
1361         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1362
1363         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1364
1365 2005-01-20  Angus Leeming  <leeming@lyx.org>
1366
1367         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1368         printing diagnostic data by not dereferecing an iterator past the
1369         end.
1370
1371 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1372
1373         * buffer.C (readHeader): use "&&" rather than "and".
1374
1375         * lyxserver.h (inPipeName, outPipeName): make these const.
1376
1377 2005-01-19  Angus Leeming  <leeming@lyx.org>
1378
1379         * lyx_main.C (error_handler, init): protect SIGHUP with
1380         #ifdef SIGHUP guards.
1381
1382 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1383
1384         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1385
1386 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1387
1388         * text.C (setHeightOfRow): add a margin at the top and bottom of
1389         the document (bug 1761)
1390
1391 2005-01-17  Angus Leeming  <leeming@lyx.org>
1392
1393         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1394         with "python ". Workaround for a brain-dead Windows.
1395
1396 2005-01-16  Angus Leeming  <leeming@lyx.org>
1397
1398         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1399         for MacOSX and Windows to use prependEnvPath.
1400         Strip out the hard-coded block to add elements to the PATH for
1401         MacOSX and replace it with a call to prependEnvPath using the
1402         contents of LyXRC::path_prefix.
1403         (queryUserLyXDir): strip out the code to run reconfigure, instead
1404         returning a boolean indicating the necessity to do so.
1405         (reconfigureUserLyXDir): contains the code to reconfigure the
1406         user support directory. Is now called after the various LyXRC data
1407         files have been read.
1408
1409         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1410
1411 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1412
1413         * converter.[Ch] (convert): take a new parameter try_default. Use
1414         a default converter (imagemagick) if try_default is true.
1415
1416 2005-01-13  Angus Leeming  <leeming@lyx.org>
1417
1418         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1419         os::cygwin_path_fix.
1420         (write): output LyXRC::cygwin_path_fix as necessary.
1421
1422 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1423
1424         * lyxrc.h:
1425         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1426
1427 2005-01-12  Angus Leeming  <leeming@lyx.org>
1428
1429         * lyx_main.C (init): set the PATH variable to include the
1430         directory containing the LyX binary when running on Mac or Windows.
1431
1432 2005-01-12  Angus Leeming  <leeming@lyx.org>
1433
1434         * lyx_main.C (init): remove cruft that purports to set the locale
1435         dir. It doesn't and is not needed anyway.
1436
1437 2005-01-10  Angus Leeming  <leeming@lyx.org>
1438
1439         * Makefile.am: remove the lyx_main.C special casing.
1440
1441         * BufferView_pimpl.C:
1442         * bufferlist.C:
1443         * exporter.C:
1444         * lyx_cb.C:
1445         * lyx_main.C:
1446         * lyxfunc.C:
1447         * messages.C: use support/package.h to provide the paths to the
1448         various directories used by LyX.
1449
1450 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1451
1452         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1453         layout if pasting into an empty paragraph)
1454
1455 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1456
1457         * tex-accent.C: add <string>
1458
1459 2005-01-06  José Matos  <jamatos@lyx.org>
1460
1461         * ParagraphParameters.C (write): put every parameter in its own line.
1462         * paragraph.C (write): reduce number of consecutive empty lines exported.
1463         * buffer.C (LYX_FORMAT): increase file format to 239.
1464
1465 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1466
1467         * everywhere: change support/tostr.h -> support/convert.h
1468
1469         * tabular.C: make all write_attributes templates, tostr -> convert
1470
1471         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1472         (emptyTag): and -> &&, and fix type for ret from getChar
1473         (getFirstWord): fix type for ret from getChar
1474         (onlyText): and -> &&
1475         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1476         getChar
1477
1478         * toc.C (goTo, action):
1479         * text3.C (dispatch):
1480         * text.C (currentState):
1481         * tex-accent.C (DoAccent):
1482         * sgml.C:
1483         * lyxrc.C:
1484         * lyxfunc.C (menuNew):
1485         * lyxfinc.C (replace):
1486         * counters.C (laberItem):
1487         * bufferview_funcs.C (font2string):
1488         * bufferparams.C (writeFile):
1489         * buffer.C (readFile):
1490         * Spacing.C (set):
1491         * MenuBackend.C: tostr -> convert
1492
1493         * LaTeX.C (runMessage): fix format
1494         (scanAuxFiles): tostr -> convert
1495
1496         * BufferView_pimpl.C (savePosition): fix format
1497         (restorePosition): ditto
1498         (dispatch): ditto
1499
1500 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1501
1502         * Spacing.[Ch]: New method getValueAsString().
1503
1504         * Spacing.[Ch]:
1505         * bufferparams.C:
1506         * ParagraphParameters.C:
1507         * lyxlayout.C:
1508         * text.C:
1509         * text3.C: store/read spacing value as string.
1510
1511         * rowpainter.C: change float value (spacing_val) to double.
1512
1513         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1514         broken custom document spacing).
1515
1516 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1517
1518         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1519         namespace, also more use of temp references and const
1520
1521         * cursor.[Ch] (getStatus): move to lyxfunc.C
1522
1523         * bufferparams.C: reformat slightly
1524
1525         * bufferview_funcs.C (font2string): constify arg
1526
1527         * changes.C:
1528         * converter.C:
1529         * counters.C:
1530         * bufferlist.C:
1531         * buffer_funcs.C: (many funcs): constify arg on function
1532         definitions, also make more local vars const, also add ASSERTS on
1533         pointer args.
1534
1535         * buffer.C (LYX_FORMAT): put const in correct place
1536         (many funcs): constify arg on function definitions, also make
1537         more local vars const
1538
1539         * aspell_local.h: remove "struct" from typdef setup
1540
1541         * aspell.C (check): make word_ok const
1542         (nextMiss): simplify slightly
1543         (error): ditto
1544
1545 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1546
1547         * lyxrc.[Ch]: store all float values as strings.
1548         use int (not float) for lyxrc.dpi.
1549
1550 2005-01-04  Angus Leeming  <leeming@lyx.org>
1551
1552         * lyx_cb.C (Reconfigure):
1553         * lyx_main.C (queryUserLyXDir):
1554         to run the <system_lyxdir>/configure correctly on Windows, prefix
1555         the path to the script with "sh " when generating the string that
1556         is passed to system().
1557
1558 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1559
1560         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1561
1562 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1563
1564         * lyxlength.C (asLatexString): get rid of setprecision
1565
1566 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1567
1568         * text2.C (setLayout): remove unused variable endpit.
1569         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1570
1571         * paragraph.C (onlyText): remove unused variable style.
1572
1573         * cursor.C (bruteFind): remove unused variables beg and end.
1574
1575         * Makefile.am (dist_noinset_DATA): not needed anymore
1576
1577         * cheaders/*: remove.
1578
1579 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1580
1581         * text3.C: fix LFUN_MATH_MODE.
1582
1583 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1584
1585         * buffer_funcs.C (countWords): new function. Counts words between
1586         two iterators.
1587
1588         * BufferView_pimpl.C (getStatus, dispatch): handle
1589         LFUN_WORDS_COUNT.
1590
1591         * LyXAction.C (init):
1592         * lfuns.h: add LFUN_WORDS_COUNT.
1593
1594 2004-12-19  Angus Leeming  <leeming@lyx.org>
1595
1596         * buffer.C (save): s/slashify_path/internal_path/.
1597
1598 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1599
1600         * lyxfind.C (findChange): do not search for end of pars, because
1601         the change tracker cannot handle this (fixes bug 1719).
1602
1603 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1604
1605         * paragraph.[Ch] (autoBreakRows): remove
1606
1607         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1608
1609         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1610         avoid using the paragraph one
1611
1612         * text2.C (LyXText, insertStringAsLines): adjust
1613
1614 2004-12-16  Angus Leeming  <leeming@lyx.org>
1615
1616         * bufferlist.C:
1617         * lyx_main.C:
1618         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1619
1620 2004-12-14  Angus Leeming  <leeming@lyx.org>
1621
1622         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1623
1624         * bufferlist.C (emergencyWrite):
1625         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1626         GetEnvPath("HOME").
1627
1628 2004-12-14  Angus Leeming  <leeming@lyx.org>
1629
1630         * main.C: (main): no longer pass pointers to os::init.
1631
1632 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1633
1634         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1635         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1636
1637 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1638
1639         * lyxfunc.C:
1640         * text3.C: remove selection_possible global flag
1641
1642 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1643
1644         * text2.C (getSelectionSpan): remove
1645         (changeDepth, changeDepthAllowed): adjust
1646
1647 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1648
1649         * Makefile.am (BOOST_LIBS): use boost variables
1650
1651 2004-12-03  José Matos  <jamatos@lyx.org>
1652
1653         * buffer.C: format up to 238.
1654
1655 2004-12-03  José Matos  <jamatos@lyx.org>
1656
1657         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1658
1659 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1660
1661         * cursor.C (goUpDown): remove call to idxUpDown2
1662
1663 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1664
1665         * tabular.[Ch]: use size_t-like types for cell, row and column
1666         indices
1667
1668 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1669
1670         * lyxfunc.C (getStatus): do not lose previous information when
1671         calling BufferView::getStatus; do not set a default "Command
1672         disabled" message at the beginning, but just before returning.
1673
1674 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1675
1676         * cursor.h (getStatus): add better comment from src/cursor.C
1677
1678 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1679
1680         * text3.C (getStatus): return false when the lfun is not handled
1681
1682 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1683
1684         * broken_headers.h: remove
1685
1686         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1687
1688 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1689
1690         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1691         offset_ref accessors
1692
1693         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1694         top_y_, merge fitcursor with update
1695         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1696         coord scheme
1697         (metrics): introduce
1698         (workAreaDispatch): adapt to new coord scheme
1699         (redoCurrentBuffer): remove
1700
1701         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1702
1703         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1704         CurStatus enum.
1705
1706         * coordcache.[Ch]: add paragraph cache and helpers
1707
1708         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1709         adjust everywhere
1710
1711         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1712         (targetX, setTargetX): introduce
1713
1714         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1715         baseline -> ascent, as the rest of lyx
1716
1717         * lyxtext.h: remove redoParagraphs, updateParPositions,
1718         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1719         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1720         have ascent/descent (ascent is ascent of first par)
1721
1722         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1723         step of BufferView
1724
1725         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1726
1727         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1728
1729         * pariterator.C: fix infinite loop introduced in par->pit renaming
1730
1731         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1732         in insets and LyXText, draw two off-screen paragraphs using
1733         NullPainter, and adapt to new coord scheme
1734
1735         * text.C:
1736         * text2.C:
1737         * text3.C: adapt lfun handlers to the new coord scheme, which
1738         means: there's only guaranteed coord information for onscreen pars
1739         plus one above and one below. This implies that one can do search
1740         from y coordinates in the range [-1,workHeight]
1741
1742 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1743
1744         * rename a lot of InsetOld to InsetBase
1745
1746 2004-11-25  Angus Leeming  <leeming@lyx.org>
1747
1748         * BufferView_pimpl.C:
1749         * lyx_cb.C:
1750         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1751
1752 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1753
1754         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1755         call BufferView::getStatus if LCursor::getStatus did nothing
1756         (setStatusMessage, getStatusMessage): removed.
1757
1758         * FuncStatus.C (message): new methods. Used to provide an error
1759         message indicating why a command is disabled.
1760         (clear, |=, FuncStatus): update for message.
1761
1762 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1763
1764         * lyxfunc.C (dispatch): always call sendDispatchMessage
1765
1766 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1767
1768         * BufferView.C:
1769         * BufferView_pimpl.C:
1770         * CutAndPaste.C:
1771         * FontIterator.C:
1772         * buffer.C:
1773         * cursor.C:
1774         * cursor_slice.[Ch]:
1775         * dociterator.[Ch]:
1776         * lyxfind.C:
1777         * paragraph_funcs.C:
1778         * pariterator.C:
1779         * rowpainter.C:
1780         * text.C:
1781         * text2.C:
1782         * text3.C:
1783         * undo.C: par->pit renaming
1784
1785 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1786
1787         * tabular.C (cellstruct): use initialization, store a shared_ptr
1788         to insettext instead of the insettext directly, adjust to fit.
1789         (operator=):  new function
1790         (swap): new function
1791         (rowstruct): use initialization
1792         (columnstruct): use initialization
1793         (ltType): use initialization
1794
1795
1796         * lyxlength.h (swap): new function
1797
1798         * LColor.[Ch] (operator=): use the common semantics
1799
1800 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1801
1802         * lyxfind.C (findNextChange): update the bufferview after setting
1803         the selection.
1804
1805 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1806
1807         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1808         number of InsetOptArgs has already been inserted.
1809
1810         * output_latex.C (latexOptArgInsets): new method. This outputs all
1811         the optarg insets, up to the limit defined in the layout file.
1812         (optArgInset): removed
1813         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1814
1815 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1816
1817         * paragraph.C (isLetter): remove special spellchecker-related
1818         code; return true also for digits
1819         (isWord, isKomma): remove
1820
1821         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1822         * lyxfind.C (MatchString()): use isLetter instead of isWord
1823
1824 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1825
1826         * pariterator.h (operatir=): comment out un-implemented member
1827         function.
1828
1829         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1830         static cast.
1831
1832 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1833
1834         * lyxfont.h: include LColor.h to satisfy concept checks.
1835
1836 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1837
1838         * pariterator.h: add typdefs for value_type, difference_type,
1839         pointer and reference to satisfy concept checks. Also add default
1840         constructor for same reason.
1841
1842         * pariterator.C (operator++): add post-increment operator to
1843         satisfy concept checks.
1844
1845         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1846         checks.
1847
1848         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1849
1850         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1851         checks. Also rename base_type to BaseType to follow naming
1852         standard better.
1853
1854         * FloatList.h: include Floating.h to satisfy concept checks.
1855
1856 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1857
1858         * lyxfunc.C (getStatus): when the origin of the request is menu or
1859         toolbar, and the LyXView does not have focus, do as if there was
1860         no buffer (bug 1720)
1861
1862         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1863         FuncRequest to individual entries of LFUN_SEQUENCE
1864
1865 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1866
1867         * output_latex.C (TeXOnePar): override runparams.moving_arg
1868         according to the needprotect value of the current paragraph (bug
1869         1739)
1870
1871         * paragraph.C (simpleTeXOnePar): no need to override
1872         runparams.moving_args here
1873
1874 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1875
1876         * vspace.C: fix off-by-one-error, related to fix #1682
1877
1878 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1879
1880         * lengthcommon.C: a more general fix for bug 1682
1881
1882 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1883
1884         * text.C (backspace): fix crash
1885
1886 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1887
1888         * format.[Ch] (getFormatFromFile): new method
1889         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1890
1891 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1892
1893         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1894
1895 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1896
1897         * lyxfunc.C (dispatch): remove the verbose argument
1898         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1899         instead
1900
1901         * kbmap.C (defkey): set the origin of func to KEYBOARD
1902
1903         * MenuBackend.C (MenuItem):
1904         * ToolbarBackend.C (add): set the origin of func to UI
1905
1906         * funcrequest.[Ch]: add origin member, which indicates which part
1907         of LyX requests an action
1908
1909 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1910
1911         * converter.C (move): don't lie in the error message
1912         * converter.h (isReachable, move): document
1913
1914 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1915
1916         * buffer.C: remove unused using lyx::support::atoi
1917         * paragraph_funcs.C: ditto
1918
1919 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1920
1921         * bufferlist.C (exists): use bind and equal_to instead of
1922         compare_memfun
1923         (getBuffer): ditto
1924         * lyxtextclasslist.C (NumberOfClass): ditto
1925
1926         * cursor.C (insert): use for_each instead of explicit for loop
1927
1928         * bufferlist.C (getFileNames): use std::transform and
1929         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1930
1931         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1932         for loop
1933
1934         * buffer.C (changeLanguage): use for_each instead of explicit for
1935         loop
1936         (hasParWithID): implement using getParFromID
1937
1938         * LaTeXFeatures.C: ws change only
1939
1940         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1941         to cleanup a bit.
1942
1943         * BufferView_pimpl.C (trackChanges): use for_each instead of
1944         expilicit for loop
1945
1946 2004-11-04  André Pönitz  <poenitz@gmx.net>
1947
1948         * undo.h:
1949         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1950
1951         * dociterator.C (asDocIterator): use hard assert again.
1952
1953 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1954
1955         * lyxlength.C (asLatexString): rewrite so that it does not use
1956         snprintf anymore
1957
1958 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1959
1960         * text3.C (specialChar, dispatch): make sure cursor moves to the
1961         right after inserting an inset
1962
1963 2004-11-02  José Matos  <jamatos@lyx.org>
1964
1965         * output_docbook.C (docbook):
1966         * paragraph.C (getID):
1967         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1968         garantee that the output is always legal.
1969
1970         * tabular.C (docbook):
1971         * outputprams.[Ch]: remove mixed contents.
1972
1973 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1974
1975         * text2.C (setCounter): prevent endless loop
1976
1977 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1978
1979         * exporter.C (copyFile): use the mover instead of support::copy()
1980         * exporter.C (Export): pass format and latex name to copyFile()
1981         * exporter.h (addExternalFile): document
1982         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1983
1984 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1985
1986         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1987
1988 2004-10-30  José Matos  <jamatos@lyx.org>
1989
1990         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1991         text and no inset or font change. This allows to use CDATA
1992         sections just for the whole paragraph.
1993
1994 2004-10-30  José Matos  <jamatos@lyx.org>
1995
1996         * paragraph.C (getFirstWord): remove unused variable.
1997
1998 2004-10-30  José Matos  <jamatos@lyx.org>
1999
2000         * paragraph.C (getFirstWord): the content should always be escaped
2001         there.
2002         (simpleDocBookOnePar):
2003         * output_docbook.C (makeEnvironment): replace reference to CDATA
2004         to style pass_thru.
2005
2006 2004-10-30  José Matos  <jamatos@lyx.org>
2007
2008         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2009
2010 2004-10-30  José Matos  <jamatos@lyx.org>
2011
2012         * output_docbook.C (makeParagraphs):
2013         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2014         standard paragraph has only a given type of content drop the wrapper.
2015
2016 2004-10-29  José Matos  <jamatos@lyx.org>
2017
2018         * output_docbook.C (makeEnvironment):
2019         * sgml.C (openTag):
2020         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2021
2022 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2023
2024         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2025         (cleanID): sanitize any id.
2026
2027 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2028
2029         * buffer.C, lyxlex_pimpl.C:
2030         * lyxlex_pimpl.C (setFile):
2031         s/getExtFromContents/getFormatFromContents/
2032
2033 2004-10-28  José Matos  <jamatos@lyx.org>
2034
2035         * output_docbook.C (makeEnvironment): move id to broadest possible
2036         scope.
2037
2038         * sgml.C (openTag): apply substitution of <> for all attributes.
2039
2040 2004-10-28  José Matos  <jamatos@lyx.org>
2041
2042         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2043         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2044         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2045
2046         * sgml.[Ch]: new version for open and closeTag for paragraph and
2047         for strings. Now they handle the ids of paragraphs.
2048
2049 2004-10-26  Angus Leeming  <leeming@lyx.org>
2050
2051         * Makefile.am: add mover.[Ch].
2052
2053         * converter.C (convert, move): use the new Movers to move external
2054         files to the temp directory.
2055
2056         * lyx_main.C (init): ensure that the global system_movers data
2057         is initialised.
2058
2059         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2060         preferences file.
2061
2062         * mover.[Ch]: new files, defining a Mover as a utility to move an
2063         external file between directories and, if necessary, manipulate this
2064         file using a helper script.
2065
2066 2004-10-25  José Matos  <jamatos@lyx.org>
2067
2068         * output_docbook.C (makeCommand): merge two if's that tested the
2069         same condition.
2070
2071 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2072
2073         * sgml.C (escapeString): fix warning in a better way
2074
2075 2004-10-25  José Matos  <jamatos@lyx.org>
2076
2077         * sgml.C (escapeString): import the require boosts header file for
2078         tie, and avoid a signed unsigned comparison.
2079
2080 2004-10-25  José Matos  <jamatos@lyx.org>
2081
2082         * sgml.h: add #include <string>
2083
2084 2004-10-25  José Matos  <jamatos@lyx.org>
2085
2086         * sgml.[Ch] (escapeString): new function to escape all the string.
2087
2088 2004-10-24  José Matos  <jamatos@lyx.org>
2089
2090         * paragraph.[Ch] (getFirstWord): new function to get the first
2091         word. Useful for description.
2092         (simpleDocBookOnePar): remove depth argument, add another that
2093         says where to start the paragraph.
2094
2095         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2096         use the new functions to fix cleanly the support for descriptions.
2097
2098 2004-10-24  José Matos  <jamatos@lyx.org>
2099
2100         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2101         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2102         * output_linuxdoc.C (linuxdocParagraphs):
2103         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2104         add buffer as argument.
2105
2106 2004-10-24  José Matos  <jamatos@lyx.org>
2107
2108         * output_docbook.C (makeEnvironment, searchEnvironment): place
2109         CDATA inside paragraphs and fix scope for listitems.
2110
2111 2004-10-24  José Matos  <jamatos@lyx.org>
2112
2113         * output_docbook.C: remove using statement for stack.
2114
2115 2004-10-23  José Matos  <jamatos@lyx.org>
2116
2117         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2118         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2119         docbook. The new scheme is recursive and makes use of iterators, the
2120         same as latex export works.
2121         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2122         directly with the paragraph contents. This code was moved up to
2123         output_docbook.C (docbookParagraphs).
2124         * sgml.C (openTag, closeTag): removed unneeded newlines.
2125         (closeEnvTags) removed.
2126
2127 2004-10-23  André Pönitz  <poenitz@gmx.net>
2128
2129         * undo.C (textUndoOrRedo):
2130         * dociterator.C (asDocIterator): work around crash
2131
2132         * cursor.C (getStatus): replace ASSERT by more verbose error message
2133           and manual correction of the problem. Should increase stability
2134           while providing more sensible information.
2135
2136 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2137
2138         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2139
2140         * bufferlist.C (previous, next): new methods
2141
2142         * lfuns.h:
2143         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2144
2145 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2146
2147         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2148         entities to preamble.
2149
2150 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2151
2152         * messages.C (Pimpl): strip off translation context information
2153
2154 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2155
2156         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2157         the cursor is correct (bug 1694)
2158
2159 2004-10-13  José Matos  <jamatos@lyx.org>
2160
2161         * output_docbook.C (docbookParagraphs): fix closing tags in the
2162         end of the document.
2163
2164 2004-10-09  José Matos  <jamatos@lyx.org>
2165
2166         * buffer.C: format up to 237.
2167         * bufferparams.C (write): use tostr to convert booleans to strings.
2168
2169 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2170
2171         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2172
2173 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2174
2175         * LaTeX.C: implement use of babel language in xindy.
2176
2177 2004-10-05  José Matos  <jamatos@lyx.org>
2178
2179         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2180         Add new translators to help reading and writing the lyx file.
2181
2182 2004-10-05  José Matos  <jamatos@lyx.org>
2183
2184         * ParagraphParameters.C (read):
2185         * text.C (readParToken): replace nexToken by more appropriate lex
2186         methods.
2187
2188 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2189
2190         * LaTeX.C (runMakeIndex):
2191         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2192         (usually 'makeindex') configurable.
2193
2194         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2195         with a variable rather than with a number.
2196
2197 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2198
2199         * output_latex.C (TeXOnePar): make sure font setting is the first
2200         thing that gets output (and the last at the end). Should fix bug
2201         1404.
2202
2203 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2204
2205         * pch.h: use proper signal include
2206
2207         * LaTeX.h: Use preferred calling of Boost.Signal
2208         * buffer.h: ditto
2209
2210 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2211
2212         * pch.h: dont include <boost/function/function0.hpp>
2213
2214         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2215
2216         * paragraph_pimpl.h: remove usage of ShareContainer
2217
2218         * paragraph_pimpl.C: remove initialization of ShareContainer.
2219
2220 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2221
2222         Fix bug #1666
2223
2224         * BufferView.C (putSelectionAt): change the semantics when
2225         backwards == true: now, this just swaps cursor and anchor wrt the
2226         forward case
2227
2228         * BufferView.h (putSelectionAt): add some documentation
2229
2230         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2231         make sure backwardChar is done at least once (to avoid getting
2232         stuck)
2233         (findNextChange): use putSelectionAt in the forward direction
2234         (operator()): use Paragraph::isWord
2235
2236 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2237
2238         * Spacing.C (set): c_str fix
2239
2240 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2241
2242         * lyx_cb.C (Reconfigure): quote the name of configure script in
2243         case it contains spaces
2244
2245 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2246
2247         * client: new dir
2248
2249         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2250         (BOOST_LIBS): use top_buildir when looking for the file
2251
2252 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2253
2254         * pch.h: do not use include boost/format.hpp, multiple symbols
2255                 will result (gcc bug)
2256
2257
2258 2004-08-23  José Matos  <jamatos@lyx.org>
2259
2260         * bufferparams.C (readToken): fix reading of the author field.
2261
2262 2004-08-20  José Matos  <jamatos@lyx.org>
2263
2264         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2265
2266 2004-08-20  José Matos  <jamatos@lyx.org>
2267
2268         * lyxlex.[Ch] (findToken): remove function.
2269
2270         * ParagraphParameters.C (findToken):
2271         * bufferparams.C (findToken): replace call for previous function
2272         with local copy. This local function has one more argument, the
2273         read string argument.
2274
2275 2004-08-16  José Matos  <jamatos@lyx.org>
2276
2277         * ParagraphParameters.C (write):
2278         * Spacing.C (writeFile):
2279         * bufferparams.C (writeLaTeX):
2280         * lyx_cb.C (Reconfigure):
2281         * paragraph.C (write):
2282         * tabular.C (write): remove unnecessary space at end of line.
2283
2284
2285 2004-08-16  José Matos  <jamatos@lyx.org>
2286
2287         * text.C (readParagraph): remove debug message.
2288
2289 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2290
2291         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2292         crash
2293
2294         * output_plaintext.C (asciiParagraph): set depth correctly
2295
2296         * outputparams.h: add member depth
2297
2298         * paragraph_funcs.C (ownerPar): remove.
2299
2300         * text2.C (setCounter): remove first_pit; comment out some
2301         non-working code that uses ownerPar
2302
2303         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2304         uses ownerPar
2305
2306 2004-08-16  José Matos  <jamatos@lyx.org>
2307
2308         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2309         For the same level of importance use the same chanel to report problems.
2310         (read): add code to deal with \begin_body and \end_body.
2311
2312
2313 2004-08-15  José Matos  <jamatos@lyx.org>
2314
2315         * lyxlex.C (getString): fix comment, buffer::readBody is now
2316         buffer:readDocument.
2317
2318         * tex-strings.C (string_papersize): Default -> default,
2319         Custom -> custom, for consistency with other options.
2320
2321 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2322
2323         * pch.h: new file
2324
2325         * Makefile.am: support pch
2326
2327 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2328
2329         * text.C (readParToken): remove the static LyXFont variable and
2330         pass it as a parameter instead. This fixes a nasty bug where an
2331         inset will be inserted with a bad font in some situations
2332         (readParagraph): adapt
2333
2334         * text2.C (setCounter): reduce number of calls to pars_[pit]
2335
2336         * text.C (singleWidth): add an assert, fix a test
2337
2338         * rowpainter.C (paintText): reduce number of calls to singleWidth
2339
2340         * paragraph.C (isHfill):
2341         (isNewline): ws only
2342
2343 2004-08-14  André Pönitz  <poenitz@gmx.net>
2344
2345         * text.C:
2346         * text2.C:
2347         * rowpainter.C:
2348         * lyxtext.h (several functions): use a Paragraph & argument
2349         instead of par_type
2350
2351 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2352
2353         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2354
2355         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2356
2357         * text.C (singleWidth): remove useless test
2358
2359 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2360
2361         * tabular.h: remove bogus comments
2362
2363         * tabular.C (getDescentOfRow):
2364         (isPartOfMultiColumn): add assertions
2365
2366         * lyxlength.C (inPixels): remove #warning
2367
2368 2004-08-14  André Pönitz  <poenitz@gmx.net>
2369
2370         * paragraph.h: inline getChar()
2371
2372         * BufferView.h: remove unused declarations
2373
2374 2004-08-14  José Matos  <jamatos@lyx.org>
2375
2376         * Buffer.[Ch] (readDocument): new name for old readBody.
2377         * Buffer.C: new file format, new keywords: \begin_document,
2378         \begin_header, \begin_body, \end_body.
2379
2380         * bufferparams.C (readToken): replace all calls to lex.nextToken
2381         by lex.next(). Do the same to eatLine except where really needed.
2382
2383         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2384         line when writing to the lyx file.
2385
2386         * output_plaintext.C (asciiParagraph): fix Bibliography style
2387         handling.
2388
2389         * text.C (read): fix end of file handling.
2390
2391 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2392
2393         * MenuBackend.C (Menu::operator[]): new method to access
2394         individual menu items
2395         (Menu::hasFunc): new method. search for an item that corresponds
2396         to a given func
2397         (MenuBackend::specialMenu): new method
2398         (MenuBackend::expand): if a special menu has been set, skip
2399         entries whose func() appears in this menu
2400
2401 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2402
2403         * text3.C: use Debug::DEBUG a bit more
2404
2405         * text.C (leftMargin): try to simplify a tiny bit change var x to
2406         l_margin. Dont output the wide margins always.
2407         (rightMargin): no margin in inner texts
2408
2409         * rowpainter.h (nestMargin): new func
2410         (changebarMargin): new func
2411         (rightMargin): new func
2412
2413         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2414         now functions.
2415         (paintLast): ditto
2416
2417         * factory.C (createInset): modify setDrawFrame
2418
2419         * cursor.C: use Debug::DEBUG a bit more
2420
2421 2004-08-14  André Pönitz  <poenitz@gmx.net>
2422
2423         * coordcache.[Ch]:
2424         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2425         cache for all insets in (at least partially) visible (top-level)
2426         paragraphs.
2427
2428         * BufferView_pimpl.C: reset external coord cache before every update.
2429         This means the coord cache only contains valid entries.
2430
2431 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2432
2433         bug 1096
2434         * BufferView_pimpl.C (getInsetByCode): move function out of class
2435         and change in to a template in anon namespace. Also fix to do what
2436         suits us better.
2437
2438 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2439
2440         bug 1305
2441         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2442         of char
2443         (breakParagraph): rename par to par_offset and use a local
2444         reference. Add code to keep the language over a rebreak.
2445         (breakParagraphConservative): rename par to par_offset, use a
2446         local reference
2447         (mergeParagraph): ditto
2448         (outerHook): ditto
2449         (isFirstInSequence): ditto
2450         (outerFont): rename pit to par_offset
2451
2452         * paragraph.C: ws change
2453         * paragraph.h: ditto
2454         * text3.C: ditto
2455         * text.C: ditto
2456
2457 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2458
2459         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2460         treatment for ']'
2461
2462         * paragraph.C (simpleTeXOnePar): when we have a \item with
2463         optional argument, enclose the argument with curly brackets (in
2464         case it contains a closing square bracket)
2465
2466         * text2.C (editXY):
2467         * text2.C (editXY):
2468         * text3.C (checkInsetHit): constify
2469
2470 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2471
2472         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2473         documents (bug 1629)
2474
2475 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2476
2477         Fix toggling of collapsable insets with the mouse (bug 1558)
2478
2479         * lyxfunc.C (dispatch): adapt to LCursor changes
2480
2481         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2482         make sure that dispatch is not invoked twice
2483
2484         * cursor.C (needsUpdate): new method
2485         (dispatch): return void
2486         (result): new method, to access the DispatchResult of the cursor.
2487
2488 2004-08-13  José Matos  <jamatos@lyx.org>
2489
2490         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2491
2492 2004-08-13  André Pönitz  <poenitz@gmx.net>
2493
2494         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2495
2496         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2497           multiple cells
2498
2499 2004-08-12  André Pönitz  <poenitz@gmx.net>
2500
2501         * text3.C: take out the 'cursor right' form insertInset and only
2502         do it in those places when it is really needed. Fixes crash on
2503         C-m...
2504
2505 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2506
2507         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2508
2509         * BufferView_pimpl.C (setBuffer): initialize the current font of
2510         the underlying LyXText
2511
2512 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2513
2514         * kbsequence.C (print): use UI native formatting for menu
2515         shortcuts
2516
2517         * text.C (insertChar): call Paragraph::insertChar with a font
2518         argument (cosmetic)
2519
2520         * paragraph.C (insertInset, insertChar): the version that takes a
2521         LyXFont argument is now a wrapper around the other one (the
2522         opposite used to be true).
2523
2524         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2525         argument. Font setting is done in Paragraph now.
2526
2527 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2528
2529         * outputparams.h: add new members intitle and lang.
2530
2531         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2532         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2533
2534 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2535
2536         * text3.C (dispatch): remove special handling of button 4 and 5,
2537         it is now taken care of in the frontend code.
2538
2539 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2540
2541         * Spacing.h: add <string> (STLPort compile fix)
2542
2543 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2544
2545         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2546
2547 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2548
2549         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2550         to bool.
2551
2552         * converter.C (showMessage): inherit from unary_function, make
2553         operator() const.
2554
2555         * buffer.C (writeFile): initialize retval
2556
2557         * InsetList.h: rename private variable list to list_
2558         * InsetList.[Ch]: adjust accordingly.
2559
2560 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2561
2562         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2563         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2564         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2565         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2566         * ParagraphParameters.C, LaTeXFeatures.C: replace
2567         "support/std_sstream.h" with <sstream>
2568
2569 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2570
2571         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2572         * lyxsocket.C (LyXServerSocket): ditto
2573         (serverCallback): ditto
2574
2575 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2576
2577         * LaTeXFeatures.C: check release date when loading jurabib.
2578
2579 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2580
2581         * lyxserver.C (startPipe): call register_socket_callback
2582         (endPipe): call unregister_socket_callback
2583
2584 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2585
2586         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2587         (LyXServerSocket): register the callback
2588         (LyXServerSocket): unregister the callback
2589         (fd): delete function
2590         (serverCallback): improve error checking and setup the callbacks.
2591         (dataCallback): change arg to fd.
2592         (writeln): new func (copied fro the client socket) used for server
2593         write to client.
2594         (LyXDataSocket): simplify
2595         (~LyXDataSocket): close ann unregiser callback
2596         (server): delete function
2597         (fd): delete function
2598         (readln): small changes, improve some std::string usage
2599         (writeln): constify a bit
2600
2601 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2602
2603         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2604         Qt frontend
2605
2606 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2607
2608         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2609         after it has been populated
2610
2611 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2612
2613         * text2.C (insertInset): move cursor when inserting inset.
2614
2615 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2616
2617         * kbmap.C (findbindings): a couple of new methods. returns a
2618         container of kb_sequence objects. The real work is done by the
2619         private recursive version
2620         (printbindings): uses findbindings to print out a bracketed list
2621         of bindings (renamed from findbinding).
2622
2623         * MenuBackend.C (binding): use kb_keymap::findbindings
2624
2625         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2626
2627 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2628
2629         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2630
2631 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2632
2633         * paragraph.C (isWord): return true on insets that report
2634         isLetter().
2635
2636         * text.C (getWord): use Paragraph::isWord to decide what is in a
2637         word and what is not; fix bug 1609.
2638
2639 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2640
2641         * tex-strings.C: add "none" to string_paperpackages[], fixes
2642         off-by-one-error in the paperpackage selection.
2643
2644         * lyxlex.[Ch]:
2645         * tex-strings.[Ch]: char const * string[n]
2646         -> char const * const string[]
2647
2648 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2649
2650         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2651         command, return early.
2652
2653 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2654
2655         * debug.h: add DEBUG to enum and fix size of ANY.
2656
2657         * debug.C: add support for Debug::DEBUG
2658         (showTags): cast errorTags.level to unsigned int
2659
2660         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2661         (redoCurrentBuffer): ditto
2662         (updateScrollbar): ditto
2663         * cursor.C (dispatch): ditto
2664         * text2.C (setLayout): ditto
2665         (setFont): ditto
2666         (updateCounters): ditto
2667         (editXY): ditto
2668         (deleteEmptyParagraphMechanism): ditto
2669
2670 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2671
2672         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2673         annotations to cleanup the Makefile slightly.
2674
2675 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2676
2677         * lyxrc.C: do not set user_email to a default value but use empty
2678         instead. The entry used to be translated, which does not work
2679         since at the point where lyxrc is constructed there is no
2680         translation service available
2681
2682         * messages.C (getLocaleDir): remove and use directly
2683         lyx_localedir() instead
2684
2685 2004-06-02  Angus Leeming  <leeming@lyx.org>
2686
2687         Fix crash caused by dereferencing null pointer 'exportdata' in
2688         OutputParams by creating a new ExportData variable on the heap,
2689         storing it in a boost::shared_ptr.
2690         The crash was triggered when generating an Instant Preview
2691         of an external inset.
2692
2693         * Makefile.am: add outputparams.C
2694
2695         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2696         (c-tor): allocate memory to it.
2697
2698         * exporter.C (c-tor): associated changes.
2699
2700 2004-06-01  Angus Leeming  <leeming@lyx.org>
2701
2702         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2703         contains data before calling isInset(0). (Bug 1513.)
2704
2705 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2706
2707         * exporter.C (checkOverwrite): new method
2708         * exporter.C (copyFile): new method
2709         * exporter.C (Export): copy referenced files to the document dir
2710         * exporter.[Ch]: new class ExportedFile
2711         * exporter.[Ch]: new class ExportData. Contains currently the
2712         names of referenced external files
2713         * outputparams.h: add exportdata member.
2714
2715 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2716
2717         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2718         version.C-tmp
2719
2720 2004-05-19  Angus Leeming  <leeming@lyx.org>
2721
2722         * LaTeXFeatures.C:
2723         * ToolbarBackend.C:
2724         * bufferparams.C:
2725         * lyxfunc.C: small changes due to the introduction of namespace
2726         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2727
2728 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2729
2730         * text3.C (dispatch): supress update when only moving the cursor
2731         * cursor.C (selHandle): remove commented code
2732
2733 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2734
2735         * paragraph.C (startTeXParParams): correct column count
2736         * CutAndPaste.C (pasteSelection): remove const_cast
2737         * output_docbook.C (docbookParagraphs): remove const_cast
2738         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2739         const_cast and return ParagraphList::const_iterator
2740         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2741         * output_plaintext.C (writeFileAscii): remove const_cast
2742         * paragraph.[Ch] (simpleTeXOnePar): make const
2743         * paragraph_funcs.C (outerPar): use const iterators
2744         * paragraph_pimpl.C (validate): use const iterators
2745         * text.C (setHeightOfRow): use const iterators
2746
2747 2004-05-17  Angus Leeming  <leeming@lyx.org>
2748
2749         * lfuns.h:
2750         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2751
2752         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2753         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2754         if the citation engine has changed.
2755
2756 2004-05-14  José Matos  <jamatos@lyx.org>
2757
2758         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2759         if the textclass does not provide it. Have it different for sgml and
2760         xml.
2761         support the language of document.
2762         * output_docbook.C (docbookParagraphs):
2763         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2764         first anchor as the id of the paragraph, remove special case code.
2765         * sgml.C (escapeChar): escape only < & >.
2766
2767 2004-05-14  Angus Leeming  <leeming@lyx.org>
2768
2769         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2770         dependencies on src/frontends/controllers/biblio.h. Define a
2771         CiteEngine_enum wrapper class to enable the enum to be forward
2772         declared.
2773
2774 2004-05-12  Angus Leeming  <leeming@lyx.org>
2775
2776         * buffer.C: up LYX_FORMAT to 234.
2777         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2778         use_numerical_citations with a single biblio::CiteEngine cite_engine
2779         variable.
2780         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2781
2782 2004-05-13  José Matos  <jamatos@lyx.org>
2783
2784         * converter.h:
2785         * converter.C (Converter, readFlags): add xml member.
2786         * outputparams.h: add XML flavor.
2787         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2788
2789 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2790
2791         * lyxfunc.C (dispatch):
2792         (getStatus): fix handling of LFUN_SEQUENCE
2793
2794 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2795
2796         * debug.C (showLevel): do not forget the end-of-line marker
2797
2798 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2799
2800         * kbmap.C (read): do not stop parsing a bind file when an error
2801         occurs (bug 1575)
2802
2803 2004-04-29  Angus Leeming  <leeming@lyx.org>
2804
2805         * cursor.C:
2806         * factory.C:
2807         * pariterator.C:
2808         * text2.C: wrap a bunch of #warning statements
2809         inside #ifdef WITH_WARNINGS blocks.
2810
2811 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2812
2813         * buffer.C: increment format to 233.
2814
2815 2004-04-28  Angus Leeming  <leeming@lyx.org>
2816
2817         * BufferView_pimpl.C:
2818         * lyxfunc.C:
2819         * text3.C:
2820         s/updateToolbar()/updateToolbars()/
2821         s/Toolbar.h/Toolbars.h/
2822
2823 2004-04-28  Angus Leeming  <leeming@lyx.org>
2824
2825         * BufferView.[Ch] (c-tor):
2826         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2827         No longer passes these data to the WorkArea generator.
2828
2829 2004-04-28  Angus Leeming  <leeming@lyx.org>
2830
2831         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2832
2833 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2834
2835         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2836
2837 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2838
2839         * output_latex.C (TeXEnvironment): make sure that there is a line
2840         break before \end{foo} for the last paragraph of a document
2841         (TeXOnePar): if the paragraph is at the end of the document (or
2842         inset) and the language has to be reset, then make sure that the
2843         line break is _before_ the language command, not after (fixes bug
2844         1225); also make sure that the language reset command is the first
2845         thing after the paragraph (to ensure proper nesting of
2846         environments and thus fix bug 1404)
2847
2848 2004-04-21  John Levon  <levon@movementarian.org>
2849
2850         * ToolbarBackend.h:
2851         * ToolbarBackend.C: make "name" be a programmatic name
2852         and a gui_name field.
2853
2854         * lyxfunc.C: display the minibuffer on M-x
2855
2856 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2857
2858         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2859         (bug 1526)
2860
2861 2004-04-19  Angus Leeming  <leeming@lyx.org>
2862
2863         * BufferView_pimpl.C (setBuffer): changed preview interface.
2864
2865         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2866         possible values.
2867
2868 2004-04-19  John Levon  <levon@movementarian.org>
2869
2870         * BufferView_pimpl.C:
2871         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2872
2873 2004-04-05  Angus Leeming  <leeming@lyx.org>
2874
2875         * text.C (redoParagraphs): add call to updateCounters(), thereby
2876         fixing the missing "Figure #:" label from the caption of a
2877         figure float.
2878
2879 2004-04-13  Angus Leeming  <leeming@lyx.org>
2880
2881         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2882         cursor is clicked out of an inset.
2883
2884 2004-04-13  Angus Leeming  <leeming@lyx.org>
2885
2886         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2887         than an InsetOld one.
2888
2889 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2890
2891         * format.[Ch]: add editor to Format
2892         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2893         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2894
2895 2004-04-08  André Pönitz  <poenitz@gmx.net>
2896
2897         * metricsinfo.h: remove PainterInfo::width member
2898
2899 2004-04-08  Angus Leeming  <leeming@lyx.org>
2900
2901         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2902         "\providecommand" rather than "\newcommand", thereby preventing
2903         clashes with packages that define "\boldsymbol" themselves.
2904         Eg, beamer.
2905
2906 2004-04-08  Angus Leeming  <leeming@lyx.org>
2907
2908         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2909         thereby squashing an unnecessary warning.
2910
2911 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2912
2913         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2914         setBuffer()
2915
2916 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2917
2918         * BufferView.C (setCursor): call redoParagraph (some insets could
2919         have been opened)
2920         (putSelectionAt): remove the 'double update' trick
2921
2922         * BufferView_pimpl.C (fitCursor): call refreshPar
2923         (workAreaDispatch): remove an uneeded update call
2924         (dispatch): remove some manual update calls
2925
2926         * cursor.[Ch]: remove cached_y_, updatePos
2927         (selHandle): set noUpdate when appropriate
2928
2929         * lyxfunc.C (dispatch): track if we need an update
2930
2931         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2932
2933         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2934         (paintSelection): cheap optimization, do not call cursorX when not
2935         needed
2936         (paintPars): change signature
2937         (refreshPar): add
2938         (paintText): adjust
2939         (paintTextInset): adjust
2940
2941         * text.C: adjust
2942
2943 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2944
2945         * lengthcommon.C: compilation fix: remove explicit array size from
2946         unit_name[] and friends
2947
2948 2004-04-05  Angus Leeming  <leeming@lyx.org>
2949
2950         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2951
2952         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2953         present only for the preferences dialog.
2954         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2955
2956 2004-04-05  Angus Leeming  <leeming@lyx.org>
2957
2958         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2959         to enable the frontends to export changes to lyxrc correctly.
2960
2961         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2962
2963 2004-04-07  André Pönitz  <poenitz@gmx.net>
2964
2965         * cursor.[Ch] (selClear, adjust): remove math
2966
2967         * cursor_slice.C: more agressive assert
2968
2969         * lyxfunc.C:
2970         * BufferView_pimpl.C: rework mouse event dispatch
2971
2972         * dociterator.C:
2973         * paragraph.C:
2974         * text2.C:
2975         * text3.C: adjust
2976
2977 2004-04-05  André Pönitz  <poenitz@gmx.net>
2978
2979         * cursor.[Ch] (valign, halign...): remove unneeded functions
2980
2981 2004-04-05  Angus Leeming  <leeming@lyx.org>
2982
2983         * lyxlength.[Ch] (unit_name et al.): const-correct.
2984
2985 2004-04-05  Angus Leeming  <leeming@lyx.org>
2986
2987         * BufferView_pimpl.C:
2988         * buffer.C:
2989         * counters.C:
2990         * cursor.C:
2991         * lyxfunc.C
2992         * paragraph.C:
2993         * pariterator.C:
2994         * text.C:
2995         * text2.C:
2996         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2997
2998 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2999
3000         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3001
3002 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3003
3004         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3005         * BufferView_pimpl.[Ch] (getStatus)
3006         * BufferView.[Ch] (getStatus): add
3007         * lyxfunc.C (getStatus): move lfuns handled in
3008         BufferView::dispatch to te function above
3009         * Cursor.C (setSelection): set selection() = true
3010
3011 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3012
3013         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3014
3015 2004-03-31  Angus Leeming  <leeming@lyx.org>
3016
3017         * lyxfunc.C (dispatch): Fall through to the generic
3018         Dialogs::show("preamble").
3019
3020 2004-03-31  Angus Leeming  <leeming@lyx.org>
3021
3022         * lyxfunc.C (dispatch): Fall through to the generic
3023         Dialogs::show("spellchecker").
3024
3025 2004-03-31  Angus Leeming  <leeming@lyx.org>
3026
3027         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3028         preferences dialog.
3029
3030 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3031
3032         * BufferView.C
3033         * cursor.[Ch]
3034         * dociterator.[Ch]:
3035         * insetiterator.[Ch]:
3036         * lyxfind.C:
3037         * lyxfunc.C:
3038         * pariterator.[Ch]:
3039         * text2.C:
3040         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3041
3042 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3043
3044         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3045         insets where we are putting the cursor.
3046
3047 2004-03-31  Angus Leeming  <leeming@lyx.org>
3048
3049         * lfuns.h:
3050         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3051
3052         * lyxrc.[Ch] (read, write): overloaded member functions taking
3053         a std::[io]stream arguments.
3054
3055         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3056
3057 2004-03-31  Angus Leeming  <leeming@lyx.org>
3058
3059         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3060         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3061
3062         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3063         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3064
3065 2004-03-31  Angus Leeming  <leeming@lyx.org>
3066
3067         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3068         the LFUN_ALL_INSETS_TOGGLE code.
3069
3070 2004-03-30  Angus Leeming  <leeming@lyx.org>
3071
3072         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3073         has died. Fall through to the generic Dialogs::show("document").
3074
3075 2004-03-30  Angus Leeming  <leeming@lyx.org>
3076
3077         * lfuns.h:
3078         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3079         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3080
3081         * lyxfunc.C (getStatus, dispatch): define the actions for these
3082         lfuns. Little more than a cut and pste job from ControlDocument.C
3083
3084         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3085
3086 2004-03-30  Angus Leeming  <leeming@lyx.org>
3087
3088         * lfuns.h:
3089         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3090         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3091
3092         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3093         open/closed state of ollapsable insets. Usage:
3094
3095         all-inset-toggle <state> <name>, where
3096         <state> == "open" || "closed" || "toggle" and
3097         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3098
3099         * lyxtext.h, text2.C (toggleInset): removed.
3100
3101         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3102         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3103         now passes LFUN_INSET_TOGGLE to the found inset.
3104
3105         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3106         is now invoked as "all-insets-toggle toggle branch".
3107
3108 2004-03-30  Angus Leeming  <leeming@lyx.org>
3109
3110         * dociterator.C:
3111         * insetiterator.C:
3112         * pariterator.[Ch]: added/corrected header blurb.
3113
3114 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3115
3116         * dociterator.[Ch]: add an inset_ member
3117         (backwardPos): implemented
3118         (backwardPos, forwardPos): use inset_ when the stack is empty.
3119         (doc_iterator_begin, doc_iterator_end): implemented
3120         * pariterator.[Ch]: adjust, add begin, end
3121         * insetiterator.[Ch]: adjust, add begin, end
3122         * cursor.C:
3123         * document.C:
3124         * BufferView.C:
3125         * BufferView_pimpl.C:
3126         * CutAndPaste.C: adjust
3127
3128 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3129
3130         * buffer.C: increment file format to 232.
3131         * LaTeXFeatures.C: add bibtopic package.
3132         * bufferparams.[Ch]: param \use_bibtopic.
3133
3134         * lyxrc.[Ch]: add lyxrc bibtex_command
3135         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3136
3137         * buffer.C: increment file format to 231.
3138
3139 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3140
3141         * dociterator.C: implement forwardPar
3142         * iterators.[Ch]: remove, replaced by
3143         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3144         * BufferView.C:
3145         * BufferView_pimpl.C:
3146         * CutAndPaste.C:
3147         * buffer.C:
3148         * bufferview_funcs.C:
3149         * cursor.C:
3150         * lyxfind.C
3151         * lyxfunc.C
3152         * paragraph_funcs.C
3153         * toc.C:
3154         * Makefile.am: adjust
3155
3156 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3157
3158         * CutAndPaste.C (pasteSelection): fix 2 crashes
3159         (eraseSelection): fix a crash
3160         * paragraph_funcs.C: remove a warning
3161
3162 2004-03-28  Angus Leeming  <leeming@lyx.org>
3163
3164         * lfuns.h:
3165         * LyXAction.C (init): new LFUN_PRINT.
3166
3167         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3168
3169 2004-03-27  Angus Leeming  <leeming@lyx.org>
3170
3171         * lfuns.h:
3172         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3173
3174         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3175
3176 2004-03-27  Angus Leeming  <leeming@lyx.org>
3177
3178         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3179         insetlist always contains non-null pointers to insets.
3180
3181 2004-03-26  Angus Leeming  <leeming@lyx.org>
3182
3183         * src/BufferView_pimpl.C:
3184         * src/CutAndPaste.C:
3185         * src/buffer.C:
3186         * src/iterators.C:
3187         * src/output_plaintext.C:
3188         * src/outputparams.h:
3189         * src/paragraph_funcs.C:
3190         * src/rowpainter.C:
3191         * src/text.C:
3192         * src/text2.C:
3193         * src/frontends/controllers/ControlErrorList.C:
3194         * src/frontends/gtk/FileDialogPrivate.C:
3195         * src/frontends/gtk/GPainter.C:
3196         * src/frontends/gtk/GToolbar.C:
3197         * src/frontends/qt2/QRef.C:
3198         * src/mathed/math_scriptinset.C: squash compiler warnings.
3199
3200 2004-03-26  Angus Leeming  <leeming@lyx.org>
3201
3202         * ispell.C (LaunchIspell::start):
3203         * lyx_cb.C (AutoSaveBuffer::start):
3204         invoke run(DontWait) rather than runNonBlocking().
3205
3206 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3207
3208         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3209
3210 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3211
3212         * kbsequence.C (print): adjust
3213
3214         * kbmap.C (printKeySym): rename and change signature
3215         (printKey): use LyXKeySym::print()
3216
3217 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3218
3219         * undo.C: add using std::advance to compile for stlport
3220
3221 2004-03-24  Angus Leeming  <leeming@lyx.org>
3222
3223         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3224         it leads to a crash when no buffer is present.
3225
3226 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3227             Martin Vermeer  <martin.vermeer@hut.fi>
3228
3229         * lyxfunc.C (dispatch):
3230         * bufferparams.C (readToken): use the new LColor::setColor
3231
3232         * LColor.[Ch] (setColor): new version that takes two strings as
3233         argument and creates a new color entry if necessary
3234
3235 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3236
3237         * buffer.C (makeLaTeXFile): if the main latex file that is
3238         processed is usually a subdocument of some master, then pretend
3239         for a while that it is actually the master
3240
3241 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3242
3243         * buffer.C (getLabelList):
3244         (getBibkeyList): use getMasterBuffer()
3245         (getMasterBuffer): new method. Returns the main document in the
3246         case where one is using included documents.
3247
3248 2004-03-25  André Pönitz  <poenitz@gmx.net>
3249
3250         * Makefile.am:
3251         * iterators.[Ch]:
3252         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3253
3254         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3255
3256         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3257         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3258
3259         * ParameterStruct.h: merge with ParagraphParameters
3260
3261         * lyxtext.h: remove LyXText::parOffset() and getPar()
3262
3263         * text3.C: Remove all 'manual' update calls. We do now one per user
3264         interaction which is completely sufficient.
3265
3266         * Bidi.C:
3267         * BufferView.[Ch]:
3268         * BufferView_pimpl.C:
3269         * FontIterator.[Ch]:
3270         * MenuBackend.C:
3271         * ParagraphParameters.[Ch]:
3272         * buffer.C:
3273         * buffer.h:
3274         * bufferlist.C:
3275         * cursor.[Ch]:
3276         * cursor_slice.[Ch]:
3277         * dociterator.[Ch]:
3278         * errorlist.[Ch]:
3279         * factory.C:
3280         * lfuns.h:
3281         * lyxfind.C:
3282         * lyxfunc.C:
3283         * output_docbook.[Ch]:
3284         * output_latex.[Ch]:
3285         * output_linuxdoc.[Ch]:
3286         * output_plaintext.[Ch]:
3287         * paragraph.[Ch]:
3288         * paragraph_funcs.[Ch]:
3289         * paragraph_pimpl.[Ch]:
3290         * rowpainter.C:
3291         * tabular.[Ch]:
3292         * text.C:
3293         * text2.C:
3294         * toc.C:
3295         * undo.[Ch]: adjust
3296
3297         * frontends/controllers/ControlDocument.C:
3298         * frontends/controllers/ControlErrorList.C:
3299         * frontends/controllers/ControlSpellchecker.C:
3300         * insets/inset.C:
3301         * insets/inset.h:
3302         * insets/insetbase.h:
3303         * insets/insetbibitem.C:
3304         * insets/insetbox.C:
3305         * insets/insetbranch.C:
3306         * insets/insetcaption.C:
3307         * insets/insetcharstyle.C:
3308         * insets/insetcharstyle.h:
3309         * insets/insetcollapsable.C:
3310         * insets/insetcollapsable.h:
3311         * insets/insetert.C:
3312         * insets/insetfloat.C:
3313         * insets/insetfoot.C:
3314         * insets/insetmarginal.C:
3315         * insets/insetnote.C:
3316         * insets/insetoptarg.C:
3317         * insets/insettabular.C:
3318         * insets/insettext.C:
3319         * insets/insettext.h:
3320         * insets/insetwrap.C:
3321         * mathed/math_mboxinset.C:
3322         * mathed/math_nestinset.C:
3323         * mathed/math_scriptinset.C:
3324         * mathed/math_scriptinset.h:
3325         * support/types.h:
3326
3327 2004-03-24  Angus Leeming  <leeming@lyx.org>
3328
3329         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3330         deal with any child processes that have finished but are waiting to
3331         communicate this fact to the rest of LyX.
3332
3333 2004-03-24  Angus Leeming  <leeming@lyx.org>
3334
3335         64-bit compile fixes.
3336
3337         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3338         (c-tor): pass lyx::pos_types rather than ints.
3339
3340         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3341         lyx::pos_type.
3342
3343         * text.C (Delete): compile fix.
3344         (getPar): ensure that function declaration is the same as that in
3345         the header file.
3346
3347 2004-03-23  Angus Leeming  <leeming@lyx.org>
3348
3349         * ispell.C (LaunchIspell):
3350         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3351         a boost::shred_ptr rather than a std::auto_ptr.
3352
3353 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3354
3355         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3356         handle LFUN_FILE_INSERT_*
3357
3358         * lyxrc.C (setDefaults, getDescription, output, read):
3359         * lyxrc.h: remove ps_command
3360
3361 2004-03-22  Angus Leeming  <leeming@lyx.org>
3362
3363         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3364         Ensure that error_handler is processed once only and that all data
3365         is saved before attempting to output any warning messages.
3366
3367         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3368
3369 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3370
3371         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3372
3373 2004-03-19  André Pönitz  <poenitz@gmx.net>
3374
3375         * cursor.[Ch] (reset): take main text inset as argument
3376
3377         * BufferView: adjust
3378         * BufferView_pimpl.C: adjust
3379
3380         * paragraph.[Ch]: fix completely broken operator=()
3381
3382 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3383
3384         * LColor.C (getFromLyXName): make sure that the color name is used
3385         as lowercase.
3386
3387 2004-03-17  Angus Leeming  <leeming@lyx.org>
3388
3389         * lfuns.h:
3390         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3391
3392         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3393         dialog and to kill a forked process.
3394
3395 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3396
3397         * text2.C (setCursorFromCoordinates): fix font problem
3398
3399 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3400
3401         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3402         bogus "rebuild cursor" code
3403
3404 2004-03-11  André Pönitz  <poenitz@gmx.net>
3405
3406         * buffer.[Ch]: use InsetText instead of LyXText as container for
3407         the main lyx text.
3408
3409         * dociterator.[Ch]: drop the BufferView * member which is not needed
3410         anymore after the change to buffer.C
3411
3412         * paragraph_funcs.C:
3413         * text.C:
3414         * text2.C:
3415         * BufferView.[Ch]:
3416         * BufferView_pimpl.[Ch]:
3417         * cursor.[Ch]:
3418         * cursor_slice.[Ch]: adjust
3419
3420         * text3.C: fix bug in mathDispatch
3421
3422 2004-03-08  André Pönitz  <poenitz@gmx.net>
3423
3424         * undo.[Ch]: use 'StableDocumentIterator' as base for
3425         the Undo struct.
3426
3427 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3428
3429         * LaTeXFeatures.C:
3430         * bufferparams.[Ch]: add jurabib support and param.
3431
3432         * LaTeX.C: add FIXME/comment.
3433
3434 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3435
3436         * buffer.C: increment file format to 230.
3437
3438 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3439
3440         * cursor.C (dispatch): avoid infinite loops
3441
3442 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3443
3444         * rowpainter.C (paintSelection): fix x coordinates
3445
3446 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3447
3448         * text.C (rowBreakPoint): fix breaking before displayed insets
3449
3450 2004-03-01  André Pönitz  <poenitz@gmx.net>
3451
3452         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3453
3454         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3455
3456         * Makefile.am:
3457         * BufferView.C:
3458         * BufferView_pimpl.C:
3459         * buffer.C:
3460         * lyxfind.C:
3461         * lyxfunc.C:
3462         * text.C:
3463         * text2.C:
3464         * text3.C: adjust
3465
3466 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3467
3468         * lyxtext.h:
3469         * text.C:
3470         * text2.C:
3471         * rowpainter.C:
3472         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3473         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3474
3475 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3476
3477         * Bidi.[Ch] (computeTables): const correctness
3478         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3479         fill_hfill, fill_label_hfill and x from Row
3480         * lyxtext.h: prepareToPrint returns a RowMetrics
3481         * rowPainter.C: adjust
3482         * text.C (prepareToPrint): use width, not textWidth. adjust
3483         (redoParagraphInternal, cursorX): adjust
3484         * text2.C (getColumnNearX): adjust
3485         (init): put a default value to the top LyXText::width
3486
3487 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3488
3489         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3490
3491 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3492
3493         * lyxtext.h: add FontIterator class
3494
3495         * text.C (FontIterator, operator*, operator->, operator++): add
3496         (rowBreakPoint, setRowWidth): adjust (fixing a
3497         rebreaking bug)
3498
3499 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3500
3501         * BufferView_pimpl.C (workAreaDispatch): allow also
3502         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3503
3504 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3505
3506         * text.C (rowBreakPoint): fix a bug showing with very large insets
3507
3508 2004-02-25  André Pönitz  <poenitz@gmx.net>
3509
3510         * text3.C:
3511         * cursor.[Ch]: move some mathed specific code to mathed
3512
3513 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3514
3515         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3516         use_tempdir in preferences
3517         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3518         tempfile creation
3519         * lyx_main.C: ensure that tempdir is valid
3520         * lyxlex.h: correct typo
3521         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3522         * paragraph.[Ch] (isMultiLingual): make const
3523         * cursor.[Ch] (openable): make const
3524
3525 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3526
3527         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3528
3529 2004-02-20  André Pönitz  <poenitz@gmx.net>
3530
3531         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3532
3533         * cursor.[Ch]: prepare for localized getStatus()
3534
3535         * lyxtext.h:
3536         * tabular.C:
3537         * text.C:
3538         * text2.C:
3539         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3540
3541 2004-02-20  André Pönitz  <poenitz@gmx.net>
3542
3543         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3544
3545 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3546
3547         * text2.C (setCursorFromCoordinates): switch to absolute coords
3548         (cursorUp): adjust
3549         (cursorDown): adjust
3550         * text3.C (dispatch): adjust
3551
3552 2004-02-16  André Pönitz  <poenitz@gmx.net>
3553
3554         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3555           insets/ChangeLog)
3556
3557         * cursor_slice.[Ch]: remove unneeded acessor function
3558
3559         * lyxtext.h: rename rtl() to isRTL()
3560
3561         * rowpainter.C:
3562         * tabular.C:
3563         * text.C:
3564         * text2.C:
3565         * text3.C: adjust
3566
3567 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3568
3569         * rowpainter.C (paintSelection): coord fix
3570
3571 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3572
3573         * Spacing.C: compile fix
3574
3575 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3576
3577         * cursor.C (dispatch): restore current_ before returning
3578
3579 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3580
3581         * text2.C (cursorUp, cursorDown): fix coords
3582         (moveUp): fix crash
3583
3584 2004-02-12  André Pönitz  <poenitz@gmx.net>
3585
3586         * lyxtext.h:
3587         * text.C:
3588         * text2.C:
3589         * text3.C: add LCursor & parameter to most cursor movement functions
3590           remove usage of LyXText::cursorRow() and cursorPar()
3591
3592         * cursor.[Ch]: add textRow() needed members
3593
3594         * BufferView.C:
3595         * BufferView_pimpl.C:
3596         * paragraph.[Ch]:
3597         * BufferView.C:
3598         * BufferView_pimpl.C: adjust
3599
3600 2004-02-11  André Pönitz  <poenitz@gmx.net>
3601
3602         * lyxfunc.C:
3603         * BufferView.[Ch]:
3604         * BufferView_pimpl.C: shift undo/redo handling
3605
3606         * cursor.[Ch]: fix mathed crash
3607
3608         * lyxfind.C:
3609         * lyxtext.h: move selectionAsText to LCursor
3610
3611         * output_latex.C:
3612         * paragraph.C:
3613         * text.C:
3614         * text2.C:
3615         * text3.C: adjust
3616
3617         * rowpainter.C: fix excessive drawing
3618
3619 2004-02-06  André Pönitz  <poenitz@gmx.net>
3620
3621         * BufferView.[Ch]:
3622         * BufferView_pimpl.[Ch]:
3623         * text3.C: move some text specific LFUN handling
3624
3625 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3626
3627         * text3.C (checkInsetHit): adjust coords
3628         * text2.C (getColumnNearX): adjust coords
3629         (edit): adjust coords
3630         * text.C (getRowNearY): add two asserts
3631
3632 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3633
3634         * converter.C:
3635         * format.C: add using std::distance to compile on gcc 2.95/stlport
3636
3637 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3638
3639         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3640
3641 2004-02-04  André Pönitz  <poenitz@gmx.net>
3642
3643         * BufferView.[Ch] (insertInset):
3644         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3645
3646         * text2.C:
3647         * text3.C: adjust
3648
3649 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3650
3651         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3652         on the default clause of the switch
3653         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3654         wasn't catched by LCursor::dispatch
3655
3656 2004-02-03  André Pönitz  <poenitz@gmx.net>
3657
3658         * BufferView.C:
3659         * cursor.[Ch]: some additional asserts
3660
3661         * undo.[Ch]: remove LyXText dependency in interface
3662
3663         * lyxfunc.C: adjust
3664
3665         * lyxtext.h (firstPar, lastPar): remove dead functions
3666
3667         * text.C:
3668         * text2.C:
3669         * text3.C:
3670         * paragraph.[Ch]: adjust
3671
3672 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3673
3674         * lyxfind.C (find): fix argument order in call to ::find
3675
3676 2004-02-02  André Pönitz  <poenitz@gmx.net>
3677
3678         * cursor.[Ch]: remove direct access to anchor
3679
3680         * text.C: remove findText() hack
3681
3682 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3683
3684         * iterators.[Ch] (lockPath): remove in favour of...
3685         * BufferView.[Ch] (setCursor): this addition
3686         * BufferView.C (putSelectionAt): adjust
3687         * undo.C (performUndoOrRedo): adjust
3688         * lyxfunc.C (dispatch): adjust
3689
3690 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3691
3692         * iterators.C (lockPath): add a missing slice
3693         * undo.C (performUndoOrRedo): remove redundant positioning code
3694
3695 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3696
3697         * vc-backend.C (scanMaster): ";" -> ';'
3698
3699 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3700
3701         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3702         std::binary_function
3703
3704         * lyxtextclass.C (compare_name): rename to...
3705         (LayoutNamesEqual): ...this
3706
3707         * lyxlex_pimpl.C (compare_tags): inherit from
3708         std::binary_function, put back into anon namespace
3709
3710         * lyxfind.C (MatchString): inherig from std::binary_function
3711         (findChange): use empty() istead of !size()
3712
3713         * format.C (FormatNamesEqual): new functor
3714         (getFormat): use it
3715         (getNumber): use it
3716         (add): use it
3717         (erase): use it
3718         (setViewer): use it
3719
3720         * converter.C (compare_Converter): rename to...
3721         (ConverterEqual): ...this, and fixup a bit.
3722         (getConverter): use it, and make function const
3723         (getNumber): use it, and make function const
3724         (add): use it
3725         (erase): use it:
3726
3727         * bufferlist.C: add using boost::bind
3728
3729         * MenuBackend.C (MenuNamesEqual): new functor
3730         (hasMenu): use it, and make function const
3731         (hasSubmenu): use nested bind to get rid of compare_memfun.
3732
3733 2004-01-30  André Pönitz  <poenitz@gmx.net>
3734
3735         * BufferView_pimpl.C:
3736         * cursor.C:
3737         * cursor.h:
3738         * cursor_slice.[Ch]:
3739         * lyxfunc.C:
3740         * lyxtext.h:
3741         * paragraph_funcs.C:
3742         * paragraph_funcs.h:
3743         * rowpainter.C:
3744         * text.C:
3745         * text2.C:
3746         * text3.C: move some of the edit(x,y) handling to the insets
3747         some coordinate changes.
3748
3749 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3750
3751         * text.C: add using statements for std::advance and std::distance
3752
3753         * paragraph.C: add using statement for std::distance
3754
3755         * lyxfind.C: add using statement for std::advance
3756
3757         * cursor.C (region): remove std:: from swap
3758         (openable): use nucleus in stead of operator->
3759
3760         * BufferView.C: add using statements for std::distance and std::swap
3761
3762 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3763
3764         * iterators.C: Remove the pimple, move the needed structures to
3765         the header file. Create accessor for the positions stack.
3766         (asPosIterator): remove function
3767
3768         * PosIterator.C (PosIterator): move constructors to top of file
3769         (PosIterator): reimplement the constructor taking a ParIterator in
3770         terms of setFrom.
3771         (setFrom): new function
3772         (operator!=): inline it
3773
3774 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3775
3776         * lyxfind.C (replaceAll): use std::advance
3777
3778         * iterators.h: inherit from std::iterator.
3779
3780         * PosIterator.C (advance, distance): remove
3781         * PosIterator.h: interit from std::iterator.
3782
3783 2004-01-26  André Pönitz  <poenitz@gmx.net>
3784
3785         * BufferView.[Ch]:
3786         * BufferView_pimpl.[Ch]:
3787         * InsetList.[Ch]:
3788         * PosIterator.[Ch]:
3789         * buffer.h:
3790         * bufferview_funcs.C:
3791         * cursor.[Ch]:
3792         * cursor_slice.h:
3793         * factory.[Ch]:
3794         * iterators.[Ch]:
3795         * lyxfind.C:
3796         * lyxfunc.C:
3797         * lyxtext.h:
3798         * output_docbook.C:
3799         * output_latex.C:
3800         * output_linuxdoc.C:
3801         * output_plaintext.C:
3802         * paragraph.[Ch]:
3803         * paragraph_funcs.[Ch]:
3804         * paragraph_pimpl.[Ch]:
3805         * rowpainter.C:
3806         * tabular.C:
3807         * tabular.h:
3808         * text.C:
3809         * text2.C:
3810         * text3.C: more IU:  dumps most of the rest of the mathcursor
3811     implementation into cursor.[Ch]; "globalize" a bit of it.
3812
3813 2004-01-25  Angus Leeming  <leeming@lyx.org>
3814
3815         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3816
3817 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3818
3819         * LaTeXFeatures.h: add nice_ and nice() const
3820         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3821
3822 2004-01-20  André Pönitz  <poenitz@gmx.net>
3823
3824         * BufferView.[Ch]:
3825         * BufferView_pimpl.C:
3826         * PosIterator.C:
3827         * bufferview_funcs.C:
3828         * cursor.[Ch]:
3829         * cursor_slice.[Ch]:
3830         * factory.C:
3831         * iterators.C:
3832         * lyx_cb.C:
3833         * lyxfind.C:
3834         * lyxfunc.C:
3835         * lyxtext.h:
3836         * rowpainter.C:
3837         * text.C:
3838         * text2.C:
3839         * text3.C:
3840         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3841           LCursor and mathcursor parts to LCursor and InsetBase.
3842
3843 2004-01-15  André Pönitz  <poenitz@gmx.net>
3844
3845         * cursor_slice.[Ch]: add a few covienience functions
3846
3847         * funcrequest.[Ch]: remove BufferView * member
3848
3849         * BufferView_pimpl.C:
3850         * cursor.C:
3851         * factory.[Ch]:
3852         * lyxfind.[Ch]:
3853         * lyxfunc.C:
3854         * lyxtext.h:
3855         * text3.C:
3856         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3857
3858 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3859
3860         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3861         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3862
3863 2004-01-13  André Pönitz  <poenitz@gmx.net>
3864
3865         * textcursor.[Ch]:
3866         * lyxtext.h: hide cursor and selection anchor behind accessor function
3867
3868         * BufferView.C:
3869         * BufferView_pimpl.[Ch]:
3870         * PosIterator.C:
3871         * bufferview_funcs.C:
3872         * cursor.h:
3873         * lyxfind.C:
3874         * lyxfunc.C:
3875         * text.C:
3876         * text2.C:
3877         * text3.C:
3878         * undo.C: adjust
3879
3880         * cursor.h:
3881         * cursor_slice.[Ch]: some integer type changes for inset unification
3882
3883         * lyxcursor.[hC]: remove, it's CursorSlice now.
3884
3885         * Makefile.am:
3886         * BufferView_pimpl.[Ch]:
3887         * bufferview_funcs.C:
3888         * cursor_slice.C:
3889         * lyxtext.h:
3890         * text.C:
3891         * text2.C:
3892         * text3.C:
3893         * textcursor.[Ch]: adjust
3894
3895 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3896
3897         * text2.C (undoSpan): add and use
3898         * text.C (breakParagraph): use undoSpan (fix bug 578)
3899         * lyxtext.h: adjust
3900
3901 2004-01-08  Angus Leeming  <leeming@lyx.org>
3902
3903         * BufferView_pimpl.C (MenuInsertLyXFile):
3904         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3905         * lyxfunc.C (menuNew, open, doImport):
3906         FileFilterList change to the FileDialog open and save functions.
3907
3908 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3909
3910         * ShareContainer.h: make isEqual and isUnique adaptable
3911
3912         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3913
3914 2004-01-07  Angus Leeming  <leeming@lyx.org>
3915
3916         * LyXAction.C:
3917         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3918
3919         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3920
3921         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3922         functions replacing find, replace and replaceAll.
3923
3924         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3925         LFUN_WORDFIND(FORWARD|BACKWARD).
3926
3927 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3928
3929         * text.C (breakParagraph): remove an outdated #warning
3930
3931 2004-01-07  André Pönitz  <poenitz@gmx.net>
3932
3933         * lyxfind.C: somewhat clearer logic
3934
3935         * text.C: prevent crash in cursorX on unitialized row cache
3936
3937 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3938
3939         * lyxcursor.[Ch] (operator>): add
3940         * textcursor.C (selStart, selEnd): use std::min and std::max
3941
3942 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3943
3944         * Chktex.C: include boost/format.hpp
3945
3946 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3947
3948         * InsetList.C: replace functor MathcIt with adaptable functor
3949         InsetTablePosLess
3950         (insetIterator): modify accordingly
3951
3952         * BranchList.h: move the BranchNamesEqual functor here from...
3953         * BranchList.C: ... to here
3954
3955         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3956         SameName and match.
3957         (add): replace a finding loop with std::find_if.
3958
3959 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3960
3961         * output_docbook.C: moving LatexParam functionality into
3962         .layout files
3963
3964 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3965
3966         * buffer.C: increment format to 229.
3967
3968 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3969
3970         * LaTeXFeatures.C:
3971         * lyx_sty.[Ch]: remove minipageindent_def
3972
3973         * LyXAction.C:
3974         * factory.C:
3975         * lfuns.h:
3976         * lyxfunc.C:
3977         * text3.C: remove LFUN_INSET_MINIPAGE
3978
3979 2003-12-28  Angus Leeming  <leeming@lyx.org>
3980
3981         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3982
3983 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3984
3985         * text2.C (setParagraph): fix off-by-one crash
3986
3987 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3988
3989         * output_docbook.C: header stuff for AGU
3990
3991 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3992
3993         * text2.C (redoCursor): remove
3994         * text.C:
3995         * text3.C:
3996         * BufferView_pimpl.C: remove calls to redoCursor and
3997         setCursor(cursor.par(), cursor.pos()) all around
3998
3999 2003-12-15  Angus Leeming  <leeming@lyx.org>
4000
4001         * buffer.C: up the format to 228.
4002
4003 2003-12-15  André Pönitz  <poenitz@gmx.net>
4004
4005         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4006         slices
4007
4008         * Makefile.am:
4009
4010         * BufferView_pimpl.C:
4011         * cursor.[Ch]:
4012         * lyxcursor.[Ch]:
4013         * rowpainter.[Ch]:
4014         * lyxtext.h:
4015         * text.C:
4016         * text2.C:
4017         * text3.C: adjust
4018
4019 2003-12-15  Angus Leeming  <leeming@lyx.org>
4020
4021         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4022         than getFromGUIName to manipulate the color.
4023
4024 2003-12-14  Angus Leeming  <leeming@lyx.org>
4025
4026         * BranchList.[Ch]: minimize the API.
4027         (Branch::getBranch, getColor): now return a 'const &'.
4028         (Branch::setSelected) now returns a bool set to true if the
4029         selection status changes.
4030         (BranchList::clear, size, getColor, setColor, setSelected,
4031         allBranches, allSelected, separator): removed.
4032         (BranchList::find): new functions, returning the Branch with
4033         the given name.
4034         (BranchList::add, remove): return a bool indicating that
4035         the operation was successful.
4036
4037         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4038         new InsetBranch::isBranchSlected member function.
4039
4040         * LColor.[Ch]: mimimize the API.
4041         (fill): renamed as addColor and made private.
4042         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4043         versions of these functions taking a string arg have been removed.
4044
4045         * bufferparams.C (readToken):
4046         * lyxfunc.C (dispatch):
4047         * lyxrc.C (read): changes due to the altered BranchList and
4048         LColor APIs.
4049
4050         * factory.C (createInset, readInset): changes due to altered
4051         InsetBranch c-tor.
4052
4053 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4054
4055         * factory.C:
4056         * lyxfunc.C: remove insetminipage. "minipage-insert"
4057         now produces a frameless minipage box inset.
4058
4059 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4060
4061         * textcursor.[Ch] (selStart,selEnd): add new methods
4062         remove selection::start, end, use LyXCursor::operator<
4063         * lyxcursor.[Ch] (operator<): add
4064         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4065         * BufferView.[Ch] (unsetXSel): add
4066         * text2.C (clearSelection): use unsetXSel,adjust
4067         * text.C: adjust
4068         * text3.C: adjust
4069         * rowpainter.C: adjust
4070         * bufferview_funcs.C (put_selection_at): adjust
4071
4072 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4073
4074         * BufferView_pimpl.C: small coord. correction
4075
4076 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4077
4078         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4079         dragging over the splash screen.
4080
4081 2003-12-11  Angus Leeming  <leeming@lyx.org>
4082
4083         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4084         as it is now handled in LyXText::dispatch.
4085
4086         * text3.C (doInsertInset): remove a level of nesting.
4087
4088 2003-12-11  Angus Leeming  <leeming@lyx.org>
4089
4090         * factory.C (createInset): changes due to the changed interface to
4091         InsetCommandMailer::string2params.
4092
4093 2003-12-10  Angus Leeming  <leeming@lyx.org>
4094
4095         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4096         'dialog-show-new-inset <inset name>'
4097
4098 2003-12-10  Angus Leeming  <leeming@lyx.org>
4099
4100         * buffer.C: up the format to 227.
4101
4102         * factory.C: the box inset is now identified simply by 'Box'.
4103
4104 2003-12-10  Angus Leeming  <leeming@lyx.org>
4105
4106         * buffer.C: up the format to 226.
4107
4108         * factory.C: the note inset is now identified simply by 'Note'.
4109
4110 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4111
4112         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4113         when a pit is enough. Standarize a couple of loops.
4114
4115 2003-12-05  Angus Leeming  <leeming@lyx.org>
4116
4117         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4118         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4119         data to the re-worked "log" dialog.
4120
4121 2003-12-03  André Pönitz  <poenitz@gmx.net>
4122
4123         * PosIterator.C:
4124         * iterators.C:
4125         * lyxtext.h:
4126         * output_latex.C:
4127         * paragraph_funcs.C:
4128         * text.C:
4129         * text2.C: use Inset::getText instead of Inset::getParagraph
4130
4131 2003-12-03  André Pönitz  <poenitz@gmx.net>
4132
4133         * buffer.[Ch]:
4134         * lyxtext.h:
4135         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4136         InsetText::read() as LyXText::read()
4137
4138 2003-12-02  Angus Leeming  <leeming@lyx.org>
4139
4140         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4141         type. Add a comment in the implementation that the function uses
4142         the stream's bad() function rather than fail() as the std::streams
4143         would do.
4144
4145 2003-12-02  André Pönitz  <poenitz@gmx.net>
4146
4147         * lyxlex.[Ch]: make interface more similar to std::stream
4148
4149         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4150
4151 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4152
4153         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4154
4155 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4156
4157         * vspace.[Ch]: remove VSpace::NONE
4158
4159 2003-12-01  André Pönitz  <poenitz@gmx.net>
4160
4161         * buffer.[Ch]:
4162         * lyxtext.h: move ParagraphList member to LyXText
4163         rename LyXText::ownerParagraphs to LyXText::paragraph
4164
4165         * CutAndPaste.C:
4166         * bufferview_funcs.C:
4167         * iterators.[Ch]:
4168         * lyx_cb.C:
4169         * paragraph.C:
4170         * rowpainter.C:
4171         * tabular.C:
4172         * text.C:
4173         * text2.C:
4174         * text3.C: adjust
4175
4176         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4177
4178         * undo.C: fix cursor positioning
4179
4180 2003-12-01  John Levon  <levon@movementarian.org>
4181
4182         * BufferView_pimpl.C: fix a crash on exit with
4183         a buffer open
4184
4185 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4186
4187         * BranchList.C: fix setSelected() method.
4188
4189 2003-11-28  André Pönitz  <poenitz@gmx.net>
4190
4191         * ParagraphParameters.[Ch]:
4192         * ParameterStruct.h: remove space above/below from Paragraph to
4193          InsetVSpace
4194
4195         * BufferView_pimpl.C:
4196         * factory.C:
4197         * lyxfunc.C:
4198         * lyxtext.h:
4199         * output_latex.C:
4200         * paragraph.C:
4201         * paragraph_funcs.C:
4202         * rowpainter.[Ch]:
4203         * text.C:
4204         * text2.C:
4205         * text3.C: adjust
4206
4207 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4208
4209         * factory.C: Syntax change for CharStyles
4210
4211 2003-11-28  André Pönitz  <poenitz@gmx.net>
4212
4213         * BufferView.[Ch]:
4214         * BufferView.[Ch]:
4215         * buffer.[Ch]:
4216         * buffer.[Ch]: move LyXText member
4217
4218 2003-11-28  André Pönitz  <poenitz@gmx.net>
4219
4220         * BufferView.[Ch]: make LyXText * text a private member
4221
4222         * BufferView_pimpl.C:
4223         * cursor.C:
4224         * iterators.C:
4225         * lyx_cb.C:
4226         * lyxfind.C:
4227         * lyxtext.h:
4228         * rowpainter.[Ch]:
4229         * text.C:
4230         * text2.C:
4231         * undo.C: adjust
4232
4233         * output_plaintext.C: cleanup
4234
4235 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4236
4237         * buffer.C:
4238         * lyxtextclass.[Ch]: parametrize SGML document header
4239
4240 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4241
4242         * converter.[Ch]:
4243         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4244         getFlavor().
4245
4246 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4247
4248         * text2.C (setFont): rework using PosIterator (no more recursive)
4249         (setCharFont): no more needed
4250         (setLayout): no more selection cursors fiddling (done by redoCursor)
4251         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4252         destroy remaining ones)
4253
4254 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4255
4256         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4257         * lyxtext.h: ditto
4258         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4259         selection cursors
4260         * lyxfunc.C: adjust
4261         * text3.C: adjust + re-allow multi par depth changes
4262         * textcursor.C: simplify a bit
4263
4264 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4265
4266         * src/buffer.C:
4267         * src/lyxlayout.C:
4268         * src/lyxlayout.h:
4269         * src/lyxtext.h:
4270         * src/output_docbook.C:
4271         * src/output_latex.C:
4272         * src/paragraph.C:
4273         * src/paragraph.h:
4274         * src/sgml.C:
4275         * src/sgml.h:
4276         * src/text2.C: Introducing a number of tags parametrizing various
4277         XML formats that we may want to support
4278
4279 2003-11-25  André Pönitz  <poenitz@gmx.net>
4280
4281         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4282
4283         * lyxtext.h (leftMargin/rightMargin): simplify interface
4284
4285         * rowpainter.C:
4286         * text.C:
4287         * text2.C:
4288         * text3.C: adjust
4289
4290 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4291
4292         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4293         master file to any child files. Fixes bug 546.
4294
4295 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4296
4297         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4298
4299 2003-11-24  André Pönitz  <poenitz@gmx.net>
4300
4301         * rowpainter.C: simplification
4302
4303         * text2.C (updateCounters): remove call to redoParagraph on
4304         changed labels as this is far too expensive.
4305
4306 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4307
4308         * converter.C (convert): fix a crash: this function gets
4309         called with buffer == 0 from importer code.
4310
4311 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4312
4313         * text3.C (cursorPrevious): make sure that we do not compare
4314         iterators form different containers.
4315         (cursorNext): ditto
4316
4317         * rowpainter.C (paintSelection): make sure that we do not compare
4318         iterators from different containers.
4319
4320         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4321         iterators from different ParagraphList containers.
4322         [NEXT] ditto
4323
4324         * text2.C (LyXText): change order of initialization slightly
4325         (operator=): new function. copy all variables except cache_par_
4326         (moveUp): make sure that we do not compare iterators from
4327         different ParagraphList constainers.
4328         (moveDown): ditto
4329
4330         * text.C (firstPar): new function
4331         (lastPar): new function
4332         (endPar): new function
4333
4334         * lyxtext.h: move things around and group public functions, public
4335         variables, private functions, private variables
4336
4337 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4338
4339         * factory.C: change call to InsetERT constructor to avoid
4340         additional invocation of method status
4341         * text2.C (toggleInset): remove redundant update() call
4342         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4343         instead of a Bufferview pointer
4344
4345 2003-11-21  André Pönitz  <poenitz@gmx.net>
4346
4347         * rowpainter.C: simplification
4348
4349 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4350
4351         * text3.C (dispatch): make possible to extend a word/row selection
4352         with the mouse
4353
4354 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4355
4356         * lyxtext.h: x0_,y0_ -> xo_,yo_
4357         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4358         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4359         * rowpainter.C (paintRows): paint full paragraphs
4360
4361 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4362
4363         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4364         screen coordinates)
4365
4366 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4367
4368         * lyxtext.h: add x0_, y0_
4369         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4370         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4371
4372 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4373
4374         * text2.C (setCursorIntern): move the x_target update here *
4375         * text3.C: change some bv() to true/false in calls to
4376         cursorUp/Down/Right/Left
4377         * cursor.C: use helper function.
4378
4379 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4380
4381         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4382         * paragraph_funcs.[Ch]: correct comment
4383         * rowpainter.C: do not paint selections away from bv->cursor()
4384         Fix a long standing selection painting bug.
4385         * text3.C: generalize mouse-selection code to LyXTexts other that
4386         top one
4387         * textcursor.C: do not use y coords if we can use par offsets
4388
4389 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4390
4391         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4392         cursor position after e.g. inset insert)
4393
4394 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4395
4396         * lyxfind.C (replace): adjust to locking removal + some
4397         code simplification
4398
4399 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4400
4401         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4402         of the path
4403
4404 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4405
4406         * lyxlayout.[Ch]:
4407         * output_docbook.C: XML sanitation: new layout
4408         parameters InnerTag and CommandDepth
4409
4410 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4411
4412         * BufferView_pimpl.C:
4413         * factory.C:
4414         * text3.C: Fix the insertion and modification of button-style
4415         insets
4416
4417 2003-11-13  André Pönitz  <poenitz@gmx.net>
4418
4419         * InsetList.[Ch]: remove deleteLyXText
4420
4421         * paragraph.[Ch]: cache beginOfBody position
4422
4423         * Bidi.C:
4424         * text.C:
4425         * text2.C:
4426         * text3.C: remove superfluous update() calls
4427
4428         * vspace.C: cleanup
4429
4430 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4431
4432         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4433         * BufferView.C (fitLockedInsetCursor): remove
4434         * cursor.[Ch] (getDim): add
4435         * text.C (getRowNearY): add faster version
4436         * text3.C: remove some update calls
4437
4438 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4439
4440         * LaTeXFeatures.C:
4441         * LyXAction.C:
4442         * MenuBackend.C:
4443         * MenuBackend.h:
4444         * dispatchresult.h:
4445         * factory.C:
4446         * lfuns.h:
4447         * lyxfunc.C:
4448         * lyxtextclass.C:
4449         * lyxtextclass.h:
4450         * text3.C: The Character Style /XML short element patch.
4451
4452 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4453
4454         * text3.C:
4455         * factory.C: Small step to solving 'unable to insert some insets'
4456         problem
4457
4458 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4459
4460         * cursor.[Ch] (updatePos): new function for updating the y
4461         position of the tip inset
4462         * bufferview_funcs.C (put_selection_at):
4463         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4464
4465 2003-11-11  André Pönitz  <poenitz@gmx.net>
4466
4467         * text.C: remove big comment on invalid Paragraph pointers as it is
4468         not valid anymore
4469
4470 2003-11-11  André Pönitz  <poenitz@gmx.net>
4471
4472         * text_funcs.[Ch]: merge with ...
4473
4474         * text.C: ... this
4475
4476         * lyxtext.h:
4477         * text2.C:
4478         * text3.C: adjust
4479
4480         * Makefile.am: remove text_funcs.[Ch]
4481
4482 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4483
4484         * cursor.C (getPos): return absolute cached y coord
4485
4486         * BufferView_pimpl.C (fitCursor): new simplistic code
4487         (workAreaDispatch): add a fitCursor call
4488
4489 2003-11-10  André Pönitz  <poenitz@gmx.net>
4490
4491         * BufferView.[Ch]:
4492         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4493
4494 2003-11-10  André Pönitz  <poenitz@gmx.net>
4495
4496         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4497         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4498         indicate that the cursor needs to leave an inset
4499
4500         * lyxtext.h: remove inset locking
4501
4502         * cursor.[Ch]: re-implement functionality provided by inset locking
4503
4504         * BufferView.[Ch]:
4505         * BufferView_pimpl.[Ch]:
4506         * LyXAction.C:
4507         * bufferview_funcs.[Ch]:
4508         * factory.C:
4509         * funcrequest.[Ch]:
4510         * iterators.C:
4511         * lyx_cb.C:
4512         * lyxfind.C:
4513         * lyxfunc.C:
4514         * text.C:
4515         * text2.C:
4516         * text3.C:
4517         * undo.C: adjust
4518
4519 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4520
4521         * PosIterator.[Ch]: replace the stack with a vector, add inset
4522         accesor
4523         * iterators.[C]: adjust
4524
4525 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4526
4527         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4528         replaced
4529         * paragraph_funcs.C (readParToken): put the correct id in the
4530         error item, not the id of the top paragraph
4531
4532 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4533
4534         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4535         * bufferview_funcs.C (put_selection_at): use the above
4536
4537 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4538
4539         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4540
4541 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4542
4543         * output_linuxdoc.h:
4544         * output_plaintext.h:
4545         * output.h:
4546         * output_docbook.h: add #include statements
4547
4548 2003-11-05  José Matos  <jamatos@lyx.org>
4549
4550         * output_docbook.[Ch]:
4551         * output_latex.[Ch]:
4552         * output_linuxdoc.[Ch]:
4553         * output_plaintext.[Ch]: New files for output formats.
4554         * output.[Ch]: New file for helper functions.
4555
4556         * buffer.[Ch]:
4557         * paragraph_funcs.[Ch]: output functions moved to new files.
4558
4559         * outputparams.h: rename of latexrunparams.h
4560
4561         * LaTeX.[Ch]:
4562         * buffer.[Ch]:
4563         * bufferlist.[Ch]:
4564         * converter.[Ch]:
4565         * exporter.C:
4566         * paragraph.[Ch]:
4567         * paragraph_funcs.[Ch]:
4568         * paragraph_pimpl.[Ch]:
4569         * tabular.[Ch]: rename ascii to plaintext
4570         and LatexRunParams to OutputParams.
4571
4572 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4573
4574         * iterators.[Ch] (text): require bv argument
4575         * undo.C (recordUndo):
4576         * lyxfunc.C (dispatch):
4577         * bufferview_funcs.C (put_selection_at): adjust
4578
4579 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4580
4581         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4582
4583 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4584
4585         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4586         nestings
4587
4588 2003-11-04  André Pönitz  <poenitz@gmx.net>
4589
4590         * cursor.[Ch]: restructure
4591
4592         * BufferView.[Ch]:
4593         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4594
4595         * iterators.[Ch] (asCursor): remove
4596
4597         * lfuns.h: remove LFUN_INSET_EDIT
4598
4599         * lyxfunc.C:
4600         * tabular.C:
4601         * text.C:
4602         * text2.C:
4603         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4604
4605 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4606
4607         * lyxfind.[Ch]: complete overhaul
4608         * BufferView_pimpl.C:
4609         * lyxfunc.C: adjust
4610         * paragraph.[Ch] (insert): add
4611
4612 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4613
4614         * BufferView.[Ch]:
4615         * lyxtext.h:
4616         * text.C: remove dead spellcheck code
4617
4618 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4619
4620         * dispatchresult.h: add a val setter
4621
4622         * cursor.C (dispatch): use a tempvar for data_[i]
4623
4624 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4625
4626         * PosIterator.[Ch]: compile fix
4627
4628 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4629
4630         * text.C (cursorPar): deactivate the cursor cache
4631
4632 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4633
4634         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4635
4636 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4637
4638         * text3.C (dispatch): adjust for new DisptchResult semantics.
4639
4640         * lyxfunc.C (dispatch): handle update when return from
4641         Cursor::dispatch, adjust for new DispatchResult semantics.
4642
4643         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4644         DispatchResult(true) mean to not update. Add class functions for
4645         setting dispatched and update, as well as reading.
4646
4647         * cursor.C (dispatch): don't handle update here
4648
4649 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4650
4651         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4652         * trans_mgr.C: adjust
4653
4654         * paragraph_funcs.C (readParToken): exception safety
4655
4656         * lyxvc.h: store the vcs pointer in a scoped_ptr
4657         * lyxvc.C: adjust
4658
4659         * lyxsocket.C (serverCallback): exception safety
4660
4661         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4662
4663         * ispell.C (clone): make it return a auto_ptr
4664
4665         * factory.C (createInset): exception safety
4666         (readInset): exception safety
4667
4668         * bufferlist.C (newBuffer): exception safety
4669
4670         * Thesaurus.C (Thesaurus): use initialization for aik_
4671
4672         * MenuBackend.C (expandToc): exception safety.
4673
4674 2003-11-03  André Pönitz  <poenitz@gmx.net>
4675
4676         * buffer.C:
4677         * buffer.h:
4678         * bufferview_funcs.C: remove getInsetFromId()
4679
4680         * lyxcursor.[Ch]:
4681         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4682
4683         * lyxfunc.C:
4684         * text2.C:
4685         * text3.C: adjust
4686
4687 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4688
4689         * PosIterator.C (distance, advance): new
4690         * bufferview_funcs.[Ch] (put_selection_at): new
4691         * iterators.[Ch] (lockPath): new
4692
4693 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4694
4695         * iterators.[Ch] (asPosIterator): added
4696         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4697         * PosIterator.[Ch]: added
4698
4699 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4700
4701         * text3.C:
4702         * lyxfunc.C:
4703         * cursor.C (dispatch):
4704         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4705
4706         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4707         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4708         contructor, add a class function dispatched. Remove operator>=
4709
4710 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4711
4712         * debug.C: only use the default constructor for debugstream
4713         (lyxerr) here.
4714
4715         * main.C (main): include debug.h and setup the lyxerr streambuf
4716         here.
4717
4718 2003-10-31  José Matos  <jamatos@lyx.org>
4719
4720         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4721
4722         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4723         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4724         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4725         * paragraph_pimpl.C (simpleTeXSpecialC):
4726         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4727         add LatexRunParams argument.
4728
4729         * exporter.C (Export): change call accordingly.
4730
4731         * latexrunparams.h: add new member to take care of the other backends.
4732 2003-10-30  José Matos  <jamatos@lyx.org>
4733
4734         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4735         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4736         factorise code for paragraph output.
4737         * buffer.[Ch]:
4738         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4739         move functions.
4740
4741 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4742
4743         * text3.C (dispatch):
4744         * lyxfunc.C (dispatch):
4745         * cursor.C (dispatch):
4746         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4747
4748         * dispatchresult.h: make the dispatch_result_t ctor explicit
4749
4750 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4751
4752         * sgml.[Ch]:
4753         * buffer.C: small refactoring of docbook stuff
4754
4755 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4756
4757         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4758         meaning.
4759
4760 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4761
4762         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4763         operator dispatch_result_t, and operators for == != and >=
4764
4765         * cursor.C (dispatch): adjust for operator dispatch_result_t
4766         removal. comment out call to update
4767
4768         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4769
4770 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4771
4772         * text3.C:
4773         * text2.C:
4774         * text.C:
4775         * lyxtext.h:
4776         * lyxfunc.C:
4777         * cursor.C:
4778         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4779         (dispatch):
4780
4781         * dispatchresult.h: new file, DispatchResult broken out of
4782         insets/insetbase.h
4783
4784         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4785
4786 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4787
4788         * text.C (rowBreakPoint): put a hack inside #if 0
4789
4790 2003-10-28  André Pönitz  <poenitz@gmx.net>
4791
4792         * lyxtext.h:
4793         * metricsinfo.C:
4794         * paragraph_funcs.C:
4795         * rowpainter.C:
4796         * text.C:
4797         * text2.C: general cleanup (lots of small stuff)
4798
4799 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4800
4801         * text2.C (cursorEnd): simple fix to the "end key goes to one
4802         before the end on last row" bug
4803
4804 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4805
4806         * text.C (backspace): fix the "zombie characters"
4807
4808 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4809
4810         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4811
4812 2003-10-27  André Pönitz  <poenitz@gmx.net>
4813
4814         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4815
4816         * factory.C: handle new InsetPagebreak, InsetLine
4817
4818         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4819         and move handling into new InsetPagebreak, InsetLine
4820
4821         * BufferView_pimpl.C:
4822         * LyXAction.C:
4823         * ParagraphParameters.C:
4824         * ParameterStruct.h:
4825         * lyxfunc.C:
4826         * lyxtext.h:
4827         * paragraph.C:
4828         * paragraph.h:
4829         * paragraph_funcs.C:
4830         * paragraph_pimpl.C:
4831         * rowpainter.C:
4832         * text.C:
4833         * text2.C:
4834         * text3.C: adjust
4835
4836 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4837
4838         * text.C:
4839         * lyxrow_funcs.[Ch]:
4840         * Bidi.C:
4841         * paragraph.C:
4842         * lyxtext.h:
4843         * rowpainter.C:
4844         * text2.C:
4845         * text3.C: remove lastPos uses in favour of Row::endpos
4846
4847 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4848
4849         * undo.C (performUndoOrRedo): fix two crashes by setting a
4850         cursor by hand and reordering some calls. Use bv->lockInset instead
4851         of inset->edit because the latter loses cursor information
4852
4853 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4854
4855         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4856         by Martin
4857         (rowBreakPoint): fix width. change point to point + 1.
4858         Add a missing check.
4859
4860 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4861
4862         * MenuBackend.C:
4863         * lyxfunc.C: fix (at least partly) the problems
4864         with the Nav menu and headers inside branch insets
4865         reported by Kayvan
4866
4867 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4868
4869         * paragraph.C (getChar): add strong asserts
4870
4871         * lyxrow_funcs.C (lastPos): remove hideous hack
4872
4873         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4874         (fill): adjust to that (avoid an infinite loop)
4875
4876 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4877
4878         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4879
4880 2003-10-23  André Pönitz  <poenitz@gmx.net>
4881
4882         * RowList_fwd.h: change list<> to vector<> to gain speed
4883         after suggestion from Alfredo
4884
4885 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4886
4887         * lyxtext.h: move the bidi stuff from here...
4888         * text.C: and here
4889         * text2.C: and here
4890         * Bidi.[Ch]: ... to here
4891
4892 2003-10-23  André Pönitz  <poenitz@gmx.net>
4893
4894         * lyxtext.h:
4895         * text.C (isLastRow, isFirstRow): new functions
4896
4897         * paragraph.h: new width cache member
4898
4899         * rowpainter.C: replace RowList::iterator with Row & where possible
4900
4901         * lyxfunc.C: replace several view()->text with a single call
4902
4903         * toc.C: fix 'unused' warning
4904
4905 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4906
4907         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4908         when woring with stream::pos_type
4909         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4910
4911 2003-10-22  André Pönitz  <poenitz@gmx.net>
4912
4913         * lyxtext.h:
4914         * text.C: use Row & instead of RowList::iterator
4915
4916         * lyxrow.h: rename end() to endpos()
4917
4918         * rowpainter.C:
4919         * text.C:
4920         * text2.C: adjust
4921
4922 2003-10-22  Angus Leeming  <leeming@lyx.org>
4923
4924         * buffer.[Ch] (fully_loaded): new member function, returning true
4925         only when the file has been loaded fully.
4926         Used to prevent the premature generation of previews and by the
4927         citation inset to prevent computation of the natbib-style label.
4928
4929         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4930         templates are all set up.
4931
4932         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4933
4934 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4935
4936         * text.C: fixed an "oops" in the "is a bit silly"
4937         bug fix
4938
4939 2003-10-21  André Pönitz  <poenitz@gmx.net>
4940
4941         * FuncStatus.[Ch]: small stuff, whitespace
4942
4943         * lyxfont.[Ch]: operator<<() for debug reasons
4944
4945         * lyxfunc.C:
4946         * lyxrow_funcs.C:
4947         * lyxtext.h: whitespace, spelling
4948
4949         * paragraph.C: naming of variables
4950
4951         * text.C:
4952         * text2.C: small stuff
4953
4954
4955 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4956
4957         * text.C: (1) finish off the inset display() work;
4958         (2) fix the "is a bit silly" bug (accessing char
4959         past end of par).
4960
4961 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4962
4963         * text.C: re-introduce display() for insets, fixing the
4964         various bugs (stretch of line above, math inset
4965         positioning, ...)
4966
4967 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4968
4969         * text.C (rightMargin): remove spurious semicolon
4970
4971         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4972         1415)
4973
4974 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4975
4976         * text3.C: fix one crash due to wrong cursor def
4977
4978 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4979
4980         * vc-backend.C (scanMaster): make the regex static
4981
4982         * LaTeX.C (scanAuxFile): make the regexs static
4983
4984         * text3.C (doInsertInset, dispatch, dispatch):
4985         * text2.C (cursorUp, cursorDown):
4986         * text.C (selectNextWordToSpellcheck):
4987         * BufferView_pimpl.C (dispatch):
4988         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4989
4990 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4991
4992         * lyxsocket.C: include <cerrno>
4993
4994 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4995
4996         * lyxfunc.C (dispatch): remove textcache stuff
4997
4998         * bufferlist.C (release): remove textcache stuff
4999         (closeAll): ditto
5000
5001         * TextCache.C: delete file
5002         * TextCache.h: delete file
5003
5004         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5005
5006         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5007         delete of the bv_->text.
5008         (resizeCurrentBuffer): remove texcache stuff
5009         (workAreaResize): ditto
5010
5011 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5012
5013         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5014         action.
5015
5016 2003-10-16  André Pönitz  <poenitz@gmx.net>
5017
5018         * lyxrow.[Ch]:
5019         * paragraph.h:
5020         * rowpainter.C:
5021         * text.C:
5022         * text2.C:
5023         * text3.C: speed up by storing y positions per paragraph plus per-row
5024         offset instead of having a 'full' y position in the row.
5025
5026 2003-10-15  André Pönitz  <poenitz@gmx.net>
5027
5028         * iterators.[Ch]:
5029         * iterators.[Ch]:
5030         * undo.[Ch]: make undo aware of inner insets
5031
5032 2003-10-14  Angus Leeming  <leeming@lyx.org>
5033
5034         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5035         static member functions LyX::ref() and LyX::cref.
5036         (lastfiles): new accessor functions for the new lastfiles_ member var.
5037         (addLyXView, views_): add a new LyXView to the list of views_.
5038         (updateInset): loop over all LyXViews to call their own updateInset
5039         member function, returning a pointer to the Buffer owning the inset.
5040
5041         * BufferView_pimpl.C (loadLyXFile):
5042         * MenuBackend.C (expandLastfiles):
5043         * bufferlist.C (MenuWrite, QuitLyX):
5044         lastfiles is no longer a global variable.
5045         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5046
5047         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5048         static function. Access through LyX::cref().emergencyCleanup().
5049
5050 2003-10-14  André Pönitz  <poenitz@gmx.net>
5051
5052         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5053
5054         * undo.[Ch]: restoring part of 'undo in insets'
5055
5056         * Makefile.am:
5057         * undo_funcs.[Ch]: merge with undo.[Ch]
5058
5059         * tabular.C: small cleansing stuff
5060
5061 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5062
5063         * paragraph_funcs.C (readParToken): report unknown insets as error
5064         boxes. Use the outer paragraph as location (also for unknown
5065         tokens).
5066
5067         * factory.C (readInset): do not abort on reading an unknown inset.
5068         Eat it and return 0.
5069
5070 2003-10-13  Angus Leeming  <leeming@lyx.org>
5071
5072         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5073
5074         * lyxrc.C: displayTranslator is now a function,
5075         declared in GraphicsTypes.h.
5076
5077 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5078
5079         * format.C: new placeholder $$a to pass the socket address.
5080
5081         * bufferlist.[Ch]: new function getBufferFromTmp.
5082
5083         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5084           files in the temporary dir.
5085
5086 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5087
5088         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5089
5090         * Makefile.am: add lyxsocket.[Ch].
5091
5092         * lyx_main.C (error_handler): handle SIGPIPE.
5093
5094 2003-10-13  André Pönitz  <poenitz@gmx.net>
5095
5096         * BufferView_pimpl.C:
5097         * lyxtext.h:
5098         * text.C:
5099         * text2.C:
5100         * text3.C:
5101         * undo_funcs.[Ch]: use paroffset_type instead of
5102           ParagraphList::iterators to prevent multiple conversion
5103           (and get a more robust interface)
5104
5105 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5106
5107         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5108         * lyxtext.h: ditto
5109         * text3.C (dispatch): ditto
5110
5111 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5112
5113         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5114         move the onlyfile, use onlyfile instead of foundfile in a couple
5115         of places.
5116
5117         * DepTable.C (update): flush the error stream a bit more
5118
5119 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5120
5121         * lyxserver.C (callback): adjust
5122
5123         * lyxfunc.C (getStatus): add a missing brace in commented code
5124         (ensureBufferClean): reindent
5125         (dispatch): delete version taking a string
5126
5127 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5128
5129         * LaTeX.C (deplog): move found file handlig from here...
5130         (handleFoundFile): .. to new function here.
5131         (deplog): make sure to discover several files mentioned on the
5132         same log line.
5133
5134 2003-10-10  André Pönitz  <poenitz@gmx.net>
5135
5136         * lyxfunc.C:
5137         * lyxtext.h:
5138         * tabular.C:
5139         * text.C:
5140         * text2.C:
5141         * text3.C: fix some of the tabular crashes
5142
5143 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5144
5145         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5146
5147         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5148
5149 2003-10-09  André Pönitz  <poenitz@gmx.net>
5150
5151         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5152
5153         * BufferView.C:
5154         * BufferView_pimpl.C:
5155         * bufferview_funcs.C:
5156         * lyx_cb.C:
5157         * lyxcursor.C:
5158         * lyxfind.C:
5159         * lyxfunc.C:
5160         * lyxtext.h:
5161         * text.C:
5162         * text2.C:
5163         * text3.C:
5164         * text_funcs.[Ch]:
5165         * textcursor.[Ch]:
5166         * undo_funcs.C: adjust
5167
5168 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * text2.C (incrementItemDepth): new function, use a backtracking
5171         algorithm to discover the correct item depth.
5172         (resetEnumCounterIfNeeded): new function, use a backtracking
5173         algorithm to discover if counter reset is needed.
5174         (setCounter): use them. Simplify a bit. Add different labels for
5175         different item depths for itemize.
5176
5177         * paragraph.C (Paragraph): remove initialization of enumdepth
5178         (operator=): ditto
5179
5180         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5181         enumerate and itemize. Change the type of itemdepth to signed char.
5182
5183 2003-10-08  André Pönitz  <poenitz@gmx.net>
5184
5185         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5186           thing assignable.
5187         * text.C:
5188         * text2.C: adjust
5189
5190         * tabular.[Ch]: fix crash after 'row-insert'
5191
5192 2003-10-08  Angus Leeming  <leeming@lyx.org>
5193
5194         Fix doxygen warnings.
5195
5196         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5197         Remove CutAndPaste:: prefix from header file declaration.
5198
5199         * LColor.h (fill): remove LColor:: prefix from declaration.
5200
5201         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5202         use lyx::depth_type rather than Paragraph::depth_type so that
5203         header file and .C file match.
5204
5205         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5206
5207         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5208         * aspell.C: \file aspell_local.C -> \file aspell.C
5209         * gettext.C: \file gettext.C -> \file src/gettext.C
5210         * gettext.h: \file gettext.h -> \file src/gettext.h
5211         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5212         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5213         * text.C: \file text.C -> \file src/text.C
5214
5215         * toc.C: move comment so that doxygen is not confused.
5216
5217 2003-10-07  Angus Leeming  <leeming@lyx.org>
5218
5219         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5220
5221 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5222
5223         * aspell.C:
5224         * aspell_local.h: add forgotten std::string's.
5225
5226 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5227
5228         * LaTeXFeatures.C:
5229         * LyXAction.C:
5230         * factory.C:
5231         * lfuns.h:
5232         * lyxfunc.C:
5233         * text3.C: The Box patch. Fancybox support, minipage, parbox
5234
5235 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5236
5237         * CutAndPaste.h:
5238         * DepTable.h:
5239         * FloatList.h:
5240         * LaTeXFeatures.h:
5241         * ParagraphParameters.h:
5242         * TextCache.h:
5243         * Thesaurus.h:
5244         * bufferlist.h:
5245         * exporter.h:
5246         * importer.h:
5247         * lastfiles.h:
5248         * lyxfind.h:
5249         * lyxfont.h:
5250         * lyxlex.h:
5251         * lyxtextclasslist.h:
5252         * messages.h:
5253         * paragraph.h:
5254         * paragraph_pimpl.C:
5255         * textcursor.h: add <string> and other small fixes to make Lars'
5256         std::string patch compile with STLport.
5257
5258 2003-10-06  Angus Leeming  <leeming@lyx.org>
5259
5260         * LColor.h: Add missing #include <string>.
5261
5262 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5263
5264         * All most all file in all subdirs: Make <string> be the prefered
5265         way of getting to std::string, add using declarations.
5266
5267 2003-10-06  André Pönitz  <poenitz@gmx.net>
5268
5269         * metricsinfo.C: initialize LyXFont before changing attribute.
5270         (fixes the 'math in \emph is upright' bug)
5271
5272 2003-10-06  André Pönitz  <poenitz@gmx.net>
5273
5274         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5275
5276 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5277
5278         * graph.C:
5279         * paragraph_pimpl.C: Small fixes to build using STLport
5280
5281 2003-10-02  André Pönitz  <poenitz@gmx.net>
5282
5283         * lyxfunc.C:
5284         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5285
5286 2003-10-01  André Pönitz  <poenitz@gmx.net>
5287
5288         * factory.C: assert early
5289
5290 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5291
5292         * lyx_main.C: remove the global debug object
5293
5294         * debug.h: adjust for new debugstream
5295
5296         * debug.C: adjust for new debugstream and keep the global debug
5297         object here.
5298
5299 2003-09-22  Angus Leeming  <leeming@lyx.org>
5300
5301         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5302         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5303         an incomplete class LyXFont.
5304
5305 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5306
5307         * factory.C: bug fix in branches
5308
5309 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5310
5311         * lyxfunc.C (processKeySym): adjust
5312         (dispatch): adjust
5313         (dispatch): change arg name from ev to func, adjust
5314         (sendDispatchMessage): ditto
5315
5316         * lyx_main.C (defaultKeyBindings): adjust keybindings
5317         (deadKeyBindings): ditto
5318
5319         * kbsequence.C (addkey): return a FuncRequest
5320
5321         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5322
5323         * kbmap.C (bind): take a FuncRequest as arg, adjust
5324         (read): adjust
5325         (lookup): adjust
5326         (defkey): change to take a FuncRequest as arg, adjust
5327         (findbinding): take a FuncRequest as arg, adjust.
5328
5329         * funcrequest.h (operator=): added
5330
5331         * funcrequest.C (FuncRequest): default kb_action changed from
5332         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5333
5334         * buffer.C (dispatch): simplify
5335         (dispatch): adjust to take a FuncRequest as arg, adjust
5336
5337         * boost.C (assertion_failed): change assertion message slightly
5338
5339         * ToolbarBackend.C (read): simplify
5340
5341         * MenuBackend.C (binding): adjust call to findbinding, add a
5342         message if no binding is found.
5343         (read): simplify
5344         (expandToc): correct by adding a empty FuncRequest
5345
5346         * LyXAction.C: include <boost/assert.hpp>
5347         (isPseudoAction): delete function
5348         (LookupFunc): change name to...
5349         (lookupFunc): this. change return type to FuncRequest.
5350         (getActionName): take kb_action as arg, simplify
5351         (funcHasFlag): add an assert, simplify.
5352
5353 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5354
5355         * toc.C (action): return a FuncRequest, simplify
5356
5357         * lyxfunc.C (processKeySym): adjust
5358         (getStatus): delete version that takes an int.
5359         (getStatus): adjust
5360         (dispatch): delete version that takes action as int
5361         (dispatch): adjust
5362         (sendDispatchMessage): simplify and adjust
5363
5364         * funcrequest.C (getArg): take unsigned int as arg
5365
5366         * ToolbarBackend.C (read): adjust
5367         (add): delete version that takes func as a string.
5368         (getIton): take a FuncRequest as arg
5369
5370         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5371         action.
5372
5373         * MenuBackend.C (MenuItem): add a new construct that only takes a
5374         Kind, simplify the constructor use for submenus.
5375         (add): adjust
5376         (expandLastfiles): adjust
5377         (expandDocuments): adjust
5378         (expandFormats): adjust
5379         (expandFloatListInsert): adjust
5380         (expandFloatInsert): adjust
5381         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5382
5383         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5384         Remove class variables lyx_pseudo_map and lyx_arg_map
5385
5386         * LyXAction.C (searchActionArg): delete function
5387         (getPseudoAction): delete function
5388         (retrieveActionArg): delete function
5389         (LookupFunc): make it return kb_action, simplify.
5390         (getActionName): simplify
5391
5392         * factory.C (createInset): fix new bug
5393
5394 2003-09-19  Angus Leeming  <leeming@lyx.org>
5395
5396         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5397         masterFilename_ parameter in the include inset.
5398
5399         * factory.C (createInset): changes due to the changes to InsetInclude.
5400
5401 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5402
5403         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5404
5405 2003-09-18  Angus Leeming  <leeming@lyx.org>
5406
5407         * buffer.C:
5408         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5409         Inset::fillWithBibKeys.
5410         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5411
5412 2003-09-18  Angus Leeming  <leeming@lyx.org>
5413
5414         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5415         variables.
5416         (ctor): pass and store a 'Buffer const &'
5417         (buffer): new member function.
5418
5419         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5420         '*this' to the LaTeXFeatures ctor.
5421
5422 2003-09-18  Angus Leeming  <leeming@lyx.org>
5423
5424         * LColor.h:
5425         * lyxfont.C:
5426         * lyxfont.h:
5427         * lyxtext.h:
5428         * text.C: rename EnumLColor as LColor_color.
5429
5430 2003-09-18  Angus Leeming  <leeming@lyx.org>
5431
5432         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5433         remove #include "insets/insetbase.h" from cursor.h.
5434
5435 2003-09-18  Angus Leeming  <leeming@lyx.org>
5436
5437         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5438         InsetOld_code to remove #include "inset.h".
5439
5440         * iterators.C: add #include "insets/inset.h"
5441
5442 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5443
5444         * BufferView.C: remove more locking stuff that apparently doesn't
5445         do anything sensible.
5446
5447 2003-09-16  André Pönitz  <poenitz@gmx.net>
5448
5449         * paragraph.[Ch]:
5450         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5451           performance boost.
5452
5453 2003-09-16  Angus Leeming  <leeming@lyx.org>
5454
5455         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5456
5457         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5458         arg/return type.
5459
5460         * paragraph.h: remove #include "lyxfont.h". Forward declare
5461         LyXFont_size.
5462
5463 2003-09-16  Angus Leeming  <leeming@lyx.org>
5464
5465         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5466         of support/textutils.h.
5467         (isWord): move the contents of support/textutils.h's IsWordChar here.
5468
5469         * buffer.C:
5470         * lyxfind.C:
5471         * rowpainter.C:
5472         * text.C:
5473         * text2.C: add #include "paragraph.h".
5474
5475         * rowpainter.C:
5476         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5477
5478 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5479
5480         * main.C:
5481         * lyx_main.C:
5482         * lyx_cb.C:
5483         * buffer.C:
5484         * LaTeX.C: use namespace alias for lyx::support::os
5485
5486 2003-09-16  Angus Leeming  <leeming@lyx.org>
5487
5488         * bufferparams.C:
5489         * bufferview_funcs.C:
5490         * factory.C:
5491         * lyxfunc.C:
5492         * paragraph_pimpl.C:
5493         * rowpainter.C:
5494         * text.C: add #include "LColor.h".
5495
5496 2003-09-16  Angus Leeming  <leeming@lyx.org>
5497
5498         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5499         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5500         return LyXFont &.
5501         Store the FontBits::color variable as an int rather than as an
5502         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5503         file.
5504
5505         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5506         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5507         string calls together.
5508
5509         * lyxrc.C: add #include "LColor.h".
5510
5511 2003-09-15  Angus Leeming  <leeming@lyx.org>
5512
5513         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5514         a cow_ptr.
5515
5516 2003-09-15  Angus Leeming  <leeming@lyx.org>
5517
5518         * LColor.h: add an EnumLColor wrapper for LColor::color.
5519
5520         * lyxfont.[Ch] (color, setColor, realColor):
5521         * lyxtext.h, text.C (backgroundColor):
5522         pass EnumLColor args to/from the functions, rather than LColor::color
5523         ones.
5524
5525         * lyxfont.h:
5526         * lyxtext.h: forward declare EnumLColor.
5527
5528         * lyx_main.C: add #include "LColor.h".
5529
5530 2003-09-15  Angus Leeming  <leeming@lyx.org>
5531
5532         * .cvsignore: add lyx-gtk.
5533
5534 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5535
5536         * Chktex.C
5537         * LaTeX.C
5538         * LaTeXFeatures.C
5539         * ParagraphParameters.C
5540         * Spacing.C
5541         * buffer.C
5542         * bufferparams.C
5543         * bufferview_funcs.C
5544         * chset.C
5545         * counters.C
5546         * funcrequest.C
5547         * lyxfont.C
5548         * lyxgluelength.C
5549         * lyxlength.C
5550         * paragraph.C
5551         * paragraph_funcs.C
5552         * text3.C
5553         * vc-backend.C: remove usage of STRCONV
5554
5555 2003-09-15  Angus Leeming  <leeming@lyx.org>
5556
5557         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5558         explicitly define the color passed to the painter.
5559
5560 2003-09-15  Angus Leeming  <leeming@lyx.org>
5561
5562         * bufferparams.C (BufferParams): reorder member initializers to avoid
5563         compiler warning.
5564
5565 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5566
5567         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5568         * text.C (updateRowPositions): remove an unusual nop
5569
5570 2003-09-12  André Pönitz  <poenitz@gmx.net>
5571
5572         * BufferView_pimpl.C:
5573         * Bullet.C:
5574         * layout.h:
5575         * lyxfunc.C:
5576         * lyxlayout.[Ch]:
5577         * lyxtextclass.C:
5578         * rowpainter.C:
5579         * text.C:
5580         * text2.C:
5581         * Counters.[Ch]: finish the 'automatic counters' job
5582
5583 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5584
5585         * aspell.C: include <boost/assert.cpp> (compile fix)
5586
5587 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5588
5589         * boost.C (assertion_failed): use lyx::support::abort instead of
5590         assert.
5591
5592 2003-09-10  Angus Leeming  <leeming@lyx.org>
5593
5594         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5595         with their _fwd progeny.
5596
5597 2003-09-09  Angus Leeming  <leeming@lyx.org>
5598
5599         134 files throughtout the source tree: replace 'using namespace abc;'
5600         directives with the appropriate 'using abc::xyz;' declarations.
5601
5602 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5603
5604         * boost.C (emergencyCleanup): moved here from LAssert.c
5605         (assertion_failed): new function, called by BOOST_ASSERT
5606
5607         * several files: change Assert to BOOST_ASSERT
5608
5609 2003-09-09  Angus Leeming  <leeming@lyx.org>
5610
5611         * buffer.[Ch]: Add an Impl class and move Buffer's member
5612         variables into it. As a result move several header files out of
5613         buffer.h.
5614
5615         Add header files to lots of .C files all over the tree as a result.
5616
5617 2003-09-09  Angus Leeming  <leeming@lyx.org>
5618
5619         * buffer.[Ch]: make Buffer's member variables private. Add
5620         accessor functions.
5621
5622         Lots of changes all over the tree as a result.
5623
5624 2003-09-08  Angus Leeming  <leeming@lyx.org>
5625
5626         * graph.C: #include <config.h>.
5627
5628 2003-09-08  Angus Leeming  <leeming@lyx.org>
5629
5630         * BranchList.C:
5631         * BufferView.C:
5632         * BufferView_pimpl.C:
5633         * CutAndPaste.C:
5634         * DepTable.C:
5635         * LaTeX.C:
5636         * LaTeXFeatures.C:
5637         * LyXAction.C:
5638         * MenuBackend.C:
5639         * TextCache.C:
5640         * aspell.C:
5641         * buffer.C:
5642         * bufferlist.C:
5643         * changes.C:
5644         * chset.C:
5645         * converter.C:
5646         * counters.C:
5647         * debug.C:
5648         * graph.C:
5649         * ispell.C:
5650         * lyx_cb.C:
5651         * lyxfind.C:
5652         * lyxfunc.C:
5653         * lyxlex_pimpl.C:
5654         * lyxrc.C:
5655         * lyxrow.C:
5656         * paragraph.C:
5657         * rowpainter.C:
5658         * texrow.C:
5659         * text.C:
5660         * text2.C:
5661         * toc.C: remove redundant using directives.
5662
5663 2003-09-07  Angus Leeming  <leeming@lyx.org>
5664
5665         * LaTeXFeatures.h: remove #include "support/types.h".
5666         * ToolbarBackend.h: remove #include <algorithm>.
5667         * changes.h: remove #include <ctime>.
5668         * debug.h: remove #include <iosfwd>.
5669         * graph.h: remove #include "support/std_string.h".
5670         * lyx_main.h: remove #include <csignal>.
5671         * lyxlex_pimpl.h: remove #include <fstream>.
5672         * sgml.h: remove #include <algorithm>, <utility>.
5673         * toc.h: remove #include "support/std_ostream.h".
5674         Add #include <iosfwd>.
5675
5676 2003-09-07  Angus Leeming  <leeming@lyx.org>
5677
5678         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5679
5680         * converter.h: forward declare LatexRunParams.
5681         * encoding.h: remove #include "lyxrc.h".
5682         * lyxtext.h: remove #include "LColor.h".
5683         * lyxtextclass.h: remove #include "support/types.h".
5684         * trans.h: remove #include "tex-accent.h".
5685         * trans_mgr.h: remove #include "tex-accent.h".
5686         * insets/inset.h: remove #include "support/types.h", <vector>.
5687         * insets/insetcollapsable.h: remove #include "LColor.h".
5688         * insets/insetinclude.h: remove #include "dimension.h".
5689         * insets/insetlatexaccent.h: remove #include "dimension.h".
5690         * insets/insetoptarg.h:: remove #include "insettext.h".
5691         * insets/insettext.h: remove #include "dimension.h",
5692         <boost/shared_ptr.hpp>
5693
5694         * insets/renderers.h: add #include "dimension.h".
5695         * insets/updatableinset.h: add #include "support/types.h".
5696
5697         * many .C files: Associated changes.
5698
5699 2003-09-06  Angus Leeming  <leeming@lyx.org>
5700
5701         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5702         one, inside testInvariant.
5703
5704         * PrinterParams.C: new file.
5705         * PrinterParams.[Ch]: move the function bodies out of line.
5706
5707 2003-09-06  Angus Leeming  <leeming@lyx.org>
5708
5709         * ParagraphParameters.h: forward declare ParameterStruct rather than
5710         including its header file.
5711         (depth): moved out-of-line.
5712
5713 2003-09-06  Angus Leeming  <leeming@lyx.org>
5714
5715         * BufferView_pimpl.h:
5716         * kbmap.h:
5717         * kbsequence.h:
5718         * lyxfunc.h: forward declare LyXKeySym rather than
5719         #include "frontends/LyXKeySym.h".
5720
5721         * BufferView_pimpl.C:
5722         * kbmap.C:
5723         * kbsequence.C:
5724         * lyxfunc.C: associated changes.
5725
5726 2003-09-06  Angus Leeming  <leeming@lyx.org>
5727
5728         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5729         As a result, can remove the #include "insets/inset.h" from BufferView.h
5730
5731 2003-09-06  Angus Leeming  <leeming@lyx.org>
5732
5733         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5734         As a result, can remove the #include "insets/inset.h" from BufferView.h
5735
5736 2003-09-06  Angus Leeming  <leeming@lyx.org>
5737
5738         * buffer_funcs.C:
5739         * buffer.h:
5740         * bufferlist.C:
5741         * BufferView.C:
5742         * bufferview_funcs.C:
5743         * BufferView_pimpl.C:
5744         * CutAndPaste.C:
5745         * lyx_cb.C:
5746         * lyxfunc.C:
5747         * paragraph.h:
5748         * ParagraphParameters.C:
5749         * tabular.C:
5750         * text3.C:
5751         * toc.C:
5752         * undo_funcs.C:
5753         * frontends/controllers/ControlDocument.C:
5754         * insets/insetcaption.C: rearrange the #includes into some sort of
5755         coherent order.
5756
5757         * buffer.h: remove #includes ErrorList.h, undo.h
5758
5759 2003-09-06  Angus Leeming  <leeming@lyx.org>
5760
5761         * support/types.h: add a 'depth_type' typedef, used to store the
5762         nesting depth of a paragraph.
5763
5764         * paragraph.h:
5765         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5766         defining explicitly.
5767
5768         * buffer.h:
5769         * paragraph_funcs.h:
5770         * ParagraphParameters.h:
5771         * sgml.h: use lyx::depth_type rather than Paragraph or
5772         ParameterStruct's depth_type.
5773
5774         * buffer.h
5775         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5776
5777         * BufferView.C:
5778         * BufferView_pimpl.C:
5779         * CutAndPaste.C:
5780         * ParagraphParameters.C:
5781         * buffer_funcs.C:
5782         * bufferlist.C:
5783         * bufferview_funcs.C:
5784         * lyx_cb.C:
5785         * lyxfunc.C:
5786         * tabular.C:
5787         * text3.C:
5788         * toc.C:
5789         * undo_funcs.C:
5790         * frontends/LyXView.C:
5791         * frontends/controllers/ControlDocument.C:
5792         * frontends/controllers/ControlErrorList.C:
5793         * insets/insetbibitem.C:
5794         * insets/insetbranch.C:
5795         * insets/insetcaption.C:
5796         * insets/insetcollapsable.C:
5797         * insets/insetenv.C:
5798         * insets/insetert.C:
5799         * insets/insetfloat.C:
5800         * insets/insetfoot.C:
5801         * insets/insetfootlike.C:
5802         * insets/insetnewline.C:
5803         * insets/insetquotes.C:
5804         * insets/insettabular.C:
5805         * insets/insettext.C:
5806         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5807
5808         * frontends/controllers/ControlChanges.C: #include "changes.h".
5809
5810 2003-09-06  Angus Leeming  <leeming@lyx.org>
5811
5812         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5813         than #including paragraph.h.
5814
5815         * ParagraphList.h:
5816         * RowList.h: deleted. Superfluous.
5817
5818         * CutAndPaste.h:
5819         * iterators.h:
5820         * lyxcursor.h:
5821         * lyxtext.h:
5822         * text_funcs.h:
5823         * undo.h:
5824         * undo_funcs.h:
5825         * insets/inset.h:
5826         * insets/insettext.h: use ParagraphList_fwd.h rather than
5827         ParagraphList.h.
5828
5829         * paragraph.h: don't forward declare ParagraphList.
5830
5831         * buffer.h:
5832         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5833         rather than ParagraphList.h. paragraph.h is still needed for the
5834         Paragraph::depth_type parameters.
5835
5836         * textcursor.h: enable it to compile stand-alone in light of the
5837         above changes.
5838
5839         * bufferview_funcs.C:
5840         * iterators.C:
5841         * lyxfunc.C:
5842         * lyxrow_funcs.C:
5843         * paragraph.C:
5844         * rowpainter.C:
5845         * text.C:
5846         * text2.C:
5847         * text3.C:
5848         * text_funcs.C:
5849         * textcursor.C:
5850         * undo.C:
5851         * frontends/controllers/ControlParagraph.C:
5852         * frontends/controllers/ControlTabular.C:
5853         * insets/insetmarginal.C:
5854         * insets/insetminipage.C:
5855         * insets/insetnote.C:
5856         * insets/insetoptarg.C: add header files needed to compile again.
5857
5858 2003-09-06  Angus Leeming  <leeming@lyx.org>
5859
5860         * RowList_fwd.h: new file, forward-declaring Row rather than
5861         #including lyxrow.h.
5862
5863         * lyxrow_funcs.h:
5864         * lyxtext.h:
5865         * paragraph.h:
5866         * insets/insettext.h: use it instead of RowList.h
5867
5868         * bufferview_funcs.C:
5869         * lyxfunc.C:
5870         * lyxrow_funcs.C:
5871         * paragraph.C:
5872         * rowpainter.C:
5873         * text.C:
5874         * text2.C:
5875         * text3.C: #include "RowList.h".
5876
5877 2003-09-05  Angus Leeming  <leeming@lyx.org>
5878
5879         * factory.C (createInset):
5880         * vspace.C (c-tor): replace sscanf call with an istringstream.
5881         * ispell.C: re-add missing HP/UX headers.
5882         * lyxserver.C: re-add missing  os2 headers.
5883
5884 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5885
5886         * BranchList.C:
5887         * graph.C:
5888         * ispell.C:
5889         * lastfiles.C:
5890         * lyx_cb.C:
5891         * lyxserver.C:
5892         * texrow.C:
5893         * text3.C: re-add missing system headers, needed for 2.95.2.
5894
5895 2003-09-05  Angus Leeming  <leeming@lyx.org>
5896
5897         Changes most place everywhere due to the removal of using directives
5898         from support/std_sstream.h.
5899
5900 2003-09-05  Angus Leeming  <leeming@lyx.org>
5901
5902         Replace LString.h with support/std_string.h,
5903         Lsstream.h with support/std_sstream.h,
5904         support/LIstream.h with support/std_istream.h,
5905         support/LOstream.h with support/std_ostream.h.
5906
5907         Changes resulting throughout the tree.
5908
5909 2003-09-05  Angus Leeming  <leeming@lyx.org>
5910
5911         * sgml.h: ensure that the header file can be compiled stand-alone.
5912         * *.C: strip out redundant #includes. (320 in total.)
5913
5914 2003-09-04  Angus Leeming  <leeming@lyx.org>
5915
5916         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5917         here (from getPackages).
5918
5919         * debug.[Ch]: add a new EXTERNAL tag.
5920
5921 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5922
5923         * text2.C (cursorEnd): simplify
5924         (setCursor): adjust
5925         (getColumnNearX): adjust
5926
5927         * text.C (computeBidiTables): adjust
5928         (fill): adjust
5929
5930         * rowpainter.C (paintChars): adjust
5931         (paintSelection): adjust
5932         (paintChangeBar): adjust
5933         (paintText): adjust
5934
5935         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5936         lastPos instead.
5937         (numberOfSeparators): adjust
5938
5939 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5940
5941         * LyXAction.C:
5942         * box.[Ch]:
5943         * lfuns.h:
5944         * lyxfunc.C:
5945         * text3.C: Restricts the mouse click functionality
5946         of insets like bibtex, include, toc and floatlist to the visible
5947         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5948         up the dialogs. Cursor has to be in front of the inset (i.e.
5949         start of row) for this to function.
5950
5951 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5952
5953         * bufferview_funcs.C (currentState): output row information
5954
5955 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5956
5957         * bufferview_funcs.C (currentState): output paragraph position
5958
5959 2003-09-04  Angus Leeming  <leeming@lyx.org>
5960
5961         * FloatList.h: move out #include "Floating.h".
5962         * LaTeX.h: move out #include "DepTable.h".
5963         * LyXAction.h: move out #include "funcrequest.h".
5964         * buffer.h: move out #include "author.h", "iterators.h".
5965         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5966         * lyx_main.h: move out #include "errorlist.h".
5967         * lyxfunc.h: move out #include "FuncStatus.h".
5968         * lyxtext: move out #include "lyxcursor.h".
5969         * paragraph_pimpl.h: move out #include "counters.h".
5970
5971 2003-09-03  Angus Leeming  <leeming@lyx.org>
5972
5973         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5974         preamble_snippets list, enabling us to add snippets to the preamble
5975         only if the snippet was not there already.
5976
5977 2003-09-04  Angus Leeming  <leeming@lyx.org>
5978
5979         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5980
5981 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5982
5983         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5984         update
5985
5986 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5987
5988         * BranchList.C: point fix, earlier forgotten
5989
5990 2003-09-02  Angus Leeming  <leeming@lyx.org>
5991
5992         * box.C (contains): renamed from 'contained' after a fantastic
5993         amount of hot air.
5994
5995 2003-09-02  John Levon  <levon@movementarian.org>
5996
5997         * BufferView.C:
5998         * lyxcursor.h:
5999         * lyxcursor.C:
6000         * lyxfunc.C:
6001         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6002
6003 2003-09-02  John Levon  <levon@movementarian.org>
6004
6005         * text2.C: simplification of cursorEnd(), including partial
6006         fix for bug 1376
6007
6008 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6009
6010         * buffer.C (readFile): add a space
6011
6012 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6013
6014         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6015
6016 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6017
6018         * buffer.C (readFile): new function, take a filename and a
6019         ParagraphList::iterator
6020         (readFile): adjust
6021         (readFile): adjust, make it private. don't use setStream, make
6022         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6023         always contain the filename.
6024
6025         * BufferView.C (insertLyXFile): simplify and make it work for
6026         gzipped files.
6027
6028 2003-08-30  John Levon  <levon@movementarian.org>
6029
6030         * Makefile.am: fix dist (from Kayvan)
6031
6032 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6033
6034         * most files: change to use const Buffer refs
6035
6036 2003-08-27  André Pönitz  <poenitz@gmx.net>
6037
6038         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6039         on top of ownerPar().
6040
6041 2003-08-27  John Levon  <levon@movementarian.org>
6042
6043         * funcrequest.C: properly initialise POD members
6044
6045 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6046
6047         * lyxtext.h (top_y): move top_y from here
6048         * text.C:
6049         * text2.C:
6050         * text3.C:
6051         * BufferView.[Ch]:
6052         * BufferView_pimpl.[Ch]: to here
6053         * frontends/screen.C:
6054         * insets/insettabular.C:
6055         * insets/insettext.C: adjust
6056         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6057
6058 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6059
6060         * BufferView.[Ch]:
6061         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6062
6063 2003-08-26  André Pönitz  <poenitz@gmx.net>
6064
6065         * paragraph_func.[Ch] (outerPar): new function
6066
6067         * paragraph.C:
6068         * paragraph_funcs.C:
6069         * paragraph_funcs.h:
6070         * paragraph_pimpl.C:
6071         * text2.C: remove Inset::par_owner
6072
6073 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6074
6075         * lyxrow_funcs.C:
6076         * lyxtext.h:
6077         * text.C:
6078         * text2.C: eliminates the needFullRow/display() stuff
6079         altogether, putting the logic in metrics/draw in the insets.
6080
6081 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6082
6083         * text2.C (redoParagraphInternal, redoParagraphs):
6084         * text.C (redoParagraph): add a call to updateRowPositions at the
6085         end of each 'metrics-like' call. Remove all others.
6086         (getRow): remove the 'y-computing' version.
6087         (getRowNearY): do not compute nor return the real y. Solve the
6088         'y < 0' problem and simplify.
6089
6090 2003-08-22  Angus Leeming  <leeming@lyx.org>
6091
6092         * *.[Ch]: clean-up of licence and author blurbs.
6093         Also move config.h out of a few .h files and into a few .C files.
6094
6095 2003-08-22  André Pönitz  <poenitz@gmx.net>
6096
6097         * lyxrow.[Ch]: add x_ and *fill_ members
6098
6099         * lyxtext.h:
6100         * text.C:
6101         * rowpainter.C:
6102         * text2.C: adjust/remove prepareToPrint() calls
6103
6104 2003-08-22  André Pönitz  <poenitz@gmx.net>
6105
6106         * lyxrow.[Ch]: add  end_ member
6107
6108         * lyxrow_funcs.C: use LyXRow::end_
6109
6110         * lyxtext.h (singleWidth): add LyXFont parameter
6111
6112         * rowpainter.C:
6113         * text2.C: adjust LyXText::singleWidth() calls
6114
6115         * text.C (redoParagraph): simplify row breaking logic
6116
6117
6118 2003-08-19  André Pönitz  <poenitz@gmx.net>
6119
6120         * funcrequest.C: initialize button_ member
6121
6122         * text3.C:
6123         * rowpainter.[Ch]: interface consolidation
6124
6125 2003-08-18  André Pönitz  <poenitz@gmx.net>
6126
6127         * BufferView.C:
6128         * BufferView_pimpl.C:
6129         * lyxfind.C:
6130         * paragraph_funcs.C:
6131         * rowpainter.C:
6132         * text3.C: remove LyXScreen::draw() and fitCursor calls
6133
6134         * BranchList.h: remove spurious semicolons
6135
6136         * MenuBackend.C: fix branchlist related crash
6137
6138 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6139
6140         * BranchList.[Ch]:
6141         * InsetList.[Ch]:
6142         * LColor.[Ch]:
6143         * LyXAction.C:
6144         * Makefile.am:
6145         * MenuBackend.[Ch]:
6146         * bufferparams.[Ch]:
6147         * factory.C:
6148         * lfuns.h:
6149         * lyxfunc.C:
6150         * text3.C: implements the 'branch inset'
6151         idea. This allows the output of various versions of a document
6152         from a single source version, selectively outputing or suppressing
6153         output of parts of the text.
6154         This implementation contains a 'branch list editor' in a separate
6155         tab of the document settings dialog. Branches are user definable
6156         and have a "display colour" to distinguish them on-screen.
6157
6158         ColorHandler was somewhat cleaned up.
6159         (1) make possible a dynamically growing LColor list by allowing
6160         the graphic context cache to grow along (vector);
6161         (2) eliminate an IMHO unnecessary step in colour allocation.
6162
6163 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6164
6165         * BufferView_pimpl.C: compile fix
6166
6167 2003-08-15  André Pönitz  <poenitz@gmx.net>
6168
6169         * rowpainter.C: remove extra metrics calls
6170
6171         * lyxtext.h: merge the two constructors into a single one,
6172           pass reference to owner's par list
6173
6174         * BufferView_pimpl.C:
6175         * text.C:
6176         * text2.C: adjust
6177
6178 2003-08-15  André Pönitz  <poenitz@gmx.net>
6179
6180         * lyxrow_funcs.[Ch]:
6181         * lyxtext.h:
6182         * paragraph.h:
6183         * paragraph_funcs.C:
6184         * rowpainter.C:
6185         * text.C:
6186         * text2.C:
6187         * text3.C:
6188         * text_funcs.C: split LyXText::rowlist_ into individual
6189         Paragraph::rows_ chunks
6190
6191         * BufferView.[Ch]:
6192         * BufferView_pimpl.[Ch]:
6193         * lyxfind.C:
6194         * lyxtext.h:
6195         * text3.C: remove toggleSelection()
6196
6197 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6198
6199         * bufferlist.C: beautify two alerts (shorter text of buttons)
6200         * buffer.C: Remove redundant ' ' from message
6201         * tabular.h:
6202         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6203         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6204         rename VALIGN_CENTER to VALIGN_MIDDLE
6205
6206 2003-08-11  André Pönitz  <poenitz@gmx.net>
6207
6208         * lyxtext.h (getPar):
6209         * text.C: new function
6210
6211 2003-08-11  André Pönitz  <poenitz@gmx.net>
6212
6213         * Makefile.am:
6214         * tracer.[Ch]: remove unneeded files
6215
6216         * InsetList.[Ch]: remove resizeInsetsLyXText()
6217
6218         * lyxtext.h:
6219         * text.C:
6220         * text2.C:
6221         * text3.C: merge insertParagraphs() and appendParagraph()
6222         remove breakAgain(), update()
6223
6224         * BufferView_pimpl.[Ch]:
6225         * bufferview_funcs.[Ch]:
6226         * lyxfunc.C:
6227         * paragraph.[Ch]:
6228         * rowpainter.C:
6229         * tabular.C: adjust after text & InsetList changes.
6230
6231 2003-08-08  André Pönitz  <poenitz@gmx.net>
6232
6233         * text.C (insertChar, backspace): replace rowlist fiddling
6234         with rebreak of full par
6235
6236         * lyxtext.h:
6237         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6238         checkParagraph, updateInset): removed
6239
6240 2003-08-07  André Pönitz  <poenitz@gmx.net>
6241
6242         * paragraph.C:
6243         * text3.C: merge some LFUN handlers, remove dead code
6244
6245 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6246
6247         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6248
6249 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6250
6251         * text2.C (DEPM): fix part of bug 1255 and 1256
6252
6253 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6254
6255         * BufferView_pimpl.C (workAreaDispatch): change to use
6256         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6257         that are no mouse related.
6258
6259 2003-08-05  André Pönitz  <poenitz@gmx.net>
6260
6261         * BufferView.[Ch]:
6262         * BufferView_pimpl.[Ch]:
6263         * bufferview_funcs.C:
6264         * text2.C:
6265         * text3.C: rip out "deep update"
6266
6267         * textcursor.[Ch] (last_sel_cursor): remove unused member
6268
6269 2003-08-04  André Pönitz  <poenitz@gmx.net>
6270
6271         * BufferView.[Ch]:
6272         * BufferView_pimpl.[Ch]:
6273         * ParagraphParameters.C:
6274         * bufferview_funcs.C:
6275         * lyx_cb.C:
6276         * lyxfind.C:
6277         * lyxfunc.C:
6278         * text.C:
6279         * text2.C:
6280         * text3.C: replace "complicated" BufferView::update(...) calls with
6281         simpler ones.
6282
6283         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6284
6285 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6286
6287         * Makefile.am (lyx_SOURCES): add paper.h
6288
6289 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6290
6291         * Makefile.am: move things around so that both lyx-qt and
6292         lyx-xforms can be built (according to --with-frontend). Then lyx
6293         is a symbolic link to lyx-[firstfrontend]
6294
6295 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6296
6297         * Always use std::endl with lyxerr
6298
6299 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6300
6301         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6302
6303 2003-08-01  André Pönitz  <poenitz@gmx.net>
6304
6305         * BufferView.[Ch]:
6306         * BufferView_pimpl.[Ch]:
6307         * lyxfunc.C:
6308         * text3.C: merge BufferView::repaint() and BufferView::update()
6309
6310 2003-08-01  José Matos  <jamatos@lyx.org>
6311
6312         * buffer.[Ch]: file_format is no longer a buffer data element.
6313
6314 2003-08-01  André Pönitz  <poenitz@gmx.net>
6315
6316         * BufferView.C:
6317         * lyxtext.h:
6318         * text.C:
6319         * text2.C: make redoParagraph more independent of current cursor
6320
6321         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6322         * text.C:
6323         * text2.C: remove unneeded members
6324
6325 2003-07-30  André Pönitz  <poenitz@gmx.net>
6326
6327         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6328
6329         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6330           create a single function...
6331
6332         * paragraph_funcs.C (moveItem): ... here.
6333
6334         * text.C:
6335           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6336
6337 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6338
6339         * LColor.[Ch]: Add comment and greyedout logical colors.
6340
6341 2003-07-30  André Pönitz  <poenitz@gmx.net>
6342
6343         * tabular.C: don't use Assert too heavily. This crashes where it
6344           shouldn't
6345
6346 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6347
6348         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6349         is disabled (bug 1232)
6350
6351 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6352
6353         * factory.C: limited 'arg' scope
6354
6355 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6356
6357         * factory.C: fixed Note submenu issues
6358
6359 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6360
6361         * factory.C: submenu for Note/Comment/Greyedout
6362
6363 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6364
6365         * lyx_main.C (LyX):
6366         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6367
6368 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6369
6370         * LaTeXFeatures.C:
6371         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6372         greyedout. Patch provided by Jürgen Spitzmüller.
6373
6374 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6375
6376         * kbmap.C (read): fix error message when reading bind files
6377
6378 2003-07-29  Angus Leeming  <leeming@lyx.org>
6379
6380         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6381         certainly does not do what it purports to do. I am doing it, and
6382         us, a favour by killing it.
6383
6384 2003-07-28  José Matos  <jamatos@lyx.org>
6385
6386         * buffer.C (readBody, do_writeFile):
6387         * paragraph.C(readParagraph): \end_document replaces \the_end.
6388
6389 2003-07-29  André Pönitz  <poenitz@gmx.net>
6390
6391         * BufferView.[Ch]:
6392         * BufferView_pimpl.[Ch]:
6393         * lyxfunc.C:
6394         * text2.C:
6395         * text3.C:
6396         * textcursor.[Ch]: remove toggleToggle & Co
6397
6398 2003-07-28  José Matos  <jamatos@fep.up.pt>
6399
6400         * buffer.C (readParagraph):
6401         * params_func (readParToken, readParagraph):
6402         * paragraph.C (write): \layout -> \begin_layout.
6403
6404 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6405
6406         * lyxlex_pimpl.C (setFile): clean up slightly.
6407
6408         * bufferparams.h: add compressed var
6409
6410         * buffer_funcs.C (readFile): adjust for LyXLex change
6411         (newFile): ditto + simplify
6412
6413         * buffer.C (writeFile): handle writing of compressed files
6414
6415         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6416         Check if the file is compressed and set a bufferparm if so.
6417
6418         * Makefile.am (lyx_LDADD): remove explicit -lz
6419
6420 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6421
6422         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6423         makeDocBookFile): put the real LyX version in the first line of
6424         the file
6425
6426         * version.h:
6427         * version.C.in: remove lyx_docversion
6428
6429         * tabular.C (write_attribute): add a template-based version to
6430         write enums properly
6431
6432 2003-07-28  André Pönitz  <poenitz@gmx.net>
6433
6434         * lyxtext.h:
6435         * text.C:
6436         * text2.C:
6437         * text3.C: use doubles again for x-coordinates. They are needed.
6438
6439 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6440
6441         * messages.C (getLocaleDir): use lyx_localedir()
6442
6443         * lyxlex_pimpl.C (setFile): compress stuff
6444
6445         * buffer.C (writeFile): add some compression stuff
6446         (do_writeFile): new func, dont call expliti close... will this
6447         breake anything?
6448
6449         * Makefile.am (lyx_LDADD): add -lz
6450
6451 2003-07-28  José Matos  <jamatos@fep.up.pt>
6452
6453         * buffer.C: increment file format.
6454         * paragraph_funcs (readParagraph, readParToken):
6455         * paragraph.C (readParagraph): add \end_layout.
6456
6457 2003-07-27  Angus Leeming  <leeming@lyx.org>
6458
6459         * Makefile.am: remove special casing for configure-time setting of
6460         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6461
6462         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6463         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6464
6465 2003-07-26  André Pönitz  <poenitz@gmx.net>
6466
6467         * paragraph_func.[Ch]:
6468         * paragraph.C (realizeFont): inline it whereever it is used
6469
6470         * rowpainter.C:
6471         * text.C:
6472         * text2.C:
6473         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6474
6475
6476 2003-07-26  André Pönitz  <poenitz@gmx.net>
6477
6478         *       lyxtext.h:
6479         * text.C:
6480         * text2.C: get rid of LyXText::need_break_row
6481
6482 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6483
6484         * toc.[Ch]: put namespace toc inside namespace lyx
6485
6486         * MenuBackend.C (expandToc2): adjust for lyx::toc
6487         (expandToc): ditto
6488
6489         * lyxfunc.C (dispatch): adjust for lyx::find
6490
6491         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6492         lyx::find instead. Reorganize a bit.
6493         (LyXReplace): rename to replace
6494         (LyXFind): rename to find
6495
6496         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6497         (dispatch): ditto
6498
6499 2003-07-26  André Pönitz  <poenitz@gmx.net>
6500
6501         * text.C (setHeightOfRow): restrict scope of temporary variable
6502
6503         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6504           code (never has been used?)
6505
6506 2003-07-27  Asger Alstrup  <alstrup@local>
6507
6508         * text.C (fill): Optimise algorithm to exploit that we can reuse
6509         the LyXFont for many characters.
6510         (setHeightOfRow): Same thing.
6511         (rowBreakPoint): Same thing.
6512
6513 2003-07-26  Asger Alstrup  <alstrup@local>
6514
6515         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6516
6517         * text.C (singleWidth): Spurious font copying in hot-spot
6518         singleWidth avoided. Reorder tests for arabic for efficiency.
6519
6520         * text.C (fill): handle empty paragraphs better.
6521
6522 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6523
6524         * ispell.C:
6525         * encoding.h: add includes
6526
6527         * lyxrc.C: remove reading of bind files
6528
6529         * lyx_main.C (init): setup bindings and menus only if we have a
6530         gui.
6531
6532         * kbmap.C (read): new method. Do the actual reading of bind
6533         files.
6534
6535         * converter.C (dvipdfm_options):
6536         * bufferparams.C:
6537         * lyxrc.C (read):
6538         (output): adapt PAPER_* enums.
6539
6540         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6541
6542         * bufferparams.h: remove paper-related enums from there
6543
6544         * paper.h: New file. A trivial header file to hold paper-related
6545         enums. It should later expand to contain many paper-related
6546         horrors access.
6547
6548         * lyxrc.C: declare extern displayTranslator
6549
6550 2003-07-27  José Matos  <jamatos@fep.up.pt>
6551
6552         * tabular.[Ch] (linuxdoc): add support for tables and figures
6553         (linuxdoc).
6554
6555 2003-07-27  José Matos  <jamatos@fep.up.pt>
6556
6557         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6558         consistency in both functions.
6559         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6560
6561 2003-07-26  Asger Alstrup  <alstrup@local>
6562
6563         * rowpainter.C (paintRows): Change algorithm to work directly on
6564         the insets rather than asking every character in the document
6565         whether its an inset.
6566
6567 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6568
6569         * buffer.C (openFileWrite): factorize some code
6570
6571 2003-07-26  Angus Leeming  <leeming@lyx.org>
6572
6573         * lyx_cb.C:
6574         * lyx_main.[Ch]: replace occurances of system_tempdir with
6575         os::getTmpDir().
6576
6577 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6578
6579         * rename Inset to InsetOld
6580
6581 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6582
6583         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6584         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6585         which I think is a bit clearer. EDIT is gone, since it was
6586         premature optimisation, and broken for mathed anyway.
6587         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6588         with cursor positioning in insets as well (math insets still do not
6589         work, but that's a different story anyway.) It mysteriously
6590         crashes sometimes with undo in the first paragraph, but I'm fairly
6591         confident that this is a compiler bug.
6592
6593 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6594
6595         * paragraph.C (Paragraph): adjust for new clone return type
6596         (operator==): ditto
6597         (copyIntoMinibuffer): ditto
6598
6599 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6600
6601         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6602         by not having a special case, and always doing a full rebreak of
6603         the document after undo.
6604
6605 2003-07-23  Angus Leeming  <leeming@lyx.org>
6606
6607         * factory.C (createInset): InsetExternal::setParams now takes a
6608         Buffer const * arg.
6609
6610 2003-07-23  Angus Leeming  <leeming@lyx.org>
6611
6612         * factory.C (createInset): changed interface to the external and
6613         graphics mailers' string2params functions.
6614
6615 2003-07-23  Angus Leeming  <leeming@lyx.org>
6616
6617         * factory.C (createInset): pass a
6618         Buffer const * parameter to InsetExternalMailer's string2params.
6619
6620 2003-07-22  John Levon  <levon@movementarian.org>
6621
6622         * Thesaurus.h: include the right aiksaurus header
6623
6624 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6625
6626         * MenuBackend.C (expand): check menu shortcuts unconditionally
6627
6628 2003-07-21  Angus Leeming  <leeming@lyx.org>
6629
6630         * factory.C (createInset): pass a
6631         buffer_path parameter to InsetGraphicsMailer's string2params.
6632
6633 2003-07-21  Angus Leeming  <leeming@lyx.org>
6634
6635         * BufferView_pimpl.C (buffer):
6636         * buffer.C (d-tor):
6637         * lyx_main.C (LyX):
6638         * lyxfunc.C (dispatch):
6639         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6640         rather than the grfx shortcut.
6641
6642 2003-07-21  André Pönitz  <poenitz@gmx.net>
6643
6644         * rowpainter.C: remove unused variables
6645
6646         * tabular_funcs.C:
6647         * tabular_funcs.h: move to tabular.C
6648         * Makefile.am: adjust
6649
6650         * tabular.[Ch]: basic optical cleaning
6651
6652         * author.h: pass references, not values
6653
6654 2003-07-18  André Pönitz  <poenitz@gmx.net>
6655
6656         * lyxtext.h:
6657         * metricsinfo.C:
6658         * metricsinfo.h:
6659         * rowpainter.C:
6660         * text.C:
6661         * text2.C:
6662         * text3.C: two-phase drawing for InsetText and InsetTabular
6663         some float -> int changes.
6664
6665 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6666
6667         * lyx_main.C: fix the fix
6668
6669 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6670
6671         * lyx_main.C: fix a crash in batch mode if no files specified
6672         * converter.C: ws
6673
6674 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6675
6676         * format.[Ch] (papersize): moved to BufferParams
6677         * converter.[Ch] (dvips_options): moved to BufferParams
6678         (dvipdfm_options): moved to anon namespace
6679         * bufferparams.[Ch]: added above functions.
6680
6681 2003-07-17  André Pönitz  <poenitz@gmx.net>
6682
6683         * lyxtext.h:
6684         * rowpainter.C:
6685         * text2.C: don't call inset->update() anymore
6686
6687         * metricsinfo.[Ch]: add convenience constructor
6688
6689 2003-07-16  André Pönitz  <poenitz@gmx.net>
6690
6691         * lyxcursor.[Ch]:
6692         * lyxfunc.[Ch]:
6693         * text.C:
6694         * text2.C: replace the LyXCursor::irow_ member with
6695          on-demand computation of the value
6696
6697 2003-07-16  John Levon  <levon@movementarian.org>
6698
6699         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6700
6701 2003-07-15  André Pönitz  <poenitz@gmx.net>
6702
6703         * text.C:
6704         * text2.C: remove no more needed refresh_row
6705
6706 2003-07-15  André Pönitz  <poenitz@gmx.net>
6707
6708         * lyxtext.h:
6709         * rowpainter.C:
6710         * text2.C:
6711         * text3.C: refresh_status tristate -> need_update bool
6712
6713 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6714
6715         * lyxtext.h (init): remove reinit argument (act as if always true)
6716         * text2.C: adjust to that
6717
6718 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6719
6720         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6721         * text3.C: use it to delete selections in some cases
6722         (bugs 441, 673, 702, 954).
6723
6724 2003-07-14  André Pönitz  <poenitz@gmx.net>
6725
6726         * rowpainter.[Ch]: reduce interface
6727
6728 2003-07-14  André Pönitz  <poenitz@gmx.net>
6729
6730         * BufferView_pimpl.C:
6731         * text2.C: adjust after removing unused BufferView * argument
6732
6733 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6734
6735         * text2.C (init): fix a crash fired on resize
6736
6737 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6738
6739         * buffer.[Ch]: added new closing signal
6740         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6741         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6742         BufferView::Pimpl via the closing the signal
6743
6744 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6745
6746         * buffer.[Ch]: take out all bv-related from buffer
6747         * BufferView.C:
6748         * BufferView_pimpl.[Ch]: connect to new signals
6749         * CutAndPaste.C: removed useless asserts
6750         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6751         * lyxvc.[Ch]:
6752         * vc-backend.[Ch]:
6753         * lyxfunc.C: moved view-related funciontality from vc here
6754         * paragraph.C: removed outdated comments
6755         * text.C: ws
6756
6757 2003-07-10  André Pönitz  <poenitz@gmx.net>
6758
6759         * BufferView_pimpl.C:
6760         * tabular.h:
6761         * tabular_funcs.C:
6762         * text.C:
6763         * text2.C: remove InsetText::InnerCache, clean up consequences
6764
6765 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6766
6767         * ispell.C: fix two typos in error messages
6768
6769 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6770
6771         * Extend Note inset to other forms of annotation like Comment
6772         and Greyedout. Right button click gives dialog.
6773
6774         Files modified or added (+):
6775
6776         * insetnote.[Ch]
6777         * FormNote.[Ch]      +
6778         * ControlNote.[Ch]   +
6779         * form_note.fd       +
6780         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6781         frontends/controllers
6782         * xforms/Dialogs.C
6783         * factory.C
6784
6785 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6786
6787         * aspell.C: add missing namespace lyx::support
6788
6789 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6790
6791         * BufferView.[Ch] (newFile): Add
6792         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6793         * LaTeX.[Ch] (message): added this signal and use it
6794         * buffer.[Ch] (busy, message): added these signals and use them
6795         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6796         * converter.C:
6797         * exporter.C:
6798         * format.C:
6799         * importer.C: use buffer signals instead of direct bv calling
6800         * lyx_cb.[Ch] (ShowMessage): removed
6801         * lyx_main.C:
6802         * lyxfunc.C:
6803         * paragraph_funcs.C:
6804         * text2.C: use buffer signals
6805
6806 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6807
6808         * introduce namespace lyx::graphics
6809
6810 2003-07-02  André Pönitz  <poenitz@gmx.net>
6811
6812         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6813
6814 2003-07-01  André Pönitz  <poenitz@gmx.net>
6815
6816         * text.C:
6817         * text2.C:
6818         * text3.C:
6819         * text_funcs.[Ch]:
6820         * textcursor.h:
6821         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6822           text*.C to text_func.C
6823
6824 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6825
6826         * introduce namespace lyx::support
6827
6828 2003-06-30  André Pönitz  <poenitz@gmx.net>
6829
6830         * Chktex.C:
6831         * funcrequest.C:
6832         * lyxtext.h:
6833         * text.C: re-enable --with-included-string
6834
6835 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6836
6837         * textcursor.C: add <config.h>
6838
6839         * text.C (getWord): remove const from word_location arg
6840
6841         * lyxvc.C (getLogFile): fix const type order
6842
6843         * lyxtext.h: remove const from word_location arg, add arg name
6844
6845         * lyxlayout.h: currect type on labeltype.
6846
6847         * importer.C: correct \file
6848
6849         * converter.C (intToFormat): use std:: on ret val, ws changes
6850
6851         * bufferlist.h: correct \file
6852
6853         * buffer.C (makeLinuxDocFile): fix const type order
6854         (makeDocBookFile): ditto
6855         (fillWithBibKeys): use std:: on stdlib args.
6856
6857         * CutAndPaste.C: fix authors.
6858         (availableSelections): use std:: on return vector
6859
6860 2003-06-27  André Pönitz  <poenitz@gmx.net>
6861
6862         * BufferView_pimpl.C:
6863         * bufferview_funcs.C:
6864         * lyxcursor.C:
6865         * lyxcursor.h:
6866         * lyxfunc.C:
6867         * lyxtext.h:
6868         * rowpainter.C:
6869         * text.C:
6870         * text2.C:
6871         * text3.C: remove LyXCursor::row_ member
6872
6873         * lyxtext.h:
6874         * text.C: rename fullRebreak() to partialRebreak() and implement
6875           a fullRebreak() that really bereks fully
6876
6877         * textcursor.h: new struct for cursor-related data
6878
6879 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6880
6881         * lyx_main.C (LyX): get full path of document loaded on the
6882         command line
6883
6884 2003-06-26  André Pönitz  <poenitz@gmx.net>
6885
6886         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6887           remove unused/broken operator>,<,>=.
6888
6889         *       text.C: remove only use of broken operator<= in an Assert().
6890
6891 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6892
6893         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6894         moved errorlist_.clear to showErrorList
6895
6896 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6897
6898         * converter.C (scanLog, runLaTeX):
6899         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6900         move the bv->showErrorList call to the callers
6901         * lyxfunc.C: i.e. here...
6902         * text2.C: and here
6903         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6904         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6905         namespace, the second to...
6906         * buffer_funcs (BufferFormat, parseErrors): added
6907         * errorlist.C (ErrorList(TeXErrors const &)): removed
6908
6909 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6910
6911         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6912
6913 2003-06-24  "Garst R. Reese" <reese@isn.net>
6914
6915         * debug.C: fix typo
6916
6917 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6918
6919         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6920
6921         * version.C.in: change docversion to 1.4
6922
6923 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6924
6925         * buffer.C: fix a bug just introduced
6926
6927 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6928
6929         * buffer.[Ch]: added the parseError signal and use it, removed
6930         sgmlError
6931         * BufferView.[Ch] (addError): moved to ...
6932         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6933         to the Buffer::parseError signal to catch (guess what) parse errors
6934         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6935
6936 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6937
6938         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6939         ability to create a buffer and to return an existing one from
6940         the list. Moved these functions to...
6941         * buffer_funcs.[Ch]: added
6942         * BufferView.[Ch] (loadLyXFile): added
6943         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6944         job removed from bufferlist::loadLyXFile.
6945         * buffer.C (setReadOnly): make it work without view
6946         (i.e added an if (users))
6947
6948 2003-06-19  Angus Leeming  <leeming@lyx.org>
6949
6950         * lfuns.h:
6951         * LyXAction.C (init):
6952         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6953         with LFUN_DIALOG_SHOW <name> <data>.
6954
6955 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6956
6957         * CutAndPaste.C (availableSelections): small compilation fix for
6958         ancient (gcc 2.9x) compilers
6959
6960 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6961
6962         * text3.C (cursorNext): add tmp var
6963
6964         * text2.C (updateCounters): for function calling out of for clause
6965         (replaceSelectionWithString): ditto
6966         (insertStringAsParagraphs): ditto
6967         (getColumnNearX): add tmp var
6968         (setCursorFromCoordinates): add tmp var
6969         (cursorDownParagraph): add tmp var
6970         (deleteEmptyParagraphMechanism): add tmp var
6971
6972         * text.C (insertChar): add tmp var
6973
6974         * rowpainter.C (paintDepthBar): add tmp var
6975
6976         * CutAndPaste.C (availableSelections): potentially check all
6977         paragraphs in a cut to fill the shown strings.
6978
6979 2003-06-18  André Pönitz  <poenitz@gmx.net>
6980
6981         * kbmap.[Ch]: use vector<> instead of list<>
6982
6983 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6984
6985         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6986         pasteSelection with index
6987
6988         * text2.C (pasteSelection): modify, call pasteSelection with index
6989
6990         * paragraph.C (asString): reimplement version with no interval to
6991         call the one with interval.
6992
6993         * lyxtext.h: add index arg to pasteSelection
6994
6995         * MenuBackend.C (MenuItem): handle PasteRecent
6996         (Menu::read::Menutags): add md_pasterecent
6997         (read): handle it
6998         (expandPasteRecent): new function
6999         (expand): use it
7000
7001         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7002
7003         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7004         the limited stack
7005         (availableSelections): new function
7006
7007 2003-06-17  Angus Leeming  <leeming@lyx.org>
7008
7009         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7010
7011 2003-06-17  Angus Leeming  <leeming@lyx.org>
7012
7013         * lfuns.h:
7014         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7015
7016         * lyxfunc.C (dispatch): invoke it.
7017
7018 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7019
7020         * iterators.C (operator++, ParPosition): reintroduce some
7021         const_cast for the benefit of older compilers.
7022
7023 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7024
7025         * text3.C (dispatch): do not modify clipboard when doing
7026         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7027         LFUN_DELETE_SKIP on a selection selection
7028
7029 2003-06-16  André Pönitz  <poenitz@gmx.net>
7030
7031         * BufferView.C:
7032         * buffer.C:
7033         * buffer.h:
7034         * paragraph.C:
7035         * tabular.[Ch]: IU of clone() and getLabelList();
7036
7037 2003-06-13  André Pönitz  <poenitz@gmx.net>
7038
7039         * tabular.h: compactification
7040
7041 2003-06-12  André Pönitz  <poenitz@gmx.net>
7042
7043         * tabular.C:
7044         * tabular.h:
7045         * tabular_funcs.h: some renaming plus whitespace
7046
7047 2003-06-12  André Pönitz  <poenitz@gmx.net>
7048
7049         * BufferView.C:
7050         * BufferView_pimpl.C:
7051         * CutAndPaste.C:
7052         * buffer.C:
7053         * iterators.[Ch]:
7054         * lyxfunc.C:
7055         * text.C:
7056         * toc.C: Return a Paragraph & for ParIterator::operator*()
7057
7058 2003-06-11  John Levon  <levon@movementarian.org>
7059
7060         * lyx_main.C:
7061         * ToolbarBackend.h:
7062         * ToolbarBackend.C: add "Toolbars" section and
7063         put the flags there
7064
7065 2003-06-10  Angus Leeming  <leeming@lyx.org>
7066
7067         * lfuns.h:
7068         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7069
7070         * lyxfunc.C (dispatch): invoke it.
7071
7072 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7073
7074         * main.C: protect <ios> with HAVE_IOS
7075         (main): protect sync_with_stdio with HAVE_IOS
7076
7077 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7078
7079         * text2.C (cutSelection): adjust
7080         (pasteSelection): adjust
7081
7082         * messages.C: handle get of empty string
7083
7084         * main.C (main): use sync_with_stdio(false)
7085
7086         * lyxfunc.C (dispatch): adjust
7087
7088         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7089         (WriteAs): remove unneeded BufferView arg.
7090
7091         * bufferparams.h: use correct types on papersize, papersize2 and
7092         paperpackage.
7093
7094         * bufferparams.C (readToken): adjust for type
7095         (writeLaTeX): add missing cases to switch.
7096
7097         * bufferlist.C (quitWriteBuffer): adjust
7098         (close): adjust
7099
7100         * buffer.C (asciiParagraph): remove some commented code.
7101
7102         * CutAndPaste.C: remove current_view extern variable.
7103         (cutSelection): add BufferParams arg.
7104         (eraseSelection): add BufferParams arg.
7105         (pasteSelection): add Buffer const & arg
7106
7107 2003-06-07  John Levon  <levon@movementarian.org>
7108
7109         * buffer.C:
7110         * paragraph_funcs.C:
7111         * paragraph_pimpl.C:
7112         * text.C:
7113         * text2.C:
7114         * paragraph.h:
7115         * paragraph.C: allow InsetERT to freely space lines,
7116         and some consolidation of code
7117
7118 2003-06-06  José Matos  <jamatos@fep.up.pt>
7119
7120         * buffer.C (makeDocBookFile): fix bug #821
7121
7122 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7123
7124         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7125
7126 2003-06-04  Angus Leeming  <leeming@lyx.org>
7127
7128         * buffer.C: bump format to 224.
7129
7130 2003-06-05  André Pönitz  <poenitz@gmx.net>
7131
7132         * text2.C (redoParagraphs): remove two const_cast<>
7133
7134 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7135
7136         * ParagraphList.h: remove last remnants of NO_STD_LIST
7137
7138 2003-06-03  Angus Leeming  <leeming@lyx.org>
7139
7140         * factory.C (createInset): small change to the way InsetExternal's params
7141         are set.
7142
7143 2003-06-04  André Pönitz  <poenitz@gmx.net>
7144
7145         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7146
7147         * paragraph_pimpl.h:
7148         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7149
7150         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7151
7152         * undo_funcs.C: make some simple cases of undo work again
7153
7154 2003-06-03  John Levon  <levon@movementarian.org>
7155
7156         * ispell.C: HPUX doesn't have sys/select.h
7157         (from Albert Chin)
7158
7159 2003-06-03  John Levon  <levon@movementarian.org>
7160
7161         * CutAndPaste.C: update tabular and include inset
7162         buffer references
7163
7164         * buffer.h:
7165         * paragraph.h:
7166         * paragraph.C: remove owningBuffer(), don't pass Buffer
7167         to clone()
7168
7169         * factory.C: insetGraphicsParams changed
7170
7171 2003-06-02  John Levon  <levon@movementarian.org>
7172
7173         * LyXAction.C:
7174         * factory.C:
7175         * lfuns.h:
7176         * lyxfunc.C:
7177         * text3.C: remove insetparent
7178
7179 2003-06-02  John Levon  <levon@movementarian.org>
7180
7181         * buffer.h:
7182         * buffer.C: fix inset_iterator.end(), move out of line
7183         (bug 1149)
7184
7185 2003-06-01  John Levon  <levon@movementarian.org>
7186
7187         * text3.C: use a proper cut/paste when doing inset
7188         insert (from Jürgen Spitzmüller)
7189
7190 2003-06-01  John Levon  <levon@movementarian.org>
7191
7192         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7193
7194 2003-05-30  André Pönitz  <poenitz@gmx.net>
7195
7196         * rowpainter.C: unify second drawing phase
7197
7198 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7199
7200         * trans_mgr.C: remove one case of current_view
7201
7202         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7203
7204         * paragraph_funcs.h: remove paragraph.h include
7205
7206         * paragraph.h: delete NO_STD_LIST stuff
7207
7208         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7209
7210         * buffer.h: remove paragraph.h include
7211
7212         * ParagraphList.C: delete file
7213
7214         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7215
7216         * toc.C (getTocList): adjust
7217
7218         * paragraph_pimpl.C (validate): adjust
7219
7220         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7221
7222         * paragraph.C (Paragraph): adjust
7223         (getPositionOfInset): use const_iterator, adjust
7224         (bibitem): use const_iterator, adjust
7225         (setInsetOwner): adjust
7226
7227         * iterators.C (operator++): adjust
7228
7229         * InsetList.[Ch]: Replace selfmade iterator with standard
7230         vector::iterator also introduce const_iterator. Remove getPos,
7231         getInset and setInset from InsetTable. Adjust accordingly.
7232
7233         * BufferView.C (lockInset): adjust
7234         (ChangeInsets): adjust
7235
7236         * tabular.[Ch]: delete commented same_id functions
7237
7238 2003-05-28  John Levon  <levon@movementarian.org>
7239
7240         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7241
7242 2003-05-28  André Pönitz  <poenitz@gmx.net>
7243
7244         * metricsinfo.[Ch]: remove 'fullredraw' member
7245
7246 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7247
7248         * lyxtextclass.C (operator): remove caching.
7249
7250 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7251
7252         * text3.C: adjust
7253
7254         * text2.C (cursorBottom): adjust
7255         (setCounter): use ParagraphList::find, adjust
7256
7257         * text.C (workWidth): use ParagraphList::find, adjust
7258
7259         * lyxcursor.C (LyXCursor): adjust
7260
7261         * buffer.C (inset_iterator): adjust
7262
7263         * ParagraphList.h: make iterator(value_type) private, make
7264         ParagraphList a friend of iterator.
7265
7266         * ParagraphList.C (find): new function
7267
7268         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7269
7270 2003-05-27  André Pönitz  <poenitz@gmx.net>
7271
7272         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7273
7274 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7275
7276         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7277
7278 2003-05-26  John Levon  <levon@movementarian.org>
7279
7280         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7281
7282 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7283
7284         * remove same_id from function signatures, adjust.
7285
7286 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7287
7288         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7289
7290         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7291
7292         * paragraph.C (Paragraph): get rid of same_ids parameter
7293
7294         * ParagraphList.C (insert): adjust
7295         (push_back): adjust
7296
7297 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7298
7299         * paragraph_funcs.C (breakParagraph): adjust
7300         (breakParagraphConservative): adjust
7301
7302         * buffer.C (readParagraph): adjust
7303
7304         * ParagraphList.C (insert): take a reference instead of a pointer
7305         (insert): adjust
7306
7307         * paragraph.[Ch] (id): new function
7308
7309         * bufferlist.C (newFile): adjust
7310
7311         * ParagraphList.C (ParagraphList): adjust
7312         (assign): adjust
7313         (push_back): take a reference instead of a pointer.
7314
7315         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7316
7317         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7318         instead.
7319
7320         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7321         set else use old code.
7322
7323         * ParagraphList.C: remove all NO_NEXT code and only compile this
7324         code of NO_STD_LIST is set.
7325
7326 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7327
7328         * BufferView_pimpl.C:
7329         * TextCache.C:
7330         * TextCache.h:
7331         * bufferlist.C:
7332         * errorlist.h:
7333         * format.C:
7334         * format.h:
7335         * graph.C:
7336         * lyxfunc.C:
7337         * lyxrc.C:
7338         * graphics/GraphicsConverter.C:
7339         * graphics/PreviewLoader.C: header adjustment
7340
7341 2003-05-23  Angus Leeming  <leeming@lyx.org>
7342
7343         * LaTeXFeatures.[Ch] (useBabel): new method.
7344         * bufferparams.C (writeLaTeX): use it.
7345
7346 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7347
7348         * ParagraphList.h (set): remove unused function.
7349
7350 2003-05-23  André Pönitz  <poenitz@gmx.net>
7351
7352         * BufferView.C:
7353         * BufferView_pimpl.C:
7354         * buffer.C:
7355         * buffer.h:
7356         * lyxfunc.C:
7357         * undo_funcs.C: setUndo reworked
7358
7359         * iterators.[Ch]: add access to topmost ParagraphList
7360
7361         * lyxtext.[Ch] (workWidth): add a const
7362
7363 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7364
7365         * texrow.[Ch] (increasePos): remove function
7366         * exporter.C (export): removed unused var and outdated comment
7367
7368 2003-05-23  Angus Leeming  <leeming@lyx.org>
7369
7370         * latexrunparams.h: rename fragile as moving_arg.
7371         * paragraph.C (simpleTeXOnePar): ditto.
7372         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7373
7374 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7375
7376         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7377         (createUndo): ditto
7378         (textUndoOrRedo): comment out a currently unused var.
7379
7380         * paragraph.h (NO_NEXT): enable NO_NEXT
7381
7382         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7383
7384         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7385
7386         * exporter.C (Export): adjust for removeAutoInsets removal.
7387
7388         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7389
7390         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7391
7392         * BufferView.[Ch] (removeAutoInsets): delete function
7393
7394 2003-05-22  Angus Leeming  <leeming@lyx.org>
7395
7396         * latexrunparams.h: add a free_spacing variable.
7397
7398         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7399         to pass moving_arg, as the data is stored in runparams.fragile.
7400
7401         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7402         to Inset::latexOptional or to simpleTeXOnePar.
7403
7404         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7405         free_spacing arg to Inset::latexOptional.
7406
7407         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7408         free_spacing arg.
7409
7410 2003-05-22  Angus Leeming  <leeming@lyx.org>
7411
7412         * latexrunparams.h: add fragile and use_babel variables.
7413
7414         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7415         * buffer.C (makeLaTeXFile): store this returned value in
7416         runparams.use_babel, thus passing it to the inset::latex methods.
7417
7418         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7419         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7420
7421         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7422         longer has a fragile arg, as it is stored in runparams.fragile.
7423
7424         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7425         moving_arg parameter as the data is stored in runparams.fragile.
7426
7427         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7428         a fragile parameter as the data is stored in runparams.fragile.
7429
7430 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7431
7432         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7433
7434 2003-05-22  Angus Leeming  <leeming@lyx.org>
7435
7436         * latexrunparams.h: add a 'bool nice' which defaults to false.
7437
7438         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7439         now encapsulated within runparams.
7440
7441         * bufferlist.C (updateIncludedTeXfiles):
7442         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7443
7444 2003-05-22  Angus Leeming  <leeming@lyx.org>
7445
7446         * latexrunparams.h: new file containing struct LatexRunParams.
7447         * Makefile.am: add new file.
7448
7449         * LaTeX.[Ch] (c-tor, run):
7450         * buffer.[Ch] (makeLaTeXFile):
7451         * bufferlist.[Ch] (updateIncludedTeXfiles):
7452         * converter.C (convert, scanLog):
7453         * converter.[Ch] (runLaTeX):
7454         * exporter.C (Export):
7455         * paragraph.[Ch] (simpleTeXOnePar):
7456         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7457         * paragraph_funcs.[Ch] (latexParagraphs):
7458         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7459         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7460         pass around a LatexRunParams parameter.
7461
7462 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7463
7464         * paragraph.[Ch]: remove unused constructor
7465
7466         * ParagraphList.C (erase): new function, taking two iterators
7467
7468 2003-05-22  André Pönitz  <poenitz@gmx.net>
7469
7470         * undo_funcs.C: remove duplicated code
7471
7472         * iterator.[Ch]: operator=
7473
7474 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7475
7476         * tabular.C (SetMultiColumn): ws changes
7477
7478         * rowpainter.C (paintFirst): get rid of a ->previous
7479
7480         * lyx_cb.C (getPossibleLabel): parlist simplification
7481
7482         * BufferView.C (ChangeInsets): simplify slightly.
7483
7484 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7485
7486         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7487         * lfuns.h: new LFUN_SPACE
7488         * lyxfunc.C: protected space has a new lfun
7489         * paragraph_funcs.C: read new space insets
7490         * text3.C:
7491         * factory.C: handle new space insets
7492
7493 2003-05-22  André Pönitz  <poenitz@gmx.net>
7494
7495         * BufferView.C:
7496         * BufferView_pimpl.C:
7497         * buffer.[Ch]:
7498         * lyxfunc.C:
7499         * undo_funcs.C: return a ParIterator from getParFromID.
7500
7501         * iterators.[Ch]: add two const's
7502
7503 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7504
7505         * toc.C (getTocList): adjust
7506
7507         * iterators.[Ch]: rework for parlist
7508
7509         * buffer.C (par_iterator_begin): adjust
7510         (par_iterator_end): adjust
7511
7512         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7513
7514         * BufferView.C (removeAutoInsets): adjust
7515         (ChangeInsets): adjust
7516
7517 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7518
7519         * text.C (top_y): fix bug 1110
7520
7521 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7522
7523         * errorlist.[Ch]: added
7524         * buffer.C:
7525         * BufferView.[Ch]:
7526         * BufferView_pimpl.C:
7527         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7528         instead
7529
7530 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7531
7532         * Makefile.am: ensure that lyx is relinked upon changes to the
7533         various "convenience" libs.
7534
7535 2003-05-20  Angus Leeming  <leeming@lyx.org>
7536
7537         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7538         files are compiled in alphabetical order again.
7539
7540         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7541
7542 2003-05-19  Angus Leeming  <leeming@lyx.org>
7543
7544         * gettext.[Ch]: remove "char const * _(char const *)".
7545
7546 2003-05-19  André Pönitz  <poenitz@gmx.net>
7547
7548         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7549
7550         * Makefile.am:
7551         * BufferView.C:
7552         * DepTable.h:
7553         * LaTeXFeatures.C:
7554         * buffer.C:
7555         * lyxfont.C:
7556         * lyxlex.h:
7557         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7558
7559 2003-05-19  André Pönitz  <poenitz@gmx.net>
7560
7561         * buffer.C:
7562         * lyxlayout.[Ch]:
7563         * lyxtextclass.[Ch]:
7564         * paragraph.C:
7565         * paragraph_funcs.[Ch]:
7566         * text2.C:
7567         * text3.C: more insetenv work
7568
7569 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7570
7571         * ParagraphParameters.C (params2string): small bug fixed
7572
7573 2003-05-16  André Pönitz  <poenitz@gmx.net>
7574
7575         * debug.C:
7576         * bufferview_funcs.C: patch from Kornel Benko to prevent
7577           crash when _(...) is called twice in a statement
7578
7579 2003-05-16  André Pönitz  <poenitz@gmx.net>
7580
7581         * BufferView.C:
7582         * lyxfunc.C:
7583         * text.C:
7584         * text2.C:
7585         * text3.C:
7586         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7587
7588 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7589
7590         * lyx_main.C (init): remove spurious static_cast
7591
7592 2003-05-14  André Pönitz  <poenitz@gmx.net>
7593
7594         * BufferView.C: fix format string
7595
7596 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7597
7598         * BufferView.[Ch] (insertErrors): removed
7599         * BufferView.[Ch] (showErrorList): added
7600         * buffer.C (runChkTeX):
7601         * converter.C (scanLog): call showErrorList instead of inserterrors
7602
7603 2003-05-13  André Pönitz  <poenitz@gmx.net>
7604
7605         * BufferView_pimpl.C:
7606         * buffer.C:
7607         * bufferview_func.C:
7608         * MenuBackend.C:
7609         * lyxfunc.C:
7610         * lyxrc.C:
7611         * tex-accent.C:
7612         * text3.C:
7613         * toc.C:
7614         * tabular_funcs.h: tostr() from its own header
7615
7616         * ParagraphParameters.C:
7617         * ToolbarBackend.C:
7618         * bufferparams.C:
7619         * format.C:
7620         * lyxlex_pimpl.C:
7621         * text3.C: STRCONV()
7622
7623 2003-05-12  André Pönitz  <poenitz@gmx.net>
7624
7625         * BufferView.C:
7626         * BufferView_pimpl.C:
7627         * CutAndPaste.C:
7628         * LaTeX.C:
7629         * LaTeXFeatures.C:
7630         * ParagraphParameters.C:
7631         * buffer.C:
7632         * bufferlist.C:
7633         * bufferparams.C:
7634         * bufferview_funcs.C:
7635         * converter.C:
7636         * counters.C:
7637         * debug.C:
7638         * exporter.C:
7639         * format.C:
7640         * importer.C:
7641         * lyx_cb.C:
7642         * lyx_main.C:
7643         * lyxfont.C:
7644         * lyxfunc.C:
7645         * lyxvc.C:
7646         * paragraph.C:
7647         * paragraph_funcs.C:
7648         * tabular.C:
7649         * tabular_funcs.C:
7650         * text2.C:
7651         * text3.C:  boost::format -> bformat  all over the place
7652
7653
7654 2003-05-09  André Pönitz  <poenitz@gmx.net>
7655
7656         * LColor.[Ch]: Pimpl the #include <map> away
7657
7658 2003-05-09  John Levon  <levon@movementarian.org>
7659
7660         * bufferlist.C: never remove emergency saves
7661
7662 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7663
7664         * Makefile.am: better lib building
7665
7666 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7667
7668         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7669         instead.
7670         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7671         (simpleTeXSpecialChars): adjust
7672         (simpleTeXSpecialChars): adjust
7673         * paragraph.C (simpleTeXOnePar): adjust
7674         * buffer.C (makeLaTeXFile): adjust
7675
7676         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7677
7678         * text2.C (changeDepth): parlist cleanup
7679         (getColumnNearX): ditto
7680
7681         * rowpainter.C (getLabelFont): parlist cleanup
7682
7683         * bufferlist.C (newFile): parlist cleanup
7684
7685         * CutAndPaste.C (eraseSelection): parlist cleanup
7686
7687         * BufferView_pimpl.C (trackChanges): parlist cleanup
7688         (dispatch): ditto
7689
7690         * BufferView.C (lockInset): parlist cleanup.
7691         (ChangeInsets): ditto
7692
7693 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7694
7695         * CutAndPaste.h: Update file header.
7696
7697         * CutAndPaste.C: Update file header.
7698         Store the parts cut out of the Document in a limited_stack.
7699         (copySelection): adjust
7700         (pasteSelection): new function, takes the index in the limited stack.
7701         (nrOfParagraphs): adjust
7702         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7703         simplify error inset insertion.
7704         (checkPastePossible): adjust
7705
7706 2003-05-06  John Levon  <levon@movementarian.org>
7707
7708         * text2.C: don't cast wrap inset to float
7709
7710 2003-05-05  André Pönitz  <poenitz@gmx.net>
7711
7712         * iterator.C:
7713         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7714
7715         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7716           few naked Paragraph *.
7717
7718 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7719
7720         * bufferparams.C: Output warning if a document with missing
7721         TeX document class is loaded
7722         * exporter.C: Disable TeX exports if the document class is missing
7723         * lyxtextclass.C:
7724         * lyxtextclass.h:
7725         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7726         isTeXClassAvailable()
7727
7728 2003-05-03  John Levon  <levon@movementarian.org>
7729
7730         * BufferView.h:
7731         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7732         explicit cursor show/hide
7733
7734         * BufferView_pimpl.h:
7735         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7736         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7737
7738         * lyxfunc.C: hide cursor before dispatching.
7739
7740         * lyx_cb.C:
7741         * lyxfind.C:
7742         * text.C:
7743         * text3.C: remove explicit cursor hides
7744
7745 2003-05-02  André Pönitz  <poenitz@gmx.net>
7746
7747         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7748
7749         * undo_funcs.C:
7750         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7751           linked lists
7752
7753         * text2.C: tiny whitespace
7754
7755 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7756
7757         * undo_funcs.C: almost only ws changes.
7758
7759         * ParagraphList.C (splice): just return if pl is empty.
7760
7761 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7762
7763         * ParagraphList.C (splice): new function.
7764
7765         * CutAndPaste.C (pasteSelection): use it
7766
7767 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7768
7769         * CutAndPaste.C (pasteSelection): remove the last next and
7770         previous from this file.
7771
7772 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7773
7774         * CutAndPaste.C (pasteSelection): more clean up, user proper
7775         ParagraphList functions for pasteing.
7776
7777         * ParagraphList.C (insert): new function, three arg insert
7778
7779 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7780
7781         * ParagraphList.C (insert): new function, three arg insert
7782
7783         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7784         not on paragraphs.
7785
7786 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7787
7788         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7789
7790 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7791
7792         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7793
7794 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7795
7796         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7797         (copySelection): clean up a bit.
7798         (pasteSelection): use make_pair
7799
7800         * ParagraphList.C (ParagraphList): implement copy constructor
7801         (operator=): implement, base on copy constructor.
7802         (assign): new func
7803
7804         * paragraph.C (erase): return a bool
7805
7806         * paragraph_pimpl.C (erasePos): remove function, move contents...
7807         (erase): ... here. Return a bool.
7808         (erase): call erase instead of erasePos.
7809
7810 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7811
7812         * ParagraphList.h: define PitPosPair
7813         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7814         ParagraphList, fix a bug on pasting multiple pars
7815         * text2.C: change interface to C&P
7816
7817 2003-04-30  André Pönitz  <poenitz@gmx.net>
7818
7819         * undo_func.C: revert part of yesterday's patch 2
7820
7821 2003-04-30  John Levon  <levon@movementarian.org>
7822
7823         * LColor.C: s/tabular/table/
7824
7825 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7826
7827         * text3.C (dispatch): do not convert iterator -> pointer
7828         * undo_funcs.C (setCursorParUndo): ditto
7829         * text_funcs.C (transposeChars): ditto
7830
7831         * text2.C (setLayout): ws changes only
7832
7833         * text.C (breakParagraph): do not convert iterator -> pointer
7834         (insertChar): ditto
7835         (acceptChange): ditto
7836         (rejectChange): ditto
7837         (changeCase): ditto
7838         (Delete): ditto
7839         (backspace): ditto
7840
7841         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7842         pointer
7843
7844 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7845
7846         * text3.C (gotoInset): YABG (yet another bad getChar)
7847
7848 2003-04-29  André Pönitz  <poenitz@gmx.net>
7849
7850         * paragraph.h: make operator= private unimplemented as long as
7851           it is unusable
7852
7853         * ParagraphList.C: whitespace
7854
7855         * paragraph.[Ch]:
7856         * paragraph_pimpl.[Ch]:
7857         * paragraph_funcs.C:
7858         * CutAndPaste.C:
7859         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7860
7861         * text2.C:
7862           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7863
7864 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7865
7866         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7867         * paragraph.[Ch] (erase):
7868         * paragraph_pimpl.[Ch] (erase): change return type and value
7869         * text2.C (cutSelection): some rework
7870
7871 2003-04-28  John Levon  <levon@movementarian.org>
7872
7873         * bufferlist.C: changes for unsaved changes dialog
7874
7875 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7876
7877         * bufferlist.C (newFile): set language (messages_) for new
7878         documents also.
7879
7880         * buffer.C (readFile): ws changes only.
7881
7882 2003-04-28  André Pönitz  <poenitz@gmx.net>
7883
7884         * undo_funcs.C:
7885         * lyxfunc.C:
7886         * buffer.[Ch]:
7887         * BufferView_pimpl.C:
7888         * BufferView.C: getParFromID related ParagraphList::iterator changes
7889
7890 2003-04-28  André Pönitz  <poenitz@gmx.net>
7891
7892         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7893           Changes
7894
7895 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7896
7897         * messages.C: remove one more localedir class variable.
7898
7899 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7900
7901         * messages.C (getLocaleDir): singleton generation function
7902         (Pimpl): use it.
7903         (Messages): add a default constructor.
7904
7905         * main.C (main): do not setup localedir here, do not call
7906         gettext_init.
7907
7908         * gettext.C (_): use it.
7909         (gettext_init): delete funciton
7910
7911 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7912
7913         * gettext.C (getLyXMessages): new singleton generating function.
7914
7915         * buffer.C (updateDocLang): adjust
7916
7917         * Makefile.am (messages.o): add target
7918         (main.o): remove target
7919
7920 2003-04-27  John Levon  <levon@movementarian.org>
7921
7922         * bufferlist.C:
7923         * lyx_cb.C:
7924         * lyxfunc.C:
7925         * lyxvc.C: specify cancel button in Alert::prompt
7926
7927 2003-04-26  John Levon  <levon@movementarian.org>
7928
7929         * text3.C:
7930         * lyxfunc.C:
7931         * lfuns.h:
7932         * LyXAction.C: add LFUN_INSET_SETTINGS
7933
7934         * lyxfunc.C: don't enable tabular-feature when there's
7935         just any locking inset
7936
7937 2003-04-26  John Levon  <levon@movementarian.org>
7938
7939         * bufferlist.C: re-add Cancel to buffer close question
7940
7941         * lyxfunc.C: fix import UI a bit
7942
7943 2003-04-25  John Levon  <levon@movementarian.org>
7944
7945         * gettext.C: remove the broken asserts for now
7946
7947 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7948
7949         * messages.C: make case where setlocale cannot comply work better.
7950
7951         * buffer.C (updateDocLang): new function
7952         (changeLanguage): use it
7953         (readFile): use it
7954
7955         * text2.C (setCounter): use B_ a bit.
7956
7957         * lyxlayout.C (Read): be sure to trim the label strings.
7958
7959         * messages.C (Messages): fix typo in comment
7960
7961         * buffer.C (readFile): set message_ after file is loaded.
7962         (makeDocBookFile): remove double return
7963         (changeLanguage): reset message_ upon language change.
7964         (B_): new func, use this to get translated buffer strings.
7965
7966         * main.C: add myself and Jean Marc as authors.
7967
7968 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7969
7970         * messages.[hC]: pimplify Messages, and three different pimpls to be
7971         used in different circumstances.
7972
7973         * gettext.[Ch]: change for use with new message code.
7974
7975 2003-04-24 André Pönitz <poenitz@gmx.net>
7976
7977         * factory.C: support for eqref
7978
7979 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7980
7981         * messages.[Ch]: add missing char
7982
7983         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7984
7985         * messages.[Ch]: New files
7986
7987 2003-04-18  John Levon  <levon@movementarian.org>
7988
7989         * BufferView.h:
7990         * BufferView.C:
7991         * BufferView_pimpl.C:
7992         * lfuns.h:
7993         * LyXAction.C:
7994         * lyxtext.h:
7995         * text2.C: remove layout-copy/paste (bug 778)
7996
7997 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7998
7999         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8000
8001 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8002
8003         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8004         if they succeed. Act accordingly.
8005
8006 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8007
8008         * text2.C (setCharFont): adjust
8009         (setCounter): adjust
8010         (insertStringAsLines): adjust
8011
8012         * text.C (leftMargin): adjust
8013         (setHeightOfRow): adjust
8014
8015         * rowpainter.C (paintFirst): adjust
8016         (paintLast): adjust
8017
8018         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8019         (outerHook): ditto
8020         (isFirstInSequence): ditto
8021         (getEndLabel): ditto
8022         (outerFont): adjust
8023
8024         * paragraph.C (getParLanguage): comment out some hard stuff.
8025
8026         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8027         (sgmlError): ditto
8028         (simpleDocBookOnePar): ditto
8029         (makeDocBookFile): use ParagraphList::iterator
8030
8031         * CutAndPaste.C (pasteSelection): adjust
8032
8033 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8034
8035         * text2.C (getFont): adjust
8036         (getLayoutFont): adjust
8037         (getLabelFont): adjust
8038
8039         * paragraph_funcs.C (TeXOnePar): adjust
8040
8041         * buffer.C (simpleLinuxDocOnePar): adjust
8042         (simpleDocBookOnePar): adjust
8043
8044         * CutAndPaste.C (pasteSelection): adjust
8045
8046         * BufferView.C (getEncoding): adjust
8047
8048         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8049
8050 2003-04-16  John Levon  <levon@movementarian.org>
8051
8052         * lyxfind.C: use parlist stuff for search/changes
8053
8054 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8055
8056         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8057
8058         * text2.C (deleteEmptyParagraphMechanism): adjust
8059
8060         * text2.[Ch] (ownerParagraph): delete func (both of them
8061
8062 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8063
8064         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8065
8066 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8067
8068         * ParagraphList.C: prepare for NO_NEXT
8069
8070 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8071
8072         * text2.C (getFont): adjust
8073         (getLayoutFont): adjust
8074         (getLabelFont): adjust
8075
8076         * paragraph.C (getFont): adjust
8077         (getLabelFont): adjust
8078         (getLayoutFont): adjust
8079
8080         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8081
8082 2003-04-15  John Levon  <levon@movementarian.org>
8083
8084         From Angus Leeming
8085
8086         * lyx_main.C: handle Include in .ui files
8087
8088 2003-04-15  John Levon  <levon@movementarian.org>
8089
8090         * MenuBackend.C: make the doc files length shorter
8091
8092         * ToolbarBackend.h:
8093         * ToolbarBackend.C: handle toolbar placement flags,
8094         Minibuffer
8095
8096 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8097
8098         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8099         adjust
8100
8101         * paragraph_funcs.C (TeXOnePar): adjust
8102
8103         * paragraph.C (getLabelFont): add outerfont arg, adjust
8104         (getLayoutFont): ditto
8105         (simpleTeXOnePar): adjust
8106
8107         * paragraph_pimpl.C (realizeFont): delete func
8108
8109 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8110
8111         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8112         row argument, constify cur argument.
8113
8114 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8115
8116         * text2.C (getFont): adjust
8117         (getLayoutFont): adjust
8118         (getLabelFont): adjust
8119
8120         * paragraph_funcs.C (TeXOnePar): adjust
8121         (outerFont): new func...
8122         (realizeFont): ...moved out from here, changed this to facilitate
8123         transition
8124
8125         * paragraph.C (getFont): take outerfont as arg, adjust
8126         (simpleTeXOnePar): add outerfont arg, adjust
8127
8128         * buffer.C (simpleLinuxDocOnePar): adjust
8129         (simpleDocBookOnePar): adjust
8130
8131         * CutAndPaste.C (pasteSelection): adjust
8132
8133         * BufferView.C (getEncoding): adjust
8134
8135 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8136
8137         * text2.C (setCharFont): adjust
8138         (setCounter): adjust
8139
8140         * text.C (leftMargin): adjust
8141         (setHeightOfRow): adjust
8142
8143         * rowpainter.C (paintFirst): adjust
8144         (paintLast): adjust
8145
8146         * paragraph_pimpl.C (realizeFont): adjust
8147
8148         * paragraph.C (isFirstInSequence): move from here...
8149         * paragraph_funcs.C (isFirstInSequence): ...to here
8150
8151         * paragraph.C (outerHook): move from here...
8152         * paragraph_funcs.C (outerHook): ...to here
8153
8154         * paragraph.C (depthHook): move from here...
8155         * paragraph_funcs.C (depthHook): ...to here
8156
8157         * paragraph.C (getEndLabel): move from here...
8158         * paragraph_funcs.C (getEndLabel): ...to here
8159
8160         * text2.C (realizeFont): move from here...
8161         * paragraph_funcs.C (realizeFont): ...to here
8162
8163 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8164
8165         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8166
8167 2003-04-14  Angus Leeming  <leeming@lyx.org>
8168
8169         * LColor.[Ch]: scrap LColor mathcursor.
8170
8171 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8172
8173         * lyxlex.[Ch] (text): delete function
8174         * trans.C (Load): adjust
8175         * paragraph_funcs.C (readParToken): adjust
8176
8177 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8178
8179         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8180         vector<char> instead of a char[].
8181
8182         * lyxlex_pimpl.C (getString): adjust
8183         (next): adjust
8184         (lex): use getString
8185         (eatLine): adjust
8186         (nextToken): adjust
8187
8188         * lyxlex.C (text): use pimpl_->getString()
8189         (getBool): ditto
8190         (findToken): ditto
8191
8192 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8193
8194         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8195         (makeFontEntriesLayoutSpecific): temp var for par.size()
8196         (setLayout): temp var for ownerParagraphs().end()
8197         (fullRebreak): temp var for rows().end()
8198         (selectionAsString): temp var for boost::next(startpit), realize
8199         that the while really is a regular for loop.
8200         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8201         setCursor in one place.
8202         (setParagraph): temp vr for ownerParagraphs().end()
8203         (updateCounters): make the while loop a for loop
8204         (cutSelection): temp var for ownerParagraphs().end()
8205         (updateInset): make the do {} while() a regular for loop
8206         (getCursorX): use temp vars
8207         (setCurrentFont): use temp vars
8208         (getColumnNearX): use temp vars
8209
8210 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8211
8212         * text.C (transformChar): use temp var for getChar
8213         (computeBidiTables): use temp var for row->par()
8214         (fill): move temp vars for row->par() and pit->layout() earlier in
8215         the function.
8216         (labelFill): use temp var for row->par()
8217         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8218         asc and desc, realize that pit never changes and that firstpit is
8219         just a duplicate and not needed. Exchange rit->par() with pit in a
8220         lot of places.
8221         (breakAgain): use a temp var for boost::next(rit)
8222         (breakAgainOneRow): ditto
8223         (breakParagraph): use a temp var for rows().begin()
8224         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8225         (cursorRightOneWord): use temp var for cursor.par() and
8226         cursor.pos(), remove usage of tmpcursor.
8227         (cursorLeftOneWord): use temp var for cursor.par() and
8228         cursor.pos() only set cur at end of function.
8229
8230 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8231
8232         * text.C, text2.C: exchange all usage of Paragraph::next with
8233         boost::next(ParagraphList::iterator)
8234
8235         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8236
8237         * text2.C (cursorTop): simplify implementation
8238         (cursorBottom): ditto
8239         (setParagraph): use ParagraphList::iterator
8240         (setCurrentFont): adjust
8241         (getColumnNearX): adjust
8242         (cursorRight): adjust
8243         (cursorLeft): remove usage of Paragraph::previous
8244         (cursorUpParagraph): ditto
8245         (deleteEmptyParagraphMechanism): slight cleanup
8246
8247         * text.C (isBoundary): take a Paragraph const & instead of a
8248         pointer as arg.
8249         (addressBreakPoint): ditto
8250         (leftMargin): remove usage of Paragraph::previous.
8251         (setHeightOfRow): ditto
8252         (cursorLeftOneWord): ditto
8253         (selectNextWordToSpellcheck): ditto
8254         (Delete): ditto
8255         (backspace): ditto
8256         (breakParagraph): remove one usage of Paragraph::next
8257         (redoParagraph): ditto
8258         (acceptChange): ditto
8259         (insertChar): adjust
8260         (rowBreakPoint): adjust
8261
8262         * bufferview_funcs.C (toggleAndShow): adjust
8263
8264 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8265
8266         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8267         methods to access it.
8268         * lyxtext.h:
8269         * text.C: Added updateRowPositions to compute all row positions.
8270         Make top_y and getRowNearY() to use the cached y position
8271
8272 2003-04-11  John Levon  <levon@movementarian.org>
8273
8274         * text.C (rowBreakPoint): reintroduce the labelEnd
8275         checks, code copied from the row fill stuff. Deep voodoo.
8276
8277         * text.C (fill): add a comment and debugging for the
8278         next poor soul.
8279
8280 2003-04-11  John Levon  <levon@movementarian.org>
8281
8282         * text.C: make sure fullrow insets get wrapped to the next line,
8283         even when they're in a manual label
8284
8285 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8286
8287         * text2.C (insertParagraph): make it take ParagraphList::iterator
8288         as arg.
8289         (setLayout): make it return ParagraphList::iterator
8290         (redoParagraphs): ditto
8291         (setCounter): ditto
8292         (checkParagraph): ditto
8293
8294         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8295
8296         * text2.C: adjust several funcs.
8297         (realizeFont): take a ParagraphList::iterator as arg.
8298         (getLayoutFont): ditto
8299         (getLabelFont): ditto
8300         (setCharFont): ditto
8301
8302         * text.C: adjust several funcs.
8303
8304 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8305
8306         * text.C (selectNextWordToSpellcheck): don't accidentally
8307         skip insets
8308
8309 2003-04-10  John Levon  <levon@movementarian.org>
8310
8311         * ToolbarBackend.C (getIcon): special handling for
8312         LFUN_MATH_DELIM
8313
8314 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8315
8316         * text2.C (cursorRight): a getChar assert fixed
8317
8318 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8319
8320         * text2.C (getFont): change to take a ParagraphList::iterator
8321         instead of Paragraph*
8322         Adjust several functions.
8323
8324         * text.C (transformChar): change to take a ParagraphList::iterator
8325         instead of Paragraph*
8326         (singleWidth): ditto
8327         Adjust several functions.
8328
8329         * rowpainter.C: adjust several functions
8330         * rowpainter.h:store a ParagraphList::iterator and not a
8331         Paragraph&.
8332
8333
8334 2003-04-09  John Levon  <levon@movementarian.org>
8335
8336         * lyxfunc.C:
8337         * lfuns.h:
8338         * LyXAction.h:
8339         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8340         and the "help" bits as well
8341
8342 2003-04-09  John Levon  <levon@movementarian.org>
8343
8344         * ToolbarBackend.h:
8345         * ToolbarBackend.C: allow multiple toolbars
8346
8347 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8348
8349         * undo_funcs.C (setCursorParUndo): adjust
8350
8351         * text_funcs.C (transposeChars): adjust
8352
8353         * text3.C (gotoNextInset): adjust
8354         (dispatch): adjust
8355
8356         * text2.C (setLayout): adjust
8357         (changeDepth): adjust
8358         (setFont): adjust
8359         (redoParagraphs): adjust
8360         (selectionAsString): adjust
8361         (setParagraph): adjust
8362         (insertInset): adjust
8363         (cutSelection): adjust
8364         (copySelection): adjust
8365         (pasteSelection): adjust
8366         (insertStringAsLines): adjust
8367         (updateInset): adjust
8368         (setCursor): change to take a ParagraphList::iterator parameter
8369         (setCursorIntern): change to take a ParagraphList::iterator parameter
8370         (setCurrentFont): adjust
8371         (cursorLeft): adjust
8372         (cursorRight): adjust
8373         (deleteEmptyParagraphMechanism): adjust
8374
8375         * text.C (breakParagraph): adjust
8376         (insertChar): adjust
8377         (acceptChange): adjust
8378         (rejectChange): adjust
8379         (selectNextWordToSpellcheck): adjust
8380         (changeCase): adjust
8381         (Delete): adjust
8382         (backspace): adjust
8383
8384         * lyxfind.C (SearchForward): adjust
8385         (SearchBackward): adjust
8386         (nextChange): adjust
8387
8388         * lyxcursor.C (par): adjust
8389
8390         * lyxcursor.h: store a ParagraphList::iterator instead of a
8391         Paragraph*
8392
8393         * lyx_cb.C (getPossibleLabel): adjust
8394
8395         * bufferview_funcs.C (toggleAndShow): adjust
8396
8397         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8398         (dispatch): adjust
8399
8400         * BufferView.C (removeAutoInsets): adjust
8401         (lockedInsetStoreUndo): adjust
8402
8403 2003-04-09  John Levon  <levon@movementarian.org>
8404
8405         * ToolbarBackend.C: try icon without argument
8406         if with argument fails
8407
8408 2003-04-08  John Levon  <levon@movementarian.org>
8409
8410         * ToolbarBackend.h:
8411         * ToolbarBackend.C: add getIcon(), handle tooltip,
8412         and change from "Icon" to "Item".
8413
8414 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8415
8416         * BufferView.C (lockInset): another bad getchar crunched
8417
8418 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8419
8420         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8421         again)
8422
8423 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8424
8425         * lyxfind.C (searchForward, searchBackwards): bug 782
8426
8427 2003-04-07  John Levon  <levon@movementarian.org>
8428
8429         * paragraph.C: remove dead comment
8430
8431         * text.C: remove troublesome depth-fiddling code
8432         in leftMargin() and rightMargin() (bug 1017)
8433
8434         * text.C: fix breaking of rows in nested lists
8435         (bug 1004)
8436
8437         * text2.C (updateCounters): fix up depth values
8438         (bug 1013)
8439
8440 2003-04-07  John Levon  <levon@movementarian.org>
8441
8442         * BufferView_pimpl.C: clear message when doc finishes resizing,
8443         and after a mouse event
8444
8445         * lyxfunc.C: clear message after exiting inset
8446
8447 2003-04-07  John Levon  <levon@movementarian.org>
8448
8449         * bufferview_funcs.C: show math status not outside
8450         status in the statusbar
8451
8452 2003-04-07  John Levon  <levon@movementarian.org>
8453
8454         * lyxfunc.C: note status changed after a depth change
8455
8456 2003-04-04  Angus Leeming  <leeming@lyx.org>
8457
8458         * LaTeX.h: move AuxInfo operator==, != out of line.
8459         Remove LaTeX virtual destructor; nothing derives from it.
8460         Move operator()() out of public area and rename it startscript().
8461         Change protected for private.
8462
8463 2003-04-04  Angus Leeming  <leeming@lyx.org>
8464
8465         * lyxfunc.C:
8466         * text2.C: remove unneeded #includes.
8467
8468 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8469
8470         * text2.C (dEPM): fix the heigth of the next row
8471
8472 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8473
8474         * text.C: squashed an invalid getChar requester + some ws changes
8475
8476 2003-04-03  John Levon  <levon@movementarian.org>
8477
8478         * bufferview_funcs.h:
8479         * bufferview_funcs.C:
8480         * lyxfunc.C:
8481         * lyxtext.h:
8482         * text2.C: make getStatus work for the env depth lfuns
8483
8484 2003-04-03  John Levon  <levon@movementarian.org>
8485
8486         * bufferview_funcs.h:
8487         * bufferview_funcs.C:
8488         * lyxfunc.C:
8489         * lyxtext.h:
8490         * text2.C: parlistize decDepth(), by merging it with incDepth()
8491
8492 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8493
8494         * lyxrow.h: store a ParagraphList::iterator instead of a
8495         Paragraph* and adjust other class functions to suit.
8496
8497         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8498         above.
8499
8500 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8501
8502         * text2.C (setCursor): do not anchor to cursor row for the time being
8503
8504 2003-04-02  John Levon  <levon@movementarian.org>
8505
8506         * LyXAction.C:
8507         * lfuns.h:
8508         * lyx_main.C:
8509         * lyxtext.h:
8510         * text.C:
8511         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8512
8513 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8514
8515         * paragraph.h: make ParagraphList and ParagraphList::iterator
8516         friends of Paragraph.
8517
8518         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8519
8520         * ParagraphList.C: Use the private next_ and previous_ from
8521         Paragraph.
8522
8523 2003-04-01  John Levon  <levon@movementarian.org>
8524
8525         * ToolbarBackend.h:
8526         * ToolbarBackend.C:
8527         * Makefile.am: rename, remove defaults gunk
8528
8529         * MenuBackend.h:
8530         * MenuBackend.C: remove defaults gunk
8531
8532         * Languages.h:
8533         * Languages.C: remove defaults gunk
8534
8535         * lyx_main.h:
8536         * lyx_main.C: error out if files couldn't be found.
8537
8538 2003-04-02  John Levon  <levon@movementarian.org>
8539
8540         * text2.C: make incDepth() use parlist
8541
8542 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8543
8544         * undo_funcs.C (firstUndoParagraph): adjust
8545
8546         * text3.C (gotoInset): adjust
8547         (dispatch): adjust, and rewrite loop.
8548
8549         * text2.C (init): adjust, and rewrite loop.
8550         (redoParagraphs): adjust
8551         (updateInset): adjust, and rewrite loop.
8552         (deleteEmptyParagraphMechanism): adjust
8553
8554         * tabular.C (LyXTabular): adjust
8555         (SetMultiColumn): adjust
8556         (TeXRow): adjust
8557
8558         * lyxtext.[Ch] (ownerParagraph): delete function
8559         (ownerParagraphs): new function returns a ParagraphList.
8560
8561         * BufferView.C (removeAutoInsets): adjust
8562         (insertErrors): adjust
8563         (setCursorFromRow): adjust
8564
8565 2003-04-01  Angus Leeming  <leeming@lyx.org>
8566
8567         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8568         in the frontends.
8569
8570 2003-04-02  John Levon  <levon@movementarian.org>
8571
8572         * lyxtext.h:
8573         * text.C:
8574         * Makefile.am:
8575         * text_funcs.h:
8576         * text_funcs.C: make transposeChars a free function
8577
8578         * lyxrow_funcs.C: remove wrong comment
8579
8580 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8581
8582         * lyxtext.h: adjust
8583         * rowpainter.C: adjust
8584         * text.C: adjust
8585         * text2.C: adjust
8586         * text3.C: adjust
8587
8588         * lyxrow_funcs. [Ch]: new files
8589
8590         * lyxrow.[Ch]: remove next and previous pointers
8591         (next,previous): remove accessor functions
8592         (isParEnd): move to lyxrow_funcs
8593         (lastPos): move to lyxrow_funcs
8594         (nextRowIsAllInset): move to lyxrow_funcs
8595         (lastPrintablePos): move to lyxrow_funcs
8596         (numberOfSeparators): move to lyxrow_funcs
8597         (numberOfHfills): move to lyxrow_funcs
8598         (numberOfLabelHfills): move to lyxrow_funcs
8599         (hfillExpansion): move to lyxrow_funcs
8600
8601         * lyxfunc.C: adjust
8602
8603         * bufferview_funcs.C (toggleAndShow): adjust
8604
8605         * RowList.h: Remove class RowList from file leave just a
8606         std::list<Row>.
8607
8608         * RowList.C: delete file
8609
8610         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8611         and lyxrow_funcs.h
8612
8613 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8614
8615         * text3.C (cursorPrevious): adjust
8616         (cursorNext): adjust
8617         (dispatch): adjust
8618
8619         * text2.C (redoHeightOfParagraph): adjust
8620         (redoDrawingOfParagraph): adjust
8621         (setCursor): adjust
8622
8623         * text.C (breakParagraph): adjust
8624         (insertChar): adjust
8625         (backspace): adjust
8626
8627         * rowpainter.C (RowPainter): adjust
8628         (leftMargin): simplify and adjust
8629         (most rowpainter functions): adjust.
8630
8631         * rowpainter.h: store the row as RowList::iterator not as Row*
8632
8633         * lyxcursor.C (row): taka RowList::iterator as arg
8634         (irow): ditto
8635
8636         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8637         of Row*.
8638
8639 2003-04-01  Angus Leeming  <leeming@lyx.org>
8640
8641         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8642         stuff like bool Bool.
8643
8644 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8645
8646         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8647         rewrite a loop
8648
8649 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8650
8651         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8652         RowList::iterator.
8653
8654         * lyxtext.h (rows): drop one version and leve a const variant that
8655         returns a RowList::iterator.
8656
8657 2003-03-31  Angus Leeming  <leeming@lyx.org>
8658
8659         * text.C (fill): ensure that the signature is the same as that in the
8660         header file.
8661
8662 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8663
8664         * text2.C (redoParagraphs): adjust
8665         (updateCounters): adjust
8666         (checkParagraph): adjust
8667         (getColumnNearX): adjust and reformat a bit.
8668
8669         * text.C (top_y): adjust
8670         (workWidth): adjust
8671         (leftMargin): adjust
8672         (prepareToPrint): adjust
8673         (getRow): adjust
8674         (getRowNearY): adjust
8675
8676         * lyxtext.h: make rowlist_ mutable.
8677
8678         * RowList.h: add const_iterator
8679         * RowList.C: adjust for RowList::const_iterator.
8680
8681         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8682         adjust.
8683
8684 2003-03-31  John Levon  <levon@movementarian.org>
8685
8686         * lyxrc.h:
8687         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8688
8689         * lyx_main.C: set default fonts from using lyx_gui funcs
8690
8691         * exporter.C: pdf_mode moved from lyxrc
8692
8693         * lyx_cb.C:
8694         * lyxfunc.C: changes from above
8695
8696 2003-03-31  John Levon  <levon@movementarian.org>
8697
8698         * lyx_main.C: fix to the last fix
8699
8700 2003-03-31  John Levon  <levon@movementarian.org>
8701
8702         * bufferlist.C: "Load original" -> "Load Original"
8703
8704         * converter.C:
8705         * exporter.C:
8706         * importer.C:
8707         * lyx_main.C:
8708         * format.C: more Alert cleanups
8709
8710 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8711
8712         * text2.C (removeParagraph): make it take a RowList::iterator as
8713         arg, adjust.
8714         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8715         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8716
8717         * text.C (anchor_row): make it take a RowList::iterator as arg,
8718         adjust.
8719         (computeBidiTables): make it take a const reference to Row instead
8720         of Row pointer, adjust.
8721         (leftMargin): make it take a RowList::iterator as arg, adjust.
8722         (rowBreakPoint): adjust
8723         (breakAgainOneRow): make it take a RowList::iterator as arg,
8724         adjust.
8725         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8726
8727         * bufferview_funcs.C (toggleAndShow): adjust
8728
8729 2003-03-30  John Levon  <levon@movementarian.org>
8730
8731         * Makefile.am:
8732         * BoostFormat.h:
8733         * boost-inst.C: moved to support
8734
8735         * several files: changes as a result
8736
8737 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8738
8739         * text2.C (LyXText): adjust.
8740         (init): adjust
8741         (removeRow): make it take a RowList::iterator as arg, adjust.
8742         (fullRebreak): adjust
8743         (deleteEmptyParagraphMechanism): adjust
8744         (clearPaint): adjust
8745         (postPaint): adjust
8746
8747         * text.C (top_y): adjust
8748         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8749         (breakAgain): make it take a RowList::iterator as arg, adjust.
8750         (breakParagraph): adjust
8751         (insertChar): adjust
8752         (backspace): adjust
8753
8754         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8755         need_break_row, and refresh_row.
8756
8757         * text3.C (dispatch): adjust
8758
8759         * text2.C (checkParagraph): adjust
8760         (setCursor): adjust
8761         (setCursorFromCoordinates): adjust
8762
8763         * text.C (top_y): adjust
8764         (workWidth): adjust
8765         (getRow): make it return a RowList::iterator, adjust
8766         (getRowNearY): make it return a RowList::iterator, adjust
8767
8768         * text2.C (init): adjust
8769         (insertRow): remove function
8770         (insertParagraph): adjust
8771         (redoParagraphs): adjust
8772         (fullRebreak): adjust
8773         (updateCounters): adjust
8774
8775         * text.C (top_y): rewrite to use RowList iterators.
8776         (top_y): adjust
8777         (setHeightOfRow): rewrite to sue RowList iterators.
8778         (appendParagraph): adjust
8779         (breakAgain): adjust
8780         (breakAgainOneRow): adjust
8781         (breakParagraph): adjust
8782         (getRow): adjust
8783         (getRowNearY): adjust, and remove commented code.
8784
8785         * lyxtext.h (firstRow): delete function
8786         (lastRow): delete function
8787         (rows): new function (const and non-const versions.)
8788         (insertRow): delete function
8789
8790         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8791
8792 2003-03-29  John Levon  <levon@movementarian.org>
8793
8794         * BufferView_pimpl.C: always update scrollbar top
8795         because pasting text when we're anchored could mean we
8796         miss an update altogether
8797
8798 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8799
8800         * text2.C (init): use rowlist_.end() and not 0.
8801         (insertRow): change to take a RowList::iterator as arg, adjust
8802         for this.
8803         (insertParagraph): change to take a RowList::iterator as arg,
8804         adjust for this.
8805         (redoParagraphs): remove some debug msgs.
8806
8807         * text.C (appendParagraph): change to take a RowList::iterator
8808         arg, adjust for this.
8809         (breakAgain): add an assert
8810         (breakAgainOneRow): ditto
8811
8812 2003-03-29  John Levon  <levon@movementarian.org>
8813
8814         * text2.C: do not clear selection after inc/decDepth
8815         (bug 550)
8816
8817 2003-03-29  John Levon  <levon@movementarian.org>
8818
8819         * BufferView.C:
8820         * buffer.C: fix broken strerrors according to Lars
8821
8822 2003-03-29  John Levon  <levon@movementarian.org>
8823
8824         * converters.C: more Alert cleanups
8825
8826 2003-03-29  John Levon  <levon@movementarian.org>
8827
8828         * bufferview_funcs.C: remove pointless Alert
8829
8830         * buffer.C: fix confusing error message when
8831         a template is chmoded 000
8832
8833 2003-03-29  John Levon  <levon@movementarian.org>
8834
8835         * BufferView.C:
8836         * BufferView.h:
8837         * BufferView_pimpl.C: Alert fixes
8838
8839         * Makefile.am:
8840         * tabular.C:
8841         * tabular-old.C: remove unused table compat reading
8842
8843 2003-03-29  John Levon  <levon@movementarian.org>
8844
8845         * BufferView.C:
8846         * buffer.C:
8847         * lyx_cb.h:
8848         * lyx_cb.C: more Alert cleanups
8849
8850         * lyxfunc.C: don't allow chktex if not latex document
8851
8852 2003-03-29  John Levon  <levon@movementarian.org>
8853
8854         * lyx_cb.C:
8855         * BufferView.C:
8856         * buffer.C: warnings pushed down from support/,
8857         kill err_alert
8858
8859 2003-03-29  John Levon  <levon@movementarian.org>
8860
8861         * lyxfunc.C: safety check for C-r (revert)
8862
8863 2003-03-29  John Levon  <levon@movementarian.org>
8864
8865         * bufferlist.h:
8866         * bufferlist.C: several UI fixes using Alert::prompt.
8867         Fix the pointless looping quit code. Fix stupid revert
8868         behaviour (bug 938)
8869
8870         * lyxvc.h:
8871         * lyxvc.C:
8872         * lyx_cb.C: use Alert::prompt
8873
8874         * lyx_main.C: remove a silly question
8875
8876         * lyxfunc.C: remove a couple of silly questions,
8877         use Alert::prompt
8878
8879 2003-03-28  John Levon  <levon@movementarian.org>
8880
8881         * text2.C: fix bug 974 (End on empty par)
8882
8883 2003-03-28  John Levon  <levon@movementarian.org>
8884
8885         * BufferView_pimpl.C:
8886         * LyXAction.C:
8887         * lfuns.h: remove do-nothing math greek lfuns
8888
8889 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8890
8891         * lyxgluelength.h (isValidGlueLength): add default arg on
8892         parameter 2. Remove default arg from friend in class.
8893
8894         * lyxlength.h (isValidLength): add default arg on parameter 2.
8895         Remove default arg from friend in class.
8896
8897         * text2.C (LyXText): adjust, initialize refresh_row.
8898         (init): adjust
8899         (removeRow): adjust
8900         (insertRow): adjust
8901         (insertParagraph): adjst
8902         (redoParagraphs): adjust
8903         (fullRebreak): adjust
8904         (updateCounters): adjust
8905         (deleteEmptyParagraphMechanism): first attempt at fixing a
8906         crashing bug.
8907
8908         * text.C (top_y): adjust
8909         (setHeightOfRow): adjust
8910         (getRow): adjust
8911         (getRowNearY): adjust
8912
8913         * lyxtext.h: include RowList.h
8914         (~LyXText): not needed anymore, deleted.
8915         (firstRow): modify for RowList
8916         (lastRow): new function
8917         Delete firstrow and lastrow class variables, add a Rowlist
8918         rowlist_ class variable.
8919
8920         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8921         paragraph is empty.
8922
8923         * RowList.C (insert): fix case where it == begin().
8924
8925 2003-03-26  Angus Leeming  <leeming@lyx.org>
8926
8927         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8928         the thesaurus dialog.
8929
8930 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8931
8932         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8933
8934         * RowList.[Ch]: new files
8935
8936         * ParagraphList.C (erase): handle the case where it == begin
8937         correctly.
8938
8939 2003-03-25  John Levon  <levon@movementarian.org>
8940
8941         * Makefile.am:
8942         * aspell_local.h:
8943         * aspell.C: add new aspell support
8944
8945         * lyxrc.h:
8946         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8947         have it accessible.
8948
8949 2003-03-25  Angus Leeming  <leeming@lyx.org>
8950
8951         * lfuns.h:
8952         * LyXAction.C (init): new LFUN_INSET_INSERT.
8953
8954         * BufferView_pimpl.C (dispatch): split out part of the
8955         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8956
8957         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8958         LFUN_INSET_APPLY.
8959
8960 2003-03-25  Angus Leeming  <leeming@lyx.org>
8961
8962         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8963
8964 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8965
8966         * text2.C:
8967         * text3.C: remove useless row->height(0)
8968
8969 2003-03-25  John Levon  <levon@movementarian.org>
8970
8971         * lyxtext.h:
8972         * text2.C:
8973         * text3.C: rename the refreshing stuff to better names
8974
8975 2003-03-24  John Levon  <levon@movementarian.org>
8976
8977         * BufferView_pimpl.h:
8978         * BufferView_pimpl.C: update layout choice on a mouse
8979         press/release
8980
8981 2003-03-23  John Levon  <levon@movementarian.org>
8982
8983         * Makefile.am: fix commandtags.h reference
8984
8985 2003-03-22  John Levon  <levon@movementarian.org>
8986
8987         * BufferView_pimpl.C:
8988         * lyxtext.h:
8989         * rowpainter.C:
8990         * rowpainter.h:
8991         * text.C:
8992         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8993
8994 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8995
8996         * lyxtext.h:
8997         * text.C: take the rtl methods out of line
8998
8999 2003-03-21 André Pönitz <poenitz@gmx.net>
9000
9001         * metricsinfo.[Ch]: new files containing structures to be passed around
9002         during the two-phase-drawing...
9003
9004 2003-03-21 André Pönitz <poenitz@gmx.net>
9005
9006         * lyxtextclass.C: read 'environment' tag.
9007
9008 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9009
9010         * text2.C (removeRow): fix bug 964
9011
9012 2003-03-20  John Levon  <levon@movementarian.org>
9013
9014         * rowpainter.C:
9015         * text.C:
9016         * text2.C: paint cleanups. Inset::update() dropped font
9017         parameter
9018
9019 2003-03-19  John Levon  <levon@movementarian.org>
9020
9021         * lyxfunc.C: only fitcursor/markDirty if available()
9022
9023 2003-03-19  John Levon  <levon@movementarian.org>
9024
9025         * commandtags.h: rename to ...
9026
9027         * lfuns.h: ... this, and renumber / cleanup
9028
9029 2003-03-19  John Levon  <levon@movementarian.org>
9030
9031         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9032         fit the cursor after an lfun
9033
9034         * BufferView.h:
9035         * BufferView.C:
9036         * BufferView_pimpl.h:
9037         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9038
9039         * LyXAction.C: layout-character should have ReadOnly
9040
9041         * ParagraphParameters.C:
9042         * buffer.C:
9043         * bufferview_funcs.C:
9044         * lyx_cb.C:
9045         * lyxfind.C:
9046         * lyxtext.h:
9047         * text.C:
9048         * text2.C:
9049         * text3.C:
9050         * undo_funcs.C: changes from above
9051
9052 2003-03-18  John Levon  <levon@movementarian.org>
9053
9054         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9055         remove it from update()
9056
9057         * lyxfunc.C: update layout choice after an lfun
9058
9059         * text3.C: remove extra updateLayoutChoice()s
9060
9061 2003-03-18  John Levon  <levon@movementarian.org>
9062
9063         * text.C: top_y change means full repaint, fix
9064         a drawing bug with cursor movement
9065
9066 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9067
9068         * lyxtext.h:
9069         * text.C:
9070         * text2.C: anchor row on setCursor
9071
9072 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9073
9074         * lyxtext.h: remove almost all mutable keywords
9075         * text.C:
9076         * text2.C:
9077         * text3.C: remove const keywords accordingly
9078
9079 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9080
9081         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9082         anon namespace
9083         (TeXEnvironment): ditto
9084         (TeXOnePar): ditto
9085
9086 2003-03-17  John Levon  <levon@movementarian.org>
9087
9088         * text.C (rowBreakPoint): remove attempt to fix displayed
9089         math insets inside a manual label
9090
9091 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9092
9093         * lyxtext.h: remove BufferView* as first arg from almost all class
9094         functions.
9095         * other files: adjust.
9096
9097 2003-03-17  John Levon  <levon@movementarian.org>
9098
9099         * lyxtext.h:
9100         * undo_funcs.C:
9101         * text2.C: more paint cleanups
9102
9103         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9104
9105         * rowpainter.h:
9106         * rowpainter.C: remove "smart" background painting code
9107
9108 2003-03-16  John Levon  <levon@movementarian.org>
9109
9110         * lyxtext.h:
9111         * text.C:
9112         * text2.C:
9113         * text3.C: add helper functions for setting refresh_row/y
9114
9115 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9116
9117         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9118         newline inset which *can* get inserted in the pass_thru layouts.
9119         This is primarily for literate documents.
9120
9121 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9122
9123         * buffer.C: increment LYX_FORMAT to 223
9124
9125 2003-03-14 André Pönitz <poenitz@gmx.net>
9126
9127         * textclass.h: prepare for environment handling, ws changes
9128         * lyxlayout.C: read latexheader and latexfooter tags
9129
9130 2003-03-14  John Levon  <levon@movementarian.org>
9131
9132         * text2.C: rewrite ::status() a bit
9133
9134 2003-03-13  John Levon  <levon@movementarian.org>
9135
9136         * lyxtext.h: add some docs
9137
9138 2003-03-13  John Levon  <levon@movementarian.org>
9139
9140         * lyxtext.h:
9141         * text.C:
9142         * text2.C:
9143         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9144
9145 2003-03-13  John Levon  <levon@movementarian.org>
9146
9147         * text3.C: fix appendix redrawing
9148
9149 2003-03-13  John Levon  <levon@movementarian.org>
9150
9151         * text.C (setHeightOfRow):
9152         * rowpainter.h:
9153         * rowpainter.C: make appendix mark have the text
9154           "Appendix" so the user knows what it is
9155
9156         * LColor.h:
9157         * LColor.C: s/appendixline/appendix/ from above
9158
9159 2003-03-13  John Levon  <levon@movementarian.org>
9160
9161         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9162
9163         * text.C: fix a getChar(pos) bug properly
9164
9165 2003-03-13  Angus Leeming  <leeming@lyx.org>
9166
9167         * commandtags.h:
9168         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9169         Probably only temporary. Let's see how things pan out.
9170
9171         * BufferView.C (unlockInset):
9172         * BufferView_pimpl.C (fitCursor):
9173         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9174
9175         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9176         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9177
9178         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9179         new functions that convert ParagraphParameters to and from a string.
9180
9181         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9182         BufferView::Pimpl's dispatch.
9183         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9184
9185 2003-03-13 André Pönitz <poenitz@gmx.net>
9186
9187         * lyxfunc.C:
9188         * text3.C:
9189         * factory.C: make it aware of InsetEnv
9190
9191 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9192
9193         * text2.C (setCursor): never ask for one past last
9194         (setCursor): add some debugging messages.
9195
9196         * text.C (singleWidth): never ask for one past last
9197         (singleWidth): ditto
9198         (leftMargin): ditto
9199         (rightMargin): ditto
9200         (rowBreakPoint): ditto
9201         (setHeightOfRow): ditto
9202         (prepareToPrint): ditto
9203
9204         * rowpainter.C (paintBackground): never ask for one past last
9205         (paintText): never ask for one past last
9206
9207         * paragraph_pimpl.C (getChar): make the assert stricter, never
9208         allow the one past last pos to be taken
9209
9210         * paragraph.C (getChar): ws changes only
9211
9212         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9213         (numberOfSeparators): ditto
9214         (numberOfHfills): ditto
9215
9216 2003-03-12  John Levon  <levon@movementarian.org>
9217
9218         * author.h:
9219         * author.C:
9220         * bufferparams.h:
9221         * bufferparams.C:
9222         * paragraph_funcs.C: fix per-buffer authorlists
9223
9224 2003-03-12  John Levon  <levon@movementarian.org>
9225
9226         * text.C: fix newline in right address
9227
9228 2003-03-12  Angus Leeming  <leeming@lyx.org>
9229
9230         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9231         duplicate those in LyXFunc::dispatch.
9232
9233         * commandtags.h:
9234         * LyXAction.C:
9235         * ToolbarDefaults.C:
9236         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9237         Add LFUN_FONTFREE_UPDATE.
9238
9239         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9240         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9241
9242         * bufferview_func.[Ch]: several new functions to facilliate
9243         transfer of data to and from the character dialog.
9244
9245 2003-03-12  John Levon  <levon@movementarian.org>
9246
9247         * buffer.C:
9248         * paragraph.h:
9249         * paragraph.C:
9250         * paragraph_funcs.C:
9251         * paragraph_pimpl.C:
9252         * sgml.C:
9253         * tabular.C:
9254         * text.C:
9255         * text3.C: remove META_NEWLINE in favour of an inset
9256
9257         * rowpainter.h:
9258         * rowpainter.C: remove paintNewline (done by inset)
9259
9260 2003-03-12  John Levon  <levon@movementarian.org>
9261
9262         * paragraph_pimpl.C: complain about bad getChar()s
9263         for a while at least
9264
9265 2003-03-12  John Levon  <levon@movementarian.org>
9266
9267         * buffer.h:
9268         * buffer.C: move paragraph read into a separate function,
9269         a little renaming to reflect that.
9270
9271         * bufferparams.h:
9272         * bufferparams.C: remove the author_ids map, not necessary now
9273
9274         * factory.h:
9275         * factory.C: moved Buffer::readInset to here
9276
9277         * paragraph_funcs.h:
9278         * paragraph_funcs.C: readParagraph free function moved from
9279         buffer.C
9280
9281         * tabular.C: name change
9282
9283 2003-03-12  John Levon  <levon@movementarian.org>
9284
9285         * buffer.C:
9286         * ParagraphParameters.C: move par params input to
9287         a read() method
9288
9289         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9290         behave like a normal read from the stream wrt reading
9291         a line vs. a \\token
9292
9293 2003-03-12  John Levon  <levon@movementarian.org>
9294
9295         * paragraph.C:
9296         * ParagraphParameters.h:
9297         * ParagraphParameters.C: move output code to a
9298         ::write() method
9299
9300 2003-03-12  John Levon  <levon@movementarian.org>
9301
9302         * BufferView.C (insertLyXFile):
9303         * buffer.h:
9304         * buffer.C:
9305         * tabular.C: use a parlist iterator for creating the
9306           document.
9307
9308 2003-03-12  John Levon  <levon@movementarian.org>
9309
9310         * buffer.C: make current_change static local not
9311           static file-scope
9312
9313 2003-03-12  John Levon  <levon@movementarian.org>
9314
9315         * buffer.C: fix insertStringAsLines for change tracking
9316
9317 2003-03-12  John Levon  <levon@movementarian.org>
9318
9319         * BufferView.C:
9320         * tabular.C:
9321         * buffer.h:
9322         * buffer.C:
9323         * bufferparams.h:
9324         * bufferparams.C: move author list into params. Rename some
9325           functions. Move the header reading into a separate token
9326           loop. Move the header token reading into BufferParams.
9327
9328 2003-03-12  John Levon  <levon@movementarian.org>
9329
9330         * changes.C: put debug inside lyxerr.debugging() checks
9331
9332 2003-03-11 André Pönitz <poenitz@gmx.net>
9333
9334         * factory.C: make it aware of InsetHFill
9335
9336 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9337
9338         * buffer.C (latexParagraphs): move function from here...
9339         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9340         args.
9341
9342 2003-03-10  Angus Leeming  <leeming@lyx.org>
9343
9344         * LyXAction.C (init): fix bug in poplating array with multiple entries
9345         with the same LFUN (spotted by JMarc).
9346
9347 2003-03-10  John Levon  <levon@movementarian.org>
9348
9349         * text.C:
9350         * text2.C: move getColumnNearX() near its
9351         only call site
9352
9353 2003-03-10  John Levon  <levon@movementarian.org>
9354
9355         * text.C: fix break before a minipage
9356
9357 2003-03-10  John Levon  <levon@movementarian.org>
9358
9359         * text.C: fix the last commit
9360
9361 2003-03-09  John Levon  <levon@movementarian.org>
9362
9363         * lyxtext.h:
9364         * text.C:
9365         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9366         bug 365 (don't break before insets unless needed). Don't
9367         return a value > last under any circumstances.
9368
9369 2003-03-09  Angus Leeming  <leeming@lyx.org>
9370
9371         * BufferView_pimpl.C (trackChanges, dispatch): call
9372         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9373
9374 2003-03-09  Angus Leeming  <leeming@lyx.org>
9375
9376         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9377         than Dialogs::showAboutlyx().
9378
9379 2003-03-09  Angus Leeming  <leeming@lyx.org>
9380
9381         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9382         than Dialogs::showTabularCreate().
9383
9384 2003-03-09  John Levon  <levon@movementarian.org>
9385
9386         * lyxtext.h:
9387         * text.C:
9388         * text2.C: 3rd arg to nextBreakPoint was always the same.
9389           Use references.
9390
9391 2003-03-08  John Levon  <levon@movementarian.org>
9392
9393         * lyxrow.C:
9394         * paragraph.C:
9395         * paragraph.h:
9396         * rowpainter.C:
9397         * text.C:
9398         * text2.C: Remove the "main" bit from the "main body"
9399           notion.
9400
9401 2003-03-08  John Levon  <levon@movementarian.org>
9402
9403         * text.C (leftMargin): The left margin of an empty
9404         manual label paragraph should not include the label width
9405         string length.
9406
9407         * text.C (prepareToPrint): don't attempt to measure hfills
9408         for empty manual label paragraphs - the answer should be 0
9409
9410 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9411
9412         * CutAndPaste.C: remove commented code and reindent.
9413
9414 2003-03-08  John Levon  <levon@movementarian.org>
9415
9416         * lyxfunc.h:
9417         * lyxfunc.C: move reloadBuffer()
9418
9419         * BufferView.h:
9420         * BufferView.C: to here
9421
9422         * lyxvc.C: add comment
9423
9424         * vc-backend.h:
9425         * vc-backend.C: call bv->reload() to avoid
9426           getStatus() check on MENURELOAD
9427
9428 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9429
9430         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9431         to an old format .dep file.
9432
9433 2003-03-07  Angus Leeming  <leeming@lyx.org>
9434
9435         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9436         when the LFUN_MOUSE_RELEASE should have been handled by
9437         inset->localDispatch.
9438
9439 2003-03-07  Angus Leeming  <leeming@lyx.org>
9440
9441         * BufferView_pimpl.C (dispatch):
9442         * LyXAction.C (init):
9443         * ToolbarDefaults.C (init):
9444         * commandtags.h:
9445         * lyxfunc.C (getStatus):
9446         remove LFUN_INSET_GRAPHICS.
9447
9448         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9449
9450 2003-03-07  Angus Leeming  <leeming@lyx.org>
9451
9452         * commandtags.h:
9453         * LyXAction.C (init):
9454         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9455
9456         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9457
9458         * commandtags.h:
9459         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9460
9461         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9462         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9463
9464 2003-03-07  Angus Leeming  <leeming@lyx.org>
9465
9466         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9467         remove "ert".
9468
9469 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9470
9471         * ParagraphList.C (front): new function
9472         (back): implement
9473
9474 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9475
9476         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9477         and top_row_offset_. removed var first_y.
9478         * text.C (top_y):
9479         * text2.C (LyXText, removeRow):
9480         * text3.C:
9481         * BufferView_pimpl.C:
9482         use these methods instead of using first_y
9483
9484 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9485
9486         * text2.C (pasteSelection): adjust for checkPastePossible
9487
9488         * CutAndPaste.C: remove Paragraph * buf and replace with
9489         ParagraphList paragraphs.
9490         (DeleteBuffer): delete
9491         (cutSelection): change the tc type to textclass_type
9492         (copySelection): change the tc type to textclass_type
9493         (copySelection): adjust for ParagraphList
9494         (pasteSelection): change the tc type to textclass_type
9495         (pasteSelection): adjust for Paragraphlist
9496         (nrOfParagraphs): simplify for ParagraphList
9497         (checkPastePossible): simplify for ParagraphList
9498         (checkPastePossible): remove unused arg
9499
9500         * ParagraphList.C (insert): handle the case where there are no
9501         paragraphs yet.
9502
9503         * CutAndPaste.h: make CutAndPaste a namespace.
9504
9505         * text3.C (dispatch): adjust
9506
9507         * text.C (breakParagraph): add a ParagraphList as arg
9508
9509         * paragraph_funcs.C (breakParagraph): change to take a
9510         BufferParams and a ParagraphList as args.
9511         (breakParagraphConservative): ditto
9512         (mergeParagraph): ditto
9513         (TeXDeeper): add a ParagraphList arg
9514         (TeXEnvironment): ditto
9515         (TeXOnePar): ditto
9516
9517         * buffer.C (readLyXformat2): adjust
9518         (insertStringAsLines): adjust
9519         (latexParagraphs): adjust
9520
9521         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9522         (cutSelection): adjust
9523         (pasteSelection): adjust
9524
9525         * BufferView_pimpl.C (insertInset): adjust
9526
9527 2003-03-05  Angus Leeming  <leeming@lyx.org>
9528
9529         * commandtags.h:
9530         * LyXAction.C (init):
9531         * BufferView_pimpl.C (dispatch):
9532         * lyxfunc.C (getStatus):
9533         remove LFUN_CHILD_INSERT.
9534
9535         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9536
9537 2003-03-05  Angus Leeming  <leeming@lyx.org>
9538
9539         * commandtags.h:
9540         * LyXAction.C (init):
9541         * src/factory.C (createInset):
9542         * lyxfunc.C (getStatus):
9543         * text3.C (dispatch):
9544         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9545
9546         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9547
9548 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9549
9550         * ParagraphList.C (insert): handle insert right before end()
9551         (erase): fix cases where it can be first or last paragraph.
9552
9553 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9554
9555         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9556         Paragraph::next and Paragraph::previous
9557         (TeXOnePar): ditto
9558
9559         * text.C (breakParagraph): adjust
9560
9561         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9562         BufferParams& as arg.
9563         (breakParagraph): use ParagraphList::insert
9564         (breakParagraphConservative): take a Buffer* instead of a
9565         BufferParams& as arg.
9566         (breakParagraphConservative): use ParagraphList::insert.
9567
9568         * buffer.C (insertStringAsLines): un-const it
9569         (insertStringAsLines): adjust
9570
9571         * ParagraphList.C (insert): new function
9572
9573         * CutAndPaste.C (pasteSelection): adjust
9574
9575         * text.C (backspace): adjust
9576
9577         * tabular.C (SetMultiColumn): adjust
9578
9579         * CutAndPaste.C (cutSelection): adjust
9580         (pasteSelection): adjust
9581
9582         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9583         Buffer const * as arg
9584
9585         * ParagraphList.C (erase): new function
9586         * paragraph_funcs.C (mergeParagraph): use it
9587         (mergeParagraph): make it take a Buffer* instead of a
9588         BufferParams* as arg
9589
9590         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9591         as arg
9592         (breakParagraphConservative): ditto
9593
9594         * paragraph.h: remove the breakParagraph friend
9595
9596         * paragraph.C (eraseIntern): new function
9597         (setChange): new function
9598
9599         * paragraph_funcs.C (mergeParagraph): make it take a
9600         ParagraphList::iterator instead of a Paragraph *, adjust
9601         accordingly.
9602
9603         * paragraph.h: move an #endif so that the change tracking stuff
9604         also works in the NO_NEXT case.
9605
9606 2003-03-04  Angus Leeming  <leeming@lyx.org>
9607
9608         * commandtags.h:
9609         * LyXAction.C: new LFUN_INSET_MODIFY.
9610
9611         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9612         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9613
9614 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9615
9616         * several files: ws changes only
9617
9618         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9619         (TeXEnvironment): ditto
9620         (TeXDeeper): ditto
9621
9622         * buffer.C (makeLaTeXFile): adjust
9623         (latexParagraphs): make it take ParagraphList::iterator as args
9624
9625 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9626
9627         * buffer.C (latexParagraphs): adjust
9628
9629         * paragraph.C (TeXOnePar): move function...
9630         (optArgInset): move function...
9631         (TeXEnvironment): move function...
9632         * paragraph_pimpl.C (TeXDeeper): move function...
9633         * paragraph_funcs.C: ...here
9634
9635         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9636
9637 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9638
9639         * buffer.C (readInset): remove compability code for old Figure and
9640         InsetInfo insets
9641
9642 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9643
9644         * buffer.C: ws changes
9645         (readInset):
9646
9647         * BufferView_pimpl.C: ditto
9648         * author.C: ditto
9649         * buffer.h: ditto
9650         * bufferlist.h: ditto
9651         * changes.h: ditto
9652         * lyxfunc.C: ditto
9653
9654 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9655
9656         * converter.[Ch]: split into itself +
9657         * graph.[Ch]
9658         * format.[Ch]
9659         * Makefile.am: += graph.[Ch] + format.[Ch]
9660         * MenuBackend.C
9661         * buffer.C
9662         * exporter.C
9663         * importer.C
9664         * lyx_main.C
9665         * lyxfunc.C
9666         * lyxrc.C: added #include "format.h"
9667
9668 2003-02-27  Angus Leeming  <leeming@lyx.org>
9669
9670         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9671           a label.
9672
9673         * factory.C (createInset): add "label" to the factory.
9674
9675         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9676           string and do no more.
9677
9678 2003-02-27  Angus Leeming  <leeming@lyx.org>
9679
9680         * commandtags.h:
9681         * LyXAction.C (init):
9682         * factory.C (createInset):
9683         * BufferView_pimpl.C (dispatch):
9684           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9685
9686         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9687
9688         * lyxfunc.C (dispatch):
9689         * text3.C (dispatch): pass name to params2string.
9690
9691 2003-02-26  Angus Leeming  <leeming@lyx.org>
9692
9693         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9694           blocks together.
9695           Rearrange the ~includes. Strip out the unnecessary ones.
9696
9697         * factory.C (createInset): reformat.
9698           create new insets for the various LFUN_XYZ_APPLY lfuns.
9699
9700 2003-02-26  John Levon  <levon@movementarian.org>
9701
9702         * lyxrow.h:
9703         * lyxrow.C: add isParStart,isParEnd helpers
9704
9705         * paragraph.h: make isInserted/DeletedText take refs
9706
9707         * paragraph_funcs.h:
9708         * paragraph_funcs.C: remove #if 0'd code
9709
9710         * lyxtext.h:
9711         * text3.C:
9712         * text2.C:
9713         * text.C: use lyxrow helpers above.
9714           Move draw and paint routines to RowPainter.
9715           Make several methods use refs not pointers.
9716           Make backgroundColor() const.
9717           Add markChangeInDraw(), isInInset().
9718           Merge changeRegionCase into changeCase.
9719           Make workWidth() shouldn't-happen code into an Assert.
9720
9721         * rowpainter.h:
9722         * rowpainter.C: new class for painting a row.
9723
9724         * vspace.h:
9725         * vspace.C: make inPixels take a ref
9726
9727 2003-02-26  Angus Leeming  <leeming@lyx.org>
9728
9729         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9730         LFUN_REF_APPLY.
9731
9732 2003-02-25  John Levon  <levon@movementarian.org>
9733
9734         * ispell.C: give the forked command a more accurate name
9735
9736 2003-02-22  John Levon  <levon@movementarian.org>
9737
9738         * toc.h:
9739         * toc.C: make TocItem store an id not a Paragraph *
9740           (bug #913)
9741
9742 2003-02-21  Angus Leeming  <leeming@lyx.org>
9743
9744         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9745           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9746           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9747           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9748           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9749           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9750
9751         * BufferView_pimpl.C (dispatch):
9752         * LyXAction.C (init):
9753         * factory.C (createInset):
9754         * lyxfunc.C (getStatus, dispatch):
9755         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9756
9757 2003-02-21  Angus Leeming  <leeming@lyx.org>
9758
9759         * BufferView_pimpl.C (MenuInsertLyXFile):
9760         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9761         * lyxfunc.C (menuNew, open, doImport):
9762           no longer pass a LyXView & to fileDlg.
9763
9764 2003-02-21  Angus Leeming  <leeming@lyx.org>
9765
9766         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9767         * LyXAction.C: change, BIBKEY to BIBITEM.
9768         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9769         Change InsetBibKey to InsetBibitem.
9770         Change BIBKEY_CODE to BIBITEM_CODE.
9771         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9772         * factory.C: replace insetbib.h with insetbibitem.h.
9773         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9774         * paragraph.C: replace insetbib.h with insetbibitem.h.
9775         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9776         Change bibkey() to bibitem().
9777         * text.C: remove insetbib.h.
9778         * text2.C: replace insetbib.h with insetbibitem.h.
9779         change bibkey() to bibitem().
9780         * text3.C: remove insetbib.h.
9781         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9782
9783 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9784
9785         * lyxrc.C (output): enclose user email in quotes (in case there are
9786         several words)
9787
9788 2003-02-18  John Levon  <levon@movementarian.org>
9789
9790         * buffer.h: add std::
9791
9792 2003-02-17  John Levon  <levon@movementarian.org>
9793
9794         * SpellBase.h:
9795         * ispell.h:
9796         * ispell.C:
9797         * pspell.h:
9798         * pspell.C: reworking. Especially in ispell, a large
9799           number of clean ups and bug fixes.
9800
9801         * lyxfunc.C: fix revert to behave sensibly
9802
9803 2003-02-17 André Pönitz <poenitz@gmx.net>
9804
9805         * LyXAction.C:
9806         * commandtags.h: new LFUN_INSERT_BIBKEY
9807
9808         * layout.h:
9809         * lyxlayout.C:
9810         * buffer.C:
9811         * factory.C:
9812         * text.C:
9813         * text2.C:
9814         * text3.C:
9815         * paragraph.[Ch]:
9816         * paragraph_func.C: remove special bibkey handling
9817
9818 2003-02-17  John Levon  <levon@movementarian.org>
9819
9820         * text.C (Delete): fix case where delete at the end of
9821           the very first paragraph would not merge the pars
9822
9823 2003-02-17  John Levon  <levon@movementarian.org>
9824
9825         * lyxrow.C: fix lastPrintablePos()
9826
9827 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9828
9829         * bufferparams.C (writeLaTeX): add a std:here
9830
9831         * buffer.C: and remove a using directive there
9832
9833 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9834
9835         * buffer.C (makeLaTeXFile): move the code that generates the
9836           preamble...
9837
9838         * bufferparams.C (writeLaTeX): ... in this new method
9839
9840         * LaTeXFeatures.C (getEncodingSet): make const
9841           (getLanguages): make const
9842
9843         * MenuBackend.C (binding): returns the binding associated to this
9844           action
9845           (add): sets the status of each item by calling getStatus. Adds
9846           some intelligence.
9847           (read): add support for OptSubMenu
9848           (expand): remove extra separator at the end of expanded menu
9849
9850 2003-02-15  John Levon  <levon@movementarian.org>
9851
9852         * BufferView.C:
9853         * BufferView_pimpl.C:
9854         * bufferlist.h:
9855         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9856           inset code that had no actual effect. Remove unneeded status
9857           code.
9858
9859 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9860
9861         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9862           in preamble
9863
9864 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9865
9866         * text.C (drawLengthMarker): also draw an arrow marker for
9867           symbolic lengths (medskip...)
9868
9869 2003-02-14  John Levon  <levon@movementarian.org>
9870
9871         * tabular.h:
9872         * tabular.C: better method names
9873
9874 2003-02-14  John Levon  <levon@movementarian.org>
9875
9876         * BufferView_pimpl.C:
9877         * bufferlist.C:
9878         * buffer.C:
9879         * converter.C:
9880         * lyx_cb.C:
9881         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9882           it's a more accurate name. Remove some pointless uses.
9883
9884 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9885
9886         * text2.C (LyXText): change order of initilizers to shut off
9887           warnings
9888
9889 2003-02-14  John Levon  <levon@movementarian.org>
9890
9891         * buffer.C: use ParIterator for getParFromID()
9892
9893         * paragraph.h:
9894         * paragraph.C:
9895         * paragraph_pimpl.h:
9896         * paragraph_pimpl.C: remove unused getParFromID()
9897
9898 2003-02-14  John Levon  <levon@movementarian.org>
9899
9900         * buffer.C: remove some very old #if 0'd parse code
9901
9902 2003-02-13  John Levon  <levon@movementarian.org>
9903
9904         * text.h:
9905         * text.C:
9906         * text2.C: move hfillExpansion(), numberOfSeparators(),
9907           rowLast(), rowLastPrintable(), numberofHfills(),
9908           numberOfLabelHfills() ...
9909
9910         * lyxrow.h:
9911         * lyxrow.C: ... to member functions here.
9912
9913         * paragraph.h:
9914         * paragraph.C:
9915         * lyxtext.h:
9916         * text.C: remove LyXText::beginningOfMainBody(), and call
9917           p->beginningOfMainBody() directly. Move the check for
9918           LABEL_MANUAL into the latter.
9919
9920         * text.h:
9921         * text.C:
9922         * text2.C:
9923         * vspace.C:
9924         * BufferView.h:
9925         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9926
9927         * text.h:
9928         * text.C:
9929         * text2.C:
9930         * text3.C:
9931         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9932           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9933
9934 2003-02-13  John Levon  <levon@movementarian.org>
9935
9936         * CutAndPaste.C: remove debug
9937
9938 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9939
9940         * paragraph.C (asString): remove two unused variables
9941
9942         * lyxtextclass.C (readTitleType):
9943           (Read):
9944           (LyXTextClass): handle new members titletype_ and titlename_
9945
9946         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9947
9948 2003-02-09  John Levon  <levon@movementarian.org>
9949
9950         * buffer.h:
9951         * buffer.C: replace hand-coded list with a map for the dep clean
9952
9953 2003-02-08  John Levon  <levon@movementarian.org>
9954
9955         * LaTeX.C: consolidate code into showRunMessage() helper
9956
9957 2003-02-08  John Levon  <levon@movementarian.org>
9958
9959         * lyxfind.C:
9960         * lyxtext.h:
9961         * text2.C:
9962         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9963           and pass the size in explicitly
9964
9965         * BufferView_pimpl.h:
9966         * BufferView_pimpl.C:
9967         * BufferView.h:
9968         * BufferView.C: add getCurrentChange()
9969
9970         * BufferView_pimpl.h:
9971         * BufferView_pimpl.C: handle change lfuns
9972
9973         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9974           for changes. Mark pasted paragraphs as new.
9975
9976         * support/lyxtime.h:
9977         * support/lyxtime.C:
9978         * DepTable.C: abstract time_t as lyx::time_type
9979
9980         * LColor.h:
9981         * LColor.C: add colours for new text, deleted text, changebars
9982
9983         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9984           package use "usenames" option.
9985
9986         * commandtags.h:
9987         * lyxfunc.C:
9988         * LyXAction.C: add change lfuns
9989
9990         * Makefile.am:
9991         * author.h:
9992         * author.C: author handling
9993
9994         * buffer.h:
9995         * buffer.C: add a per-buffer author list, with first entry as
9996           current author. Handle new .lyx tokens for change tracking. Output
9997           author list to .lyx file. Output dvipost stuff to .tex preamble.
9998           Bump lyx format to 222.
9999
10000         * bufferlist.h:
10001         * bufferlist.C: add setCurrentAuthor() to reset current author details
10002           in all buffers.
10003
10004         * bufferparams.h:
10005         * bufferparams.C: add param for tracking
10006
10007         * bufferview_funcs.C: output change info in minibuffer
10008
10009         * Makefile.am:
10010         * changes.h:
10011         * changes.C: add change-tracking structure
10012
10013         * debug.h:
10014         * debug.C: add CHANGES debug flag
10015
10016         * lyxfind.h:
10017         * lyxfind.C: add code for finding the next change piece
10018
10019         * lyxrc.h:
10020         * lyxrc.C: add user_name and user_email
10021
10022         * lyxrow.h:
10023         * lyxrow.C: add a metric for the top of the text line
10024
10025         * lyxtext.h:
10026         * text.C: implement accept/rejectChange()
10027
10028         * lyxtext.h:
10029         * text.C: paint changebars. Paint new/deleted text in the chosen
10030         colours. Strike through deleted text.
10031
10032         * paragraph.h:
10033         * paragraph.C:
10034         * paragraph_pimpl.h:
10035         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10036           in the current change to the insert functions. Rework erase to
10037           mark text as deleted, adding an eraseIntern() and a range-based
10038           erase(). Implement per-paragraph change lookup and
10039           accept/reject.
10040
10041         * paragraph_funcs.C: Fixup paste for change tracking.
10042
10043         * tabular.C: mark added row/columns as new.
10044
10045         * text.C: fix rowLast() to never return -1. Don't allow
10046           spellchecking of deleted text. Track transpose changes. Don't
10047           allow paragraph break or merge where appropriate.
10048
10049         * text2.C: leave cursor at end of selection after a cut.
10050
10051 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10052
10053         * text.C (getLengthMarkerHeight):
10054         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10055         visible on screen too.
10056
10057 2003-02-07  John Levon  <levon@movementarian.org>
10058
10059         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10060
10061 2003-02-05  Angus Leeming  <leeming@lyx.org>
10062
10063         * lyxserver.C (read_ready): revert my patch of 11 September last year
10064         as it sends PC cpu through the roof. Presumably this means that
10065         the lyxserver will no longer run on an Alpha...
10066
10067 2003-01-30  Angus Leeming  <leeming@lyx.org>
10068
10069         * factory.C (createInset): create an InsetCommandParam of type "index"
10070         and use it to 'do the right thing'.
10071
10072         * text2.C (getStringToIndex): ensure that cursor position is always
10073         reset to the reset_cursor position.
10074
10075 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10076
10077         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10078         disabled.
10079
10080 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10081
10082         * bufferview.C:
10083         * lyxcb.C:
10084         * lyxfunc.C: Output messages with identical spelling, punctuation,
10085         and spaces
10086
10087 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10088
10089         * MenuBackend.C (expandFormats): List only viewable export formats
10090         in "View" menu
10091
10092         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10093         message
10094
10095         * lyxfunc.C (getStatus): Make sure that formats other than
10096         "fax" can also be disabled
10097
10098 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10099
10100         * text3.C (dispatch): put the lfuns that insert insets in 3
10101         groups, and call doInsertInset with appropriate arguments.
10102         (doInsertInset): new function, that creates an inset and inserts
10103         it according to some boolean parameters.
10104
10105 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10106
10107         * buffer.C (readFile): remember to pass on 'par' when calling
10108         readFile recursively.
10109
10110 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10111
10112         * MenuBackend.C (expandFormats): add "..." to import formats.
10113
10114 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10115
10116         * paragraph.C (asString): Remove XForms RTL hacks.
10117
10118 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10119         * buffer.C: fix typo
10120
10121 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10122
10123         * Makefile.am (LIBS): delete var
10124         (lyx_LDADD): add @LIBS@ here instead.
10125
10126 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10127
10128         * Clarify the meaning of "wheel mouse jump"
10129
10130 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10131
10132         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10133         tabular in a float
10134
10135 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10136
10137         * importer.C (Loaders): do not preallocate 3 elements in the
10138         vector, since one ends up with 6 elements otherwise
10139
10140 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10141
10142         * DepTable.C (write): write the file name as last element of the
10143         .dep file (because it may contain spaces)
10144         (read): read info in the right order
10145
10146 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10147
10148         * paragraph_pimpl.C (simpleTeXBlanks):
10149         (simpleTeXSpecialChars):
10150         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10151
10152         * tabular.C (latex): add some missing case statements. Reindent.
10153
10154         * MenuBackend.C (expandToc): remove unused variable.
10155
10156 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10157
10158         * LColor.C:
10159         * LaTeX.C:
10160         * LyXAction.C:
10161         * MenuBackend.C:
10162         * buffer.C:
10163         * exporter.C:
10164         * lyxfunc.C:
10165         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10166         and the like.
10167
10168 2003-01-05  John Levon  <levon@movementarian.org>
10169
10170         * BufferView.h:
10171         * BufferView.C: add getEncoding()
10172
10173         * kbsequence.h:
10174         * kbsequence.C: do not store last keypress
10175
10176         * lyxfunc.h:
10177         * lyxfunc.C: store last keypress here instead. Pass encoding
10178           to getISOEncoded()
10179
10180 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10181
10182         * lyx_main.C (init): remove annoying error message when following
10183         symbolic links (bug #780)
10184
10185 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10186
10187         * text.C (insertChar):
10188         * lyxrc.C (getDescription): remove extra spaces
10189
10190 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10191
10192         * lyxrc.C (getDescription): remove extra spaces
10193
10194 2002-12-20  John Levon  <levon@movementarian.org>
10195
10196         * text3.C: hack fix for page up/down across tall rows
10197
10198 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10199
10200         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10201         not been invoked
10202
10203 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10204
10205         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10206         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10207         thesaurus is not compiled in
10208
10209 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10210
10211         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10212
10213 2002-12-16  Angus Leeming  <leeming@lyx.org>
10214
10215         * lyxrc.[Ch]:
10216         * lyx_main.C (init): remove override_x_deadkeys stuff.
10217
10218 2002-12-12  John Levon  <levon@movementarian.org>
10219
10220         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10221           insert. Only remove shift modifier under strict
10222           circumstances.
10223
10224 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10225
10226         * MenuBackend.C (expandToc): fix crash.
10227
10228 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10229
10230         * MenuBackend.C (expandToc): gettext on float names.
10231
10232 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10233
10234         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10235         implement bool empty() [bug 490]
10236
10237 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10238
10239         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10240
10241 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10242
10243         * several files: ws changes
10244
10245 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10246
10247         * text2.C (setCounter): clean up a bit, use boost.format.
10248         (updateCounters): initialize par upon declaration.
10249
10250         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10251         if the layout exists. We do not just store the layout any more.
10252         (SwitchLayoutsBetweenClasses): use boost.format
10253
10254 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10255
10256         * converter.C (convert): if from and to files are the same, use a
10257         temporary files as intermediary
10258
10259 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10260
10261         * commandtags.h:
10262         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10263
10264 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10265
10266         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10267
10268 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10269
10270         * tabular.C (asciiPrintCell): use string(size, char) instead of
10271         explicit loop.
10272
10273         * sgml.C (openTag): fix order of arguments to string constructor
10274         (closeTag): ditto
10275
10276         * lyxfunc.C (dispatch): use boost.format
10277
10278         * lots of files: change "c" -> 'c'
10279
10280 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10281
10282         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10283
10284 2002-11-25  Angus Leeming  <leeming@lyx.org>
10285
10286         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10287
10288         * lyx_main.C (init): compile fix.
10289
10290 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10291
10292         * lyx_cb.C (start): boost.formatify
10293         do not include <iostream>
10294
10295         * lengthcommon.C: ws only
10296
10297         * boost-inst.C,BoostFormat.h: add more explict instantations
10298
10299 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10300
10301         * lots of files: handle USE_BOOST_FORMAT
10302
10303 2002-11-21  John Levon  <levon@movementarian.org>
10304
10305         * pspell.C: fix compile
10306
10307 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10308
10309         * lyxfunc.C (dispatch): use boost::format
10310         (open): ditto
10311         (doImport): ditto
10312
10313         * lyxfont.C (stateText): use boost::format
10314
10315         * lyx_main.C (LyX): use boost::format
10316         (init): ditto
10317         (queryUserLyXDir): ditto
10318         (readRcFile): ditto
10319         (parse_dbg): ditto
10320         (typedef boost::function): use the recommened syntax.
10321
10322         * importer.C (Import): use boost::format
10323
10324         * debug.C (showLevel): use boost::format
10325
10326         * converter.C (view): use boost::format
10327         (convert): ditto
10328         (move): ditto
10329         (scanLog): ditto
10330
10331         * bufferview_funcs.C (currentState): use boost::format
10332
10333         * bufferlist.C (emergencyWrite): use boost::format
10334
10335         * buffer.C (readLyXformat2): use boost::format
10336         (parseSingleLyXformat2Token): ditto
10337
10338         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10339
10340         * LaTeX.C (run): use boost::format
10341
10342         * Chktex.C (scanLogFile): use boost::format
10343
10344         * BufferView_pimpl.C (savePosition): use boost::format
10345         (restorePosition): ditto
10346         (MenuInsertLyXFile): ditto
10347
10348         * BoostFormat.h: help file for explicit instation.
10349
10350 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10351
10352         * tabular.C (latex): Support for block alignment in fixed width
10353         columns.
10354
10355 2002-11-17  John Levon  <levon@movementarian.org>
10356
10357         * BufferView_pimpl.C:
10358         * lyx_cb.C:
10359         * lyxfunc.C: split filedialog into open/save
10360
10361 2002-11-08  Juergen Vigna  <jug@sad.it>
10362
10363         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10364         by my last patch (hopefully).
10365
10366 2002-11-08  John Levon  <levon@movementarian.org>
10367
10368         * iterators.h:
10369         * iterators.C:
10370         * buffer.h:
10371         * buffer.C:
10372         * paragraph.h:
10373         * paragraph.C:
10374         * toc.h:
10375         * toc.C: ParConstIterator, and use it (from Lars)
10376
10377 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10378
10379         * lyxtextclass.[Ch]: revise and add doxygen comments
10380
10381 2002-11-07  John Levon  <levon@movementarian.org>
10382
10383         * text.C: fix progress value for spellchecker
10384
10385         * toc.C: fix navigate menu for insetwrap inside minipage
10386
10387         * paragraph_funcs.C: added FIXME for suspect code
10388
10389 2002-11-07  John Levon  <levon@movementarian.org>
10390
10391         * BufferView_pimpl.C: fix redrawing of insets
10392           on buffer switch
10393
10394 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10395
10396         * text2.C (updateCounters): fix bug 668
10397
10398 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10399
10400         * text3.C (dispatch): Do not make the buffer dirty when moving the
10401         cursor.
10402
10403 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10404
10405         * vc-backend.C: STRCONV
10406         (scanMaster): ditto
10407
10408         * text2.C (setCounter): STRCONV
10409
10410         * paragraph.C (asString): STRCONV
10411
10412         * lyxlength.C (asString): STRCONV
10413         (asLatexString): ditto
10414
10415         * lyxgluelength.C (asString): STRCONV
10416         (asLatexString): ditto
10417
10418         * lyxfunc.C (dispatch): STRCONV
10419         (open): ditto
10420
10421         * lyxfont.C (stateText): STRCONV
10422
10423         * importer.C (Import): STRCONV
10424
10425         * counters.C (labelItem): STRCONV
10426         (numberLabel): ditto
10427         (numberLabel): remove unused ostringstream o
10428
10429         * chset.C: STRCONV
10430         (loadFile): ditto
10431
10432         * bufferview_funcs.C (currentState): STRCONV
10433
10434         * buffer.C (readFile): STRCONV
10435         (asciiParagraph): ditto
10436         (makeLaTeXFile): ditto
10437
10438         * Spacing.C (writeEnvirBegin): STRCONV
10439
10440         * LaTeXFeatures.C (getLanguages): STRCONV
10441         (getPackages): ditto
10442         (getMacros): ditto
10443         (getBabelOptions): ditto
10444         (getTClassPreamble): ditto
10445         (getLyXSGMLEntities): ditto
10446         (getIncludedFiles): ditto
10447
10448         * LaTeX.C: STRCONV
10449         (run): ditto
10450         (scanAuxFile): ditto
10451         (deplog): ditto
10452
10453         * LString.h: add the STRCONV macros
10454
10455         * BufferView_pimpl.C (savePosition): STRCONV
10456         (restorePosition): ditto
10457         (MenuInsertLyXFile): ditto
10458
10459         * vc-backend.C (scanMaster): change from submatch[...] to
10460         submatch.str(...)
10461
10462         * funcrequest.C: include config.h
10463
10464         * factory.C: include config.h
10465
10466         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10467
10468         * box.C: include config.h
10469
10470         * LaTeX.C (scanAuxFile): change from submatch[...] to
10471         submatch.str(...)
10472         (deplog): ditto
10473
10474 2002-10-25  Angus Leeming  <leeming@lyx.org>
10475
10476         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10477
10478         * ispell.[Ch] (setError): new method.
10479         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10480         Use setError() insetead of goto END.
10481
10482         * lyx_cb.C (AutoSave): move out child process into new class
10483         AutoSaveBuffer.
10484
10485 2002-10-30  John Levon  <levon@movementarian.org>
10486
10487         * text3.C: make start appendix undoable
10488
10489 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10490
10491         * lyxlength.C (inPixels): Fix returned value.
10492
10493         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10494         environment.
10495
10496 2002-10-24  Angus Leeming  <leeming@lyx.org>
10497
10498         * lyxgluelength.h: no need to forward declare BufferParams
10499         or BufferView, so don't.
10500
10501 2002-10-21  John Levon  <levon@movementarian.org>
10502
10503         * BufferView.C: menuUndo ->undo, redo
10504
10505         * BufferView.h: document, remove dead, make some methods private
10506
10507         * paragraph_funcs.h:
10508         * paragraph_funcs.C:
10509         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10510
10511         * buffer.h:
10512         * buffer.C:
10513         * sgml.h:
10514         * sgml.C: move sgml open/close tag into sgml.C
10515
10516         * bufferview_funcs.h: unused prototype
10517
10518         * lyxfunc.h:
10519         * lyxfunc.C: remove unused
10520
10521         * lyxtext.h:
10522         * text.C: remove unused
10523
10524 2002-10-21  John Levon  <levon@movementarian.org>
10525
10526         * BufferView.h:
10527         * BufferView.C:
10528         * BufferView_pimpl.h:
10529         * BufferView_pimpl.C: fix mouse wheel handling based on
10530           patch from Darren Freeman
10531
10532 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10533
10534         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10535
10536 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10537
10538         * lyxlength.C (inPixels): Fix hanfling of negative length.
10539         Fix LyXLength::MU case.
10540
10541 2002-10-16  John Levon  <levon@movementarian.org>
10542
10543         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10544
10545 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10546
10547         * converter.C (view): add support for $$i (file name) and $$p
10548         (file path) for the viewer command. If $$i is not specified, then
10549         it is appended to the command (for compatibility with old syntax)
10550
10551 2002-10-14  Juergen Vigna  <jug@sad.it>
10552
10553         * undo_funcs.C (textHandleUndo): alter the order in which the
10554         new undopar is added to the LyXText, as we have to set first
10555         the right prev/next and then add it as otherwise the rebuild of
10556         LyXText is not correct. Also reset the cursor to the right paragraph,
10557         with this IMO we could remove the hack in "redoParagraphs()".
10558
10559 2002-10-09  Angus Leeming  <leeming@lyx.org>
10560
10561         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10562         to turn off an optimisation if a new inset is to be inserted.
10563
10564 2002-10-11 André Pönitz <poenitz@gmx.net>
10565
10566         * lyxtext.h: make some functions public to allow access
10567         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10568
10569 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10570
10571         * text3.C (dispatch): when changing layout, avoid an infinite loop
10572         [bug #652]
10573
10574 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10575
10576         * lyxrc.C (read): treat a viewer or converter command of "none" as
10577         if it were empty.
10578
10579         * MenuBackend.C (expandFormats): for an update, also allow the
10580         formats that are not viewable
10581
10582         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10583         script if it is newer than the lyxrc.defaults in user directory
10584
10585 2002-10-07 André Pönitz <poenitz@gmx.net>
10586
10587         * text.C: Vitaly Lipatov's small i18n fix
10588
10589 2002-09-25  Angus Leeming  <leeming@lyx.org>
10590
10591         * ispell.h: doxygen fix.
10592
10593 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10594
10595         * buffer.h (readFile): Add a new argument to the method, to allow
10596         reading of old-format templates.
10597
10598 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10599
10600         * toc.C (getTocList): Get TOC from InsetWrap.
10601
10602 2002-09-16  John Levon  <levon@movementarian.org>
10603
10604         * lyxfunc.C: check tabular for cut/copy too
10605
10606 2002-09-12  John Levon  <levon@movementarian.org>
10607
10608         * LyXAction.C: tidy
10609
10610         * factory.h:
10611         * factory.C: add header
10612
10613         * paragraph_funcs.h:
10614         * paragraph_funcs.C: cleanup
10615
10616 2002-09-11  John Levon  <levon@movementarian.org>
10617
10618         * PrinterParams.h: odd/even default to true
10619
10620 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10621
10622         * PrinterParams.h: update printer parameters for new xforms dialog
10623
10624 2002-09-11  Angus Leeming  <leeming@lyx.org>
10625
10626         * lyxserver.C (read_ready): re-write to make it more transparent
10627         and to make it work in coherent fashion under Tru64 Unix.
10628
10629 2002-09-11  André Pönitz <poenitz@gmx.net>
10630
10631         * commandtags.h:
10632         * LyXAction.C:
10633         * text3.C: implement LFUN_WORDSEL
10634
10635 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10636
10637         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10638         make floatlist_ a boost::shared_ptr<FloatList>
10639
10640         * lyxtextclass.C: include FloatList.h
10641         (LyXTextClass): initialize floatlist_
10642         (TextClassTags): add TC_NOFLOAT
10643         (Read): match "nofloat" to TC_NOFLOAT and use it.
10644         (readFloat): modify call to floatlist_
10645         (floats): ditto
10646         (floats): ditto
10647
10648         * FloatList.[Ch] (FloatList): remove commented out float
10649         initialization.
10650         (erase): new function
10651
10652 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10653
10654         * MenuBackend.C (expandToc): fix crash when there is no document
10655         open
10656
10657 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10658
10659         * many files: Add insetwrap.
10660
10661 2002-09-09  John Levon  <levon@movementarian.org>
10662
10663         * text2.C: remove confusing and awkward depth wraparound
10664
10665 2002-09-09  John Levon  <levon@movementarian.org>
10666
10667         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10668
10669         * buffer.h:
10670         * buffer.C: remove getIncludeonlyList()
10671
10672         * paragraph.C:
10673         * lyxfunc.C: remove headers
10674
10675 2002-09-09  Juergen Vigna  <jug@sad.it>
10676
10677         * text.C (getColumnNearX): fix form Michael this is most
10678         probably a cut&paste bug.
10679
10680 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10681
10682         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10683
10684         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10685         references, ws changes.
10686
10687         * text2.C (init): update counters after init
10688         (insertParagraph): no need to set counter on idividual paragraphs.
10689         (setCounter): access the counters object in the textclass object
10690         on in the buffer object.
10691         (updateCounters): ditto
10692
10693         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10694         shared_ptr<Counters> to avoid loading counters.h in all
10695         compilation units.
10696         (LyXTextClass): initialize ctrs_
10697         (TextClassTags): add TC_COUNTER, and ...
10698         (Read): use it here.
10699         (CounterTags): new tags
10700         (readCounter): new function
10701         (counters): new funtion
10702         (defaultLayoutName): return a const reference
10703
10704         * counters.C (Counters): remove contructor
10705         (newCounter): remove a couple of unneeded statements.
10706         (newCounter): simplify a bit.
10707         (numberLabel): some small formatting changes.
10708
10709         * buffer.[Ch]: remove all traces of counters, move the Counters
10710         object to the LyXTextClass.
10711
10712 2002-09-06  Alain Castera  <castera@in2p3.fr>
10713
10714         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10715         package to set the horizontal alignment on fixed width columns.
10716
10717         * lyx_sty.C:
10718         * lyx_sty.h: added tabularnewline macro def.
10719
10720         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10721
10722 2002-09-06  John Levon  <levon@movementarian.org>
10723
10724         * LyXAction.C: tooltips for sub/superscript
10725
10726         * MenuBackend.C: a bit more verbose
10727
10728         * lyxfunc.C: tiny clean
10729
10730         * undo_funcs.C: document undo_frozen
10731
10732 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10733
10734         * counters.C (Counters): add missing algorithm counter.
10735
10736         * text2.C (setCounter): lookup the counter with layouts latexname
10737         instead of by section number.
10738         (setCounter): use a hackish way to lookup the correct enum
10739         counter.
10740         a float name->type change
10741         reset enum couners with counter name directly instead of depth value.
10742
10743         * counters.C (Counters): remove the push_backs, change to use the
10744         float type not the float name.
10745         (labelItem): remove unused string, float name->type change
10746
10747         * counters.h: don't include vector, loose the enums and sects vectors
10748
10749 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10750
10751         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10752         (Read): add float->TC_FLOAT to textclassTags
10753         (Read): and handle it in the switch
10754         (readFloat): new function
10755
10756         * FloatList.C (FloatList): comment out the hardcoded float
10757         definitions.
10758
10759         * lyxlayout.h: ws change.
10760
10761 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10762
10763         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10764
10765 2002-09-03  Angus Leeming  <leeming@lyx.org>
10766
10767         * BufferView_pimpl.h: qualified name is not allowed in member
10768         declaration: WorkArea & Pimpl::workarea() const;
10769
10770         * factory.C: added using std::endl directive.
10771
10772         * text3.C: added using std::find and std::vector directives.
10773
10774 2002-08-29  André Pönitz <poenitz@gmx.net>
10775
10776         * lyxtext.h:
10777         * text2.C: remove unused member number_of_rows
10778
10779         * Makefile.am:
10780         * BufferView2.C: remove file, move contents to...
10781         * BufferView.C: ... here
10782
10783         * BufferView_pimpl.C:
10784         * factory.C: move more inset creation to factory
10785
10786         * vspace.C: avoid direct usage of LyXText, ws changes
10787
10788         * BufferView.[Ch]:
10789                 don't provide direct access to WorkArea, use two simple
10790                 acessors haveSelction() and workHeight() instead
10791
10792
10793 2002-08-29  John Levon  <levon@movementarian.org>
10794
10795         * BufferView_pimpl.C (dispatch): do not continue when
10796           no buffer
10797
10798 2002-08-28  André Pönitz <poenitz@gmx.net>
10799
10800         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10801
10802         * BufferView.h:
10803         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10804
10805 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10806
10807         * buffer.C: increment LYX_FORMAT to 221
10808
10809         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10810         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10811
10812         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10813
10814         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10815
10816 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10817
10818         * factory.C (createInset): use LyXTextClass::floats
10819
10820         * MenuBackend.C (expandFloatListInsert):
10821         (expandFloatInsert):
10822         (expandToc):
10823
10824         * text2.C (setCounter):
10825
10826         * LaTeXFeatures.C (useFloat):
10827         (getFloatDefinitions):
10828
10829         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10830
10831         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10832         floatlist_, with accessor floats().
10833
10834         * FloatList.h: remove global FloatList
10835
10836 2002-08-26  André Pönitz <poenitz@gmx.net>
10837
10838         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10839
10840         * BufferView.h:
10841         * BufferView2.C:
10842         * BufferView_pimpl.C:
10843         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10844
10845 2002-08-25  John Levon  <levon@movementarian.org>
10846
10847         * LyXAction.C: fix margin note description
10848
10849 2002-08-24  John Levon  <levon@movementarian.org>
10850
10851         * buffer.C:
10852         * bufferlist.C:
10853         * bufferview_funcs.C:
10854         * lyxfont.C:
10855         * undo_funcs.C: cleanups
10856
10857         * lyxfunc.C: disable CUT/COPY when no selection
10858
10859 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10860
10861         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10862         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10863
10864         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10865         Add backward compatibility to "mono", "gray" and "no".
10866
10867 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10868
10869         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10870         (and file_format >= 200).
10871
10872 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10873
10874         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10875
10876 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10877
10878         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10879
10880 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10881
10882         * BufferView_pimpl.C:
10883         * LyXAction.C:
10884         * buffer.C:
10885         * commandtags.h:
10886         * lyxfunc.C:
10887         * paragraph.[Ch]:
10888         * text2.C:
10889         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10890         inset and code to make it  work with the paragraph code. The inset
10891         can be anywhere in the paragraph, but will only do the expected
10892         thing in LaTeX if the layout file contains the parameter line
10893                         OptionalArgs    1
10894         (or more generally, a nonzero value) for that layout.
10895
10896 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10897
10898         * paragraph.h: remove the declaration of undefined counters class
10899         function.
10900
10901 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10902
10903         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10904         Dr. Richard Hawkins.
10905
10906 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10907
10908         * paragraph_funcs.h: remove some unneeded includes
10909
10910         * text.C (backspace): pasteParagraph now in global scipe
10911
10912         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10913         (pasteSelection): ditto
10914
10915         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10916         * paragraph_funcs.C (pasteParagraph): ... here
10917
10918 2002-08-20  André Pönitz <poenitz@gmx.net>
10919
10920         * commandtags.h: new LFUNs for swapping/copying table row/colums
10921
10922         * LyXAction.C:
10923         * lyxfunc.C: support for new lfuns
10924
10925 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10926
10927         * tabular.C:
10928         * buffer.[Ch]: remove NO_COMPABILITY stuff
10929
10930 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10931
10932         * boost.C (throw_exception): new file, with helper function for
10933         boost compiled without exceptions.
10934
10935         * paragraph.h:
10936         * lyxlength.C:
10937         * buffer.C:
10938         * ParameterStruct.h:
10939         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10940
10941         * bufferlist.C (emergencyWriteAll): use boost bind
10942
10943         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10944
10945         * text.C: include paragraph_funcs.h
10946         (breakParagraph): breakParagraph is now in global scope
10947
10948         * paragraph_funcs.[Ch]: new files
10949
10950         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10951         global scope
10952
10953         * buffer.C: include paragraph_funcs.h
10954         (insertStringAsLines): breakParagraph is now in global scope
10955
10956         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10957         paragraph_funcs.C
10958
10959         * CutAndPaste.C: include paragraph_funcs.h
10960         (cutSelection): breakParagraphConservative is now in global scope
10961         (pasteSelection): ditto
10962
10963         * buffer.h: declare oprator== and operator!= for
10964         Buffer::inset_iterator
10965
10966         * bufferlist.C (emergencyWrite): don't use fmt(...)
10967
10968         * text3.C: add using std::endl
10969
10970         * BufferView.C (moveCursorUpdate): remove default arg
10971
10972 2002-08-20  André Pönitz <poenitz@gmx.net>
10973
10974         * buffer.[Ch]: move inline functions to .C
10975
10976         * BufferView2.C:
10977         * BufferView_pimpl.C:
10978         * text.C:
10979         * buffer.[Ch]: use improved inset_iterator
10980
10981         * buffer.C:
10982         * paragraph.[Ch]: write one paragraph at a time
10983
10984 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10985
10986         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10987         style if style is not specified.
10988
10989 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10990
10991         * text2.C (setCounter): when searching for right label for a
10992         caption, make sure to recurse to parent insets (so that a caption
10993         in a minipage in a figure float works) (bug #568)
10994
10995 2002-08-20  André Pönitz <poenitz@gmx.net>
10996
10997         * text3.C: new file for LyXText::dispatch() and helpers
10998
10999         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11000
11001         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11002
11003 2002-08-19  André Pönitz <poenitz@gmx.net>
11004
11005         * lyxtext.h:
11006         * text.C: new LyXText::dispatch()
11007
11008         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11009
11010 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11011
11012         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11013
11014         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11015         Hebrew text.
11016
11017 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11018
11019         * Makefile.am: use $(variables) instead of @substitutions@
11020
11021 2002-08-15  André Pönitz <poenitz@gmx.net>
11022
11023         * lyxfunc.C:
11024         * BufferView_pimpl.C: streamlining mathed <-> outer world
11025         interaction
11026
11027         * commandtags.h:
11028         * LyXAction.C: remove unused LFUN_MATH
11029
11030 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11031
11032         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11033
11034 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11035
11036         * paragraph.C (Paragraph): reformat a bit
11037         (cutIntoMinibuffer): use builtin InsetList function instad of
11038         doing it manually.
11039         (getInset): ditto
11040
11041         * buffer.C: include boost/bind.hpp, add using std::for_each
11042         (writeFileAscii): use ParagraphList iterators
11043         (validate): use for_each for validate traversal of paragraphs
11044         (getBibkeyList): use ParagraphList iterators
11045         (resizeInsets): use for_each to resizeInsetsLyXText for all
11046         paragraphs.
11047         (getParFromID): use ParagraphList iterators
11048
11049         * BufferView2.C (lockInset): use paragraph list and iterators
11050
11051 2002-08-14  John Levon  <levon@movementarian.org>
11052
11053         * lyxserver.C: remove spurious xforms include
11054
11055 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11056
11057         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11058
11059 2002-08-13  André Pönitz <poenitz@gmx.net>
11060
11061         * LyXAction.[Ch]:
11062         * lyxfunc.C: further cleaning
11063
11064 2002-08-13  André Pönitz <poenitz@gmx.net>
11065
11066         * funcrequest.h: new constructor
11067
11068         * funcrequest.C: move stuff here from .h
11069
11070         * Makefile.am:
11071         * BufferView_pimpl.C:
11072         * LyXAction.C:
11073         * toc.C:
11074         * lyxfunc.C: subsequent changes
11075
11076         * lyxfunc.h: new view() member function
11077
11078         * lyxfunc.C: subsequent changes
11079
11080 2002-08-13  Angus Leeming  <leeming@lyx.org>
11081
11082         * BufferView2.C:
11083         * BufferView_pimpl.C:
11084         * buffer.C:
11085         * converter.C:
11086         * importer.C:
11087         * lyxfunc.C:
11088         * lyxvc.C:
11089         * toc.C:
11090         * vc-backend.C:
11091         changes due to the changed LyXView interface that now returns references
11092         to member variables not pointers.
11093
11094 2002-08-13  Angus Leeming  <leeming@lyx.org>
11095
11096         * WordLangTuple (word, lang_code): return references to strings,
11097         not strings.
11098
11099         * BufferView.h:
11100         * SpellBase.h:
11101         * lyxtext.h: forward-declare WordLangTuple.
11102
11103         * BufferView2.C:
11104         * ispell.C:
11105         * pspell.C:
11106         * text.C: #include "WordLangTuple.h".
11107
11108         * lyxtext.h:
11109         * text.C: (selectNextWordToSpellcheck): constify return type.
11110
11111 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11112
11113         * buffer.C:
11114         * buffer.h:
11115         * lyxtext.h:
11116         * paragraph.C:
11117         * paragraph_pimpl.h:
11118         * text.C:
11119         * text2.C:
11120         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11121         suggested by Angus.
11122         Made updateCounter always count from start of buffer, and removed
11123         second argument (par).
11124         Reverted floats number display to '#'. Perhaps I'll try again when the
11125         code base is sanitized a bit.
11126
11127 2002-08-12  Angus Leeming  <leeming@lyx.org>
11128
11129         * buffer.[Ch] (getLabelList): constify.
11130
11131 2002-08-07  André Pönitz <poenitz@gmx.net>
11132
11133         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11134
11135         * funcrequest.h: extension to keep mouse (x,y) position
11136
11137 2002-08-12  Juergen Vigna  <jug@sad.it>
11138
11139         * BufferView2.C (insertErrors): forbid undo when inserting error
11140         insets.
11141
11142         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11143
11144 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11145
11146         * ParagraphList.[Ch]: new files
11147
11148         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11149
11150         * BufferView2.C (lockInset): ParagraphList changes
11151         * toc.C: ditto
11152         * text2.C: ditto
11153         * bufferlist.C: ditto
11154         * buffer.h: ditto
11155         * buffer.C: ditto
11156
11157 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11158
11159         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11160         unused class variable counter_,
11161
11162         * paragraph.[Ch] (getFirstCounter): delete unused function
11163
11164         * counters.C: include LAssert.h
11165         (reset): add a new function with no arg, change other version to
11166         not have def. arg and to not allow empty arg.
11167
11168         * text2.C (setCounter): remove empty arg from call to Counters::reset
11169
11170 2002-08-11  John Levon  <levon@movementarian.org>
11171
11172         * Makefile.am: add WordLangTuple.h
11173
11174 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11175
11176         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11177         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11178
11179         * insets/insettext.C: InsetList changes
11180
11181         * graphics/GraphicsSupport.C (operator()): InsetList changes
11182
11183         * toc.C (getTocList): InsetList changes
11184
11185         * paragraph_pimpl.[Ch]: InsetList changes
11186
11187         * paragraph.[Ch]: InsetList changes
11188
11189         * buffer.C (inset_iterator): InsetList changes
11190         (setParagraph): ditto
11191         * buffer.h (inset_iterator): ditto
11192         * iterators.C (operator++): ditto
11193         * iterators.h: ditto
11194
11195         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11196
11197         * InsetList.[Ch]: new files, most InsetList handling moved out of
11198         paragraph.C.
11199
11200         * BufferView2.C (removeAutoInsets): InsetList changes
11201         (lockInset): ditto
11202         (ChangeInsets): ditto
11203
11204 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11205
11206         * paragraph_pimpl.h (empty): new function
11207
11208         * paragraph.[Ch] (empty): new function
11209
11210         * other files: use the new Paragraph::empty function
11211
11212 2002-08-09  John Levon  <levon@movementarian.org>
11213
11214         * lyxtext.h: remove unused refresh_height
11215
11216 2002-08-09  John Levon  <levon@movementarian.org>
11217
11218         * Makefile.am:
11219         * sgml.h:
11220         * sgml.C:
11221         * buffer.C:
11222         * paragraph.h:
11223         * paragraph.C: move sgml char escaping out of paragraph
11224
11225         * paragraph.h:
11226         * paragraph.C: remove id setter
11227
11228         * buffer.C:
11229         * paragraph.C:
11230         * paragraph_pimpl.C: remove dead tex_code_break_column
11231
11232         * bufferview_funcs.C: small cleanup
11233
11234         * lyxfunc.C: remove dead proto
11235
11236         * lyxtext.h: make some stuff private. Remove some dead stuff.
11237
11238         * lyxgluelength.C: make as[LyX]String() readable
11239
11240 2002-08-08  John Levon  <levon@movementarian.org>
11241
11242         * LyXAction.h:
11243         * LyXAction.C:
11244         * MenuBackend.C:
11245         * ToolbarDefaults.C:
11246         * lyxfunc.C:
11247         * lyxrc.C:
11248         * toc.C: lyxaction cleanup
11249
11250 2002-08-08  John Levon  <levon@movementarian.org>
11251
11252         * BufferView2.C: small cleanup
11253
11254         * lyxfind.h:
11255         * lyxfind.C: move unnecessary header into the .C
11256
11257 2002-08-08  John Levon  <levon@movementarian.org>
11258
11259         * funcrequest.h: just tedious nonsense
11260
11261         * lyx_main.h:
11262         * lyx_main.C: cleanups
11263
11264         * buffer.C:
11265         * vspace.C: remove dead header lyx_main.h
11266
11267 2002-08-07  Angus Leeming  <leeming@lyx.org>
11268
11269         * Paragraph.[Ch]:
11270         * paragraph_pimpl.h:
11271         Forward declare class Counters in paragraph.h by moving the ctrs member
11272         variable into Paragraph::Pimpl.
11273         (counters): new method, returning a reference to pimpl_->ctrs.
11274
11275         * text2.C: ensuing changes.
11276
11277 2002-08-07  John Levon  <levon@movementarian.org>
11278
11279         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11280
11281         * BufferView_pimpl.C: announce X selection on double/triple
11282           click
11283
11284         * lyx_main.C: use correct bool in batch dispatch
11285
11286         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11287
11288 2002-08-07  André Pönitz <poenitz@gmx.net>
11289
11290         * funcrequest.h: new class to wrap a kb_action and its argument
11291
11292         * BufferView.[Ch]:
11293         * BufferView_pimpl[Ch]:
11294         * LaTeX.C:
11295         * LyXAction.[Ch]:
11296         * lyxfunc.[Ch]:
11297         * lyxrc.C: subsequent changes
11298
11299
11300 2002-08-07  John Levon  <levon@movementarian.org>
11301
11302         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11303           document options change.
11304
11305 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11306
11307         * counters.[Ch]
11308         * text2.C
11309         * paragraph.[Ch]
11310         * makefile.am: move counters functionality over from
11311         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11312
11313 2002-08-06  John Levon  <levon@movementarian.org>
11314
11315         * WordLangTuple.h: new file for word + language code tuple
11316
11317         * SpellBase.h:
11318         * pspell.h:
11319         * pspell.C:
11320         * ispell.h:
11321         * ispell.C:
11322         * lyxtext.h:
11323         * text.C:
11324         * text2.C:
11325         * BufferView.h:
11326         * BufferView2.C: use WordLangTuple
11327
11328         * layout.h:
11329         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11330
11331 2002-08-06  John Levon  <levon@movementarian.org>
11332
11333         * lyx_main.C: fix cmdline batch handling
11334
11335 2002-08-06  André Pönitz <poenitz@gmx.net>
11336
11337         * lyxrc.C: set default for show_banner to true
11338
11339 2002-08-06  John Levon  <levon@movementarian.org>
11340
11341         * pspell.C: fix a crash, and allow new aspell to work
11342
11343 2002-08-06  John Levon  <levon@movementarian.org>
11344
11345         * lyxfunc.C:
11346         * kbmap.C: small cleanup
11347
11348         * vspace.h:
11349         * vspace.C: add const
11350
11351 2002-08-05  John Levon  <levon@movementarian.org>
11352
11353         * LyXAction.C: back to tabular-insert
11354
11355 2002-08-04  John Levon  <levon@movementarian.org>
11356
11357         * BufferView.h:
11358         * BufferView.C: cosmetic change
11359
11360         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11361
11362         * bufferlist.C:
11363         * buffer.h:
11364         * buffer.C:
11365         * lyxcb.h:
11366         * lyxcb.C:
11367         * lyxserver.C:
11368         * lyxvc.C:
11369         * vc-backend.C:
11370         * BufferView2.C: purge all "Lyx" not "LyX" strings
11371
11372         * lyxcursor.h:
11373         * lyxcursor.C: attempt to add some documentation
11374
11375         * lyxfunc.C:
11376         * commandtags.h:
11377         * LyXAction.C:
11378         * ToolbarDefaults.C:
11379         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11380           merge with LFUN_TABULAR_INSERT
11381
11382         * Makefile.am:
11383         * SpellBase.h:
11384         * ispell.h:
11385         * ispell.C:
11386         * pspell.h:
11387         * pspell.C: split up i/pspell implementations into separate
11388           files, many cleanups
11389
11390         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11391
11392         * text2.C: some cleanup
11393
11394         * lyxfunc.C: don't check for isp_command == "none" any more, it
11395           didn't make any sense
11396
11397 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11398
11399         * counters.[Ch]
11400         * text2.C
11401         * paragraph.[Ch]
11402         * makefile.am: move counters functionality over
11403         from text2.C/paragraph.[Ch] to counters.[Ch], and
11404         make proper C++.
11405 2002-08-02  John Levon  <levon@movementarian.org>
11406
11407         * buffer.C: s/lyxconvert/lyx2lyx/
11408
11409 2002-08-02  Angus Leeming  <leeming@lyx.org>
11410
11411         * lyxlex.C: revert John's change as it breaks reading of the user
11412         preamble.
11413
11414 2002-08-02  Angus Leeming  <leeming@lyx.org>
11415
11416         * importer.C (Import):
11417         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11418         changes due to LyXView::view() now returning a boost::shared_ptr.
11419
11420 2002-08-02  John Levon  <levon@movementarian.org>
11421
11422         * lyxlex.C: small cleanup
11423
11424 2002-08-02  John Levon  <levon@movementarian.org>
11425
11426         * text2.C (status): small cleanup, no logic change
11427
11428 2002-08-01  John Levon  <levon@movementarian.org>
11429
11430         * buffer.h:
11431         * buffer.C (writeFile): don't output alerts, caller
11432           handles this
11433
11434         * bufferlist.C:
11435         * lyx_cb.C: from above
11436
11437         * lyxfunc.C: allow to open non-existent files
11438
11439 2002-07-31  John Levon  <levon@movementarian.org>
11440
11441         * lyxserver.C: don't let incidental errors get
11442           in the way (errno)
11443
11444 2002-07-30  John Levon  <levon@movementarian.org>
11445
11446         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11447
11448 2002-07-30  John Levon  <levon@movementarian.org>
11449
11450         * lyxserver.h:
11451         * lyxserver.C: remove I/O callback too
11452
11453 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11454
11455         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11456         log.
11457
11458 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11459
11460         * many files: strip,frontStrip -> trim,ltrim,rtrim
11461
11462 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11463
11464         * PrinterParams.h: remove extern containsOnly, and include
11465         support/lstrings.h instead.
11466
11467         * LaTeX.C (scanAuxFile): modify because of strip changes
11468         (deplog): ditto
11469         * buffer.C (makeLaTeXFile): ditto
11470         * bufferparams.C (writeFile): ditt
11471         * lyxfont.C (stateText): ditto
11472         * lyxserver.C (read_ready): ditto
11473         * vc-backend.C (scanMaster): ditto
11474
11475         * BufferView_pimpl.h: ws changes
11476
11477         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11478
11479 2002-07-26  André Pönitz <poenitz@gmx.net>
11480
11481         * kb_sequence.C: remove unnedred usings
11482
11483 2002-07-26  Juergen Vigna  <jug@sad.it>
11484
11485         * lyxfind.C (LyXReplace): we have to check better if the returned
11486         text is not of theLockingInset()->getLockingInset().
11487
11488 2002-07-25  Juergen Vigna  <jug@sad.it>
11489
11490         * lyxfind.C (LyXReplace): don't replace if we don't get the
11491         right LyXText.
11492
11493         * undo_funcs.C (createUndo): remove debugging code.
11494
11495 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11496
11497         * buffer.C (parseSingleLyXformat2Token): Use default placement
11498         when reading old floats.
11499
11500         * FloatList.C (FloatList): Change the default placement of figure
11501         and tables to "tbp".
11502
11503 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11504
11505         * MenuBackend.C: using std::max
11506
11507 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11508
11509         * MenuBackend.C (expandToc):
11510         (expandToc2): code moved from xforms menu frontend. It is now
11511         generic and TOCs are transparent to menu frontends.
11512
11513 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11514
11515         * toc.C (getTocList): protect against buf=0
11516
11517         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11518         Menu as first parameter. Now, this calls itself recursively to
11519         expand a whole tree (this will be useful for TOC handling)
11520         (expandFloatInsert): remove 'wide' version of floats
11521
11522         * MenuBackend.h (submenuname): returns the name of the submenu.
11523         (submenu): returns the submenu itself, provided it has been
11524         created by MenuBackend::expand
11525
11526 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11527
11528         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11529         insets which have noFontChange == true. (bug #172)
11530
11531 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11532
11533         * BufferView_pimpl.C: add connection objects and use them...
11534         (Pimpl): here.
11535
11536 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11537
11538         * MenuBackend.C (expandLastfiles):
11539         (expandDocuments):
11540         (expandFormats):
11541         (expandFloatListInsert):
11542         (expandFloatInsert):
11543         (expand): split expand in parts
11544
11545 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11546
11547         * lyx_gui.C: use lyx_gui::exit()
11548
11549 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11550
11551         * LyXAction.C: show the failing pseudo action
11552
11553 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11554
11555         * buffer.C (readFile): Run the lyxconvert script in order to read
11556         old files.
11557
11558 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11559
11560         * LyXAction.C:
11561         * commandtags.h:
11562         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11563
11564 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11565
11566         * LyXAction.C:
11567         * commandtags.h:
11568         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11569
11570 2002-07-22  Herbert Voss  <voss@lyx.org>
11571
11572         * lengthcommon.C:
11573         * lyxlength.[Ch]: add support for the vertical lengths
11574
11575 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11576
11577         * toc.[Ch]: std:: fixes
11578
11579 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11580
11581         * lyxrc.C: do not include lyx_main.h
11582
11583         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11584         for layouts
11585
11586         * lyxrc.C:
11587         * encoding.C:
11588         * bufferlist.C:
11589         * BufferView2.C: include "lyxlex.h"
11590
11591         * tabular.h:
11592         * bufferparams.h: do not #include "lyxlex.h"
11593
11594         * lyxtextclasslist.C (Add): remove method
11595         (classlist): renamed to classlist_
11596
11597         * paragraph_pimpl.C:
11598         * paragraph.C:
11599         * text2.C:
11600         * CutAndPaste.C:
11601         * bufferview_funcs.C:
11602         * bufferlist.C:
11603         * text.C:
11604         * LaTeXFeatures.C:
11605         * buffer.C:
11606         * toc.C (getTocList): use BufferParams::getLyXTextClass
11607
11608         * toc.C (getTocList): use InsetFloat::addToToc
11609
11610         * toc.[Ch]: new files, containing helper functions to handle table
11611         of contents
11612
11613         * lyxfunc.C (dispatch): no need to remove spaces around command
11614         given as a string
11615         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11616         first command of the sequence; it is not very clever, but I do not
11617         have a better idea, actually
11618
11619         * LyXAction.C (LookupFunc): make sure to remove space at the
11620         beginning and end of the command
11621
11622 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11623
11624         * MenuBackend.C (getMenubar): new method: return the menubar of
11625         this menu set
11626         (read): treat differently reading of menu and menubar (in
11627         particular, the menubar has no name now)
11628         (Menu::menubar): remove
11629
11630         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11631         saving is finished
11632
11633 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11634
11635         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11636         a bibitem inset in a RTL paragraph.
11637
11638 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11639
11640         * paragraph_pimpl.C: constify
11641
11642         * BufferView_pimpl.C:
11643         * LaTeX.C:
11644         * lyxfunc.C: fix dispatch in a nicer way
11645
11646 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11647
11648         * lyxfunc.C (dispatch):
11649         * BufferView_pimpl.C:
11650         * BufferView_pimpl.h:
11651         * BufferView.C:
11652         * BufferView.h: rename Dispatch() to dispatch()
11653
11654         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11655
11656         * lyxlayout.C (Read): honor DependsOn tag
11657
11658         * lyxlayout.[Ch] (depends_on): new method
11659
11660         * version.C.in: update lyx_docversion
11661
11662         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11663
11664         * paragraph.C (validate): remove from here...
11665         * paragraph_pimpl.C (validate): ... and move here
11666         (isTextAt): make it const
11667
11668         * buffer.C (getLists): ws cleanup
11669
11670 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11671
11672         * language.C (read): Use iso8859-1 encoding in latex_lang
11673         (this prevents LyX from crashing when using iso10646-1 encoding).
11674
11675 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11676
11677         * text2.C (toggleInset): if cursor is inside an inset, close the
11678         inset and leave cursor _after_ it
11679
11680 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11681
11682         * lyxfunc.C: move minibuffer completion handling out of here
11683
11684 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11685
11686         * BufferView_pimpl.C:
11687         * LaTeX.C: fix dispatch calls
11688
11689 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11690
11691         * text.C (drawChars): Fix Arabic text rendering.
11692
11693 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11694
11695         * LyXAction.C:
11696         * commandtags.h:
11697         * lyxfunc.C: remove message-push/pop
11698
11699         * lyxserver.C:
11700         * lyxfunc.h:
11701         * lyxfunc.C: rationalise some code by removing verboseDispatch
11702           in favour of a bool argument to dispatch()
11703
11704 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11705
11706         * lyx_main.C (init): make sure to read symlinks as absolute paths
11707
11708 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11709
11710         * lyxfunc.h:
11711         * lyxfunc.C: no need for commandshortcut to be a member
11712
11713 2002-07-15  André Pönitz <poenitz@gmx.net>
11714
11715         * converter.C: add support for $$s (scripts from lib/scripts dir)
11716         * lyx_main.C: white space
11717
11718 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11719
11720         * bufferlist.C:
11721         * lyxrc.h:
11722         * lyxrc.C: remove second exit confirmation
11723
11724 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11725
11726         * BufferView.h:
11727         * BufferView.C:
11728         * BufferView2.C:
11729         * BufferView_pimpl.h:
11730         * BufferView_pimpl.C:
11731         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11732
11733 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11734
11735         * MenuBackend.C (expand): add numeric shortcuts to document menu
11736
11737         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11738
11739 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11740
11741         * lyxfont.C (setLyXFamily):
11742         (setLyXSeries):
11743         (setLyXShape):
11744         (setLyXSize):
11745         (setLyXMisc):
11746         (lyxRead):
11747         * debug.C (value):
11748         * buffer.C (asciiParagraph): use ascii_lowercase
11749
11750 2002-07-15  Mike Fabian  <mfabian@suse.de>
11751
11752         * lyxlex_pimpl.C (search_kw):
11753         * lyxlex.C (getLongString):
11754         * converter.h (operator<):
11755         * converter.C (operator<):
11756         * buffer.C (parseSingleLyXformat2Token):
11757         (asciiParagraph):
11758         * ToolbarDefaults.C (read):
11759         * MenuBackend.C (checkShortcuts):
11760         (read):
11761         * LColor.C (getFromGUIName):
11762         (getFromLyXName): use the compare_ascii_no_case instead of
11763         compare_no_case, because in turkish, 'i' is not the lowercase
11764         version of 'I', and thus turkish locale breaks parsing of tags.
11765
11766 2002-07-16  Angus Leeming  <leeming@lyx.org>
11767
11768         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11769         now takes a Buffer const & argument.
11770
11771 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11772
11773         * BufferView.C (resize): check there's a buffer to resize
11774
11775 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11776
11777         * lyxfunc.C: remove dead code
11778
11779         * lyxserver.h:
11780         * lyxserver.C: use lyx_guii::set_read_callback
11781
11782 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11783
11784         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11785         an inset in a RTL paragraph.
11786
11787 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11788
11789         * lyxfunc.C: repaint after a font size update
11790
11791 2002-07-15  André Pönitz <poenitz@gmx.net>
11792
11793         * lyxlength.C: inBP should be able to return negative values
11794
11795 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11796
11797         * lyxfunc.C: use lyx_gui::update_fonts()
11798
11799 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11800
11801         * lyxfunc.C: use lyx_gui::update_color()
11802
11803 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11804
11805         * bufferlist.C:
11806         * lyxfunc.h:
11807         * lyxfunc.C:
11808         * lyxrc.h:
11809         * lyxrc.C: remove file->new asks for name option, and let
11810           buffer-new take an argument
11811
11812 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11813
11814         * BufferView_pimpl.C: remove unneeded extra repaint()
11815
11816 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11817
11818         * LyXAction.C: allow command-sequence with NoBuffer
11819
11820         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11821
11822 2002-07-10  Angus Leeming  <leeming@lyx.org>
11823
11824         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11825
11826 2002-07-09  Angus Leeming  <leeming@lyx.org>
11827
11828         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11829
11830 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11831
11832         * lengthcommon.h: whitespace
11833
11834         * lyxfunc.C: update scrollbar after goto paragraph
11835
11836         * lyxtext.h: factor out page break drawing, and fix it so
11837           page break/added space paints as selected nicely
11838
11839 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11840
11841         * BufferView_pimpl.C: add FIXMEs, clean up a little
11842
11843 2002-07-09  André Pönitz <poenitz@gmx.net>
11844
11845         * lyxfont.[Ch]: support for wasy symbols
11846
11847 2002-07-08  André Pönitz <poenitz@gmx.net>
11848
11849         * BufferView_pimpl.C: apply John's patch for #93.
11850
11851 2002-07-05  Angus Leeming  <leeming@lyx.org>
11852
11853         * BufferView_pimpl.C (buffer): generate previews if desired.
11854
11855         * LColor.h: add "preview" to the color enum.
11856
11857         * LColor.C (LColor): add a corresponding entry to the items array.
11858
11859         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11860         with this buffer.
11861
11862 2002-07-05  Angus Leeming  <leeming@lyx.org>
11863
11864         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11865         The body of the code is now in the method that is passed an ostream &
11866         rather than a file name.
11867         Pass an additional only_preamble parameter, useful for the forthcoming
11868         preview stuff.
11869
11870 2002-07-03  André Pönitz <poenitz@gmx.net>
11871
11872         * lyxfunc.C: simplify getStatus() a bit for math stuff
11873
11874 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11875
11876         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11877
11878 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11879
11880         * text.C (changeRegionCase): do not change case of all the
11881         document when region ends at paragraph end (bug #461)
11882
11883 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11884
11885         * paragraph.C (startTeXParParams):
11886         (endTeXParParams): add \protect when necessary
11887
11888 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11889
11890         * BufferView_pimpl.C (workAreaExpose): remove warning
11891
11892 2002-06-27  Angus Leeming  <leeming@lyx.org>
11893
11894         * Makefile.am: add lyxlayout_ptr_fwd.h.
11895
11896 2002-06-26  André Pönitz <poenitz@gmx.net>
11897
11898         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11899
11900 2002-06-25  Angus Leeming  <leeming@lyx.org>
11901
11902         * lyxfunc.C (dispatch): Comment out the call to
11903         grfx::GCache::changeDisplay. The method no longer exists now that the
11904         pixmap generation part of the graphics loader has been moved into
11905         InsetGraphics.
11906
11907 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11908
11909         * text2.C: layout as layout
11910
11911         * text.C: layout as layout
11912
11913         * tabular.C (OldFormatRead): layout as layout
11914
11915         * paragraph_pimpl.C (TeXDeeper): layout as layout
11916         (realizeFont): layout as layout
11917
11918         * paragraph.C (writeFile): layout as layout
11919         (validate): layout as layout
11920         (getFont): layout as layout
11921         (getLabelFont): layout as layout
11922         (getLayoutFont): layout as layout
11923         (breakParagraph): layout as layout
11924         (stripLeadingSpaces): layout as layout
11925         (getEndLabel): layout as layout
11926         (getMaxDepthAfter): layout as layout
11927         (applyLayout): layout as layout
11928         (TeXOnePar): layout as layout
11929         (simpleTeXOnePar): layout as layout
11930         (TeXEnvironment): layout as layout
11931         (layout): layout as layout
11932         (layout): layout as layout
11933
11934         * lyxtextclass.C (compare_name): new functor to work with
11935         shared_ptr, layout as layout
11936         (Read): layout as layout
11937         (hasLayout): layout as layout
11938         (operator): layout as layout
11939         (delete_layout): layout as layout
11940         (defaultLayout): layout as layout
11941
11942         * lyxlayout_ptr_fwd.h: new file
11943
11944         * lyxlayout.C (Read): layout as layout
11945
11946         * lyx_cb.C (MenuInsertLabel): layout as layout
11947
11948         * bufferlist.C (newFile): layout as layout
11949
11950         * buffer.C (readLyXformat2): layout as layout
11951         (parseSingleLyXformat2Token): layout as layout
11952         (insertStringAsLines): layout as layout
11953         (asciiParagraph): layout as layout
11954         (latexParagraphs): layout as layout
11955         (makeLinuxDocFile): layout as layout
11956         (simpleLinuxDocOnePar): layout as layout
11957         (makeDocBookFile): layout as layout
11958         (simpleDocBookOnePar): layout as layout
11959         (getLists): layout as layout
11960
11961         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11962
11963         * CutAndPaste.C (cutSelection): layout as layout
11964         (pasteSelection): layout as layout
11965         (SwitchLayoutsBetweenClasses): layout as layout
11966
11967         * BufferView_pimpl.C (Dispatch): layout as layout
11968         (smartQuote): layout as layout
11969
11970         * BufferView2.C (unlockInset): layout as layout
11971
11972 2002-06-24  André Pönitz <poenitz@gmx.net>
11973
11974         * lyxfunc.C: fix #487
11975
11976 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11977
11978         * lyxrc.h:
11979         * lyxrc.C:
11980         * lyxfunc.C: remove display_shortcuts, show_banner
11981
11982 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11983
11984         * Buffer_pimpl.C: oops, update on resize
11985
11986 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11987
11988         * buffer.C:
11989         * converter.C:
11990         * exporter.C:
11991         * lyxfunc.C:
11992         * BufferView.h:
11993         * BufferView.C: use repaint()
11994
11995         * BufferView_pimpl.h:
11996         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11997           as it's a clearer description. Remove superfluous
11998           redraws.
11999
12000 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12001
12002         * text.C: fix bug 488. Not ideal, but getting
12003           getWord() to work properly for the insets that
12004           matter is more difficult ...
12005
12006 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12007
12008         * BufferView_pimpl.C:
12009         * LyXAction.C:
12010         * commandtags.h:
12011         * lyxfunc.C: remove the six million index lyxfuncs to just
12012           one, and DTRT (bug 458)
12013
12014 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12015
12016         * BufferView.h:
12017         * BufferView.C:
12018         * BufferView_pimpl.h:
12019         * BufferView_pimpl.C: clean up resize() stuff,
12020           and unnecessary updateScreen()s
12021
12022 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12023
12024         * BufferView.h:
12025         * BufferView.C:
12026         * BufferView_pimpl.h:
12027         * BufferView_pimpl.C:
12028         * lyxfind.h:
12029         * lyxfind.C:
12030         * minibuffer.C: remove focus management of workarea,
12031           not needed. Use screen's greyOut()
12032
12033 2002-06-17  Herbert Voss  <voss@lyx.org>
12034
12035         * converter.C: (convert) do not post a message, when converting
12036         fails, let the calling function decide what to do in this case
12037
12038 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12039
12040         * lyxfunc.C: tidy up a little
12041
12042 2002-06-16    <alstrup@diku.dk>
12043
12044         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12045         Got rid of FORMS_H_LOCATION include. Now we are
12046         GUII.
12047
12048 2002-06-15  LyX Development team  <lyx@rilke>
12049
12050         * buffer.[Ch] (sgmlOpenTag):
12051         (sgmlCloseTag): Added support for avoiding pernicious mixed
12052         content. Return number of lines written.
12053
12054         (makeLinuxDocFile):
12055         (makeDocBookFile): Fixed calls to sgml*Tag.
12056         Simple white space clean.
12057
12058         (simpleDocBookOnePar): Simple white space clean.
12059
12060         * tabular.[Ch] (docBook): Renamed to docbook and got another
12061         argument to related with the pernicious mixed content.
12062
12063         (docbookRow): Fixed calls for docbook inset method.
12064
12065 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12066
12067         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12068         so it's X11 independent.
12069
12070         * kb*.[Ch]: ditto.
12071
12072         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12073
12074 2002-06-15  Lyx Development team  <lyx@electronia>
12075
12076         * intl.h: Renamed getTrans to getTransManager.
12077
12078 2002-06-14  Angus Leeming  <leeming@lyx.org>
12079
12080         * Makefile.am: nuke forgotten stl_string_fwd.h.
12081
12082 2002-06-12  Angus Leeming  <leeming@lyx.org>
12083
12084         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12085
12086 2002-06-13  Angus Leeming  <leeming@lyx.org>
12087
12088         * LaTeX.C:
12089         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12090
12091 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12092
12093         * kbmap.C (getiso): add support for cyrillic and greek
12094
12095 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12096
12097         * BufferView.h:
12098         * BufferView.C:
12099         * BufferView_pimpl.h:
12100         * BufferView_pimpl.C: move bogus scrolling logic
12101           to xforms
12102
12103 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12104
12105         * lyxfunc.C:
12106         * BufferView_pimpl.C: view->resize() change
12107
12108 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12109
12110         * BufferView_pimpl.C: topCursorVisible
12111           prototype change
12112
12113 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12114
12115         * Makefile.am:
12116         * lyx_gui.h:
12117         * lyx_gui.C: move to frontends/
12118
12119         * main.C:
12120         * lyx_main.h:
12121         * lyx_main.C: changes from above
12122
12123 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12124
12125         * intl.C:
12126         * intl.h:
12127         * kbmap.C:
12128         * kbsequence.C:
12129         * lyx_cb.C:
12130         * lyx_main.C: minor tidy
12131
12132 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12133
12134         * BufferView_pimpl.h:
12135         * BufferView_pimpl.C:
12136         * BufferView.h:
12137         * BufferView.C: make painter() const,
12138           remove dead code
12139
12140         * BufferView2.C: use screen() accessor
12141
12142         * lyx_main.h:
12143         * lyx_main.C: some minor cleanup
12144
12145 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12146
12147         * BufferView_pimpl.h:
12148         * BufferView_pimpl.C: remove enter/leaveView,
12149           use workHeight()
12150
12151 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12152
12153         * BufferView.h:
12154         * BufferView.C:
12155         * BufferView2.C:
12156         * BufferView_pimpl.h:
12157         * BufferView_pimpl.C: only construct screen once,
12158           rename
12159
12160         * lyxrc.C: remove pointless comment
12161
12162 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12163
12164         * BufferView.h:
12165         * BufferView.C: remove active() and belowMouse()
12166
12167         * BufferView_pimpl.h:
12168         * BufferView_pimpl.C: use workarea() not workarea_,
12169           and make it use a scoped_ptr instead
12170
12171 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12172
12173         * lyx_gui.C: add debug message on BadWindow
12174
12175 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12176
12177         * sp_spell.C: fdopen is not part of the C++ standard.
12178
12179         * paragraph.C (InsetIterator): use >= instead of ==
12180
12181 2002-06-07  Angus Leeming  <leeming@lyx.org>
12182
12183         Fixes needed to compile with Compaq cxx 6.5.
12184         * BufferView_pimpl.C:
12185         * DepTable.C:
12186         * buffer.C:
12187         * converter.C:
12188         * encoding.C:
12189         * lyx_gui.C:
12190         * lyx_main.C:
12191         * lyxtextclasslist.C:
12192         * minibuffer.C:
12193         * sp_spell.C:
12194         * tabular_funcs.C:
12195         * vc-backend.C:
12196         all c-library variables have been moved into namespace std. Wrap
12197         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12198
12199         * lyxlength.C:
12200         * tabular-old.C:
12201         * tabular.C:
12202         Add a using std::abs declaration.
12203
12204         * kbmap.h (modifier_pair):
12205         * paragraph.h (InsetTable, InsetList):
12206         * lyxfont.h (FontBits):
12207         type definition made public.
12208
12209         * bufferlist.C (emergencyWriteAll): the compiler complains that
12210         there is more than one possible lyx::class_fun template to choose from.
12211         I re-named the void specialisation as lyx::void_class_fun.
12212
12213         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12214
12215         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12216         the compiler is is unable to find tostr in write_attribute.
12217
12218 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12219
12220         * buffer.C (sgmlError): hide #warning
12221
12222 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12223
12224         * xtl/*: get rid of xtl, which is not in use anyway
12225
12226         * LyXAction.C (init):
12227         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12228         were unimplemented xtl experimentation
12229
12230 2002-06-04  André Pönitz <poenitz@gmx.net>
12231
12232         * lyxfunc.C: disable array operation on simple formulae
12233
12234 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12235
12236         * converter.C: constify a bit
12237
12238 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12239
12240         * lyx_gui.C: check xforms version correctly
12241
12242 2002-04-30  Herbert Voss  <voss@lyx.org>
12243
12244         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12245         "keep" option
12246
12247 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12248
12249         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12250           attempt to register it with a VCS)
12251
12252 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12253
12254         * lyx_main.C (init): honor variables LYX_DIR_13x and
12255         LYX_USERDIR_13x
12256
12257 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12258
12259         * buffer.h:
12260         * buffer.C:
12261         * lyx_main.C: fix a crash on bad command line,
12262           and give a useful exit status on error
12263
12264         * lyxfunc.C (doImport): allow -i lyx to work
12265
12266 2002-03-30  André Pönitz <poenitz@gmx.net>
12267
12268         * lyxfunc.C: mathed font changes
12269
12270 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12271
12272         * LaTeX.C:
12273         * importer.h:
12274         * importer.C:
12275         * lyx_sty.h:
12276         * lyx_sty.C:
12277         * lyxlex.C:
12278         * lyxrow.h:
12279         * lyxtext.h:
12280         * paragraph.h:
12281         * paragraph.C:
12282         * texrow.h:
12283         * texrow.C:
12284         * text.C:
12285         * trans_mgr.h: srcdocs, and some minor cleanups
12286
12287 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12288
12289         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12290         call getFont all the time)
12291
12292 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12293
12294         * switch from SigC signals to boost::signals
12295
12296 2002-05-29  André Pönitz <poenitz@gmx.net>
12297
12298         * paragraph_pimpl.C (getChar): don't call size() too often...
12299
12300 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12301
12302         * paragraph_pimpl.C (insertChar): do not try to update tables when
12303         appending (pos == size())
12304
12305         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12306         in order to reduce drastically the number of comparisons needed to
12307         parse a large document
12308
12309 2002-05-29  André Pönitz <poenitz@gmx.net>
12310
12311         * text.C:
12312         * text2.C:
12313         * lyxtextclass.C:
12314         * sp_pspell.h:
12315         * textclasslist.[Ch]:
12316         * sp_ispell.h: whitespace change
12317
12318 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12319
12320         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12321         lyxaction directly now.
12322
12323 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12324
12325         * trans.C:
12326         * lyxfont.C:
12327         * lyxvc.C: remove unused headers
12328
12329 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12330
12331         * Makefile.am:
12332         * buffer.h:
12333         * undostack.h:
12334         * undostack.C:
12335         * undo_funcs.h:
12336         * undo_funcs.C: some cleanups. Use shared_ptr
12337           and a template for the undo stacks.
12338
12339 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12340
12341         * BufferView_pimpl.h:
12342         * BufferView_pimpl.C:
12343         * kbmap.h:
12344         * kbmap.C:
12345         * kbsequence.h:
12346         * kbsequence.C:
12347         * lyxfunc.h:
12348         * lyxfunc.C:
12349         * text2.C: use key_state/mouse_state
12350
12351 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12352
12353         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12354         and LSubstring
12355
12356         * chset.C: change include order
12357         (loadFile): use boost regex and get rid of LRegex and LSubstring
12358
12359         * Makefile.am (BOOST_LIBS): new variable
12360         (lyx_LDADD): use it
12361
12362         * LaTeX.C: change include order.
12363         (scanAuxFile): use boost regex and get rid of LRegex and
12364         LSubstring
12365         (deplog): ditto
12366
12367 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12368
12369         * ColorHandler.h:
12370         * ColorHandler.C:
12371         * FontInfo.h:
12372         * FontInfo.C: moved to frontends/xforms/
12373
12374         * FontLoader.h:
12375         * FontLoader.C: moved into frontends for GUIIzation
12376
12377         * Makefile.am:
12378         * lyx_gui.C:
12379         * lyxfont.C:
12380         * lyxfunc.C: changes from above
12381
12382 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12383
12384         * LColor.C: remove spurious X include
12385
12386         * BufferView_pimpl.C:
12387         * Makefile.am:
12388         * font.h:
12389         * font.C:
12390         * text.C:
12391         * text2.C: move font metrics to frontends/
12392
12393 2002-05-24  Juergen Vigna  <jug@sad.it>
12394
12395         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12396         setting the undo_cursor.
12397
12398         * ParagraphParameters.h: include local includes first.
12399
12400 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12401
12402         * BufferView_pimpl.C:
12403         * BufferView_pimpl.h:
12404         * Makefile.am:
12405         * WorkArea.h:
12406         * WorkArea.C:
12407         * screen.C: move WorkArea into frontends/
12408
12409         * lyxscreen.h:
12410         * screen.C:
12411         * text.C:
12412         * BufferView.C:
12413         * BufferView2.C: move LyXScreen into frontends/
12414
12415         * lyxlookup.h:
12416         * lyxlookup.C:
12417         * lyx_gui.C: move lyxlookup into frontends/xforms/
12418
12419 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12420
12421         * BufferView2.C:
12422         * BufferView_pimpl.C:
12423         * FontLoader.C:
12424         * LyXView.h:
12425         * LyXView.C:
12426         * Makefile.am:
12427         * WorkArea.C:
12428         * XFormsView.h:
12429         * XFormsView.C:
12430         * buffer.C:
12431         * bufferlist.C:
12432         * bufferview_funcs.C:
12433         * converter.C:
12434         * importer.C:
12435         * lyx_cb.C:
12436         * lyx_gui.C:
12437         * lyx_main.C:
12438         * lyx_find.C:
12439         * lyxfunc.C:
12440         * lyxvc.C:
12441         * minibuffer.C:
12442         * text.C:
12443         * text2.C:
12444         * trans.C:
12445         * vc-backend.C: move LyX/XFormsView into frontends/
12446
12447 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12448
12449         * Makefile.am:
12450         * PainterBase.C:
12451         * PainterBase.h:
12452         * Painter.C:
12453         * Painter.h:
12454         * WorkArea.C:
12455         * WorkArea.h:
12456         * screen.C:
12457         * tabular.C:
12458         * text.C:
12459         * text2.C: move Painter to frontends/
12460
12461 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12462
12463         * buffer.C: comment out some some code that depend upon lyx_format
12464         < 220
12465
12466         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12467         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12468
12469         * buffer.h (NO_COMPABILITY): turn off compability
12470
12471         * ColorHandler.C: include scoped_array.hpp
12472
12473         * font.C: Use more specific smart_ptr header.
12474         * Painter.C: ditto
12475         * gettext.C: ditto
12476         * ShareContainer.h: ditto
12477         * lyx_main.h: ditto
12478         * kbmap.h: ditto
12479         * FontInfo.h: ditto
12480         * BufferView_pimpl.h: ditto
12481         * ColorHandler.h: ditto
12482
12483         * kbmap.C (defkey): change call to shared_ptr::reset
12484
12485 2002-05-21  Juergen Vigna  <jug@sad.it>
12486
12487         * buffer.C (insertErtContents): fix to insert ert asis if it is
12488         non empty. Skip it completely if it contains only whitespaces.
12489
12490 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12491
12492         * BufferView_pimpl.C:
12493         * BufferView2.C: clear selection on paste (bug 393)
12494
12495 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12496
12497         * DepTable.C: include ctime
12498
12499 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12500
12501         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12502
12503 2002-05-14  Juergen Vigna  <jug@sad.it>
12504
12505         * text.C (breakParagraph): fixed function to honor the keepempty
12506         layout in the right maner and also to permit the right breaking
12507         algorithm on empty or non empyt keepempty paragraphs.
12508
12509         * paragraph.C (breakParagraph): we have to check also if the par
12510         is really empty (!size()) for isempty otherwise we do the wrong
12511         paragraph break.
12512
12513 2002-05-10  Juergen Vigna  <jug@sad.it>
12514
12515         * buffer.[Ch] : The following are only changes to the ert
12516         compatibility read reading old LaTeX layout and font stuff and
12517         convert it to ERTInsets.
12518
12519         * buffer.h: added isErtInset().
12520
12521         * buffer.C (struct ErtComp): add a fromlayout bool to check
12522         if we're inside a LaTeX layout.
12523         (isErtInset): new helper function.
12524         (insertErtContents): look for other ert insets before this one
12525         and insert the contents there, so that we don't have subsequent
12526         ERT insets with nothing between them. This way we create only one
12527         inset with multiple paragraphs. Also check if we don't insert only
12528         spaces ' ' as they are ignored anyway afterwards in the .tex file
12529         so if we have only spaces we will ignore this latex part in the
12530         new file.
12531         (parseSingleLyXformat2Token \\layout): better compatibility when
12532         reading layout-latex stuff.
12533         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12534         language tag.
12535         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12536         stuff after reading the inset only get the information back from
12537         the stack.
12538
12539 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12540
12541         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12542
12543         * LaTeXFeatures.C (getBabelOptions): New method.
12544
12545 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12546
12547         * BufferView_pimpl.C (Dispatch): work around missing argument for
12548         'layout'
12549
12550 2002-05-08  Juergen Vigna  <jug@sad.it>
12551
12552         * text.C (leftMargin): handle paragraph leftindent.
12553
12554         * paragraph.C (writeFile): write the new \\leftindent tag.
12555         (validate): handle leftindent code.
12556         (TeXEnvironment): handle paragraphleftindent code again.
12557
12558         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12559
12560         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12561         for paragrap_extra indent code and new token \\leftindent.
12562         (latexParagraphs): handle the leftindent as environment.
12563
12564         * ParameterStruct.h: added leftindent support.
12565
12566         * ParagraphParameters.C (leftIndent): added support functions for
12567         the paragraph left indent.
12568
12569         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12570         more appropriate.
12571
12572 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12573
12574         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12575         inside insetERT.
12576
12577         * text.C (computeBidiTables): No bidi in insetERT.
12578
12579         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12580         in RTL documents.
12581
12582 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12583
12584         * version.C.in: pre 5
12585
12586 2002-05-02  José Matos  <jamatos@fep.up.pt>
12587         * buffer.C (makeDocBookFile): white space changes, add newline to
12588         command styles.
12589         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12590
12591         * tabular.C (docBook): fix typo.
12592
12593 2002-05-03  Juergen Vigna  <jug@sad.it>
12594
12595         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12596         change in LyXText as we can not be sure it was not freed.
12597         (drawOneRow): remove unused code.
12598
12599         * text.C (drawInset): redo the calculation of the need_break_row as
12600         it could have a row which was already freed.
12601         (draw): look at the return value of drawInset and return false if
12602         it also returned false.
12603         (paintRowText): look at the return value of draw and return false if
12604         it also returned false.
12605
12606         * lyxtext.h: added bool return type to drawInset() and draw() so that
12607         if we have a change in the row so that the rowbreak has to be redone
12608         we abort drawing as it will be called again.
12609
12610 2002-05-02  Juergen Vigna  <jug@sad.it>
12611
12612         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12613         a change in the maintext also if we're inside an inset.
12614         (Dispatch): set the cursor again after a break line and after the
12615         screen has been updated as it could be we're in a different row.
12616
12617         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12618         to set the cursor behind the pargraph with > size().
12619         (setCursor): check also for the same paragraph when checking where
12620         to put the cursor if we have a NFR inset.
12621
12622         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12623         parts of layout read further up as it still was in the wrong
12624         position.
12625
12626 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12627
12628         * screen.C (drawFromTo): change sine fullRebreak always return
12629         true.
12630
12631         * buffer.C (parseSingleLyXformat2Token): reindent some
12632
12633         * BufferView_pimpl.C (update): change since fullRebreak always
12634         return true.
12635         (Dispatch): git rid of the last hardcoded "Standard"s.
12636
12637 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12638
12639         * text2.[Ch] (fullRebreak): make it return void now that we always
12640         returned true.
12641
12642 2002-04-30  Juergen Vigna  <jug@sad.it>
12643
12644         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12645         ert compatibility check for "latex" layout.
12646
12647 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12648
12649         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12650         minipages: use col% instead of p%, and also use the current font.
12651         (makeLaTeXFile): Fix use babel condition.
12652         (parseSingleLyXformat2Token): Correct font when reading old floats.
12653
12654 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12655
12656         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12657         inserting list of floats.
12658
12659 2002-04-25  Herbert Voss  <voss@lyx.org>
12660
12661         * MenuBackend.C (expand): don't add the graphics extensions to the
12662         export menu
12663
12664 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12665
12666         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12667         non-existing layout, do not complain if it was the default layout
12668         of the original class (bug #342)
12669
12670 2002-04-24  Juergen Vigna  <jug@sad.it>
12671
12672         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12673         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12674
12675 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12676
12677         * buffer.C (getBibkeyList): If using \bibliography, return the
12678         option field with the reference itself. Enables us to provide natbib
12679         support when using \bibliography.
12680
12681 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12682
12683         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12684
12685         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12686         natbib is provided by the LaTeX class.
12687
12688 2002-04-23  Juergen Vigna  <jug@sad.it>
12689
12690         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12691         Wakeup functions.
12692
12693         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12694
12695 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12696
12697         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12698
12699         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12700         ensuremath around textordmasculine, textordfeminine and
12701         textdegree.
12702
12703 2002-04-19  Juergen Vigna  <jug@sad.it>
12704
12705         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12706         reinitializing the buffer otherwise row-dimensions may be wrong.
12707         (update): reset also the selection cursors if they do exits otherwise
12708         their x/y positions may be wrong.
12709
12710         * text2.C (cursorDown): don't enter the inset if we came from a row
12711         above and are one row over the inset.
12712
12713         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12714         really leaving an inset.
12715
12716 2002-04-18  Juergen Vigna  <jug@sad.it>
12717
12718         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12719         of the selected paragraph does not have the selected layout also if
12720         the last one had!
12721
12722         * text2.C (setLayout): fixed bug which did not change last selected
12723         paragraph.
12724
12725         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12726         changed the read and substituted \\end_float with \\end_inset!
12727
12728         * BufferView_pimpl.C (cursorPrevious):
12729         (cursorNext): fixed to make it work with rows heigher than the work
12730         area without moving the cursor only the draw of the row.
12731         (workAreaMotionNotify): fix jumping over high rows.
12732
12733 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12734
12735         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12736         Ressler.
12737
12738 2002-04-16  Juergen Vigna  <jug@sad.it>
12739
12740         * text2.C (setCursor): set also the irow().
12741         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12742         (cursorUp):
12743         (cursorDown): support for locking an inset if the x_fix value goes
12744         inside it. That way I can transverse insets too with cursor up/down.
12745
12746         * lyxrow.h: added irow helper function same as other (i) functions.
12747
12748         * BufferView_pimpl.C (cursorPrevious):
12749         (cursorNext): fixed for insets!
12750
12751 2002-04-15  Juergen Vigna  <jug@sad.it>
12752
12753         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12754         position otherwise it is wrong in some cases.
12755
12756         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12757         inside the inset before the call.
12758
12759 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12760
12761         * buffer.[Ch] (getBibkeyList): make it const.
12762
12763 2002-04-12  Juergen Vigna  <jug@sad.it>
12764
12765         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12766
12767         * text2.C (getCursorX): new helper function
12768         (setCursor): compute also ix_
12769         (setCursorFromCoordinates): set also ix.
12770
12771         * lyxcursor.h: added ix_ and helper functions.
12772
12773         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12774
12775         * buffer.C (insertStringAsLines): dont break paragraph if the this
12776         paragraph is inside an inset which does not permit it!
12777
12778         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12779         also with no chars on this paragraph.
12780         (paintRowText): only paint stuff if it's inside the workarea!
12781
12782         * paragraph.C (breakParagraph): honor keepempty flag and break the
12783         paragraph always below not above.
12784
12785         * BufferView2.C (unlockInset): update the paragraph layout on inset
12786         unlock as we changed paragraph in such a case.
12787
12788         * lyxfind.C (LyXFind): clear the former selection if not found!
12789
12790         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12791         again called in insertChar().
12792
12793         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12794         an inset which uses the whole row!
12795         (rightMargin): ditto.
12796         (insertChar): force a rebreak if we inserted an inset!
12797
12798 2002-03-28  Herbert Voss  <voss@lyx.org>
12799
12800         * lyxlength.[Ch]: add inBP() to get the right PS-point
12801         units (BigPoint). With inPixels we have rounding errors
12802
12803 2002-04-11  Juergen Vigna  <jug@sad.it>
12804
12805         * text2.C (setCursorFromCoordinates): set iy to the right value.
12806         (setCursor): add check if row->previous exists!
12807
12808         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12809         an old float_type as this was the case in the old code!
12810
12811         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12812
12813         * BufferView2.C (showLockedInsetCursor): use iy
12814         (fitLockedInsetCursor): ditto
12815
12816         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12817         locked insets as there we have the right value now.
12818
12819         * lyxcursor.C: added iy_ variable and iy functions to set to the
12820         baseline of cursor-y of the locked inset.
12821
12822         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12823         (setCursor): fixed for insets which need a full row.
12824
12825         * text.C (rowLastPrintable): don't ignore the last space when before
12826         an inset which needs a full row.
12827         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12828         as last character of a row when before a inset which needs a full row.
12829
12830 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12831
12832         * version.C.in: update date
12833
12834         * text2.C (fullRebreak): try to always return true and see what
12835         happens...
12836
12837 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12838
12839         * MenuBackend.C (expand): use Floating::listName
12840
12841         * FloatList.C (FloatList): add listName argument to the built-in
12842         floats
12843
12844         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12845         text associated with the float.
12846
12847 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12848
12849         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12850
12851 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12852
12853         * ShareContainer.h: add a couple of missing typenames.
12854
12855 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12856
12857         * lyxrc.C (getDescription): use _() correctly rather than N_().
12858
12859 2002-03-28  Herbert Voss  <voss@lyx.org>
12860
12861         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12862         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12863
12864 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12865
12866         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12867         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12868
12869 2002-03-29  Juergen Vigna  <jug@sad.it>
12870
12871         * lyxfunc.C (dispatch): add a missing fitCursor call.
12872
12873         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12874         it was scrolled by a cursor move, so return the bool status.
12875
12876         * BufferView.C (fitCursor): return the bool flag also to the outside
12877         world as this is needed.
12878
12879         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12880
12881         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12882         call the edit() as it is not needed (and wrong) IMO.
12883         (workAreaButtonPress): set the screen_first variable before evt.
12884         unlock the inset as this may change screen_first and then we have
12885         a wrong y position for the click!
12886
12887 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12888
12889         * MenuBackend.C (expand): another translation that I missed
12890
12891 2002-03-28  Juergen Vigna  <jug@sad.it>
12892
12893         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12894
12895         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12896
12897 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12898
12899         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12900
12901         * MenuBackend.C (expand): fix export/view/update when there is no
12902         document open.
12903
12904 2002-03-27  Herbert Voss  <voss@lyx.org>
12905
12906         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12907         and text%
12908
12909 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12910
12911         * bufferview_funcs.C (currentState): only show paragraph number
12912         for is DEVEL_VERSION is set.
12913
12914         * lyxfunc.C (dispatch): put warning in INFO channel
12915
12916         * MenuBackend.C (expand): translate the name of floats
12917
12918         * FloatList.C (FloatList): mark the float names for translation
12919
12920         * converter.C (convert): use LibScriptSearch
12921
12922 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12923
12924         * MenuBackend.C (defaults): fix default menu (we might as well get
12925         rid of it...)
12926
12927 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12928
12929         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12930         directory.
12931
12932 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12933
12934         * lyxvc.C: reorder includes.
12935
12936 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12937
12938         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12939           properly
12940
12941 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12942
12943         * CutAndPaste.C: change layouts earlier on paste
12944           to avoid crashing when calling getFont()
12945
12946 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12947
12948         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12949         irritating #error.
12950
12951 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12952
12953         * WorkArea.C: remove 'Pending' debug message.
12954
12955         * most files: ws cleanup
12956
12957         * buffer.[Ch]: ws changes
12958
12959         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12960
12961 2002-03-21  Juergen Vigna  <jug@sad.it>
12962
12963         * tabular.C (SetMultiColumn): collapse also the contents of the
12964         cells and set the last border right. Added a Buffer const * param.
12965
12966 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12967
12968         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12969         linking or not.
12970
12971 2002-03-19  Juergen Vigna  <jug@sad.it>
12972
12973         * text2.C (clearSelection): reset also xsel_cache.
12974
12975         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12976         where it needs to be called (John tells us to do so too :)
12977         (selectionLost): reset sel_cache.
12978
12979         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12980
12981 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12982
12983         * text2.C (setCursorIntern): put debuging code in INSETS channel
12984
12985 2002-03-19  André Pönitz <poenitz@gmx.net>
12986
12987         * lyxfunc.C: tiny whitespace change
12988
12989 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12990
12991         * ToolbarDefaults.C (init):
12992         * LyXAction.C (init):
12993         * commandtags.h:
12994         * BufferView_pimpl.C (Dispatch):
12995         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12996
12997 2002-03-19  Allan Rae  <rae@lyx.org>
12998
12999         * exporter.C (Export): removeAutoInsets before doing anything else.
13000         While I've just introduced a dependency on BufferView this really is
13001         the best place to clean the buffer otherwise you need to cleanup in
13002         a dozen places before calling export or cleanup in a dozen functions
13003         that export calls.
13004
13005         * converter.C (runLaTeX):
13006         (scanLog): Better handling of removeAutoInsets and screen updates.
13007
13008         * lyxfunc.C (dispatch): small whitespace changes
13009
13010 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13011
13012         * WorkArea.C (C_WorkAreaEvent): return a value.
13013         (event_cb): return 1 if we handled the event, 0 otherwise.
13014
13015         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13016
13017 2002-03-18  Juergen Vigna  <jug@sad.it>
13018
13019         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13020         (GetAdditionalWidth): ditto.
13021         (RightLine): ditto.
13022         (LeftLine): ditto.
13023
13024         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13025         inset if we're there actually (probably not used right now but this
13026         is the direction to go for unifying code).
13027         (paste): disable code to clear the selection.
13028
13029         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13030         inside an InsetText and move the check further up as it is in the
13031         wrong place.
13032
13033         * text2.C (pasteSelection): set a selection over the pasted text.
13034
13035 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13036
13037         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13038         and libgraphics to build on Cygwin.
13039
13040 2002-03-15  Juergen Vigna  <jug@sad.it>
13041
13042         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13043         inserting an Inset into the paragraph. I know this is not the best
13044         fix but we already use current_view in CutAndPaste so we will remove
13045         all of it's using at the same time.
13046
13047         * buffer.C (sgmlError): deactivated function till it is rewritten in
13048         the right mode, now it can create problems.
13049
13050         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13051         before accessing it.
13052
13053 2002-03-14  Juergen Vigna  <jug@sad.it>
13054
13055         * undo_funcs.C (textHandleUndo): do the right thing when updating
13056         the inset after the undo/redo.
13057
13058         * text2.C (setCursor): just some testcode for #44 not ready yet.
13059
13060         * undo_funcs.C (textHandleUndo): set the next() and previous()
13061         pointers of the paragraph to 0 before deleting otherwise we have
13062         problems with the Paragraph::[destructor].
13063
13064         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13065         on a paragraph insertion.
13066
13067 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13068
13069         * buffer.C (asciiParagraph): use += operator for char append to
13070         string.
13071
13072         * paragraph.C (getFontSettings): compare >= not just >
13073         (highestFontInRange): ditto
13074         (setFont): ditto
13075
13076 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13077
13078         * paragraph.C: change several algorithm to be more appripriate for
13079         the problem domain. This is lookip in FontList and in the InsetList.
13080
13081 2002-03-13  André Pönitz <poenitz@gmx.net>
13082
13083         * commandtags.h:
13084         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13085
13086 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13087
13088         * commandtags.h:
13089         * LyXAction.C:
13090         * lyxfunc.C:
13091         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13092
13093 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13094
13095         * Painter.C (display): anon helper function, adjust code for this
13096         change.
13097         (pixmap): remove function.
13098
13099         * Painter.h: remove private display variable.
13100
13101         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13102
13103 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13104
13105         * WorkArea.[Ch]: remove figinset_canvas cruft.
13106
13107 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13108
13109         * lyxtextclass.C (operator): add one item cache optimization.
13110
13111         * bufferlist.h: doxy changes
13112
13113         * bufferlist.C: ws changes
13114
13115         * DepTable.[Ch] (ext_exist): place const in the right spot.
13116
13117         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13118         call resizeInsets.
13119         (workAreaExpose): call resizeInsets when the with BufferView changes.
13120         (Dispatch): adjust for protectedBlank removal
13121         (specialChar): call updateInset if the insert went ok.
13122
13123         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13124         specialChar instead.
13125
13126         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13127
13128         * BufferView.h: doxy change
13129
13130         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13131
13132         * lyxtextclass.C (operator[]): remove non-const version
13133         (defaultLayout): remove non-const version
13134
13135 2002-03-12  Juergen Vigna  <jug@sad.it>
13136
13137         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13138         did resize the LyXText too.
13139
13140         * buffer.C (readLyXformat2): set layout information on newly allocated
13141         paragraphs.
13142
13143         * tabular.C (OldFormatRead): set layout information on the paragraph.
13144
13145 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13146
13147         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13148
13149 2002-03-11  Juergen Vigna  <jug@sad.it>
13150
13151         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13152         plainly wrong.
13153         (resizeCurrentBuffer): force also the insets to resize themselfes.
13154         (moveCursorUpdate): fixed up for InsetText.
13155
13156 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13157
13158         * commandtags.h:
13159         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13160         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13161         value of Dialogs::tooltipsEnabled().
13162         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13163
13164 2002-03-08  Juergen Vigna  <jug@sad.it>
13165
13166         * BufferView_pimpl.C (updateInset): update inset inside inset also
13167         if it isn't inside theLockingInset().
13168
13169 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13170
13171         * buffer.C (asciiParagraph): redo some of the word and line length
13172         handling.
13173         (getLists): look for Caption instead of caption.
13174
13175 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13176
13177         * buffer.C (Buffer): initialize niceFile to true
13178         (makeLaTeXFile):
13179         (makeLinuxDocFile):
13180         (makeDocBookFile): make sure niceFile is true on exit
13181
13182 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13183
13184         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13185
13186 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13187
13188         * LyXSendto.C: remove.
13189         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13190         * lyx_gui.C: remove now-redundant comment.
13191         * ColorHandler.h: remove forward declaration of class WorkArea.
13192         * lyxfunc.C: remove #include "WorkArea.h".
13193
13194 2002-03-07  Juergen Vigna  <jug@sad.it>
13195
13196         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13197         got moved away with the DEPM and also set the inset_owner always
13198         right which before could have been omitted.
13199
13200 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13201
13202         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13203         wanted layout is not found.
13204
13205 2002-03-07  Juergen Vigna  <jug@sad.it>
13206
13207         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13208
13209 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13210
13211         * paragraph.C (breakParagraph): use default layout not layout of
13212         prev paragraph.
13213         (Paragraph): clear ParagraphParameters.
13214
13215 2002-03-06  Juergen Vigna  <jug@sad.it>
13216
13217         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13218         otherwise it would not be a valid lenght. Fixed a special case in
13219         the minipage compatibility read where we end the document with a
13220         minipage.
13221
13222         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13223         was set as it could be 0 for InsetTexts first entry.
13224
13225 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13226
13227         * paragraph.C (writeFile): if layout is empty write out
13228         defaultLayoutName().
13229
13230         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13231         file without named layout we set layout to defaultLayoutName().
13232
13233 2002-03-06  Juergen Vigna  <jug@sad.it>
13234
13235         * CutAndPaste.C (copySelection): set layout for new paragraph.
13236
13237         * text.C (prepareToPrint): leave ERT inset left aligned
13238         (leftMargin): don't indent paragraphs inside ERT insets
13239
13240 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13241
13242         * paragraph.C (breakParagraph): dont call clear do the work manually
13243
13244         * paragraph.[Ch] (clear): remove function
13245
13246 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13247
13248         * paragraph.C (Paragraph): dont call clear, the work has already
13249         been done.
13250
13251         * lyxtextclass.C (operator): assert if n is empty
13252
13253         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13254         work manually instead.
13255
13256 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13257
13258         * BufferView_pimpl.C: protect selectionLost against text == 0
13259
13260 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13261
13262         * text.C (breakParagraph): fix a setting layout to '0' problem.
13263
13264 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13265
13266         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13267         final location of file, for the included files, and graphics.
13268
13269 2002-03-05  Juergen Vigna  <jug@sad.it>
13270
13271         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13272
13273 2002-03-04  Juergen Vigna  <jug@sad.it>
13274
13275         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13276
13277         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13278         last column of multicolumn cells.
13279         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13280
13281 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13282
13283         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13284         file if it doesn't go to a temporary file.
13285
13286         * buffer.C (sgmlOpenTag):
13287         (sgmlCloseTag):  remove extra newline insertion.
13288
13289 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13290
13291         * text.C (getRowNearY): comment out debug msg
13292
13293 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13294
13295         * text2.C: first -> first_y
13296
13297         * text.C (getRowNearY): add some attemts at a possible
13298         optimization, not working.
13299
13300         * tabular.[Ch]: add BufferParams to several function so that newly
13301         created paragraph can be initialized to he default layotu for the
13302         buffers textclass.
13303
13304         * tabular-old.C (ReadOld): add buf->params to call of Init
13305
13306         * screen.C: rename text->first to text->first_y
13307
13308         * paragraph.C (breakParagraph): always set layout in the broken
13309         paragraph
13310
13311         * lyxtextclass.C (Read): remove lowercase
13312         (hasLayout): ditto
13313         (operator): ditto
13314         (delete_layout): ditto
13315
13316         * lyxtext.h: rename first -> first_y
13317
13318         * lyxlayout.C (Read): remove lowercase
13319         (name): ditto
13320         (setName): ditto
13321         (obsoleted_by): ditto
13322
13323         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13324
13325         * buffer.C (insertErtContents): add params are to InsetERT
13326         (parseSingleLyXformat2Token): add code to check if a paragraphs
13327         layout really exist.
13328         (parseSingleLyXformat2Token): add params to several inset
13329         constructors
13330         (asciiParagraph): remove lowercase, do the layout comparisons with
13331         no_case
13332
13333         * BufferView_pimpl.C (cursorNext): first -> first_y
13334         (resizeCurrentBuffer): first -> first_y
13335         (updateScrollbar): first -> first_y
13336         (scrollCB): first -> first_y
13337         (workAreaMotionNotify): first -> first_y
13338         (workAreaButtonPress): first -> first_y
13339         (checkInsetHit): first -> first_y
13340         (cursorPrevious): first -> first_y
13341         (cursorNext): first -> first_y
13342         (Dispatch): add buffer_->params to severl inset contructors
13343
13344 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13345
13346         * lyxlayout.C (Read): remove some debug info that I forgot.
13347
13348         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13349         clean up the code slightly.
13350         (makeLinuxDocFile): ditto
13351         (makeDocBookFile): ditto
13352
13353         * text2.C: layout as string
13354
13355         * text.C: layout as string
13356
13357         * paragraph_pimpl.C: layout as string
13358
13359         * paragraph.[Ch]: layout as string
13360
13361         * lyxtextclasslist.[Ch]: layout as string
13362
13363         * lyxtextclass.[Ch]: layout as string
13364
13365         * lyxtext.h: layout as string
13366
13367         * lyxlayout.[Ch]: layout as string
13368
13369         * lyx_cb.C: layout as string
13370
13371         * bufferview_funcs.C: layout as string
13372
13373         * bufferparams.C: layout as string
13374
13375         * buffer.C: layout as string
13376
13377         * LyXView.[Ch]: layout as string
13378
13379         * LaTeXFeatures.[Ch]: layout as string
13380
13381         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13382
13383         * BufferView_pimpl.C: change current_layout to string, remove
13384         lyx::layout_type.
13385         (Dispatch):
13386         (smartQuote):
13387         (insertInset):
13388         (workAreaButtonRelease): layout as string
13389
13390         * BufferView2.C (unlockInset): adjust
13391
13392         * vspace.C (asLatexCommand): use an explict temp variable.
13393
13394 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13395
13396         * Makefile.am: use FRONTEND_*
13397
13398 2002-03-01  Juergen Vigna  <jug@sad.it>
13399
13400         * tabular.C (SetWidthOfMulticolCell): changed to something better
13401         I hope but still work in progress.
13402         (recalculateMulticolumnsOfColumn): renamed function from
13403         recalculateMulticolCells as it is more appropriate now.
13404         (SetWidthOfCell): calculate multicols better.
13405
13406 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13407
13408         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13409
13410         * lyxfunc.C (processKeySym): print sequence also if it is
13411         `deleted' (complete)
13412
13413         * kbsequence.C (print): print sequence even if it is deleted
13414         (complete would be a better word, actually).
13415
13416         * lyxfunc.C (dispatch): print complete options after a prefix key
13417
13418         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13419
13420 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13421
13422         * text2.C (setCharFont): eliminate setCharFont code duplication.
13423
13424 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13425
13426         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13427         LFUN_TABULAR_FEATURE (bug #177)
13428
13429 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13430
13431         * Makefile.am: remove figure.h
13432
13433 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13434
13435         * Bufferview_pimpl.C:
13436         * CutAndPasteC:
13437         * LaTeX.C:
13438         * LyXSendto.C:
13439         * buffer.C:
13440         * bufferlist.C:
13441         * converter.C:
13442         * language.C:
13443         * lyxfunc.C:
13444         * lyxvc.C:
13445         * paragraph.C:
13446         * text.C:
13447         * text2.C: remove #include "lyx_gui_misc.h".
13448
13449         * LaTeX.C: added #include <cstdio>
13450
13451 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13452
13453         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13454         that the paragraph following this one can have.
13455
13456         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13457
13458         * vspace.C (asLatexCommand): fix bogus gcc warning
13459
13460         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13461
13462 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13463
13464         * text2.C (setLayout): get rid of redundant code
13465
13466 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13467
13468         * text2.C (incDepth): make sure depth cannot be increased beyond
13469         reasonable values.
13470
13471 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13472
13473         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13474         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13475
13476         * PainterBase.h (image):
13477         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13478         a LyXImage const *.
13479
13480 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13481
13482         * BufferView.C:
13483         * BufferView.h:
13484         * BufferView_pimpl.C:
13485         * BufferView_pimpl.h:
13486         * LaTeXFeatures.C:
13487         * LyXAction.C:
13488         * LyXView.C:
13489         * Makefile.am:
13490         * UpdateList.h:
13491         * UpdateList.C:
13492         * buffer.C:
13493         * figure.h:
13494         * figureForm.C:
13495         * figureForm.h:
13496         * figure_form.C:
13497         * figure_form.h:
13498         * lyx_cb.C:
13499         * lyx_gui.C:
13500         * lyx_gui_misc.C:
13501         * lyxfunc.C:
13502         * sp_base.h:
13503         * sp_ispell.h:
13504         * sp_pspell.h:
13505         * sp_spell.C: remove fig inset, and the crap house of
13506           cards that follows it
13507
13508 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13509
13510         * Makefile.am:
13511         * lyxserver.C:
13512         * os2_defines.h:
13513         * os2_errortable.h:
13514         * nt_defines.h: move .h into support/
13515
13516         * vms_defines.h: remove
13517
13518         * WorkArea.C: add space in debug output
13519
13520         * text2.C:
13521         * paragraph.C:
13522         * buffer.C: add WITH_WARNINGS
13523
13524         * vc-backend.h:
13525         * vc-backend.C:
13526         * bufferlist.C: s/retrive/retrieve/, add docs
13527
13528         * vspace.h:
13529         * vspace.C:
13530         * kbmap.h:
13531         * lyxlength.h:
13532         * lyxgluelength.h:
13533         * length_common.h:
13534         * chset.h:
13535         * chset.C: add docs
13536
13537         * lyxgui.C: add ID to X error handler
13538
13539         * lyxtestclass.c: fix typo
13540
13541 2002-02-26  Juergen Vigna  <jug@sad.it>
13542
13543         * tabular_funcs.C (write_attribute): changed so that some default
13544         attributes are not written at all.
13545         (getTokenValue): set default values before trying to read the
13546         value so we have the return value always set as default if we don't
13547         find the token we search for.
13548
13549         * tabular.C (Write): write bools as bools not as strings!
13550
13551 2002-02-22  Juergen Vigna  <jug@sad.it>
13552
13553         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13554         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13555
13556         * text.C (leftMargin): don't add an indent for paragraphs inside
13557         tabular cells (fix #208).
13558
13559 2002-02-21  José Matos  <jamatos@fep.up.pt>
13560
13561         * tabular.C (docBook): fixed support for long tables.
13562
13563 2002-02-20  Juergen Vigna  <jug@sad.it>
13564
13565         * text2.C (getFont): get the drawing font of the Inset if this
13566         paragraph is inside an inset (only important for InsetERT for now).
13567
13568         * buffer.C (insertErtContents): use new lanugage params in ERT
13569         constructor.
13570
13571         * CutAndPaste.C: commenting out seemingly uneeded code.
13572
13573 2002-02-19  Allan Rae  <rae@lyx.org>
13574
13575         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13576         Iterators might be simple to use but they also get invalidated.
13577         (removeAutoInsets): renamed saved cursor tracking variables and added
13578         some comments to clarify what everything does.
13579
13580 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13581
13582         * Chktex.C:
13583         * LaTeX.C:
13584         * LyXSendto.C:
13585         * converter.C:
13586         * lyx_cb.C:
13587         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13588         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13589
13590         * lyxfunc.C:
13591         * vc-backend.h: remove #include "support/syscall.h"
13592
13593         * LaTeX.C:
13594         * LyXSendto.C:
13595         * converter.C: rearrange #includes in Lars' approved fashion.
13596
13597         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13598         forward declare class Timeout in the header file.
13599
13600         * XFormsView.C: changes due to the above.
13601
13602         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13603         similar to LyXView.
13604
13605         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13606         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13607
13608 2002-02-18  José Matos  <jamatos@fep.up.pt>
13609
13610         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13611         insets contents.
13612
13613 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13614
13615         * a lot of small ws changes
13616         * add a lot of using std::XXX
13617         * use std construcs some places where approp.
13618         * use some exisint stuff from lyxfunctional where approp.
13619         * Make file changes to use partial linking (lets test this now...)
13620
13621 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13622
13623         * Chktex.C:
13624         * buffer.C:
13625         remove #include "support/syscontr.h" as it's redundant. Always has been.
13626
13627         * Chktex.C:
13628         * LaTeX.C:
13629         * LyXSendto.C:
13630         * converter.C:
13631         * lyx_cb.C:
13632         * vc-backend.C:
13633         change Systemcalls::System to Systemcalls::Wait and
13634         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13635         No change of functionality, just reflects the stripped down Systemcalls
13636         class.
13637
13638 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13639
13640         * debug.[Ch]: add a GRAPHICS type to the enum.
13641
13642 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13643
13644         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13645
13646         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13647         there is an inset.
13648
13649 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13650
13651         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13652         match the changes below.
13653
13654         * text2.C (toggleInset): if there is not editable inset at cursor
13655         position, try to see if cursor is _inside_ a collapsable inset
13656         and close it.
13657
13658 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13659
13660         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13661         document menu has a nice checkbox
13662
13663 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13664
13665         * lyxlength.C (asLatexString): change PW to output as percent of
13666         \textwidth.
13667
13668         * lengthcommon.C: change '%' to 't%'
13669
13670         * lyxfunc.C (dispatch): a few comments from Martin
13671
13672 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13673
13674         * WorkArea.h:
13675         * WorkArea.C:
13676         * BufferView_pimpl.h:
13677         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13678           the X selection.
13679
13680 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13681
13682         * vspace.C (inPixels): fix compiler warning
13683
13684 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13685
13686         * lyxfunc.C (getStatus): fix status message for disabled commands.
13687
13688 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13689
13690         * BufferView_pimpl.C: fix crash on close buffer
13691         during selection (#227)
13692
13693 2002-01-27  Herbert Voss  <voss@lyx.org>
13694
13695         * buffer.C: link old Figure to new graphic inset
13696
13697 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13698
13699         * FontLoader.C (getFontinfo): Change the latex font names in order
13700         to match the names of type1inst.
13701
13702 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13703
13704         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13705
13706         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13707         (extchanged): ditto
13708         (ext_exist): ditto
13709         (remove_files_with_extension): ditto
13710         (remove_file): ditto
13711         (write): ditto
13712
13713         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13714         document is smaller than the work area height. Do not initialize
13715         static variables to 0.
13716
13717 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13718
13719         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13720
13721         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13722         LFUN_LAYOUT_PARAGRAPHS.
13723
13724         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13725         tabular. It is possible to provide a possible cell, which will
13726         typically be the actcell from the corresponding insettabular
13727
13728         * lyxfunc.C (getStatus): small cleanup; disable
13729         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13730         true
13731
13732 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13733
13734         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13735
13736         * paragraph.C (startTeXParParams):
13737         (endTeXParParams): new methods. The LaTeX code to
13738         start/end paragraph formatting
13739         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13740         empty (fixes bug #200)
13741
13742         * vspace.C (inPixels): adapt to the change below
13743         (inPixels): [later] more cleanups (remove unused variables)
13744
13745         * lyxlength.C (inPixels): change to use a width and a height as
13746         parameter.
13747
13748 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13749
13750         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13751         Replaced with \paperwidth
13752
13753         * DepTable.C (insert): add std:: qualifier
13754
13755 2002-01-18  Allan Rae  <rae@lyx.org>
13756
13757         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13758         updated also?
13759
13760         * text.C (drawInset): Turned out I didn't know enough about how
13761         rebreaking worked.  This fixes most of the redraw problems.  I see
13762         an occasional cursor trail when a line is broken now and the cursor
13763         placement can seem out by a few pixels also after a rebreak.
13764
13765 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13766
13767         * buffer.C (parseSingleLyXformat2Token): update because minipage
13768         width is now a LyXLength
13769
13770         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13771
13772         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13773         math insets
13774
13775 2002-01-17  Juergen Vigna  <jug@sad.it>
13776
13777         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13778
13779         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13780         is set correctly and the inset is updated correctly.
13781
13782 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13783
13784         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13785         the beginning of the loop.
13786
13787 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13788
13789         * lyxrc.C: improve help for use_scalable_fonts
13790
13791 2002-01-17  Allan Rae  <rae@lyx.org>
13792
13793         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13794
13795 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13796
13797         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13798         make sure to set their inset_owner to the right value (bug #171)
13799
13800 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13801
13802         * DepTable.h
13803         * DepTable.C: Implement mtime checking to reduce time spent doing
13804         CRCs.
13805
13806 2002-01-16  Juergen Vigna  <jug@sad.it>
13807
13808         * tabular.C (GetAdditionalHeight): one of error fixed.
13809
13810         * lyxrc.C (output): small fix in writing use_pspell.
13811
13812 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13813
13814         * sp_base.h: #include LString.h
13815
13816 2002-01-16  Allan Rae  <rae@lyx.org>
13817
13818         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13819         Can someone check this please?
13820
13821         * text.C (drawInset): It was possible that p.row would be removed by
13822         breakAgainOneRow upsetting a few other settings.  There may be another
13823         small tweak possible by setting need_break_row = 0 when p.row has been
13824         removed but I don't know enough about the logic here.
13825
13826 2002-01-15  Allan Rae  <rae@lyx.org>
13827
13828         * text.C (insertChar): removed conditional truism.
13829
13830         * BufferView2.C (removeAutoInsets): More tweaks.
13831         cur_par_prev could be a stray pointer.  Check for trailing empty line
13832         in case last line was cur_par and only had an error inset on it.
13833
13834 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13835
13836         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13837         absolute
13838
13839         * vc-backend.C (most methods):
13840         * exporter.C (Export):
13841         * converter.C (convert):
13842         (runLaTeX):
13843         * LyXSendto.C (SendtoApplyCB):
13844         * lyxfunc.C (dispatch):
13845         (menuNew):
13846         (open):
13847         (doImport):
13848         * lyx_cb.C (AutoSave):
13849         (InsertAsciiFile):
13850         * BufferView_pimpl.C (MenuInsertLyXFile):
13851         * buffer.C (runChktex): use Buffer::filePath().
13852
13853         * buffer.h: rename filename to filename_; rename filepath to
13854         filepath_ and make it private
13855         (filePath): new method
13856
13857         * buffer.C (writeFile): use fileName()
13858         (getLatexName):
13859
13860         * lyx_main.C (init): fix starting  of LyX when the binary is a
13861         link from so,ewhere else.
13862
13863         * minibuffer.C: include <cctype> for isprint
13864
13865 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13866
13867         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13868         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13869         name clash with InsetCollapsable's width function.
13870
13871 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13872
13873         * lastfiles.C: include <iterator>
13874
13875 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13876
13877         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13878         std::count.
13879
13880         * buffer.C (makeLaTeXFile): ditto.
13881         Also make loop operation more transparent.
13882
13883 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13884
13885         * ToolbarDefaults.C: remove trailing comma closing namespace.
13886
13887         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13888
13889         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13890         as in WorkArea.
13891
13892         * trans.C (Load): comment out unused variable, allowed.
13893
13894 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13895
13896         * minibuffer.[Ch] (append_char): new method to recieve input from the
13897         drop-down completion browser. If a key was pressed, then recieve this
13898         char and append it to the existing string.
13899         (peek_event): modify the positioning data passed to the completion
13900         browser so that it can be placed above the minibuffer rather than below.
13901 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13902
13903         * LyXAction.C (init): alloe error-next for readonly documents.
13904
13905         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13906         count.
13907
13908 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13909
13910         * bufferlist.C (readFile): create the buffer _after_ checking that
13911         the file exists.
13912
13913         * lyxfunc.C (verboseDispatch): fix handling of arguments
13914
13915         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13916
13917         * lyxrc.C: use string::erase() instead of initializing to "".
13918
13919
13920 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13921
13922         * BufferView_pimpl.h:
13923         * BufferView_pimpl.C:
13924         * WorkArea.h:
13925         * WorkArea.C:
13926         * text2.C: tell X when we have made a selection for copying
13927
13928 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13929
13930         * BufferView_pimpl.C (MenuInsertLyXFile):
13931         * lyxfunc.C (menuNew):
13932         (open):
13933         (doImport): add shortcuts to directory buttons
13934
13935         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13936         open a float)
13937
13938         * lyxfunc.C (setStatusMessage):
13939         (getStatusMessage): new methods
13940         (getStatus):use setStatusMessage instead of setErrorMessage
13941         (dispatch): when function is disabled, set error message here
13942         [instead of in getStatus previously]
13943
13944         * BufferView_pimpl.C (workAreaButtonRelease): update
13945         toolbar/menubar here too.
13946
13947 2002-01-13  Allan Rae  <rae@lyx.org>
13948
13949         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13950         Now seems indestructible.  Remaining task is to audit all other
13951         code affected by deleteEmptyParagraphMechanism.  One small quirk
13952         left is that an empty document with an error in the preamble can
13953         be made to report an error but no error box appears.  I don't know
13954         where it goes.
13955         (removeAutoInsets): Improved comments.
13956
13957 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13958
13959         * Thesaurus.h:
13960         * Thesaurus.C: update for Aiksaurus 0.14
13961
13962 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13963
13964         * text2.C (firstParagraph): removed member function, all uses
13965         replaces with ownerParagraph
13966         (redoParagraphs): here
13967         (updateInset): here
13968         (toggleAppendix): here
13969         * BufferView2.C (insertErrors): here
13970         (setCursorFromRow): here
13971
13972 2002-01-13  Allan Rae  <rae@lyx.org>
13973
13974         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13975         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13976         There is still a way to segfault this although you may have to do this
13977         multiple times: Have an InsetERT with an unknown command in it.
13978         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13979         <down-arrow>, <Enter> again, View->DVI, BANG!
13980
13981         * text2.C (setCursor):
13982         (deleteEmptyParagraphMechanism):
13983         * lyxtext.h (setCursor):
13984         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13985         Making use of the return value may help fix other bugs.
13986
13987 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13988
13989         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13990
13991         * LyXView.C (updateMenubar): call MenuBar::update here
13992         (updateToolbar): but not here
13993         (showState): do not update toolbar/menubar
13994
13995         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13996         should need to care about that.
13997
13998         * lyxfunc.C (verboseDispatch): simplify a bit
13999         (getStatus): have a version which takes a pseudoaction, and
14000         another which requires a (kb_action,string).
14001
14002         * LyXAction.C (retrieveActionArg): make it work also when action
14003         is not a pseudo-action.
14004         (getActionName): simplify a bit
14005         (helpText):
14006
14007 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14008
14009         * lyxfunc.C (verboseDispatch): new families of methods with
14010         several ways to specify a command and a bool to indicate whether
14011         the command name and shortcut should be displayed in minibuffer
14012         (eventually, we could extend that to a finer bitmask like
14013         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14014         (dispatch): the pristine dispatch command which just, well,
14015         dispatchs! Note it still sets its result to minibuffer; I'm not
14016         sure we want that.
14017
14018         * lyxfunc.h: remove setHintMessage
14019
14020         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14021
14022 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14023
14024         * BufferView_pimpl.C (specialChar): delete new inset if we have
14025         not been able to insert it.
14026
14027         * kbmap.C: revert to using int instead of kb_action, since all we
14028         are dealing with is pseudo-actions.
14029
14030         * LyXAction.C (searchActionArg): change to return int instead of
14031         kb_action, since the result is a pseudoaction.
14032
14033 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14034
14035         * buffer.C (insertErtContents): Fix (partially) the font bug.
14036
14037 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14038
14039         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14040         as the other one is broken on my machine!
14041
14042 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14043
14044         * commandtags.h:
14045         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14046
14047 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14048
14049         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14050         reflect their actual use. Provide compatibility code for older lyxrc
14051         files.
14052
14053         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14054         FL_NORMAL_STYLE.
14055         change names of popup font variables in line with the changes to lyxrc.C
14056
14057 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14058
14059         * buffer.C (asciiParagraph): avoid outputing a word twice after
14060         an inset.
14061
14062         * lyxrc.C (getDescription): document that document_path and
14063         template_path can be empty.
14064
14065 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14066
14067         * LaTeXFeatures.C (getMacros):
14068         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14069
14070         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14071
14072         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14073         getPackages.
14074         (getPackages): rename feature "floats" to "float". Use an array to
14075         iterate over 'simple' features (i.e. just a \usepackage). Add
14076         handling of "amsmath" (renamed from "amsstyle").
14077
14078 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14079
14080         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14081         features list.
14082
14083 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14084
14085         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14086         FuncStaus::FuncStatus & FuncStaus::some_method().
14087
14088 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14089
14090         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14091         of the func_satus stuff. Edited and massaged in various ways by
14092         JMarc.
14093
14094         * lyxfunc.C (getStatus): use FuncStatus
14095
14096 2002-01-08  Juergen Vigna  <jug@sad.it>
14097
14098         * text.C (nextBreakPoint): use function Inset::isChar().
14099
14100         * paragraph.C (TeXOnePar): use function
14101         Inset::forceDefaultParagraphs.
14102
14103         * buffer.C (latexParagraphs): use function
14104         Inset::forceDefaultParagraphs.
14105
14106 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14107
14108         * lyx_gui.C (init): set the style of the menu popups to
14109         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14110
14111 2002-01-07  Juergen Vigna  <jug@sad.it>
14112
14113         * text.C (setHeightOfRow): small fix
14114         (prepareToPrint): don't look at alignment if we don't have the place
14115         for doing it.
14116
14117 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14118
14119         * box.C: New file. Move the Box methods and functions out of box.h,
14120         following Lars' suggestion.
14121
14122 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14123
14124         * box.h: #include "support/LOstream.h", needed for inlined function.
14125
14126         * lyxtextclass.C:
14127         * lyxtextclasslist.C: added some using std declarations.
14128
14129 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14130
14131         * box.h: make signed dimensions to allow insets wider than
14132           the screen (bug #162)
14133
14134         * BufferView_pimpl.C: add some insetHit debug
14135
14136 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14137
14138         * vc-backend.C: add FIXME
14139
14140 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14141
14142         * lyxfunc.C (getStatus): enable code for showing math font status
14143         in toolbar/menu.
14144
14145 2002-01-07  Juergen Vigna  <jug@sad.it>
14146
14147         * text.C (nextBreakPoint): removed debug output not needed anymore.
14148
14149 2002-01-06  Juergen Vigna  <jug@sad.it>
14150
14151         * text.C (nextBreakPoint): fixed up this function we had this bug
14152         since ever but now hopefully we break row better.
14153         (insertChar): we have to check if an inset is the next char as it
14154         could now happen that a large inset is causing a break.
14155
14156 2002-01-05  Juergen Vigna  <jug@sad.it>
14157
14158         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14159         if it doesn't like to be drawed.
14160
14161 2002-01-04  Juergen Vigna  <jug@sad.it>
14162
14163         * BufferView2.C (lockInset): forgot to set a cursor.
14164
14165         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14166
14167 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14168
14169         * FormMathsPanel.C:
14170         * FormMathsPanel.h
14171         * MathsSymbols.C:
14172         * form_maths_panel.C:
14173         * form_maths_panel.h:
14174         * form_maths_panel.fd: implemented sub- and super- buttons in math
14175         panel.
14176
14177         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14178         (or ^ space) to be used as in TeX (req'd by Andr�.
14179
14180         * lyxfunc.C: Allow ^ and _ again to be used both as
14181         super/subscript (mathed) and as themselves (in text).
14182
14183 2002-01-03  Allan Rae  <rae@lyx.org>
14184
14185         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14186         "LyX" or the filename of the current buffer if it has one.  This is a
14187         modified form of John Levon's patch.
14188
14189         * XFormsView.C (setWindowTitle): also set icon title.
14190
14191         * LyXView.h (setWindowTitle): signature changed.
14192         * XFormsView.h (setWindowTitle): ditto.
14193
14194 2002-01-02  Juergen Vigna  <jug@sad.it>
14195
14196         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14197
14198 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14199
14200         * screen.C (topCursorVisible): introduce a temp var for
14201         text->cursor.row(), handle the case where this row is null. (kindo
14202         hachish)
14203
14204         * text2.C (setCursor): add a couple of asserts.
14205
14206         * paragraph.h (inset_iterator): add -> operator
14207
14208         * paragraph.[Ch] (autoDeleteInsets): remove member function
14209
14210         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14211         cursor pos correctly and handle inset deletion by itself.
14212         (insertErrors): move iterator declaration out of for expression
14213
14214         * lyxtextclass.C: add <algorithm>
14215
14216         * Makefile.am: added the new files to sources, removed layout.C
14217
14218         * layout.C: removed file
14219
14220         * layout.h: remove LYX_DUMMY_LAYOUT
14221
14222         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14223         layout.
14224
14225         * lyxlayout.[Ch]:
14226         * lyxtextclass.[Ch]:
14227         * lyxtextclasslist.[Ch]: new files
14228
14229         * include order changes to a lot of files, also changes because of
14230         the six new files.
14231
14232 2001-12-27  Juergen Vigna  <jug@sad.it>
14233
14234         * buffer.C (asciiParagraph): more fixes.
14235
14236         * tabular.C (ascii): make ascii export support export of only the
14237         data separated by a column-delimiter.
14238         (ascii): better support for ascii export.
14239
14240         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14241
14242 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14243
14244         * tabular_funcs.C: use a "using std::getline" instead of the
14245         previous fix from Angus (necessary for cxx + lyxstring)
14246
14247 2001-12-24  Juergen Vigna  <jug@sad.it>
14248
14249         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14250
14251         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14252         problems. First check a minipage also if we have some ert-contents
14253         (not only on par->size(), second set the right depth of the paragraph
14254         on the relink to the root-paragraph-list!
14255
14256         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14257         which then did not anymore update the main paragraphs on undo/redo!
14258
14259 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14260
14261         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14262         code. Support all font-changing funcs (even those which are not in
14263         menu currently). Support for reporting font settings in
14264         mathed (disabled until Andre provides a function on mathed's side).
14265
14266         * func_status.h (toggle): small helper function to set toggle
14267         state on a flag.
14268
14269 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14270
14271         * tabular_funcs.C: getline -> std::getline
14272
14273 2001-12-21  Juergen Vigna  <jug@sad.it>
14274
14275         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14276         accessed and could be 0 (I couldn't generate this but it seems
14277         Michael could!).
14278
14279 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14280
14281         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14282         * tabular_funcs.h: here and include iosfwd
14283
14284 2001-12-20  Juergen Vigna  <jug@sad.it>
14285
14286         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14287         inside inset but undo_par was.
14288
14289 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14290
14291         * Thesaurus.C: always include <config.h> in sources.
14292
14293         * Painter.h:
14294         * lyxlookup.h:
14295         * box.h: do not include <config.h> in header files
14296
14297         * text.C (paintLastRow): remove unused variable
14298
14299         * text.C (transformChar):
14300         (insertChar):
14301         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14302
14303         * Painter.C (text):
14304         * font.C (width): rewrite to use uppercase() instead of
14305         islower/toupper.
14306
14307         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14308
14309 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14310
14311         * lyxfind.C: clean up of find failure position change
14312
14313 2001-12-20  Juergen Vigna  <jug@sad.it>
14314
14315         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14316
14317         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14318         (TeXRow): added to LaTeX a single tabular row.
14319         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14320         (Latex): simplified and finally good LT-h/f support.
14321         (various_functions): just small adaptions for LT-h/f support.
14322
14323         * tabular_funcs.[hC]: added and moved here all not classfunctions
14324         of LyXTabular.
14325
14326 2001-12-19  Juergen Vigna  <jug@sad.it>
14327
14328         * tabular.[Ch]: better support for longtabular options (not finished
14329         yet!)
14330
14331 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14332
14333         * text.C (paintLastRow): use the label font instead of the font of
14334         the last character to compute the size of *_BOX. This makes more
14335         sense and avoids a crash with empty paragraphs.
14336         Use Painter::rectangle to draw EMPTY_BOX.
14337
14338 2001-12-19  Juergen Vigna  <jug@sad.it>
14339
14340         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14341         the paragraphs if the replaced paragraph is not the first one!
14342         Tried to delete not used paragraphs but does not work yet so for
14343         now it's inside #ifdef's and by default off!
14344
14345 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14346
14347         * MenuBackend.C: include "lyx_main.h" instead of declaring
14348         lastfiles (actually was declared as LastFiles* instead of a
14349         scoped_ptr).
14350
14351 2001-12-17  Juergen Vigna  <jug@sad.it>
14352
14353         * tabular.C (AppendColumn): applied John's fix
14354
14355 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14356
14357         * BufferView.h:
14358         * BufferView.C:
14359         * BufferView_pimpl.h:
14360         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14361
14362         * Makefile.am:
14363         * box.h: new start of class for above
14364
14365         * lyxfunc.C: ignore space-only minibuffer dispatches.
14366           Show the command name when it doesn't exist
14367
14368         * minibuffer.C: don't add empty lines to the history
14369
14370         * minibuffer.C: add a space on dropdown completion
14371
14372 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14373
14374         * text.C: fix line above/below drawing in insets
14375
14376 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14377
14378         * lyxlength.C (LyXLength): Initialize private variables.
14379
14380 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14381
14382         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14383         when inserting error insets.
14384
14385 2001-12-13  Juergen Vigna  <jug@sad.it>
14386
14387         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14388         actually sometimes the before-paragraph.
14389         (setUndo): don't clear the redostack if we're not actually undoing!
14390
14391 2001-12-06  Juergen Vigna  <jug@sad.it>
14392
14393         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14394         and fixed redoing of main paragraph, so we can use it now ;)
14395
14396         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14397
14398 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14399
14400         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14401         Juergen's request
14402
14403 2001-12-13  André Pönitz <poenitz@gmx.net>
14404
14405         * undostack.[Ch]:
14406         * undo_func.C: minor cleanup
14407
14408 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14409
14410         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14411         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14412         font in urw-fonts package which is marked as -urw-fontspecific and
14413         does not work (incidentally, changing the encoding in the
14414         fonts.dir of this package to -adobe-fontspecific fixes the
14415         problem).
14416
14417         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14418         is a crash when undoing first paragraph (Juergen, please take a
14419         look). THis does not mean the undo fix is wrong, just that it
14420         uncovers problems.
14421
14422         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14423         the (Paragraph*) version when needed instead of duplicating the
14424         code.
14425
14426         * text.C (workWidth): use Inset::parOwner to find out where the
14427         inset has been inserted. This is a huge performance gain for large
14428         documents with lots of insets. If Inset::parOwner is not set, fall
14429         back on the brute force method
14430
14431         * paragraph_pimpl.C (insertInset):
14432         * paragraph.C (Paragraph):
14433         (cutIntoMinibuffer): set parOwner of insets when
14434         inserting/removing them
14435
14436         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14437
14438 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14439
14440         * commandtags.h:
14441         * LyXAction.C:
14442         * lyx_main.C:
14443         * lyxfunc.C:
14444         * mathed/formulabase.C:
14445         * mathed/math_cursor.[Ch]:
14446         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14447
14448
14449 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14450
14451         * lyxlength.[Ch] (operator!=): new function
14452
14453 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14454
14455         * text.C (workWidth): use Inset::parOwner to find out where the
14456         inset has been inserted. This is a huge performance gain for large
14457         documents with lots of insets. If Inset::parOwner is not set, fall
14458         back on the brute force method
14459
14460         * paragraph_pimpl.C (insertInset):
14461         * paragraph.C (Paragraph):
14462         (cutIntoMinibuffer): set parOwner of insets when
14463         inserting/removing them
14464
14465         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14466
14467 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14468
14469         * tabular-old.C (getTokenValue):
14470         * tabular.C (getTokenValue):
14471         (write_attribute): new versions for LyXLength
14472         (everywhere): adjust the use of widths
14473
14474         * tabular.h: change the type of widths from string to LyXLength
14475
14476 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14477
14478         * paragraph.C: fixed missing line number count when exporting
14479         Environments to LaTeX file
14480
14481         * buffer.C: added informational message for checking line numbers.
14482
14483 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14484
14485         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14486         paragraph, do the 'double space' part, but not the 'empty
14487         paragraph' one.
14488
14489         * text.C (workWidth): small optimization
14490         (getLengthMarkerHeight): use minimal size for negative lengths.
14491
14492 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14493
14494         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14495
14496         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14497
14498 2001-12-11  André Pönitz <poenitz@gmx.net>
14499
14500         * FontLoader.C:
14501         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14502
14503 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14504
14505         * text2.C: keep selection on a setFont()
14506
14507 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14508
14509         * lyx_cb.C: another bv->text misuse, from insert label
14510
14511 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14512
14513         * kbsequence.h:
14514         * kbsequence.C: re-instate nmodifier mask
14515
14516 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14517
14518         * lyx_main.h: make lyxGUI private.
14519
14520 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14521
14522         * lyxfind.C: place the cursor correctly on failed search
14523
14524 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14525
14526         * text.C (getLengthMarkerHeight): for small heights, the arrows
14527         are not always on top/bottom of the text
14528         (drawLengthMarker): smaller arrows; take the left margin in
14529         account; draw also vfills.
14530         (paintFirstRow):
14531         (paintLastRow): remove special code for vfill and standard spaces,
14532         since everything is handled in drawLengthMarker now.
14533
14534 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14535
14536         * buffer.C (insertErtContents): try to handle font and language
14537         interaction a bit better.g
14538
14539         * ColorHandler.C (updateColor): change the hash to cover the whole
14540         LColor enum, ws cleanup
14541         (getGCLinepars): ditto
14542         (getGCLinepars): only lookup in the linecache once.
14543
14544 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14545
14546         * iterators.C (operator++): Make the iterator more robust
14547
14548         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14549         (John's patch)
14550         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14551
14552 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14553
14554         * lyxtext.h:
14555         * text.C: better added space drawing
14556
14557 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14558
14559         * LyXView.C:
14560         * BufferView2.C: fix layout combo update on inset unlock
14561
14562 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14563
14564         * Makefile.am: don't compile unused files
14565
14566 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14567
14568         * lyxfunc.C:
14569         * commandtags.h:
14570         * LyXAction.C: remove old LFUN_LAYOUTNO
14571
14572 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14573
14574         * paragraph_pimpl.h:
14575         * paragraph_pimpl.C: isTextAt() doesn't need font param
14576
14577 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14578
14579         * lyxlex.h:
14580         * lyxlex.C: little cleanup
14581
14582 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14583
14584         * BufferView_pimpl.C: fix insertAscii for insets
14585
14586 2001-12-05  Juergen Vigna  <jug@sad.it>
14587
14588         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14589         set the right font on the "multi" paragraph paste!
14590
14591 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14592
14593         * trans_decl.h:
14594         * trans_mgr.[Ch]:
14595         * trans.[Ch]:
14596         * lyxgluelength.C:
14597         * lyxlength.C: remove out-commented code.
14598
14599         * BufferView_pimpl:
14600         * CutAndPaste.C:
14601         * DepTable.C:
14602         * buffer.C:
14603         * chset.C:
14604         * lastfiles.C:
14605         * lyxlex.C:
14606         * lyxlex_pimpl.C:
14607         * lyxserver.C:
14608         * screen.C:
14609         * tabular-old.C:
14610         * tabular.C:
14611         * text.C:
14612         * trans_mgr.C:
14613         * vc-backend.C: change "while(" to "while ("
14614
14615         * lyxlength.[Ch]: add zero function to check if length is zero or
14616         not
14617         * lyxgluelength.C: use it
14618
14619 2001-12-05  Allan Rae  <rae@lyx.org>
14620
14621         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14622         Works for 2.95.3, from what I understand of Garst's reports this should
14623         work for other g++ versions.  We're screwed if the abs(int) definition
14624         changed between bugfix releases of gcc.
14625
14626 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14627
14628         * text.C: fix chapter label offset !
14629
14630 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14631
14632         * lyxtext.h:
14633         * text.C: fix hfill at end of line, clean up
14634
14635 2001-12-04  Juergen Vigna  <jug@sad.it>
14636
14637         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14638         that we force an update of the inset and it's owners if neccessary.
14639
14640 2001-12-03  Juergen Vigna  <jug@sad.it>
14641
14642         * text.C (rowLast): simplified code
14643
14644 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14645
14646         * lyxfunc.C: fix show options on timeout
14647
14648 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14649
14650         * screen.C (topCursorVisible): scroll half a page when the cursor
14651         reached top of bottom of screen
14652
14653 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14654
14655         * minibuffer.C: deactivate on loss of focus
14656
14657 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14658
14659         * vspace.[Ch] (operator!=): add operator.
14660
14661 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14662
14663         * BufferView_pimpl.C: refuse to open an inset when
14664         there's a selection.
14665
14666 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14667
14668         * BufferView_pimpl.C: allow to click on RHS of full row insets
14669
14670 2001-11-30  Juergen Vigna  <jug@sad.it>
14671
14672         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14673         insets for undo reasons.
14674
14675 2001-11-28  André Pönitz <poenitz@gmx.net>
14676
14677         * vspace.[Ch]: cosmetical changes
14678
14679 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14680
14681         * LyXAction.h:
14682         * LyXAction.C:
14683         * lyxfunc.h:
14684         * lyxfunc.C:
14685         * kbmap.h:
14686         * kbmap.C:
14687         * lyxrc.C:
14688         * kbsequence.h:
14689         * kbsequence.C: part re-write of old kb code
14690
14691         * Painter.C:
14692         * WorkArea.C: remove Lgb_bug_find_hack
14693
14694 2001-11-30  José Matos <jamatos@fep.up.pt>
14695
14696         * buffer.C (makeDocBookFile): add a comment to point a hack.
14697         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14698         Fixed a double write of labels.
14699
14700 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14701
14702         * LaTeX.C:
14703         * LaTeX.h Fixed bug in LaTeX class where it would not
14704         re-run latex if no depfiles were changed, but the .dvi was removed.
14705
14706 2001-11-28  André Pönitz <poenitz@gmx.net>
14707
14708         * all the files from the change on 2001/11/26:
14709         use lyx::layout_type instead of LyXTextClass::size_type
14710         use lyx::textclass_type instead of LyXTextClassList::size_type
14711
14712 2001-11-29  Juergen Vigna  <jug@sad.it>
14713
14714         * text.C: added support for paragraph::isFreeSpacing()
14715
14716         * buffer.C: same as above
14717
14718         * paragraph.h: inserted isFreeSpacing() function to enable
14719         FreeSpacing inside InsetERT.
14720
14721         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14722         of the paragraph's in the cut/copy buffer to 0!
14723
14724         * text2.C (removeRow): remove the assert as it can!
14725
14726         * lyxtext.h: added helper function firstRow returning firstrow and
14727         made firstrow private again.
14728
14729         * BufferView2.C (lockInset): don't relock if we're already locked!
14730
14731         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14732         the only paragraph.
14733         (removeRow): added Assert::(firstrow)
14734
14735         * debug.C: forgot to add INSETTEXT here.
14736
14737 2001-11-28  Juergen Vigna  <jug@sad.it>
14738
14739         * sp_spell.C (initialize): changed error text to more general
14740         spellchecker command use (not only ispell!)
14741
14742         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14743
14744         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14745
14746 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14747
14748         * vspace.C: initialise lyxgluelength on failure
14749
14750 2001-11-28  Allan Rae  <rae@lyx.org>
14751
14752         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14753         declaration & definition that looks like a function declaration.
14754
14755 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14756
14757         * BufferView2.C (copy):
14758         (copyEnvironment): do not clear the selection when doing a copy.
14759
14760         * text.C (paintFirstRow): compilation fix
14761
14762 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14763
14764         * tabular.C (Latex): correct line count when writing latex.
14765
14766 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14767
14768         * paragraph_pimpl.h:
14769         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14770           bug a bit
14771
14772 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14773
14774         * text.C:
14775         * LColor.h:
14776         * LColor.C: change vfillline->added_space
14777
14778         * text.C: add markers and text for added space
14779
14780         * vspace.C: fix comment
14781
14782 2001-11-28  André Pönitz <poenitz@gmx.net>
14783
14784         * paragraph.C: whitespace changes
14785         * all the other files from the change on 2001/11/26:
14786         change *::pos_type into lyx::pos_type
14787
14788 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14789
14790         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14791         language of the document when inserting error insets.
14792
14793 2001-11-26  André Pönitz <poenitz@gmx.net>
14794
14795         * BufferView_pimpl.[Ch]:
14796         *       CutAndPaste.C:
14797         * buffer.[Ch]:
14798         * lyxcursor.[Ch]:
14799         * lyxfind.C:
14800         * lyxfunc.C:
14801         * lyxrow.[Ch]:
14802         * paragraph.[Ch]:
14803         * paragraph_pimpl.[Ch]:
14804         * sp_spell.C:
14805         * text.C:
14806         * text2.C: reduce header dependencies, introduce type for positions
14807
14808 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14809
14810         * <various>: change to use Alert.h
14811
14812 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14813
14814         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14815         when encountering an unknown token.
14816         (readLyXformat2): Show an error message if there were unknown tokens.
14817
14818 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14819
14820         * BufferView2.C:
14821         * BufferView_pimpl.C:
14822         * buffer.C:
14823         * paragraph.h:
14824         * text.C:
14825         * text2.C: use par->isInset()
14826
14827 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14828
14829         * paragraph_pimpl.h:
14830         * paragraph_pimpl.C: cleanup
14831
14832 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14833
14834         * text2.C (removeRow):
14835         * text.C (setHeightOfRow): remove useless (and costly) call to
14836         getRow.
14837
14838 2001-11-20  Allan Rae  <rae@lyx.org>
14839
14840         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14841         Now need Inset*::checkInsertChar() to return true for appropriate
14842         cases so that the characters in the minibuffer will actually be
14843         inserted.
14844
14845 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14846
14847         * text.C: change the order of the includes.
14848         (workWidth): initialize it at once.
14849         (workWidth): make maxw unsigned
14850         (setHeightOfRow): remove unused variable (inset)
14851         (selectSelectedWord): remove unused variable (inset)
14852         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14853
14854 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14855
14856         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14857         server is not running.
14858         (openConnection):
14859         (closeConnection): add debug info when server is disabled.
14860
14861         * ColorHandler.C (getGCForeground): send debug message to GUI
14862         channel.
14863
14864         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14865
14866         * kbmap.C (bind): modify because return conventions of
14867         kb_sequence::parse have changed.
14868
14869         * kbsequence.C (parse): only ignore spaces and not any stupid
14870         control character. This avoids tests like s[i] <= ' ', which are
14871         guaranteed to fail with 8bit characters and signed chars.
14872         Change return code to string::npos when there have been no error
14873         (0 was a bad idea when error is at first character)
14874
14875 2001-11-14  José Matos  <jamatos@fep.up.pt>
14876
14877         * buffer.h:
14878         * buffer.C (simpleDocBookOnePar): removed unused argument.
14879
14880 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14881
14882         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14883         insets which are part of a word. Paragraph::isLetter takes care of
14884         that now. Use Paragraph::isInset to identify insets.
14885         (selectSelectedWord): do not test for hyphenation break.
14886
14887         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14888         that protected spaces are considered as spaces.
14889
14890         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14891         Inset::isLetter.
14892
14893 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14894
14895         * lyxserver.h:
14896         * lyxserver.C: fix it. and small cleanup.
14897
14898 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14899
14900         * BufferView_pimpl.C: use inline helpers
14901
14902         * LaTeXFeatures.h:
14903         * LaTeXFeatures.C: fix typos
14904
14905         * Spacing.h:
14906         * Spacing.C: move spacing_string into class
14907
14908         * ToolbarDefaults.C: move stuff into namespace anon
14909
14910         * layout.h: update enum
14911
14912         * lyxfunc.C: use better debug
14913
14914         * minibuffer.h: fix typo
14915
14916         * debug.h:
14917         * debug.C:
14918         * WorkArea.C: add and use Debug::WORKAREA
14919
14920         * lyxtext.h:
14921         * text.C:
14922         * text2.C: code re-organisation, inline helpers
14923
14924 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14925
14926         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14927         std::vector.empty().
14928
14929 2001-11-09  Allan Rae  <rae@lyx.org>
14930
14931         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14932         '\n's after tables.  Tabular and ERT inset work now makes this no
14933         longer necessary.
14934
14935 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14936
14937         * minibuffer.h:
14938         * minibuffer.C: fix crash, improve drop-down completion
14939
14940 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14941
14942         * lyxserver.h:
14943         * lyxserver.C: invalidate fd's when doing endPipe()
14944
14945 2001-11-08  José Matos  <jamatos@fep.up.pt>
14946
14947         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14948         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14949
14950         * paragraph.h:
14951         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14952
14953 2001-11-07  José Matos  <jamatos@fep.up.pt>
14954
14955         * buffer.h:
14956         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14957         const qualifier.
14958
14959         * buffer.C (sgmlOpenTag):
14960         * buffer.C (sgmlCloseTag): removed debug info.
14961
14962         * buffer.h (sgmlOpenTag):
14963         * buffer.h (sgmlCloseTag): made public.
14964
14965 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14966
14967         * buffer.C (saveParamsAsDefaults):
14968         * lyx_cb.C (MenuLayoutSave): remove
14969
14970         * LyXAction.C (init):
14971         * commandtags.h:
14972         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14973
14974 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14975
14976         * buffer.C (setPaperStuff): removed from here...
14977
14978         * bufferparams.C (setPaperStuff): ... and moved there.
14979
14980 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14981
14982         * minibuffer.h:
14983         * minibuffer.C:
14984         * XFormsView.C: add support for drop-down completion
14985
14986 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14987
14988         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14989         commands.
14990
14991 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14992
14993         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14994         disabled.
14995
14996 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14997
14998         * lyx_main.C: change ref to known bugs
14999
15000 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15001
15002         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15003         to work around older babel problems.
15004
15005 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15006
15007         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15008
15009 2001-10-24  Juergen Vigna  <jug@sad.it>
15010
15011         * tabular-old.C (ReadOld): below variable changes reflected.
15012
15013         * tabular.[Ch]: added ltType struct for longtable header/footer
15014         defines and changed all instances where they are used. Added
15015         future support for double top/bottom rows.
15016
15017 2001-10-24  José Matos  <jamatos@fep.up.pt>
15018
15019         * buffer.h (docbookHandleCaption):
15020         * buffer.C (docbookHandleCaption): removed unused function.
15021         (makeDocBookFile): moved docbook supported version to v4.1.
15022
15023 2001-10-24  José Matos  <jamatos@fep.up.pt>
15024
15025         * tabular.h:
15026         * tabular.C (docbookRow): new function to export docbook code of a row.
15027         (DocBook): now honors the longtable flags.
15028
15029 2001-10-23  José Matos  <jamatos@fep.up.pt>
15030
15031         * LaTeXFeatures.h:
15032         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15033         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15034
15035         * buffer.C (makeLinuxDocFile):
15036         (makeDocBookFile): reworked the preamble, more clean, and with
15037         support for lyx defined entities. Changed the document declaration
15038         to be more XML friendly.
15039
15040         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15041         if we need to output XML that should be done with a filter.
15042
15043 2001-10-22  Juergen Vigna  <jug@sad.it>
15044
15045         * sp_pspell.h (class PSpell): add alive function needed in the
15046         controller to see if the spellchecker could be started.
15047
15048 2001-10-22  Juergen Vigna  <jug@sad.it>
15049
15050         * buffer.C (insertStringAsLines): modify the font for inserting
15051         chars in certain conditions by calling checkInsertChar(font).
15052
15053 2001-10-19  Juergen Vigna  <jug@sad.it>
15054
15055         * text.C (workWidth): use getRow instead of wrong algorithm.
15056         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15057
15058 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15059
15060         * lyxserver.h:
15061         * lyxserver.C:
15062         * lyx_main.h:
15063         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15064
15065 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15066
15067         * text.C (workWidth): do not search for the exact row when
15068         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15069         optimization for big documents.
15070
15071 2001-10-18  Juergen Vigna  <jug@sad.it>
15072
15073         * text.C (workWidth): new function with added Inset * parameter.
15074
15075 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15076
15077         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15078
15079         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15080         change return type of getColumnNearX.
15081
15082
15083         * text.C (changeRegionCase): use uppercase/lowercase instead of
15084         toupper/tolower.
15085         (leftMargin):
15086         (rightMargin): simplify code by factoring out the uses of
15087         textclasslist.
15088         (labelFill):
15089         (numberOfHfills):
15090         (setHeightOfRow):
15091         (appendParagraph): use Paragraph::size_type
15092
15093 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15094
15095         * vspace.C (asLatexString): add a missing break
15096
15097 2001-10-15  Herbert Voss  <voss@perce.de>
15098
15099         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15100
15101 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15102
15103         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15104         is not available.
15105
15106 2001-10-10  André Pönitz <poenitz@gmx.net>
15107
15108         * lyxfunc.C: removed greek_kb_flag.
15109
15110 2001-10-10  Herbert Voss  <voss@perce.de>
15111
15112         * lyx_main.C: delete global string help_lyxdir.
15113
15114 2001-10-09  Herbert Voss  <voss@perce.de>
15115
15116         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15117
15118         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15119
15120         * lyx_main.C: added global string help_lyxdir.
15121
15122         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15123
15124 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15125
15126         * lyxrc.C (set_font_norm_type): support iso8859-4
15127
15128 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15129
15130         * LaTeX.C (deplog): add another regex for MikTeX
15131
15132 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15133
15134         * lyxrc.C (set_font_norm_type): support iso8859-3
15135
15136 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15137
15138         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15139
15140         * LaTeXFeatures.C: remove special case of french and index
15141
15142         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15143         before \begin{document}). This solves several incompatibilities.
15144
15145 2001-10-03  Garst Reese  <reese@isn.net>
15146
15147         * lyx_cb.C: change CheckTex error msg.
15148
15149 2001-10-03  José Matos  <jamatos@fep.up.pt>
15150
15151         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15152
15153 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15154
15155         * .cvsignore: update
15156
15157         * lyx_main.C (commandLineVersionInfo): use new style version info.
15158
15159         * buffer.C (writeFile):
15160         (makeLaTeXFile):
15161         (makeLinuxDocFile):
15162         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15163
15164         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15165
15166         * version.h: update to use stuff in version.C
15167
15168         * version.C.in: new file. Contains version information determined
15169         at compile time. This is a merging of version.h and
15170         version_info.h.in.
15171
15172 2001-10-03  Juergen Vigna  <jug@sad.it>
15173
15174         * BufferView_pimpl.C (update): don't change "dirty" status in
15175         updateInset call.
15176
15177 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15178
15179         * WorkArea.C (c-tor): re-position version string slightly.
15180
15181 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15182
15183         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15184         revert to previous code.
15185
15186         WorkArea.[Ch]: (show, destroySplash): methods removed.
15187
15188         WorkArea.C: rework code so that it's an amalgam of the codes before and
15189         after the splash screen was moved to WorkArea.
15190
15191 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15192
15193         * lyxrc.C (read):
15194         * vspace.C (inPixels):
15195         (lyx_advance):
15196         * kbmap.C (bind):
15197         * buffer.C (insertStringAsLines):
15198         (asciiParagraph): fix types to be large enough
15199
15200         * lyxlex_pimpl.h: change member status from short to int
15201
15202         * layout.h: fix type of endlabeltype
15203
15204         * kbmap.C (bind):
15205         * kbsequence.C (parse): change return type to string::size_type
15206
15207         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15208         variable
15209
15210         * Bullet.C (bulletSize):
15211         (bulletEntry): do not use short ints as parameters
15212
15213         * BufferView2.C (insertLyXFile): change a char to an int.
15214
15215         * WorkArea.C (WorkArea): remove unneeded floats in computation
15216
15217 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15218
15219         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15220
15221         * paragraph.C (asString): Do not ignore newline/hfill chars when
15222         copying to the clipboard.
15223
15224 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15225
15226         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15227         after a multi-line inset.
15228
15229 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15230
15231         * paragraph.C (validate): Set NeedLyXFootnoteCode
15232
15233 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15234
15235         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15236         and decrease-error to decrease.
15237
15238 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15239
15240         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15241         it more readable (should be equivalent)
15242
15243 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15244
15245         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15246
15247 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15248
15249         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15250         of a cursor (row, etc.) after a character has been deleted
15251         (deleteEmptyParagraphMechanism): call the method above on _all_
15252         cursors held by the LyXText when a double space has been
15253         detected/deleted.
15254
15255 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15256
15257         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15258         pixmap.
15259         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15260
15261         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15262         background. Use greyOut() and the new show() methods to toggle between
15263         the foreground and background. Add code to remove the splash after
15264         its initial showing.
15265
15266         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15267         (create_forms): no longer call Dialogs::showSplash.
15268
15269 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15270
15271         * .cvsignore: add version_info.h
15272
15273 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15274
15275         * version_info.h.in: new file
15276
15277         * Makefile.am: add version_info.h.in
15278
15279         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15280         version_info.h instead of VERSION_INFO
15281
15282 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15283
15284         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15285         The ERT inset now returns string().
15286
15287 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15288
15289         * lyxtext.h, text.C (selectNextWord): renamed as
15290         selectNextWordToSpellcheck.
15291
15292         * text.C (selectNextWordToSpellcheck): Modified to not select
15293         words inside an ERT inset.
15294
15295 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15296
15297         * lyx_cb.C (MenuLayoutSave): change a bit the question
15298
15299         * sp_base.h: include <sys/types.h>
15300
15301 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15302
15303         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15304
15305 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15306
15307         * several files: fix typos in user-visible strings
15308
15309 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15310
15311         * text2.C (pasteSelection): do not set the selection, since it
15312         will be cleared later. Actually, the intent was to fix the way the
15313         selection was set, but I figured rmoving the code was just as good.
15314
15315 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15316
15317         * FontLoader.C (available): Check if font is available without
15318         loading the font.
15319
15320 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15321
15322         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15323
15324 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15325
15326         * lyxrc.[Ch]: added display_graphics variable and associated code.
15327
15328 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15329
15330         * bufferparams.C (hasClassDefaults): new method. Returns true if
15331         the buffer parameters correspond to known class defaults
15332
15333 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15334
15335         * XFormsView.C (show): set minimum size to the main window.
15336
15337 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15338
15339         * text2.C (copySelection):
15340         (cutSelection):
15341         * lyxfind.C (LyXReplace):
15342         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15343         LyXText::selectionAsString.
15344
15345         * paragraph.C (asString): add "label" argument to the second form
15346
15347         * text2.C (selectionAsString): add "label" argument and pass it to
15348         Paragraph::asString.
15349
15350 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15351
15352         * lyx_main.C (commandLineHelp): remove version information
15353
15354 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15355
15356         * lyx_main.C: add -version commandline option
15357
15358 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15359
15360         * paragraph.h: make the optional constructor arg required instead.
15361         some modifications to other files because of this.
15362
15363         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15364
15365         * lyxserver.C (C_LyXComm_callback): make it static
15366
15367         * lyx_main.C (error_handler): make it static
15368
15369         * lyx_gui.C (LyX_XErrHandler): make it static
15370
15371         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15372
15373         * WorkArea.C: make the extern "C" methods static.
15374
15375         * Makefile.am (lyx_LDADD): simplify
15376
15377 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15378
15379         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15380         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15381
15382         * LyXAction.C (init):
15383         * lyxfunc.C (dispatch): associated code removal.
15384
15385 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15386
15387         * lyxfont.h (isSymbolFont): shut off warning
15388
15389         * text.C (setHeightOfRow):
15390         (getVisibleRow): fix crash with empty paragraphs which have a
15391         bottom line
15392
15393 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15394
15395         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15396         code.
15397
15398 2001-09-04  José Matos  <jamatos@fep.up.pt>
15399         * buffer.C
15400         * buffer.h
15401         * tabular.C (docbook): rename docBook method to docbook.
15402
15403 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15404
15405         * Makefile.am: add dependencies to main.o.
15406
15407 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15408
15409         * FontLoader.C (available): Return false if !lyxrc.use_gui
15410
15411 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15412
15413         * FontInfo.C (query):
15414         * converter.C (view):
15415         * importer.C (Import):
15416         * exporter.C (Export): Can not -> cannot.
15417
15418 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15419
15420         * BufferView_pimpl.C: allow to create index inset even if
15421           string is empty
15422
15423 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15424
15425         * buffer.C (getLists): replace boost::tie code with an explicit pair
15426         as boost::tie can break some compilers.
15427
15428         * iterators.h: Added a std:: declaration to the return type of
15429         ParIterator::size.
15430
15431 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15432
15433         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15434           case.
15435
15436 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15437
15438         * iterators.[Ch]: New files. Provide paragraph iterators.
15439
15440         * buffer.C (changeLanguage): Use paragraph iterators.
15441         (isMultiLingual): ditto
15442
15443         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15444
15445 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15446
15447         * FontLoader.C: Support for cmr font.
15448
15449 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15450
15451         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15452         (available): New method.
15453
15454         * FontInfo.C (getFontname): Use scalable fonts even when
15455         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15456         found.
15457
15458 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15459
15460         * converter.C (Formats::view): reverted! Incorrect fix.
15461
15462 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15463
15464         * converter.C (Formats::view): only output the -paper option
15465         if the dvi viewer is xdvi, thereby fixing bug #233429.
15466
15467 2001-08-23  Herbert Voss  <voss@perce>
15468
15469         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15470
15471 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15472
15473         * Spacing.h (Spacing): Set space to Default on in the default
15474         constructor.
15475
15476 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15477
15478         * vc-backend.h (RCS::versionString): add RCS to version
15479         (CVS::versionString): add CVS to version
15480
15481         * vc-backend.C (scanMaster): do not add CVS to version.
15482         (scanMaster): do not add RCS to version
15483
15484         * lyxvc.C (versionString): new method
15485
15486         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15487
15488 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15489
15490         * Spacing.C (set): initialize fval
15491
15492 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15493
15494         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15495         " or \.
15496
15497 2001-08-16  Juergen Vigna  <jug@sad.it>
15498
15499         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15500
15501 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15502
15503         * BufferView_pimpl.C:
15504         * figureForm.C:
15505         * lyxtext.h:
15506         * text2.C: setParagraph takes linespacing now
15507
15508 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15509
15510         * LyxAction.C: add internal LFUN_CITATION_INSERT
15511
15512         * LyXView.C: actually apply fix
15513
15514         * bufferlist.C: fix open non-existent file
15515
15516         * lyxfind.C: fix indentation
15517
15518         * lyxfunc.C: remove unneeded assert, fix typo
15519
15520 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15521
15522         * MenuBackend.C: use "Floatname List"
15523
15524 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15525
15526         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15527         when converting LaTeX layout to insetERT.
15528         Generate a non-collapsed float when reading old float
15529
15530 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15531
15532         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15533         ERT insets.
15534
15535 2001-08-13  Juergen Vigna  <jug@sad.it>
15536
15537         * text.C (fill): return 0 instead of 20 as this seems to be the more
15538         correct value.
15539
15540 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15541
15542         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15543         lyxrc.font_norm.
15544
15545 2001-08-13  Juergen Vigna  <jug@sad.it>
15546
15547         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15548         casesensitive off.
15549         (SearchBackward): comment out the unlocking of the inset_owner this
15550         should not be needed!
15551
15552 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15553
15554         * Many files: Remove inherit_language, and add latex_language
15555
15556         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15557         collapsible insets.
15558
15559 2001-08-10  Juergen Vigna  <jug@sad.it>
15560
15561         * text.C (prepareToPrint): fixed hfill-width in draw!
15562
15563         * BufferView2.C (selectLastWord): save the selection cursor as this
15564         now is cleared in the function LyXText::clearSelection!
15565
15566 2001-08-08  Juergen Vigna  <jug@sad.it>
15567
15568         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15569         BACKSPACE type functions.
15570
15571         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15572         is only cutted from the document but not put in the cut-buffer, where
15573         still the old stuff should be.
15574
15575         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15576
15577         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15578
15579         * tabular.C (SetWidthOfCell): fixed special case where the width
15580         was not updated!
15581         (LeftLine): handle '|' in align_special.
15582         (RightLine): ditto
15583         (LeftAlreadyDrawed): ditto
15584         (SetWidthOfCell): ditto
15585
15586 2001-08-07  Juergen Vigna  <jug@sad.it>
15587
15588         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15589
15590 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15591
15592         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15593         * lyxlex.[hC]: ditto
15594
15595 2001-08-06  Juergen Vigna  <jug@sad.it>
15596
15597         * text.C (getVisibleRow): fix up row clearing a bit.
15598
15599 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15600
15601         * minibuffer.C: make sure the X server sees the changes in the input.
15602
15603 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15604
15605         * paragraph.C (getFont): split into...
15606         (getLabelFont): this
15607         (getLayoutFont): and this
15608         * paragraph_pimpl.C (realizeFont): calling this
15609
15610         * text2.C (getFont): split into...
15611         (getLayoutFont): this
15612         (getLabelFont): and this
15613         (realizeFont): all three calling this
15614
15615         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15616         files where used.
15617
15618 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15619
15620         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15621
15622 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15623
15624         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15625         layouts from the Quote inset insertion.
15626
15627 2001-08-03  Juergen Vigna  <jug@sad.it>
15628
15629         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15630
15631         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15632         only if status not is already CHANGED_IN_DRAW (second level).
15633
15634         * text.C (draw): don't set the need_break_row when inside an
15635         InsetText LyXText.
15636
15637 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15638
15639         * buffer.C (parseSingleLyXformat2Token): handle more latex
15640         conversion cases.
15641
15642         * bufferview_funcs.[hC]: change function names to
15643         begin with small char, adjust other files.
15644
15645 2001-08-02  André Pönitz <poenitz@gmx.net>
15646
15647         * lyxfunc.C:
15648         BufferView_pimpl.C: remove broken special code for math-greek
15649
15650 2001-08-02  Juergen Vigna  <jug@sad.it>
15651
15652         * BufferView_pimpl.C (update): redone this function so that we
15653         update the text again if there was a CHANGE_IN_DRAW.
15654
15655         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15656         (drawFromTo): added a new internal bool which is used by draw() and
15657         redraw() function.
15658         (general): some cursor drawing problems fixed.
15659
15660 2001-08-01  Juergen Vigna  <jug@sad.it>
15661
15662         * lyxfind.C (LyXFind): fixed
15663         (SearchForward): ditto
15664         (SearchBackward): ditto
15665
15666         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15667         spurius drawing of the cursor in the main area.
15668
15669         * text2.C (status): small fix which could lead to a segfault!
15670         (clearSelection): remove unneeded BufferView param.
15671
15672 2001-08-01  André Pönitz <poenitz@gmx.net>
15673
15674         * lyxfunc.C: small change due to changed mathed interface
15675
15676 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15677
15678         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15679
15680 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15681
15682         * lyxfunc.c: fail gracefully if file doesn't exist
15683
15684         * LyXSendto.C:
15685         * buffer.C:
15686         * lyxfunc.C:
15687         * BufferView_pimpl.C: IsDirWriteable() proto changed
15688
15689         * LyXView.C: fix updateWindowTitle() to store the last title
15690
15691 2001-07-31  Juergen Vigna  <jug@sad.it>
15692
15693         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15694         the font (wrong since using of Paragraph::highestFontInRange).
15695
15696         * paragraph.C (highestFontInRange): added a default_size parameter.
15697
15698         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15699         (setHeightOfRow): reformat
15700
15701 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15702
15703         * converter.[hC] + affected files: move to (inital-char)lowercase
15704         function names.
15705
15706         * ParagraphParameters.C (ParagraphParameters): remove commented code
15707
15708         * PainterBase.[Ch]: remove commented code
15709
15710         * LaTeXFeatures.h: add "bool floats" for float.sty
15711
15712         * LaTeXFeatures.C (LaTeXFeatures): init floats
15713         (require): handle float
15714         (getPackages): do it with floats
15715
15716 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15717
15718         * BufferView_pimpl.C (Dispatch): improve handling of
15719         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15720
15721         * commandtags.h: #include lyxfont.h here temporarily to avoid
15722         keybinding bug.
15723
15724         * bufferlist.h: include LString.h here.
15725
15726 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15727
15728         * text2.C (getStringToIndex): new method.
15729
15730 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15731
15732         * *: Reduced header file dependencies all over.
15733
15734 2001-07-30  Baruch Even  <baruch@lyx.org>
15735
15736         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15737
15738 2001-07-29  Baruch Even  <baruch@lyx.org>
15739
15740         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15741
15742 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15743
15744         * ParameterStruct.h (endif): add a default constructor to make
15745         sure that all variables is initialized.
15746
15747         * ParagraphParameters.C (ParagraphParameters): adjust
15748
15749 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15750
15751         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15752         index; also, check that there is something to index, and that it
15753         does not span over several paragraphs.
15754         (doubleClick): use WHOLE_WORD_STRICT for double click.
15755
15756         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15757
15758         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15759         scheme.
15760
15761 2001-07-26  Baruch Even  <baruch@lyx.org>
15762
15763         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15764         an InsetFig figure, backwards compatible reading of old figure code.
15765
15766 2001-07-27  Juergen Vigna  <jug@sad.it>
15767
15768         * text2.C: font.realize function adaption.
15769
15770         * text.C (draw): add a warnings lyxerr text if needed.
15771
15772         * layout.C: font.realize function adaption.
15773
15774         * language.C: add inherit_language and implement it's handlings
15775
15776         * bufferview_funcs.C (StyleReset): remove language parameter from
15777         font creation (should be language_inherit now).
15778
15779         * bufferparams.C (writeFile): handle ignore_language.
15780
15781         * paragraph.C (getFontSettings): the language has to be resolved
15782         otherwise we have problems in LyXFont!
15783
15784         * lyxfont.C (lyxWriteChanges): added document_language parameter
15785         (update): removed unneeded language parameter
15786
15787         * paragraph.C (validate): fixed wrong output of color-package when
15788         using interface colors for certain fonts in certain environments,
15789         which should not seen as that on the final output.
15790
15791 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15792
15793         * BufferView_pimpl.C:
15794         * Thesaurus.h:
15795         * Thesaurus.C:
15796         * Makefile.am:
15797         * commandtags.h:
15798         * LyXAction.C: add thesaurus support
15799
15800         * lyxfind.h:
15801         * lyxfind.C: add "once" parameter, for thesaurus, to not
15802           move to the next match
15803
15804 2001-07-26  Juergen Vigna  <jug@sad.it>
15805
15806         * lyxfont.C (realize): honor ignore_language too!
15807         (resolved): ditto.
15808
15809         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15810
15811         * text.C (draw): one place more for ignore_language to not draw
15812         itself!
15813
15814 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15815
15816         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15817
15818 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15819
15820         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15821         the minipage conversion problem.
15822
15823 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15824
15825         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15826         insert an inset.
15827
15828 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15829
15830         * BufferView.h: don't forward declare WorkArea
15831
15832         * BufferView.C: don't include WorkArea.h
15833
15834 2001-07-25  André Pönitz <poenitz@gmx.net>
15835
15836         * commandtags.h:
15837         * LyXAction.C:
15838         * lyxfunc.C:  new LFUN 'math-space'
15839
15840         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15841
15842 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15843
15844         * text2.C (toggleInset): call open/close
15845
15846 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15847
15848         * lyxfunc.C (dispatch): add debug for the disabled case
15849
15850         * font.C (buttonText): make similar to rectText
15851
15852         * buffer.C (readInset): comment out parsing of insetlist and
15853         insttheorem
15854
15855         * PainterBase.C (rectText): small correction
15856
15857         * BufferView_pimpl.C: comment out insettheorem and insetlist
15858         * LyXAction.C: ditto
15859         * commandtags.h: ditto
15860
15861 2001-07-24  Juergen Vigna  <jug@sad.it>
15862
15863         * text.C (draw): honor the ignore_language.
15864
15865         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15866
15867 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15868
15869         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15870         char inset.
15871
15872 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15873
15874         * lyxtext.h: remove unused (and unimplemented) methods
15875
15876 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15877
15878         * text.C (getVisibleRow): honor background color
15879
15880         * PainterBase.h:
15881         * Painter.h: remove default color argument for fillRectangle
15882
15883         * text.C (backgroundColor): new method
15884
15885 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15886
15887         * text.C (getVisibleRow): adjust
15888
15889         * font.[Ch] (rectText): new method, metrics
15890         (buttonText): new method, metrics
15891
15892         * PainterBase.[hC]: make rectText and buttonText always draw and take
15893         fewer paramteres.
15894
15895 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15896
15897         * ToolbarDefaults.C (read):
15898         * MenuBackend.C (read): allow escaping in all strings
15899
15900         * BufferView_pimpl.C (insertAndEditInset): new method.
15901         (Dispatch): use insertAndEditInset whenever appropriate.
15902
15903         * BufferView_pimpl.C (insertNote): removed
15904
15905         * BufferView_pimpl.C (smartQuote): new method, moved from
15906         BufferView; if an insetquote cannot be inserted, insert a '"'
15907         character instead.
15908
15909         * BufferView2.C: remove insertCorrectQuote();
15910
15911         * lyxfunc.C (getStatus): Add support for all remaingin
15912         inset-insert lfuns.
15913
15914         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15915
15916         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15917         command (necessary to pass " as parameter of self-insert.
15918
15919         * text.C (selectWordWhenUnderCursor):
15920         (selectWord): add word_location parameter
15921         (selectWordWhenUnderCursor): same + remove special code for word
15922         boundary.
15923         (selectNextWord): use kind() to guess type of insetspecialchar,
15924         not latex().
15925
15926         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15927         (insertErtContents): create ert insets as collapsed.
15928         (readInset): better compatibility code for Info inset.
15929
15930 2001-07-20  Juergen Vigna  <jug@sad.it>
15931
15932         * lyxfunc.C (dispatch): use always LyXFind now!
15933
15934         * text2.C (init): add a reinit flag so that the LyXText can be
15935         reinited instead of deleted and reallocated (used in InsetText).
15936
15937         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15938
15939         * text.C: ditto
15940
15941         * text2.C: ditto
15942
15943 2001-07-18  Juergen Vigna  <jug@sad.it>
15944
15945         * text.C (selectNextWord): handle insets inside inset by calling
15946         always the bv->text functions so that we can go up the_locking_inset!
15947
15948         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15949         in strange locations when inside an inset!
15950
15951         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15952         handling to include insets.
15953
15954         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15955
15956 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15957
15958         * LyXAction.C (init):
15959         * commandtags.h:
15960         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15961         LIGATURE_BREAK, since the name is so stupid.
15962
15963 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15964
15965         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15966         InsetInfos.
15967
15968         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15969
15970         * sp_form.[Ch]: remove.
15971
15972         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15973
15974         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15975         InsetInfo.
15976
15977         * src/buffer.C (readInset): ditto.
15978
15979 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15980
15981         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15982         menuSeparator(), endOfSentenceDot(), ldots() and
15983         hyphenationPoint(), which are therefore removed.
15984         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15985
15986         * LyXAction.C (init):
15987         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15988
15989         * paragraph.C (getWord): removed.
15990
15991         * BufferView_pimpl.C (Dispatch): use last word or selection for
15992         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15993
15994         * lyx_main.C (queryUserLyXDir): do not ask before creating
15995         user_dir, except if it has been named explicitely.
15996
15997 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15998
15999         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16000         a document of zero size.
16001
16002 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16003
16004         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16005         approriately in the c-tor and in require().
16006         (getPackages): output the appropriate LaTeX for natbib support.
16007
16008         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16009         variables "use_natbib" and "use_numerical_citations" when reading the
16010         LyX file.
16011         (readInset): read the various natbib cite commands.
16012         (validate): white-space change.
16013
16014         * bufferparams.[Ch]: new variables "bool use_natbib" and
16015         "bool use_numerical_citations".
16016         (writeFile): output them in the LyX file.
16017
16018 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16019
16020         * lyxfunc.C (getStatus): add support for all the inset insertion
16021         commands.
16022
16023         * text2.C (insertInset):
16024         * paragraph.C (insetAllowed):
16025         * BufferView_pimpl.C (insertInset): update to take in account the
16026         renaming of insertInsetAllowed
16027
16028         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16029
16030         * text2.C (getInset): new method. returns inset at cursor position.
16031
16032         * BufferView_pimpl.C (Dispatch): changes because of this.
16033
16034         * LyXAction.C (init): rename open-stuff to inset-toggle.
16035
16036         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16037
16038         * text2.C (toggleInset): renamed from openStuff; use
16039         Inset::open().
16040
16041 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16042
16043         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16044
16045         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16046
16047 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16048
16049         * buffer.C (readLyXformat2): Add filename to the error dialog
16050
16051 2001-07-18  Juergen Vigna  <jug@sad.it>
16052
16053         * tabular.C (GetCellNumber): put an assert here instead of the check!
16054
16055 2001-07-17  Juergen Vigna  <jug@sad.it>
16056
16057         * BufferView_pimpl.C (toggleSelection): adapted too.
16058
16059         * text.C (selectNextWord): adapted for use with insets.
16060         (selectSelectedWord): ditto
16061
16062 2001-07-17  Juergen Vigna  <jug@sad.it>
16063
16064         * sp_spell.C (PSpell): fix initialitation order.
16065
16066 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16067
16068         * paragraph.C: spacing
16069
16070 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16071
16072         * sp_spell.C: repair language selection for pspell
16073
16074 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16075
16076         * lyxfunc.h: change more methods to begin with lower char.
16077
16078 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16079
16080         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16081         for unknown layouts.
16082
16083 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16084
16085         * buffer.C (readLyXformat2): Generate an error dialog if there are
16086         unknown layouts.
16087
16088 2001-07-16  Juergen Vigna  <jug@sad.it>
16089
16090         * sp_spell.C: always compile ISpell part.
16091
16092         * lyxrc.C: added use_pspell entry and it's handling.
16093
16094 2001-07-13  Juergen Vigna  <jug@sad.it>
16095
16096         * sp_spell.C: removed double includes.
16097
16098 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16099
16100         Consistent use of Lsstream.h:
16101         * Lsstream.h: added using std::stringstream for consistencies sake.
16102
16103         * buffer.C: removed using std::stringstream
16104
16105         * lyxfont.C (stateText):
16106         * paragraph.C (asString):
16107         * text.C (selectNextWord, selectSelectedWord):
16108         * text2.C (setCounter):
16109         * vspace.C (asString, asLatexString):
16110         std::ostringstream -> ostringstream.
16111
16112 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16113
16114         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16115         * commandtags.h: add LFUN_HELP_ABOUTLYX
16116         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16117
16118 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16119
16120         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16121         cursorToggle()
16122         * lyx_gui_misc.C: remove spellchecker
16123         * lyxfunc.C: showSpellchecker
16124         * sp_base.h: added
16125         * sp_ispell.h: added
16126         * sp_pspell.h: added
16127         * sp_spell.C: added
16128         * sp_form.[Ch]: removed
16129         * spellchecker.[Ch]: removed
16130
16131 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16132
16133         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16134         is set.
16135         (simpleTeXSpecialChars): Simply print the input character without
16136         any special translation if pass_thru is set.
16137
16138         * layout.h: Added bool pass_thru to layout class for being able to
16139         implement pass through of a paragraph for Literate Programming.
16140
16141         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16142         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16143         * layout.C (Read): add "passthru" to list of layout tags and add
16144         code to set the pass_thru boolean when it is read.
16145
16146 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16147
16148         * trans_decl.h: remove allowed from KmodInfo
16149
16150         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16151         remove allowed code
16152         (Load): adjust
16153
16154         * paragraph_pimpl.C (erase): use boost::prior
16155
16156         * Painter.C (text): use data() instead of c_str() when length is
16157         also provided.
16158         * WorkArea.C (putClipboard): ditto
16159         * font.h (width): ditto
16160
16161         * BufferView2.C: use it-> instead of (*it). for iterators
16162         * texrow.C: ditto
16163         * paragraph_pimpl.C: ditto
16164         * paragraph.C: ditto
16165         * minibuffer.C: ditto
16166         * language.C: ditto
16167         * kbmap.C: ditto
16168         * encoding.C: ditto
16169         * counters.C: ditto
16170         * converter.C: ditto
16171         * chset.C: ditto
16172         * Variables.C: ditto
16173         * TextCache.C: ditto
16174         * MenuBackend.C: ditto
16175         * LyXAction.C: ditto
16176         * LColor.C: ditto
16177         * FloatList.C: ditto
16178         * DepTable.C: ditto
16179         * ColorHandler.C (LyXColorHandler): ditto
16180
16181 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16182
16183         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16184
16185         * text2.C (openStuff): reintroduce this method (which had been
16186         nuked in NEW_INSETS frenzy).
16187
16188         * lyxfunc.C (Dispatch): when an action has not been handled, use
16189         its name in the error message, not its number.
16190
16191         * paragraph.C (inInset): change method name to begin with lowercase.
16192
16193         * undo_funcs.C:
16194         * text2.C: updates because of this.
16195
16196 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16197
16198         * ToolbarDefaults.C (add): add spaces in error message
16199
16200 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16201
16202         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16203         (readLyXformat2): rename return_par to first_par, use lyxlex's
16204         pushToken and remove the manual push handling.
16205         (parseSingleLyXformat2Token): add another ert comp. variable:
16206         in_tabular, rename return_par to first_par. handle newlines better
16207
16208 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16209
16210         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16211
16212 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16213
16214         * text2.C (getParFromID): removed
16215
16216         * buffer.C (getParFromID): new method moved form lyxtext.
16217         * BufferView2.C (insertErrors): adjust
16218         (setCursorFromRow): adjust
16219         * BufferView_pimpl.C (restorePosition): adjust
16220         * lyxfunc.C (Dispatch): adjust
16221         * undo_funcs.C (textUndo): adjust
16222         (textRedo): adjust
16223         (textHandleUndo): adjust
16224         (textHandleUndo): adjust
16225
16226 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16227
16228         * buffer.C: up' the LYX_FORMAT
16229
16230         * lyxfont.h: turn NO_LATEX on as default
16231
16232         * buffer.C (insertErtContents): new methods of tex style compability.
16233         (parseSingleLyXformat2Token): use it several places.
16234         * tabular.C (OldFormatRead): and here
16235
16236 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16237
16238         * text2.C: remove some commented code.
16239         reindent file.
16240
16241         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16242         * trans.C: changes because of the above.
16243
16244 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16245
16246         * text2.C (setCounter): Fix counters bug with bibliography layout.
16247
16248 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16249
16250         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16251         own member functions
16252         (simpleTeXSpecialChars): ditto
16253
16254 2001-07-06  Juergen Vigna  <jug@sad.it>
16255
16256         * a lot of files: changed the access to LyXText::status and the
16257         call of undo-functions.
16258
16259         * undo.[Ch]: added a inset_id to the undo informations.
16260
16261         * undo_funcs.[Ch]: added and moved here all undo functions.
16262
16263         * lyxtext.h: give the status enum a weight, made status_ a private
16264         variable and made accessor functions for it, removed the whole bunch
16265         of undo-functions as they are now in their own file, make some
16266         functions publically available. Added function ownerParagraph with
16267         int parameter.
16268
16269         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16270         made InInset() a const function, added getParFromID() function.
16271
16272         * buffer.[Ch]: added const version for inset_iterator functions,
16273         added getInsetFromID() function.
16274
16275         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16276         changed undo functions for new version.
16277
16278 2001-07-05  Juergen Vigna  <jug@sad.it>
16279
16280         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16281         unknow mechanism does not call the proper constructor but only this
16282         one also if I request the other!?
16283
16284 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16285
16286         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16287
16288         * text2.C (LyXText): use initialization lists.
16289
16290         * lyxtext.h (Selection): initialize set_ and mark_
16291         (init): remove method
16292
16293 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16294
16295         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16296
16297 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16298
16299         * screen.[Ch]: change method names to begin with lowercase
16300
16301         * BufferView_pimpl.C (updateScrollbar): simplify further and
16302         hopefully make it a bit faster.
16303
16304 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16305
16306         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16307         calling directly xforms functions.
16308
16309         * Painter.C (Painter):
16310         * lyx_cb.C (MenuWrite):
16311         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16312         fl_display.
16313
16314         * lyx_gui.C: remove bogus guiruntime extern declaration.
16315
16316 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16317
16318         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16319         in NEW_INSETS
16320         (redoDrawingOfParagraph): ditto
16321         (redoParagraphs): ditto
16322         (cutSelection): don't create a object for CutAndPaste use the
16323         static method directly
16324         (pasteSelection): ditto
16325
16326         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16327         LyXview (+ rename)
16328
16329 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16330
16331         * modifications to some other files because of this.
16332
16333         * Makefile.am (lyx_SOURCES): add XFormsView
16334
16335         * XFormsView.[Ch]: new files
16336
16337         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16338         the main window. Move the gui dependent stuff to XFormsView
16339
16340 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16341
16342         * tabular.C (GetCellInset): update cur_cell also in the row/col
16343         version of this function.
16344
16345         * lyxfunc.C: no need to include figure_form.h here.
16346
16347         * FontLoader.h:
16348         * lyxfunc.h:
16349         * lyxscreen.h:
16350         * text2.C:
16351         * lyxvc.C: no need to include forms.h here.
16352
16353 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16354
16355         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16356
16357         * lyxfunc.C (Dispatch):
16358         * Spacing.C (set):
16359         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16360         constructor argument.
16361
16362 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16363
16364         * paragraph.C (Paragraph): dont't clear, and just set layout.
16365         (makeSameLayout): use params's copy contructor.
16366
16367         * ParagraphParameters.[Ch] (makeSame): delete method
16368
16369 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16370
16371         * Variables.[Ch]: fix indentation, rename set to isSet
16372
16373 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16374
16375         * lyxfunc.C (Dispatch): fix typo
16376
16377 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16378
16379         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16380         upper_bound.
16381
16382         * bufferlist.C: include assert.h for emergencyWrite().
16383
16384 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16385
16386         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16387           give up at last (bug #425202) !
16388
16389 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16390
16391         * lyx_gui_misc.C:
16392         * sp_form.h:
16393         * sp_form.C:
16394         * spellchecker.h:
16395         * spellchecker.C: strip spellchecker options and bring up
16396           preferences tab instead
16397
16398 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16399
16400         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16401         the istringstream constructor
16402
16403 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16404
16405         * paragraph.C (getLayout): fix return value
16406
16407         * paragraph.h: do not declare getLayout as inline.
16408
16409         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16410
16411 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16412
16413         * lyxcursor.h (operator<): new func
16414         (operator>): new func
16415         (operator>=): new func
16416         (operator<=): new func
16417
16418         * text.C (changeCase): use selection.start and selection.end
16419         (changeRegionCase): require from to be <= to. Require par to be a
16420         valid paragraph.
16421
16422         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16423
16424 2001-06-27  Juergen Vigna  <jug@sad.it>
16425
16426         * text.C (cursorLeftOneWord): changed to return the cursor and added
16427         overlay with BufferView * parameter which calls this one.
16428         (getWord): added
16429         (selectWord): use new getWord function.
16430         (changeCase): renamed from changeWordCase as and extended to work
16431         also on selections.
16432
16433         * lyxtext.h: added enum word_location
16434
16435         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16436         changeCase as this operates now also on selections.
16437
16438 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16439
16440         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16441
16442         * many files: send debug output to Debug::INFO instead of
16443         Debug::ANY.
16444
16445         * converter.C (View):
16446         (Convert):
16447         (Move): send debug output to Debug::FILES instead of console.
16448
16449 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16450
16451         * lyxfunc.C (getStatus): use func_status
16452
16453         * func_status.h: new header, describing the results of
16454         LyXFunc::getStatus;
16455
16456         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16457         LFUN_MATH_HALIGN.
16458
16459 2001-06-25  The LyX Project  <jug@sad.it>
16460
16461         * buffer.C (sgmlOpenTag):
16462         (sgmlCloseTag):
16463         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16464
16465 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16466
16467         * text2.C: remove some dead code
16468
16469         * tabular.C (GetCellInset): store the last cell checked (gotten)
16470
16471         * tabular.h: add the helper for the speedup
16472
16473         * lyxtext.h: remove some dead code
16474
16475 2001-06-26  The LyX Project  <Asger>
16476
16477         * paragraph.C: Change export to LaTeX of alignment to
16478         \begin{center} and family for better roundtrip work with reLyX.
16479
16480         * Tune the math drawing a bit.
16481
16482 2001-06-25  The LyX Project  <Asger>
16483
16484         * LColor.C (LColor): New color for math background. New color
16485         for buttons.
16486
16487 2001-06-25  The LyX Project  <jug@sad.it>
16488
16489         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16490
16491         * lyxfunc.C (Open):
16492         * bufferlist.C (newFile): do not restrict to files ending with
16493         .lyx
16494
16495         * BufferView_pimpl.C (MenuInsertLyXFile):
16496
16497 2001-06-24  The LyX Project  <jug@sad.it>
16498
16499         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16500         of compare_no_case
16501
16502 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16503
16504         * lyxtext.h: rename most methods to begin with a small char.
16505         Lots of changes because of this.
16506
16507         * paragraph.C (Paragraph): do not call fitToSize
16508         (erase): call Pimpl::erase
16509         (insertChar): call Pimpl::insertChar
16510         (insertInset): call Pipl::insertInset
16511         (breakParagraph): do not call fitToSize
16512         (breakParagraphConservative): do not call fitToSize
16513         (fitToSize): remove method
16514
16515         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16516
16517 2001-06-24  The LyX Project  <Asger>
16518
16519         * Fix Qt compilation^2
16520
16521 2001-06-24  The LyX Project  <jug@sad.it>
16522
16523         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16524         depthHook(getDepth()-1).
16525
16526         * paragraph.h:
16527         * ParagraphParameters.h:
16528         * ParameterStruct.h: change type of depth to unsigned int ==
16529         depth_type. Many adaptations to other files before of that.
16530
16531 2001-06-24  The LyX Project  <Asger>
16532
16533         * Fix Qt compilation.
16534
16535 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16536
16537         * paragraph.h: renamed several methods to begin with small letter.
16538         several changes to many parts of the code because of this.
16539
16540 2001-06-23  The LyX Project  <jug@sad.it>
16541
16542         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16543         rewritten to discard all double spaces when KeepEmpty is off
16544         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16545         to only handle newlines but not fiddle with spaces and friends.
16546
16547         * lyxfunc.C (MenuNew): when doing 'new from template', use
16548         template_path as default directory
16549
16550 2001-06-23  The LyX Project  <Asger>
16551
16552         * Clean-up of header file includes all over
16553         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16554
16555 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16556
16557         * paragraph.h: renamed from lyxparagraph.h
16558
16559 2001-06-23  Asger  <lyx@violet.home.sad.it>
16560
16561         * Buffer.h: Removed Buffer::resize
16562         * BufferList.h: Removed BufferList::resize
16563         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16564         the document lazily when we change the width, or the font settings.
16565
16566 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16567
16568         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16569
16570 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16571
16572         * buffer.h: remove out of date comment
16573
16574 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16575
16576         * lyxscreen.h:
16577         * screen.C: fix "theoretical" GC leak
16578
16579 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16580
16581         * LaTeX.C (scanAuxFile):
16582         (deplog): remove trailing \r when reading stream (useful under
16583         win32)
16584
16585 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16586
16587         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16588         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16589         and BufferView::theLockingInset(Inset*), so should use them and not
16590         access bv_->text->the_locking_inset directly.
16591
16592         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16593
16594 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16595
16596         * Makefile.am:
16597         * tex-defs.h: remove old unused file
16598
16599 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16600
16601         * BufferView_pimpl.C: fix typo, remove minibuffer message
16602           when buffer has loaded
16603
16604 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16605
16606         * lyxfunc.C (Dispatch): use stringstream
16607         (MenuNew): use stringstream
16608         (Open): use stringstream
16609
16610         * importer.C (Import): use stringstream
16611
16612         * bufferview_funcs.C (CurrentState): use stringstream
16613
16614         * LaTeX.C (run): use stringstream
16615
16616         * BufferView_pimpl.C (savePosition): use stringstream
16617         (restorePosition): use stringstream
16618         (MenuInsertLyXFile): use stringstream
16619
16620 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16621
16622         * BufferView.C:
16623         * Bullet.C:
16624         * ColorHandler.C:
16625         * FontInfo.C:
16626         * FontLoader.C:
16627         * LColor.C:
16628         * LaTeXFeatures.C:
16629         * Painter.C:
16630         * gettext.C:
16631         * lyx_gui_misc.C:
16632         * lyxserver.C:
16633         * vspace.C: removed // -*- C++ -*- as first line.
16634
16635         * lyxfind.h:
16636         * version.h: added // -*- C++ -*- as first line.
16637
16638 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16639
16640         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16641
16642         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16643         of string
16644
16645 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16646
16647         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16648         of floats.
16649
16650 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16651
16652         * gettext.C: include LString.h even when --disable-nls is on.
16653
16654 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16655
16656         * converter.h (Get): changed argument type from int to
16657         FormatList::size_type to avoid unnecessary conversion.
16658
16659         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16660         before using it.
16661
16662 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16663
16664         * gettext.h: include LString.h even when --disable-nls is on.
16665
16666 2001-06-07  Juergen Vigna  <jug@sad.it>
16667
16668         * text.C (BreakAgain): subst spaces with tabs.
16669
16670         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16671         (resizeInsetsLyXText): set force on resizeLyXText.
16672
16673 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16674
16675         * gettext.h (gettext_init):
16676         (locale_init): use a real definition instead of a macro
16677
16678 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16679
16680         * Bufferview_pimpl.C:
16681         * LColor.h:
16682         * LColor.C: further lcolor tidies
16683
16684 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16685
16686         * BufferView_pimpl.C (updateScrollbar): simplify.
16687
16688         * BufferView2.C: don't include insets/insetinfo.h, change
16689         prototype for insertInset and call the Pimpl version. let
16690         updateInset call Pimpl version.
16691
16692         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16693         gotoInset to BufferView::Pimpl
16694
16695 2001-06-01  Juergen Vigna  <jug@sad.it>
16696
16697         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16698         inside a LockingInset (is the update needed at all?).
16699
16700 2001-05-31  Juergen Vigna  <jug@sad.it>
16701
16702         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16703         here not the old one otherwise how should we compare it afterwards
16704         if it's the same!
16705
16706 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16707
16708         * lyxfont.C:
16709         * tabular.C:
16710         * tabular-old.C:
16711         * FontInfo.C: bring C functions into global namespace when
16712         necessary
16713
16714 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16715
16716         * LString.h: make sure config.h has been loaded before LString.h.
16717
16718         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16719         (one for each char read by EatLine!).
16720
16721         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16722         variables.
16723
16724 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16725
16726         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16727         to the same as the par we break from
16728
16729 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16730
16731         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16732
16733         * MenuBackend.C (expand): also create menu entries for wide
16734         versions of the floats.
16735
16736         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16737
16738         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16739
16740         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16741         frontends/Makefile.am
16742
16743         * text2.C: adjust
16744         * text.C: adjust
16745
16746
16747         * tabular.C (getTokenValue): add std::
16748
16749         * tabular-old.C (getTokenValue): add std::
16750         (getTokenValue): ditto
16751         (getTokenValue): ditto
16752
16753         * screen.C (ToggleSelection): adjust
16754
16755         * lyxtext.h: put selection cursors inside a Selection struct.
16756
16757         * lyxfunc.C (moveCursorUpdate): adjust
16758
16759         * lyxfont.C (latexWriteStartChanges): add std::
16760
16761         * lyxfind.C: adjust
16762
16763         * font.h: delete with(char const *, LyXFont const &)
16764
16765         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16766
16767         * FontInfo.C (getFontname): add std::
16768
16769         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16770         (workAreaButtonPress): adjust
16771         (tripleClick): adjust
16772         (update): adjust
16773         (moveCursorUpdate): adjust
16774         (Dispatch): adjust
16775
16776         * BufferView2.C (gotoInset): adjust
16777
16778 2001-05-30  Juergen Vigna  <jug@sad.it>
16779
16780         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16781         to check pspell I add this as default as I now have new pspell
16782         libraries and they seem to use this.
16783
16784 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16785
16786         * text2.C (CutSelection): make the cursor valid before the call to
16787         ClearSelection.
16788
16789 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16790
16791         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16792         relied on 0 terminated strings and other horrors. Bug found due to
16793         the new assert in lyxstring!
16794
16795         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16796         KP_ keys.
16797
16798 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16799
16800         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16801         to latinkeys.bind.
16802
16803         * lyxfunc.C (processKeySym): change method of getting to the
16804         self-insert char.
16805
16806         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16807         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16808         * BufferView_pimpl.[Ch]: here as private methods.
16809
16810 2001-05-28  Juergen Vigna  <jug@sad.it>
16811
16812         * text.C (SetHeightOfRow): added the update() call again as it is
16813         needed to initialize inset dimensions!
16814
16815 2001-05-16  Juergen Vigna  <jug@sad.it>
16816
16817         * text2.C (SetCharFont): Add new function with BufferView * and
16818         bool toggleall parameters for setting insets internal fonts.
16819         (SetFont): Freeze the undo as we may change fonts in Insets and
16820         all this change should be inside only one Undo!
16821
16822         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16823         setting font's in insets as for them we have the SetFont function!
16824
16825 2001-05-15  Juergen Vigna  <jug@sad.it>
16826
16827         * text2.C (ClearSelection): to be sure we REALLY don't have any
16828         selection anymore!
16829
16830         * tabular.C (TeXCellPreamble): fixed the left border problem for
16831         multicolumn cells.
16832
16833 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16834
16835         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16836         dependancy file
16837
16838 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16839
16840         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16841         LFUN_BREAKPARAGRAPH.
16842
16843         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16844         help test to "internal only", similar for LFUN_INSERT_URL
16845
16846         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16847         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16848         auto_region_delete and deadkeys.
16849
16850 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16851
16852         * LColor.h:
16853         * LColor.C: remove some dead entries, tidy a little
16854
16855 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16856
16857         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16858         commented code.
16859         (Dispatch): implement LFUN_ESCAPE
16860
16861         * commandtags.h: add LFUN_ESCAPE
16862
16863         * LyXAction.C (init): add entry for LFUN_ESCAPE
16864
16865         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16866         Remove commented code.
16867         (insertNote): moved here
16868         (open_new_inset): moved here
16869
16870         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16871         BufferView_pimpl
16872
16873 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16874
16875         * kbmap.C (findbinding): clean it up and make it work correctly.
16876
16877         * lyx_main.C (init): do not pass argc and argv as parameters
16878
16879 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16880
16881         * buffer.C: fix path for OS/2 & Win32
16882
16883         * lyx_gui.C:
16884         * lyx_main:
16885         * lyx_main.C: Added os:: class.
16886
16887         * os2_defines.h: update
16888
16889 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16890
16891         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16892         better by trying again with reduced state.
16893
16894 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16895
16896         * lyxrc.C (read): print error about invalid key sequence only when
16897         debugging (because not all latinX keysyms are known to some X
16898         servers)
16899
16900         * kbsequence.C (getiso): add a few std:: qualifiers
16901         (getiso): comment out extra return statement.
16902
16903 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16904
16905         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16906         handling.
16907         (Dispatch): enhance the accent inset a bit. (not perfect)
16908
16909 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16910
16911         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16912
16913 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16914
16915         * bufferlist.C (emergencyWrite): fix assert() call
16916
16917 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16918
16919         * text.C (InsertChar): Added trivial patch to only send the "you
16920         can not do multiple spaces this way" message once during a
16921         session.
16922
16923 2001-05-08  Baruch Even  <baruch@lyx.org>
16924
16925         * Makefile.am: Changed order of libraries to get LyX to link properly
16926         with the gnome frontend.
16927
16928 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16929
16930         * LaTeXFeatures.h: add a std:: qualifier
16931
16932 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16933
16934         * paragraph.C (String): use stringstream
16935
16936 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16937
16938         * paragraph.C (writeFile): remove footflag arg
16939
16940         * buffer.C (makeLaTeXFile): use stringstream
16941         (latexParagraphs): remove footnot gurba
16942
16943         * LaTeXFeatures.C (getPackages): use stringstream
16944         (getMacros): likewise
16945         (getTClassPreamble): likewise
16946         (getFloatDefinitions): new method
16947
16948         * paragraph.C (writeFile): reindent
16949         (Erase): reindent
16950
16951         * WorkArea.h: revert the xpos + etc changes.
16952
16953         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16954
16955         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16956
16957         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16958         (pasteSelection): likewise
16959         * text2.C (CreateUndo): likewise
16960
16961 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16962
16963         * minibuffer.C (peek_event): temporarily reduce the functionality
16964         of the minibuffer (to allow args on lfuns)
16965
16966         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16967         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16968
16969         * buffer.C (readInset): add compability reading of old float
16970         lists, add reading of new style float list.
16971         (readInset): avoid reevaluation of inscmd.getCmdName()
16972         (getLists): reindent
16973
16974         * MenuBackend.C (MenuItem): implement parsing of
16975         md_floatlistinsert and md_floatinsert.
16976         (expand::LastFiles): move initalizaton of iterators out of loop,
16977         avoid reevaluation.
16978         (expand::Documents): introduce typdedef vector<string> Strings,
16979         and use it.
16980         (expand::ExportFormats): introduce typedef vector<Format const *>
16981         Formats, and use it.
16982         (expand): implement FloatListInsert and FloatInsert.
16983
16984         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16985         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16986         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16987
16988         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16989         handling.
16990         (Dispatch::LFUN_FLOAT_LIST): implement
16991
16992 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16993
16994         * LaTeX.C (run): Fix problem with --export code.
16995
16996 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16997
16998         * BufferView.[Ch] (workarea): removed.
16999         (getClipboard) new method; wrapper for workarea()->getClipboard()
17000
17001         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17002         bug.
17003
17004         * WorkArea.h (width, height, xpos, ypos): These methods all
17005         returned the dimensions of the work_area sub-area of WorkArea,
17006         resulting in a position error if the WorkArea were resized. Now
17007         return the dimensions of the entire WorkArea.
17008
17009         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17010
17011 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17012
17013         * LaTeX.C (deplog): correct the syntax of regex reg1
17014
17015 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17016
17017         * undo.C: remove !NEW_INSETS cruft
17018
17019 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17020
17021         * text2.C: remove !NEW_INSETS cruft
17022
17023         * text.C: remove !NEW_INSETS cruft
17024
17025         * tabular.C: remove !NEW_INSETS cruft
17026
17027         * spellchecker.C: remove !NEW_INSETS cruft
17028
17029         * lyxtext.h: remove !NEW_INSETS cruft
17030
17031         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17032
17033         * lyxfunc.C: remove !NEW_INSETS cruft
17034
17035         * lyxfind.C: remove !NEW_INSETS cruft
17036
17037         * lyx_cb.C: remove !NEW_INSETS cruft
17038
17039         * figureForm.C: remove  !NEW_INSETS cruft
17040
17041         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17042
17043         * buffer.[Ch]: remove !NEW_INSETS cruft
17044
17045         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17046
17047         * CutAndPaste.C: remove !NEW_INSETS cruft
17048
17049         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17050
17051         * BufferView2.C: remove !NEW_INSETS cruft
17052
17053         * BufferView.h: remove !NEW_INSETS cruft
17054
17055 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17056
17057         * Lsstream.h: include LString.h before the sstream headers to
17058         fix problem with gcc 2.95.3 and lyxstring
17059
17060 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17061
17062         * lyx_main.C: add using directives when needed for C functions
17063         declared in std:: namespace.
17064
17065 2001-04-27  Juergen Vigna  <jug@sad.it>
17066
17067         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17068         (SetHeightOfRow): comment out the update call should not be needed!
17069
17070 2001-04-13  Juergen Vigna  <jug@sad.it>
17071
17072         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17073         (LyXTabular): tried to minimize operator= operations (and realized
17074         hopfully Lars wish).
17075
17076 2001-04-27  Juergen Vigna  <jug@sad.it>
17077
17078         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17079
17080 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17081
17082         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17083
17084         * buffer.C (readInset): hack to make listof algorithm work
17085
17086         * BufferView_pimpl.C: hack to make listof algorithm work
17087
17088 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17089
17090         * LyXAction.C: removed all !NEW_INSETS cruft
17091         (init): moved lfun_item in method
17092
17093         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17094
17095 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17096
17097         * BufferView2.C (theLockingInset): white space.
17098
17099 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17100
17101         * minibuffer.C: include <iostream>
17102
17103         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17104
17105         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17106
17107         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17108
17109         * text.[Ch] (TransposeChars): new method
17110
17111 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17112
17113         * call message directly through LyXView instead of through LyXFunc
17114         * BufferView2.C: adjust
17115         * BufferView_pimpl.C: adjust
17116         * FontLoader.C: adjust
17117         * buffer.C: adjust
17118         * bufferview_funcs.C: adjust
17119         * converter.C: adjust
17120         * figureForm.C: adjust
17121         * importer.C: adjust
17122         * lyx_cb.C: adjust
17123         * lyx_gui_misc.C: adjust
17124         * lyxfunc.C: adjust
17125         * lyxvc.C: adjust
17126         * text2.C: adjust
17127         + more files in subdirs
17128
17129         * lyxparagraph.h (size): move up int file
17130         (GetLayout): ditto
17131
17132         * adjust all uses of Assert to lyx::Assert.
17133
17134         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17135         lyxfunctional in namespace lyx
17136         * layout.C (hasLayout): ditto
17137         (GetLayout): ditto
17138         (GetLayout): ditto
17139         (delete_layout): ditto
17140         (NumberOfClass): ditto
17141         * converter.C (GetFormat): ditto
17142         (GetNumber): ditto
17143         (Add): ditto
17144         (Delete): ditto
17145         (SetViewer): ditto
17146         * bufferlist.C (getFileNames): ditto
17147         (emergencyWriteAll): ditto
17148         (exists): ditto
17149         (getBuffer): ditto
17150         * MenuBackend.C (hasSubmenu): ditto
17151         (hasMenu): ditto
17152         (getMenu): ditto
17153         * BufferView_pimpl.C (getInsetByCode): ditto
17154
17155 2001-04-18  Juergen Vigna  <jug@sad.it>
17156
17157         * vspace.C (asLatexString): fixed the 100% problem.
17158
17159 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17160
17161         * lyxfunc.C (Dispatch):
17162         * minibuffer.C:
17163         * minibuffer.h: add a few std:: qualifiers
17164
17165 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17166
17167         * minibuffer.[Ch]: reimplement so that commands is initiated and
17168         run from lyxfunc, simplified som handling, and made the completion
17169         and history code for complete. wip.
17170
17171         * lyxfunc.C (processKeySym): call message
17172         (miniDispatch): new temporary method
17173         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17174         (LFUN_MESSAGE): implement
17175         (LFUN_MESSAGE_PUSH): implement
17176         (LFUN_MESSAGE_POP): implement
17177         (initMiniBuffer): the initial/defualt minibuffer message.
17178
17179         * lyxfont.[Ch]: inline some more getters
17180
17181         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17182
17183         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17184
17185         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17186         (AutoSave): use LFUN_MESSAGE
17187         (Reconfigure): ditto
17188
17189         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17190
17191         * figureForm.C: use LFUN_MESSAGE
17192
17193         * converter.C (runLaTeX): use LFUN_MESSAGE
17194
17195         * bufferview_funcs.C: use LFUN_MESSAGE
17196         (Melt): ditto
17197         (changeDepth): ditto
17198
17199         * bufferparams.h: use boost::
17200
17201         * bufferlist.h: inherit privately from noncopyable
17202
17203         * bufferlist.C (loadLyXFile): remove some commented code.
17204
17205         * buffer.C (runChktex): use LFUN_MESSAGE
17206
17207         * ShareContainer.h: inherit privately from noncopyable
17208
17209         * ParagraphParameters.[hC] (depth): inline it.
17210
17211         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17212         methods.
17213         (message): new method
17214         (messagePush): ditto
17215         (messagePop): ditto
17216         (show): init minibuffer
17217         (showState): direct call
17218
17219         * LaTeX.[Ch]: inherit privately from noncopyable
17220         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17221         instead of WriteStatus.
17222
17223         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17224
17225         * BufferView_pimpl.C (buffer): don't init minibuffer
17226         (workAreaButtonPress): use LFUN_MESSAGE
17227         (workAreaButtonRelease): ditto
17228         (savePosition): ditto
17229         (restorePosition): ditto
17230         (MenuInsertLyXFile): ditto
17231         (workAreaExpose): don't init minibuffer
17232         (update): remove commented code, simplify
17233
17234         * BufferView2.C (openStuff): use LFUN_MESSAGE
17235         (toggleFloat): ditto
17236         (menuUndo): ditto
17237         (menuRedo): ditto
17238         (copyEnvironment): ditto
17239         (pasteEnvironment): ditto
17240         (copy): ditto
17241         (cut): ditto
17242         (paste): ditto
17243         (gotoInset): ditto
17244         (updateInset): remove some commented code
17245
17246         * lastfiles.h: inherit privately from noncopyable
17247         * layout.h: ditto
17248         * lyx_gui.h: ditto
17249         * lyx_main.h: ditto
17250         * lyxlex.h: ditto
17251         * lyxlex_pimpl.h: ditto
17252
17253         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17254         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17255         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17256
17257         * LyXAction.h: inherit privately from noncopyable, add methods
17258         func_begin, func_end, returning iterators to the func map.
17259
17260         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17261         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17262         (func_begin): new method
17263         (func_end): new method
17264
17265         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17266         and not)
17267         (copySelection): ditto
17268         (pasteSelection): ditto
17269
17270         * BufferView.C: whitespace change
17271         * BufferView.h: inherit privately from noncopyable
17272
17273 2001-04-16  Allan Rae  <rae@lyx.org>
17274
17275         * tabular-old.C (l_getline):
17276         * spellchecker.C (sc_check_word):
17277         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17278         an unrecognised preprocessor directive.  So ensure they're wrapped.
17279
17280 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17281
17282         * src/exporter.C (Export): Give an error message when path to file
17283         contains spaces.
17284
17285 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17286
17287         * LaTeX.C (deplog): Always check that foundfile exists.
17288
17289 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17290
17291         * lyx_main.h:
17292         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17293
17294 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17295
17296         * tabular.[Ch] (getLabelList): implement new method
17297
17298         * minibuffer.h: comment ouf setTiimer
17299
17300         * minibuffer.C (ExecutingCB): constify res
17301         (peek_event): constify s
17302         (Set): constify ntext
17303         (Init): constify nicename
17304
17305         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17306
17307         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17308         (savePosition): use two params to Minibuffer::Set
17309         (restorePosition): ditto
17310
17311 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17312
17313         * lyx_main.C: include language.h
17314
17315         * Makefile.am (lyx_main.o): add language.h
17316
17317 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17318
17319         * exporter.C:
17320         * paragraph.C:
17321         * screen.C:
17322         * tabular.C:
17323         * CutAndPaste.C: include gettext.h
17324
17325         * lyxfont.h: remove old hack with ON and OFF.
17326
17327         * lyxparagraph.h:
17328         * lyxfont.h: do not include language.h...
17329
17330         * BufferView2.C:
17331         * LaTeXFeatures.C:
17332         * Painter.C:
17333         * bufferview_funcs.C:
17334         * font.C:
17335         * lyxfont.C:
17336         * text.C:
17337         * text2.C:
17338         * trans_mgr.C:
17339         * paragraph.C: ... but do it here instead
17340
17341 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17342
17343         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17344
17345         * tabular.C: small reformat
17346
17347         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17348         NEW_INSETS version
17349         (GetChar): ditto
17350         (BreakParagraph): ditto
17351         (SetOnlyLayout): ditto
17352         (SetLayout): ditto
17353
17354         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17355         with one arg less.
17356
17357         * lastfiles.C: removed most using decl, add std:: where needed
17358
17359         * buffer.C: ws changes
17360
17361         * MenuBackend.C (class compare_format): put into anon namespace
17362         (expand): constify label, names, action, action2
17363         (expand):
17364
17365         * text.C (SingleWidth): constify font
17366         (IsBoundary): constify rtl2
17367         (GetVisibleRow): constify ww
17368
17369         * LaTeX.C (deplog): constify logfile
17370
17371         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17372         start_x, end_x
17373         (workAreaExpose): constify widthChange, heightChange
17374
17375         * lyxrow.C (par): moved
17376         (height): moved
17377         (next): moved
17378         * lyxrow.h: as inlines here
17379
17380         * lyxfont.h (shape): moved from lyxfont.C
17381         (emph): moved from lyxfont.C
17382
17383         * lyxfont.C (LyXFont): use initialization list for all
17384         constructors
17385         (shape): move to lyxfont.h as inline
17386         (emph): move to lyxfont.h as inline
17387
17388
17389 2001-04-04  Juergen Vigna  <jug@sad.it>
17390
17391         * vspace.C: had to include stdio.h for use of sscanf
17392
17393 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17394
17395         * BufferView.h:
17396         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17397         independent of xforms.
17398
17399 2001-04-02  Juergen Vigna  <jug@sad.it>
17400
17401         * spellchecker.C: fixed namespace placing!
17402
17403 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17404
17405         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17406         the LyXParagraph * is 0.
17407
17408 2001-03-29  Juergen Vigna  <jug@sad.it>
17409
17410         * vspace.C: added support for %, c%, p%, l%.
17411         (stringFromUnit): added helper function.
17412         (asLatexString): changed to give right results for the %-values.
17413
17414         * buffer.C: convert the widthp in a width%.
17415
17416 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17417
17418         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17419         figureForm.[Ch].
17420
17421         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17422         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17423
17424         * lyx_cb.[Ch]: see above.
17425
17426         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17427         form1.[Ch].
17428
17429         * form1.[Ch]:
17430         * lyx.[Ch]: replaced by figure_form.[Ch].
17431
17432         * lyx_gui.C:
17433         * lyx_gui_misc.C:
17434         * lyxfunc.C: changed headers associated with above changes.
17435
17436 2001-03-27  Juergen Vigna  <jug@sad.it>
17437
17438         * BufferView_pimpl.C: set the temporary cursor right!
17439
17440 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17441
17442         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17443
17444 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17445
17446         * LString.h: removed "using std::getline"!
17447
17448         * BufferView_pimpl.C (Dispatch): changes due to changes in
17449         InsetInclude::Params.
17450
17451         * buffer.C (tag_name): removed redundant break statements as they were
17452         producing lots of warnings with my compiler.
17453
17454 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17455
17456         * LString.h: add "using std::getline" when using the real <string>.
17457
17458 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17459
17460         * buffer.C: removed bitset usage.
17461         PAR_TAG moved to an anonymous name space.
17462         (tag_name): new funtion, also in the anonymous namespace.
17463         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17464         (makeDocBookFile): clean code. Completed transition from string arrays
17465         to string vectors.
17466         (SimpleDocBookOnePar): code clean.
17467
17468 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17469
17470         * tabular.C: add some comments.
17471
17472 2001-03-22  Juergen Vigna  <jug@sad.it>
17473
17474         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17475         compatibility read a bit and fixed bug with minipage in different
17476         depth.
17477
17478 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17479
17480         * buffer.C (pop_tag): removed.
17481         (push_tag): removed.
17482         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17483         array replaced with vector. Added support for CDATA sections.
17484         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17485         at any nest level.
17486         (makeDocBookFile): XML conformant declaration of CDATA section,
17487         fixed bug related to <emphasis> in the first paragraph char.
17488         (sgmlOpenTag): exclude empty tags.
17489         (sgmlCloseTag): ditto.
17490
17491         * buffer.h (pop_tag): removed.
17492         (push_tag): removed.
17493
17494 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17495
17496         * language.h (Languages): added size_type and size().
17497
17498 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17499
17500         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17501         response on compability reading of minipages. One probliem is that
17502         the old usage of minipages was flertydig
17503
17504         * several files here and in subdirs: don't use static at file
17505         scope use anon namespaces instead.
17506
17507 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17508
17509         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17510         LaTeX output. This is necessary for Literate document
17511         processing.
17512
17513 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17514
17515         * buffer.C: insert hfill when needed.
17516
17517         * tabular.C (l_getline): use string::erase, small whitespace change.
17518
17519         * BufferView_pimpl.C: try the anon namespace.
17520         * WorkArea.C: ditto
17521
17522 2001-03-16  Juergen Vigna  <jug@sad.it>
17523
17524         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17525         otherwise it won't open options-dialogs.
17526
17527         * buffer.C: honor pextraWidth(p) on converting minipages.
17528
17529         * tabular.C (l_getline): changed the functions to strip trailing \r.
17530
17531 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17532
17533         * BufferView_pimpl.C:
17534         * minibuffer..C: added "using SigC::slot" declaration.
17535
17536 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17537
17538         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17539
17540         * text2.C: ditto
17541
17542         * text.C: ditto
17543
17544         * paragraph.C: ditto
17545
17546         * lyxtext.h: NO_PEXTRA
17547
17548         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17549
17550         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17551         * ParameterStruct.h: ditto
17552         * ParagraphParameters.h: ditto
17553         * lyxparagraph.h: ditto
17554
17555 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17556
17557         * buffer.C: add compability for minipage alignment.
17558         (latexParagraphs): remove unwanted pextra check.
17559
17560         * several files: remove CXX_WORKING_NAMESPACES
17561
17562         * buffer.C (pop_tag): tie is in namespace boost
17563
17564         * BufferView.h: noncopyable is in namespace boost
17565         * lyxlex.h: ditto
17566         * lyx_main.h: ditto
17567         * lyx_gui.h: ditto
17568         * layout.h: ditto
17569         * lastfiles.h: ditto
17570         * bufferlist.h: ditto
17571         * ShareContainer.h: ditto
17572         * LyXView.h: ditto
17573         * LyXAction.h: ditto
17574         * LaTeX.h: ditto
17575
17576 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17577
17578         * Merging changes from BRANCH_MVC back into HEAD.
17579
17580         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17581
17582 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17583
17584         * BufferView_pimpl.C: change from intl.C
17585
17586         * combox.h:
17587         * combox.C:
17588         * Makefile.am: move combox.*
17589
17590         * form1.h:
17591         * form1.C:
17592         * lyx_gui.C:
17593         * intl.h:
17594         * intl.C: remove dialog (covered by prefs)
17595
17596 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17597
17598         * lyxfunc.C (Dispatch): removed redundant break statement.
17599
17600 2001-03-14  Juergen Vigna  <jug@sad.it>
17601
17602         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17603
17604 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17605
17606         * buffer.C: add hack to fix compability reading of minipages.
17607
17608 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17609
17610         * buffer.C (getLists): Cleanup.
17611
17612 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17613
17614         * lyxfont.C (update): don't honor toggleall on font size.
17615
17616 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17617
17618         * bmtable.c:
17619         * bmtable.h:
17620         * Makefile.am: moved to frontends/xforms/
17621
17622         * lyx_gui_misc.C:
17623         * lyxfunc.C:
17624         * BufferView_pimpl.C: changes for moved mathpanel
17625
17626 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17627
17628         * gettext.h: fix gettext_init() in --disable-nls
17629
17630 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17631
17632         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17633
17634 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17635
17636         * lyx.C:
17637         * lyx.h: strip external form
17638
17639 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17640
17641         * BufferView_pimpl.C: add comment, destroySplash()
17642
17643 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17644
17645         * BufferView_pimpl.C:
17646         * LyXAction.C:
17647         * buffer.C:
17648         * commandtags.h:
17649         * lyxfunc.C: use re-worked insetinclude
17650
17651 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17652
17653         * buffer.C: add using std::stringstream.
17654
17655         * lyx_cb.C: readd using std::ios.
17656
17657         * buffer.C: add using std::map.
17658
17659         * BufferView_pimpl.C: add using std::vector.
17660
17661         * ShareContainer.h: add std:: to swap.
17662
17663         * buffer.h: add some typedefs
17664         * buffer.C (getLists): use them
17665         (getLists): renamed from getTocList.
17666         add a counter for the different float types and use it in the
17667         generated string.
17668         (getLists): use the same counter for the NEW_INSETS and the "non"
17669         NEW_INSETS
17670
17671         * lyx_cb.h: remove unused items, includes, using etc.
17672
17673         * ShareContainer.h: remove some commented code, add more comments
17674         and "documentation".
17675
17676 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17677
17678         * buffer.C (getTocList): make the list also when NEW_INSETS is
17679         defined.
17680
17681         * buffer.h: remove TocType
17682
17683         * buffer.C (getTocList): change to return a map<string,
17684         vector<TocItem> >, implement for dynamic number of list.
17685
17686         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17687         * text2.C (PasteSelection): adjust
17688         * CutAndPaste.C (pasteSelection): adjust
17689
17690         * FloatList.C (FloatList): update from the new_insets branch.
17691         * Floating.[Ch]: ditto
17692         * LaTeXFeatures.C: ditto
17693         * buffer.C: ditto
17694         * lyxlex_pimpl.C: ditto
17695
17696         * paragraph.C (Last): remove when NEW_INSETS is defined.
17697
17698         * other file: changes because of the above.
17699
17700 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17701
17702         * lyxparagraph.h: rename next to next_, previous to previous_,
17703         make them private for NEW_INSETS. Rename Next() to next(),
17704         Previous() to previous().
17705
17706         * other files: changes because of the above.
17707
17708 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17709
17710         * BufferView.h:
17711         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17712         problem.
17713
17714 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17715
17716         * main.C (main): pass lyx_localedir to gettext_init().
17717
17718         * gettext.h: remove locale_init and gettext_init macros
17719
17720         * gettext.C (locale_init): new function
17721         (gettext_init): new function
17722
17723         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17724         setlocale().
17725
17726 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17727
17728         * Moved credits to frontends:
17729         * credits.[Ch]: removed
17730         * credits_form.[Ch]: removed
17731         * lyx_gui_misc.C: remove credits stuff
17732         * Makefile.am:
17733
17734 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17735
17736         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17737
17738         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17739         unneeded destructor.
17740
17741         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17742         a standalone pointer again.
17743
17744         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17745
17746 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17747
17748         * Makefile.am:
17749         * filedlg.h:
17750         * filedlg.C:
17751         * LyXAction.C:
17752         * ToolbarDefaults.C:
17753         * bufferlist.C:
17754         * commandtags.h:
17755         * form1.C:
17756         * form1.h:
17757         * lyx_cb.C:
17758         * lyx_cb.h:
17759         * lyxfunc.h:
17760         * lyxfunc.C:
17761         * BufferView_pimpl.C: use new file dialog in GUII
17762
17763         * lyx_cb.h:
17764         * lyx_cb.C: remove LayoutsCB to Toolbar
17765
17766 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17767
17768         * ShareContainer.h (get): add std:: qualifier
17769
17770 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17771
17772         * ShareContainer.h: define a proper ShareContainer::value_type
17773         type (and use typename to please compaq cxx)
17774
17775 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17776
17777         * lyxparagraph.h: move serveral local vars to
17778         ParameterStruct/ParagraphParameters., use ShareContainer in
17779         FontTable., make vars in FontTable private and add getter and
17780         setter.
17781
17782         * paragraph.C: changes because of the above.
17783
17784         * lyxfont.h: remove copy constructor and copy assignment. (the
17785         default ones is ok), move number inside FontBits. move inlines to
17786         lyxfont.C
17787
17788         * lyxfont.C: add number to initializaton of statics, move several
17789         inlines here. constify several local vars. some whitespace
17790         cleanup. Dont hide outerscope variables.
17791
17792         * Spacing.h: add two new constructors to match the set methods.
17793
17794         * ShareContainer.h: new file, will perhaps be moved to support
17795
17796         * ParameterStruct.h: new file
17797
17798         * ParagraphParameters.h: new file
17799
17800         * ParagraphParameters.C: new file
17801
17802         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17803         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17804
17805         * BufferView_pimpl.C: ParagraphParameter changes.
17806         * buffer.C: Likewise.
17807         * bufferview_funcs.C: Likewise.
17808         * text.C: Likewise.
17809         * text2.C: Likewise.
17810
17811 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17812
17813         * lyxfind.C (LyXReplace): do not redefine default argument in
17814         implementation.
17815         (IsStringInText): ditto
17816         (SearchForward): ditto
17817         (SearchBackward): ditto
17818
17819 2001-03-06  Juergen Vigna  <jug@sad.it>
17820
17821         * lyxfind.C (IsStringInText): put parentes around expressions.
17822
17823 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17824
17825         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17826
17827 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17828
17829         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17830
17831         * stl_string_fwd.h: add comment
17832
17833         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17834
17835         * tabular.h:
17836         * tabular.C: remove unused DocBook methods
17837
17838         * intl.C:
17839         * language.C:
17840         * paragraph.C:
17841         * buffer.C:
17842         killed DO_USE_DEFAULT_LANGUAGE
17843
17844 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17845
17846         * lyx_gui.C: do not include language.h.
17847
17848         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17849         arguments in function implementation.
17850
17851 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17852
17853         * BufferView_pimpl.C: add <ctime>
17854
17855 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17856
17857         * BufferView_pimpl.C: add using std::find_if
17858
17859 2001-02-27  José Matos  <jamatos@fep.up.pt>
17860
17861         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17862         by OnlyPath.
17863
17864 2001-02-11  José Matos  <jamatos@fep.up.pt>
17865
17866         * buffer.C (makeDocBookFile): command styles now have a parameter as
17867         "title" by default.
17868
17869 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17870
17871         * layout_forms.[Ch]: removed
17872         * lyx_cb.[Ch]: out character
17873         * lyx_gui.C: out character
17874         * lyx_gui_misc.C: out character
17875         * bufferview_funcs.C: : out character,
17876         added toggleall as parameter in ToggleAndShow
17877
17878 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17879
17880         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17881
17882         * text2.C (SetCurrentFont): Disable number property at boundary.
17883
17884 2001-02-26  Juergen Vigna  <jug@sad.it>
17885
17886         * lyxfunc.C (getStatus): added a string argument override function so
17887         that this is correctly called from LyXFunc::Dispatch if it contains a
17888         do_not_use_argument which is used!
17889         (Dispatch): added check for "custom" export and call appropriate func.
17890
17891 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17892
17893         * lyxrc.C: Add language_command_local, language_use_babel and
17894         language_global_options.
17895
17896         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17897
17898         * buffer.C (makeLaTeXFile): Use language_use_babel and
17899         language_global_options.
17900
17901 2001-02-23  Juergen Vigna  <jug@sad.it>
17902
17903         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17904         which works with LyXText and putted it inside BufferView. Here now we
17905         only call for that part the BufferView::Dispatch() function.
17906
17907         * BufferView.C (Dispatch): added.
17908
17909         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17910         functions which needs to use a LyXText over from LyXFunc.
17911         (MenuInsertLyXFile): added
17912         (getInsetByCode): added
17913         (moveCursorUpdate): added
17914         (static TEXT): added
17915
17916 2001-02-22  Juergen Vigna  <jug@sad.it>
17917
17918         * BufferView_pimpl.C (update): call a status update to see if LyXText
17919         needs it.
17920
17921 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17922
17923         * vc-backend.C (revert): implement for CVS
17924         (getLog): implement for CVS
17925
17926 2001-02-20  Juergen Vigna  <jug@sad.it>
17927
17928         * text2.C (ClearSelection): added BufferView param for inset_owner call
17929
17930         * lyxfunc.C (TEXT): added this function and use it instead of
17931         directly owner->view()-text of getLyXText().
17932
17933 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17934
17935         * src/layout_forms.C: out preamble
17936         * src/layout_forms.h: out preamble
17937         * src/lyx_cb.C: out preamble
17938         * src/lyx_cb.h: out preamble
17939         * src/lyx_gui.C: out preamble
17940         * src/lyx_gui_misc.C: out preamble
17941         * src/lyxfunc.C: connect with guii preamble
17942
17943 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17944
17945         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17946
17947 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17948
17949         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17950         whether to run bibtex.
17951
17952 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17953
17954         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17955
17956 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17957
17958         * Makefile.am (lyx_SOURCES): removed bibforms.h
17959
17960         * vspace.h: doxygen
17961
17962         * text.C (GetVisibleRow): make several local vars const
17963
17964         * tabular.C: small cleanup.
17965
17966         * lyxserver.C (callback): use compare instead of strncmp
17967
17968         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17969         inlines to after class or to paragraph.C
17970
17971         * lyxfont.h: remove friend operator!=
17972
17973         * converter.h: move friend bool operator< to non friend and after
17974         class def.
17975
17976         * combox.h: small cleanup
17977
17978         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17979         to inlines after class def.
17980
17981         * buffer.C (pop_tag): use string operations instead of strcmp
17982
17983         * bmtable.c: doxygen, small cleanup
17984
17985         * LaTeX.h: remove friend operator==
17986
17987 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17988
17989         * screen.C:
17990         * lyxrc.[Ch]:
17991         * lyxfunc.C:
17992         * lyxfont.[Ch]:
17993         * lyx_cb.C:
17994         * intl.[Ch]:
17995         * commandtags.h:
17996         * buffer.C:
17997         * WorkArea.[Ch]:
17998         * LyXAction.C:
17999         * BufferView_pimpl.C:
18000         * BufferView.[Ch]: remove cruft
18001
18002 2001-02-14  Juergen Vigna  <jug@sad.it>
18003
18004         * lyxfunc.C: removed #if 0 unused code
18005
18006         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18007
18008         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18009
18010         * text2.C (SetSelection): added a BufferView * parameter
18011
18012 2001-02-13  Juergen Vigna  <jug@sad.it>
18013
18014         * lyxfunc.C (Dispatch): fixed protected blank problem.
18015         * BufferView2.C (protectedBlank): added LyxText * parameter.
18016
18017         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18018         (AppendColumn): same as above for column_info.
18019
18020         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18021         (moveCursorUpdate): use a LyXText param for support of InsetText.
18022
18023         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18024         (tripleClick): ditto
18025
18026         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18027
18028         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18029
18030         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18031
18032         * text2.C (SetSelection): set correct update status if inset_owner
18033         (ToggleFree): ditto
18034
18035 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18036
18037         * tabular.C: remove some commented code.
18038
18039 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18040
18041         * BufferView_pimpl.C: call hideSplash()
18042
18043         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18044
18045         * include_form.h:
18046         * bibforms.h: remove
18047
18048         * lyxfunc.C:
18049         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18050           add LFUN_CHILD_CREATE
18051
18052         * counters.h: fix tiny typo
18053
18054         * lyx_cb.C:
18055         * lyx.h:
18056         * lyx_gui.C:
18057         * lyx.C: move splash to frontends/xforms/
18058
18059         * lyx_gui_misc.C: move Include and Bibform to frontends
18060
18061         * lyxvc.h: clarify comment
18062
18063         * vspace.C: tiny housekeeping
18064
18065 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18066
18067         * text.C (PrepareToPrint): RTL Fix.
18068
18069         * paragraph.C (GetUChar): New method.
18070         (String):  Use GetUChar.
18071
18072         * buffer.C (asciiParagraph): Use GetUChar.
18073
18074 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18075
18076         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18077
18078 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18079
18080         * buffer.h:
18081         * buffer.C: rename to getLogName(), handle
18082           build log / latex log nicely
18083
18084 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18085
18086         * MenuBackend.C:
18087         * MenuBackend.h: remove support for reference menuitem type.
18088
18089 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18090
18091         * BufferView_pimpl.C: housekeeping
18092         * BufferView_pimpl.h:
18093         * LyXView.h:
18094         * Makefile.am:
18095         * Timeout.C:
18096         * Timeout.h:
18097         * minibuffer.h: move Timeout GUI-I
18098
18099 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18100
18101         * lyxrc.C (read): Update converters data-structures.
18102
18103 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18104
18105         * LaTeX.h (operator!=): add operator != for Aux_Info
18106
18107 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18108
18109         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18110
18111         * LaTeXLog.C: deleted, useful code moved to Buffer
18112
18113         * buffer.h:
18114         * buffer.C: new function getLatexLogName()
18115
18116         * lyx_gui_misc.C:
18117         * lyx_gui.C:
18118         * lyxvc.C:
18119         * lyxvc.h:
18120         * lyxfunc.C: use frontends for LaTeX and VC logs
18121
18122 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18123
18124         * LaTeX.h: yet another std:: that Allan forgot.
18125
18126         * Variables.C (set): renamed from isset(), because this clashes
18127         with some HP-UX macros (grr).
18128
18129 2001-02-06  Allan Rae  <rae@lyx.org>
18130
18131         * LaTeX.h: Another bug fix.  Missing std:: this time.
18132
18133 2001-02-04  Allan Rae  <rae@lyx.org>
18134
18135         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18136         floats problem. I've left it commented out because it's not quite
18137         correct.  It should also test that the current object is a table or
18138         figure inset.  But I haven't gotten around to figuring out how to do
18139         that.  I *think* it'll be something like: "table" == inset.type()
18140
18141         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18142         bool.
18143
18144 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18145
18146         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18147         all the citation/databases/styles in the auxilary file.
18148         (run): Rerun latex if there was a babel language error.
18149
18150 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18151
18152         * text.C (Backspace): Preserve the font when changing newline char
18153         with a space.
18154         (BreakParagraph): If the cursor is before a space, delete the space.
18155
18156         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18157
18158 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18159
18160         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18161         new argument (code).
18162         (ChangeCitationsIfUnique): New method.
18163
18164         * paragraph.C (GetPositionOfInset): Handle bibkey.
18165
18166 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18167
18168         * BufferView_pimpl.h: change type of Position::par_pos to
18169         LyXParagraph::size_type.
18170
18171 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18172
18173         * BufferView_pimpl.C (savePosition, restorePosition): Write
18174         messages to minibuffer.
18175
18176 2001-01-28  José Matos  <jamatos@fep.up.pt>
18177
18178         * buffer.C (makeDocBookFile): adds support for document language.
18179         A silly restriction on the name of LatexCommand types where removed.
18180         Added support for CDATA sections, allows to chars unescaped, used
18181         among others in code, to avoid escape < and >.
18182
18183 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18184
18185         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18186         saved positions instrad of a stack. Furthermore, a position is
18187         stored using paragraph id/paragraph position.
18188
18189         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18190         Remove LFUN_REF_BACK.
18191
18192 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18193
18194         * converter.C (dvipdfm_options): New method.
18195
18196 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18197
18198         * vspace.C (isValidLength): Fix for empty input string.
18199
18200 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18201
18202         * LyXAction.C (init): change description of LFUN_FIGURE to
18203         "Insert Graphics"
18204
18205 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18206
18207         * LaTeX.C: add using directive
18208
18209 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18210
18211         * MenuBackend.C (expand): Fix the sorting of the formats.
18212
18213 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18214
18215         * lyx_main.C: tiny error message fix
18216
18217 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18218
18219         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18220         calling fl_initialize(). This fixes the problem with ',' as
18221         decimal separator in text files.
18222
18223 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18224
18225         * trans.C (process): Fix the keymap bug.
18226
18227 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18228
18229         * LaTeX.C (scanAuxFiles): New method. Provides support for
18230         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18231         (scanLogFile) Scan for "run BibTeX" messages.
18232
18233         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18234         OT1 font encoding. Also, load the aecompl package if the ae
18235         package is loaded.
18236
18237         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18238
18239 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18240
18241         * texrow.C (increasePos): turn two error messages into debug
18242         messages.
18243
18244 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18245
18246         * LaTeX.C (scanAux): Handle the \@input macro.
18247         (runBibTeX): Use scanAux().
18248
18249         * language.C (latex_options_): New field.
18250
18251         * LaTeXFeatures.C (getMacros): Add language macros.
18252
18253         * buffer.C (makeLaTeXFile): Small fix.
18254
18255 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18256
18257         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18258
18259         * text2.C: add a using directive.
18260
18261 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18262
18263         * BufferView2.C:
18264         * lyx_gui_misc.h:
18265         * lyxfr1.C:
18266         * lyxfunc.C: kill LyXBell.
18267
18268 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18269
18270         * text.C (IsBoundary): Remove the error message
18271
18272         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18273
18274         * lyxrc.C (setDefaults): Correct initialization value for
18275         font_norm_type.
18276
18277 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18278
18279         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18280         gotoError().
18281
18282         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18283         and GotoNextNote().
18284
18285         * src/LyXAction.C: Added reference-next.
18286
18287         * text.C (InsertChar): Use contains instead of strchr.
18288
18289         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18290
18291 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18292
18293         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18294         alignment commands (when needed).
18295
18296         * text.C (InsertChar): Add ':' to number separator chars.